|
20 | 20 | "clean": "rimraf ./dist ./typespec-output", |
21 | 21 | "build": "tsc -p .", |
22 | 22 | "test": "npm run test-next && npm run unit-test && npm run integration-test-ci", |
23 | | - "test:azure": "npm run test-next && npm run copy:typespec && npm run integration-test-ci:azure-modular", |
24 | 23 | "lint": "eslint . --ext .ts --max-warnings=0", |
25 | 24 | "lint:fix": "eslint . --fix --ext .ts", |
26 | 25 | "check:tree": "node ./test/commands/check-clean-tree.ts", |
27 | | - "test:ts:e2e": "npm run copy:typespec && npm run integration-test-ci:azure-modular", |
28 | | - "integration-test-ci": "npm-run-all copy:typespec integration-test-ci:azure-modular", |
29 | | - "integration-test-ci:sequential": "npm-run-all --serial copy:typespec integration-test-ci:azure-modular", |
30 | | - "integration-test-ci:azure-modular": "npm-run-all --silent -p start-test-server:azure-modular --race generate-and-run:azure-modular", |
31 | | - "start-test-server": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --coverageFile ./coverage/spector-coverage-typescript.json", |
32 | | - "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", |
| 26 | + "integration-test-ci": "npm-run-all copy:typespec spector-test", |
| 27 | + "spector-test": "npm-run-all --silent -p start-test-server --race generate-and-run", |
| 28 | + "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", |
33 | 29 | "copy:typespec": "node ./test/commands/copy-typespec.ts", |
34 | | - "generate-and-run:azure-modular": "npm run generate-tsp-only:azure-modular:client && npm-run-all -p integration-test:alone:azure-modular generate-tsp-only:azure-modular:declarations && npm run stop-test-server -- -p 3002", |
35 | | - "generate-tsp-only": "npm run generate-tsp-only:azure-modular", |
36 | | - "generate-tsp-only:azure-modular": "node ./test/commands/gen-spector.js", |
37 | | - "generate-tsp-only:azure-modular:client": "node ./test/commands/gen-spector.js --phase=client", |
38 | | - "generate-tsp-only:azure-modular:declarations": "node ./test/commands/gen-spector.js --phase=declarations", |
| 30 | + "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", |
| 31 | + "generate-tsp-only": "node ./test/commands/gen-spector.js", |
| 32 | + "generate-tsp-only:client": "node ./test/commands/gen-spector.js --phase=client", |
| 33 | + "generate-tsp-only:declarations": "node ./test/commands/gen-spector.js --phase=declarations", |
39 | 34 | "regen-test-baselines": "npm run generate-tsp-only", |
40 | | - "integration-test:alone": "npm run integration-test:alone:azure-modular", |
41 | | - "integration-test:alone:azure-modular": "vitest run --project integration-azure-modular", |
| 35 | + "integration-test:alone": "vitest run --project integration-azure-modular", |
42 | 36 | "stop-test-server": "npx tsp-spector server stop", |
43 | | - "unit-test": "npm run unit-test:modular", |
44 | | - "unit-test:modular": "cross-env NODE_OPTIONS=--max-old-space-size=1024 vitest run --project unit-modular", |
| 37 | + "unit-test": "cross-env NODE_OPTIONS=--max-old-space-size=1024 vitest run --project unit-modular", |
45 | 38 | "gen:scenario-suites": "node ./test/commands/gen-scenario-suites.ts", |
46 | 39 | "regen-docs": "npm run build && tspd doc . --enable-experimental --output-dir ../../website/src/content/docs/docs/emitters/clients/typespec-ts/reference --skip-js" |
47 | 40 | }, |
|
0 commit comments