@azure-tools/typespec-ts 0.56.0-dev.2 → 0.56.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-ts",
|
|
3
|
-
"version": "0.56.0-dev.
|
|
3
|
+
"version": "0.56.0-dev.3",
|
|
4
4
|
"description": "A TypeSpec emitter for TypeScript",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -89,28 +89,21 @@
|
|
|
89
89
|
"clean": "rimraf ./dist ./typespec-output",
|
|
90
90
|
"build": "tsc -p .",
|
|
91
91
|
"test": "npm run test-next && npm run unit-test && npm run integration-test-ci",
|
|
92
|
-
"test:azure": "npm run test-next && npm run copy:typespec && npm run integration-test-ci:azure-modular",
|
|
93
92
|
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
94
93
|
"lint:fix": "eslint . --fix --ext .ts",
|
|
95
94
|
"check:tree": "node ./test/commands/check-clean-tree.ts",
|
|
96
|
-
"test
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"integration-test-ci:azure-modular": "npm-run-all --silent -p start-test-server:azure-modular --race generate-and-run:azure-modular",
|
|
100
|
-
"start-test-server": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --coverageFile ./coverage/spector-coverage-typescript.json",
|
|
101
|
-
"start-test-server:azure-modular": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@azure-tools/azure-http-specs/specs ./node_modules/@typespec/http-specs/specs --port 3002 --coverageFile ./coverage/spector-coverage-typescript-modular-azure.json",
|
|
95
|
+
"integration-test-ci": "npm-run-all copy:typespec spector-test",
|
|
96
|
+
"spector-test": "npm-run-all --silent -p start-test-server --race generate-and-run",
|
|
97
|
+
"start-test-server": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@azure-tools/azure-http-specs/specs ./node_modules/@typespec/http-specs/specs --port 3002 --coverageFile ./coverage/spector-coverage-typescript-azure.json",
|
|
102
98
|
"copy:typespec": "node ./test/commands/copy-typespec.ts",
|
|
103
|
-
"generate-and-run
|
|
104
|
-
"generate-tsp-only": "
|
|
105
|
-
"generate-tsp-only:
|
|
106
|
-
"generate-tsp-only:
|
|
107
|
-
"generate-tsp-only:azure-modular:declarations": "node ./test/commands/gen-spector.js --phase=declarations",
|
|
99
|
+
"generate-and-run": "npm run generate-tsp-only:client && npm-run-all -p integration-test:alone generate-tsp-only:declarations && npm run stop-test-server -- -p 3002",
|
|
100
|
+
"generate-tsp-only": "node ./test/commands/gen-spector.js",
|
|
101
|
+
"generate-tsp-only:client": "node ./test/commands/gen-spector.js --phase=client",
|
|
102
|
+
"generate-tsp-only:declarations": "node ./test/commands/gen-spector.js --phase=declarations",
|
|
108
103
|
"regen-test-baselines": "npm run generate-tsp-only",
|
|
109
|
-
"integration-test:alone": "
|
|
110
|
-
"integration-test:alone:azure-modular": "vitest run --project integration-azure-modular",
|
|
104
|
+
"integration-test:alone": "vitest run --project integration-azure-modular",
|
|
111
105
|
"stop-test-server": "npx tsp-spector server stop",
|
|
112
|
-
"unit-test": "
|
|
113
|
-
"unit-test:modular": "cross-env NODE_OPTIONS=--max-old-space-size=1024 vitest run --project unit-modular",
|
|
106
|
+
"unit-test": "cross-env NODE_OPTIONS=--max-old-space-size=1024 vitest run --project unit-modular",
|
|
114
107
|
"gen:scenario-suites": "node ./test/commands/gen-scenario-suites.ts",
|
|
115
108
|
"regen-docs": "npm run build && tspd doc . --enable-experimental --output-dir ../../website/src/content/docs/docs/emitters/clients/typespec-ts/reference --skip-js"
|
|
116
109
|
}
|