Skip to content

Commit 56d2330

Browse files
jeremymengweshaggard
authored andcommitted
[EngSys] add ts-node dev dependencies to rush projects
***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.
1 parent 1408e06 commit 56d2330

File tree

290 files changed

+1752
-660
lines changed

Some content is hidden

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

290 files changed

+1752
-660
lines changed

common/config/rush/pnpm-lock.yaml

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

common/tools/eslint-plugin-azure-sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"source-map-support": "^0.5.9",
9494
"mocha-junit-reporter": "^2.0.0",
9595
"typescript": "~5.0.0",
96-
"eslint-plugin-markdown": "~3.0.0"
96+
"eslint-plugin-markdown": "~3.0.0",
97+
"ts-node": "^10.0.0"
9798
}
9899
}

sdk/advisor/arm-advisor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"chai": "^4.2.0",
4747
"cross-env": "^7.0.2",
4848
"@types/node": "^14.0.0",
49-
"@azure/dev-tool": "^1.0.0"
49+
"@azure/dev-tool": "^1.0.0",
50+
"ts-node": "^10.0.0"
5051
},
5152
"repository": {
5253
"type": "git",

sdk/agrifood/agrifood-farming-rest/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
"prettier": "^2.5.1",
126126
"rimraf": "^3.0.0",
127127
"source-map-support": "^0.5.9",
128-
"typescript": "~5.0.0"
128+
"typescript": "~5.0.0",
129+
"ts-node": "^10.0.0"
129130
}
130131
}

sdk/agrifood/arm-agrifood/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"chai": "^4.2.0",
4848
"cross-env": "^7.0.2",
4949
"@types/node": "^14.0.0",
50-
"@azure/dev-tool": "^1.0.0"
50+
"@azure/dev-tool": "^1.0.0",
51+
"ts-node": "^10.0.0"
5152
},
5253
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/arm-agrifood",
5354
"repository": {

sdk/analysisservices/arm-analysisservices/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"chai": "^4.2.0",
4848
"cross-env": "^7.0.2",
4949
"@types/node": "^14.0.0",
50-
"@azure/dev-tool": "^1.0.0"
50+
"@azure/dev-tool": "^1.0.0",
51+
"ts-node": "^10.0.0"
5152
},
5253
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/analysisservices/arm-analysisservices",
5354
"repository": {

sdk/anomalydetector/ai-anomaly-detector-rest/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
"karma-sourcemap-loader": "^0.3.8",
103103
"karma": "^6.2.0",
104104
"nyc": "^15.0.0",
105-
"csv-parse": "^5.0.3"
105+
"csv-parse": "^5.0.3",
106+
"ts-node": "^10.0.0"
106107
},
107108
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector-rest/README.md",
108109
"//metadata": {

sdk/apimanagement/api-management-custom-widgets-tools/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
"karma-junit-reporter": "^2.0.1",
9292
"karma-mocha": "^2.0.1",
9393
"karma-mocha-reporter": "^2.2.5",
94-
"@types/sinon": "^10.0.0"
94+
"@types/sinon": "^10.0.0",
95+
"ts-node": "^10.0.0"
9596
},
9697
"dependencies": {
9798
"@azure/identity": "^2.1.0",

sdk/apimanagement/arm-apimanagement/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
"chai": "^4.2.0",
4949
"cross-env": "^7.0.2",
5050
"@types/node": "^14.0.0",
51-
"@azure/dev-tool": "^1.0.0"
51+
"@azure/dev-tool": "^1.0.0",
52+
"ts-node": "^10.0.0"
5253
},
5354
"repository": {
5455
"type": "git",

sdk/appcomplianceautomation/arm-appcomplianceautomation/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"chai": "^4.2.0",
4848
"cross-env": "^7.0.2",
4949
"@types/node": "^14.0.0",
50-
"@azure/dev-tool": "^1.0.0"
50+
"@azure/dev-tool": "^1.0.0",
51+
"ts-node": "^10.0.0"
5152
},
5253
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation",
5354
"repository": {

0 commit comments

Comments
 (0)