Skip to content

Commit

Permalink
[EngSys] add ts-node dev dependencies to rush projects
Browse files Browse the repository at this point in the history
***NO_CI***

Most of our packages, if not all, have dev dependency on `ts-node` either
directly (`mocha --require ts-node/register`) or indirectly via dev-tool (`run
test:node-ts-input`). Currently tests are running fine because mocha is able to
resolve ts-node currently. It may fail in other cases though (e.g., after
migrating a package to ESM).

This ensures `ts-node@^10.0.0` and `types/node` are included for our rush
packages.
  • Loading branch information
jeremymeng authored and dgetu committed Sep 6, 2023
1 parent 0e30fb8 commit 17c4627
Show file tree
Hide file tree
Showing 290 changed files with 1,752 additions and 660 deletions.
1,531 changes: 1,165 additions & 366 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"source-map-support": "^0.5.9",
"mocha-junit-reporter": "^2.0.0",
"typescript": "~5.0.0",
"eslint-plugin-markdown": "~3.0.0"
"eslint-plugin-markdown": "~3.0.0",
"ts-node": "^10.0.0"
}
}
3 changes: 2 additions & 1 deletion sdk/advisor/arm-advisor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/agrifood/agrifood-farming-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
"prettier": "^2.5.1",
"rimraf": "^3.0.0",
"source-map-support": "^0.5.9",
"typescript": "~5.0.0"
"typescript": "~5.0.0",
"ts-node": "^10.0.0"
}
}
3 changes: 2 additions & 1 deletion sdk/agrifood/arm-agrifood/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/arm-agrifood",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/analysisservices/arm-analysisservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/analysisservices/arm-analysisservices",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/anomalydetector/ai-anomaly-detector-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
"karma-sourcemap-loader": "^0.3.8",
"karma": "^6.2.0",
"nyc": "^15.0.0",
"csv-parse": "^5.0.3"
"csv-parse": "^5.0.3",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector-rest/README.md",
"//metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"@types/sinon": "^10.0.0"
"@types/sinon": "^10.0.0",
"ts-node": "^10.0.0"
},
"dependencies": {
"@azure/identity": "^2.1.0",
Expand Down
3 changes: 2 additions & 1 deletion sdk/apimanagement/arm-apimanagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/appconfiguration/arm-appconfiguration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/appcontainers/arm-appcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/applicationinsights/arm-appinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/applicationinsights/arm-appinsights",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/appplatform/arm-appplatform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"dotenv": "^16.0.0"
"dotenv": "^16.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/appservice/arm-appservice-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"karma-source-map-support": "~1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"karma": "^6.2.0",
"nyc": "^15.0.0"
"nyc": "^15.0.0",
"ts-node": "^10.0.0"
},
"browser": {
"./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js"
Expand Down
3 changes: 2 additions & 1 deletion sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/attestation/arm-attestation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/authorization/arm-authorization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/automanage/arm-automanage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/automation/arm-automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions sdk/avs/arm-avs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -120,4 +121,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-avs"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azureadexternalidentities/arm-azureadexternalidentities",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/azurestack/arm-azurestack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestack/arm-azurestack",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/azurestackhci/arm-azurestackhci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestackhci/arm-azurestackhci",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/batch/arm-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-storage": "^17.1.0"
"@azure/arm-storage": "^17.1.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/billing/arm-billing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/billing/arm-billing",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/billingbenefits/arm-billingbenefits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/billingbenefits/arm-billingbenefits",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/botservice/arm-botservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/cdn/arm-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/changeanalysis/arm-changeanalysis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/changeanalysis/arm-changeanalysis",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/changes/arm-changes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/changes/arm-changes",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/chaos/arm-chaos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-cosmosdb": "^15.2.0"
"@azure/arm-cosmosdb": "^15.2.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/cognitivelanguage/ai-language-textauthoring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/test-utils": "^1.0.0",
"mocha": "^7.1.1",
"nyc": "^15.0.0"
"nyc": "^15.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-textauthoring/README.md",
"//metadata": {
Expand Down
5 changes: 3 additions & 2 deletions sdk/cognitiveservices/arm-cognitiveservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -120,4 +121,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cognitiveservices?view=azure-node-preview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion sdk/commerce/arm-commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/commerce/arm-commerce",
"repository": {
Expand Down
Loading

0 comments on commit 17c4627

Please sign in to comment.