Skip to content

Commit 7102d63

Browse files
chore: consolidate dependabot updates and migrate to TypeScript 6.0
Consolidates 7 open dependabot PRs into a single update: Dependencies (npm): - typescript: 5.9.3 -> 6.0.3 - @azure/identity: 4.13.0 -> 4.13.1 - @types/node: 25.2.3 -> 25.5.0 - @microsoft/kiota-authentication-azure: 1.0.0-preview.92 -> 1.0.0-preview.100 - @microsoft/kiota-bundle: 1.0.0-preview.92 -> 1.0.0-preview.100 GitHub Actions: - googleapis/release-please-action: 4 -> 5 - dependabot/fetch-metadata: 2.5.0 -> 3.1.0 - actions/upload-artifact: 6 -> 7 TypeScript 6.0 migration fixes: - Changed moduleResolution from 'Node' (node10) to 'Bundler' - Removed deprecated 'baseUrl' from all 69 package tsconfig.json files - Added explicit 'types' for mocha/node in tests tsconfig Closes #979, #982, #978, #968, #966, #963, #961 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0557009 commit 7102d63

143 files changed

Lines changed: 2074 additions & 1341 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/auto-merge-dependabot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v2.5.0
22+
uses: dependabot/fetch-metadata@v3.1.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

‎.github/workflows/release-please-gha.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
3030

3131
- name: Release Please
32-
uses: googleapis/release-please-action@v4
32+
uses: googleapis/release-please-action@v5
3333
with:
3434
token: ${{ steps.app-token.outputs.token }}
3535
config-file: release-please-config.json

‎.github/workflows/validate-public-api-surface.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
- name: Upload patch file as artifact
3535
if: always()
36-
uses: actions/upload-artifact@v6
36+
uses: actions/upload-artifact@v7
3737
continue-on-error: true
3838
with:
3939
name: patch
4040
path: '*.patch'
4141
- name: Upload explanations file as artifact
4242
if: always()
43-
uses: actions/upload-artifact@v6
43+
uses: actions/upload-artifact@v7
4444
continue-on-error: true
4545
with:
4646
name: explanations

‎package-lock.json‎

Lines changed: 217 additions & 236 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/msgraph-sdk-admin/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"types": "index.d.ts",
3636
"devDependencies": {
37-
"typescript": "^5.3.3"
37+
"typescript": "^6.0.3"
3838
},
3939
"type": "module"
4040
}
Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1-
{
2-
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": "../tsconfig.base.json",
4-
"compilerOptions": {
5-
"resolveJsonModule": true,
6-
"esModuleInterop": true,
7-
"baseUrl": "./",
8-
"paths": {
9-
"@microsoft/msgraph-sdk": ["../msgraph-sdk"]
10-
}
11-
},
12-
"include": ["**/*.ts"],
13-
"exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
14-
"references": [{ "path": "../msgraph-sdk" }]
15-
}
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "../tsconfig.base.json",
4+
"compilerOptions": {
5+
"resolveJsonModule": true,
6+
"esModuleInterop": true,
7+
"paths": {
8+
"@microsoft/msgraph-sdk": [
9+
"../msgraph-sdk"
10+
]
11+
}
12+
},
13+
"include": [
14+
"**/*.ts"
15+
],
16+
"exclude": [
17+
"node_modules",
18+
"**/__tests__/*",
19+
"**/__e2e__/*"
20+
],
21+
"references": [
22+
{
23+
"path": "../msgraph-sdk"
24+
}
25+
]
26+
}

‎packages/msgraph-sdk-agreementAcceptances/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"tslib": "^2.6.2"
3535
},
3636
"devDependencies": {
37-
"typescript": "^5.3.3"
37+
"typescript": "^6.0.3"
3838
},
3939
"type": "module"
4040
}
Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1-
{
2-
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": "../tsconfig.base.json",
4-
"compilerOptions": {
5-
"resolveJsonModule": true,
6-
"esModuleInterop": true,
7-
"baseUrl": "./",
8-
"paths": {
9-
"@microsoft/msgraph-sdk": ["../msgraph-sdk"]
10-
}
11-
},
12-
"include": ["**/*.ts"],
13-
"exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
14-
"references": [{ "path": "../msgraph-sdk" }]
15-
}
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "../tsconfig.base.json",
4+
"compilerOptions": {
5+
"resolveJsonModule": true,
6+
"esModuleInterop": true,
7+
"paths": {
8+
"@microsoft/msgraph-sdk": [
9+
"../msgraph-sdk"
10+
]
11+
}
12+
},
13+
"include": [
14+
"**/*.ts"
15+
],
16+
"exclude": [
17+
"node_modules",
18+
"**/__tests__/*",
19+
"**/__e2e__/*"
20+
],
21+
"references": [
22+
{
23+
"path": "../msgraph-sdk"
24+
}
25+
]
26+
}

‎packages/msgraph-sdk-agreements/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"tslib": "^2.6.2"
3535
},
3636
"devDependencies": {
37-
"typescript": "^5.3.3"
37+
"typescript": "^6.0.3"
3838
},
3939
"type": "module"
4040
}
Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1-
{
2-
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": "../tsconfig.base.json",
4-
"compilerOptions": {
5-
"resolveJsonModule": true,
6-
"esModuleInterop": true,
7-
"baseUrl": "./",
8-
"paths": {
9-
"@microsoft/msgraph-sdk": ["../msgraph-sdk"]
10-
}
11-
},
12-
"include": ["**/*.ts"],
13-
"exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
14-
"references": [{ "path": "../msgraph-sdk" }]
15-
}
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "../tsconfig.base.json",
4+
"compilerOptions": {
5+
"resolveJsonModule": true,
6+
"esModuleInterop": true,
7+
"paths": {
8+
"@microsoft/msgraph-sdk": [
9+
"../msgraph-sdk"
10+
]
11+
}
12+
},
13+
"include": [
14+
"**/*.ts"
15+
],
16+
"exclude": [
17+
"node_modules",
18+
"**/__tests__/*",
19+
"**/__e2e__/*"
20+
],
21+
"references": [
22+
{
23+
"path": "../msgraph-sdk"
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)