Skip to content
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions common/tools/dev-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@_ts/max": "npm:typescript@latest",
"@_ts/min": "npm:typescript@~4.2.4",
"@arethetypeswrong/cli": "^0.17.4",
"@azure/identity": "4.10.1",
"@azure/identity": "4.12.0",
"@microsoft/api-extractor": "^7.52.4",
"@microsoft/api-extractor-model": "^7.30.5",
"@pnpm/catalogs.config": "^1000.0.2",
Expand All @@ -55,15 +55,15 @@
"fs-extra": "^11.2.0",
"memfs": "^4.14.1",
"minimist": "^1.2.8",
"prettier": "^3.5.3",
"prettier": "catalog:",
"semver": "^7.6.0",
"strip-json-comments": "^5.0.1",
"tar": "^7.4.3",
"ts-morph": "^27.0.0",
"tshy": "^3.0.0",
"tshy": "catalog:",
"tslib": "^2.8.1",
"tsx": "^4.19.3",
"typescript": "~5.8.2",
"tsx": "catalog:",
"typescript": "~5.9.3",
"unzipper": "~0.12.3",
"yaml": "^2.3.4"
},
Expand All @@ -79,10 +79,10 @@
"@vitest/coverage-istanbul": "catalog:testing",
"autorest": "catalog:",
"builtin-modules": "^3.1.0",
"cross-env": "^7.0.3",
"cross-env": "catalog:",
"eslint": "catalog:",
"mkdirp": "^3.0.1",
"rimraf": "^6.0.1",
"rimraf": "catalog:",
"typescript-eslint": "~8.43.0",
"vitest": "catalog:testing"
}
Expand Down
2 changes: 1 addition & 1 deletion common/tools/dev-tool/src/templates/sampleReadme.md.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ ${fence(

Alternatively, run a single sample with the correct environment variables set (setting up the \`.env\` file is not required if you do this), for example (cross-platform):

${fence("bash", `npx dev-tool run vendored cross-env ${exampleNodeInvocation(info)}`)}
${fence("bash", `cross-env ${exampleNodeInvocation(info)}`)}

## Next Steps

Expand Down
5 changes: 3 additions & 2 deletions common/tools/dev-tool/src/util/samples/generation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,14 @@ export async function makeSampleGenerationInfo(
}, defaultDependencies),
...(outputKind === OutputKind.TypeScript
? {
// In TypeScript samples, we include TypeScript and `rimraf`, because they're used
// In TypeScript samples, we include TypeScript, `cross-env`, and `rimraf`, because they're used
// in the package scripts as well as @types/node.
devDependencies: {
...typesDependencies,
"@types/node": `^${MIN_SUPPORTED_NODE_VERSION}`,
typescript: devToolPackageJson.dependencies.typescript,
"cross-env": "latest",
rimraf: "latest",
typescript: devToolPackageJson.dependencies.typescript,
},
}
: {}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node index.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env WAIT_TIME="<wait time>" node index.js
cross-env WAIT_TIME="<wait time>" node index.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ node dist/index.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env WAIT_TIME="<wait time>" node dist/index.js
cross-env WAIT_TIME="<wait time>" node dist/index.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "~5.8.2",
"rimraf": "latest"
"cross-env": "latest",
"rimraf": "latest",
"typescript": "~5.9.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ node getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ node dist/getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "~5.8.2",
"rimraf": "latest"
"cross-env": "latest",
"rimraf": "latest",
"typescript": "~5.9.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ node dist/getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "~5.8.2",
"rimraf": "latest"
"cross-env": "latest",
"rimraf": "latest",
"typescript": "~5.9.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ node dist/getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "~5.8.2",
"rimraf": "latest"
"cross-env": "latest",
"rimraf": "latest",
"typescript": "~5.9.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ node dist/getConfigurationSetting.js
Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):

```bash
npx dev-tool run vendored cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
cross-env MY_VARIABLE="<my variable>" node dist/getConfigurationSetting.js
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "~5.8.2",
"rimraf": "latest"
"cross-env": "latest",
"rimraf": "latest",
"typescript": "~5.9.3"
}
}
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 @@ -110,11 +110,12 @@
"@typescript-eslint/utils": "~8.43.0",
"@vitest/browser": "catalog:testing",
"@vitest/coverage-istanbul": "catalog:testing",
"cross-env": "catalog:",
"eslint": "catalog:",
"playwright": "catalog:testing",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tshy": "^3.0.0",
"tshy": "catalog:",
"vitest": "catalog:testing"
},
"tshy": {
Expand Down
4 changes: 3 additions & 1 deletion eng/containers/turborepo-remote-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"@vitest/coverage-istanbul": "^3.1.1",
"eslint": "^9.9.0",
"pino-pretty": "^13.1.1",
"prettier": "catalog:",
"rimraf": "catalog:",
"tsx": "^4.17.0",
"typescript": "~5.8.2",
"typescript-eslint": "~8.43.0",
Expand All @@ -54,7 +56,7 @@
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"./**/*.{ts,json,md}\"",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix --fix-type [problem,suggestion]",
"pack": "npm pack 2>&1",
"pack": "pnpm pack 2>&1",
"test": "npm run clean && npm run build && npm run test:node && npm run test:browser",
"test:browser": "echo skipped",
"test:node": "vitest",
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
},
"devDependencies": {
"cspell": "^9.2.0",
"cross-env": "^7.0.3",
"mkdirp": "^3.0.1",
"prettier": "^3.6.2",
"prettier-plugin-packagejson": "^2.5.19",
"rimraf": "^6.0.1",
"turbo": "^2.5.6"
Expand Down
Loading
Loading