@typespec/ts-http-runtime 1.0.0-alpha.20240925.5 → 1.0.0-alpha.20240927.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 +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/ts-http-runtime",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20240927.3",
|
|
4
4
|
"description": "Isomorphic client library for making HTTP requests in node.js and browser.",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"type": "module",
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
"sideEffects": false,
|
|
52
52
|
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
|
|
53
53
|
"scripts": {
|
|
54
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
54
55
|
"build:samples": "echo Obsolete",
|
|
55
56
|
"build:test": "echo skipped. actual commands inlined in browser test scripts",
|
|
56
|
-
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
57
57
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
|
58
58
|
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
|
|
59
59
|
"execute:samples": "echo skipped",
|
|
60
60
|
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
61
61
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
|
62
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
62
63
|
"integration-test:browser": "echo skipped",
|
|
63
64
|
"integration-test:node": "echo skipped",
|
|
64
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
65
|
-
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
66
65
|
"lint": "eslint package.json api-extractor.json src test",
|
|
66
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
67
67
|
"pack": "npm pack 2>&1",
|
|
68
|
+
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
|
|
68
69
|
"test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser",
|
|
69
70
|
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
|
|
70
|
-
"test": "npm run
|
|
71
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
71
72
|
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
|
|
72
73
|
"unit-test:node": "dev-tool run test:vitest --no-test-proxy",
|
|
73
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
74
74
|
"update-snippets": "dev-tool run update-snippets"
|
|
75
75
|
},
|
|
76
76
|
"//metadata": {
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"tslib": "^2.6.2"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
+
"@azure-tools/vite-plugin-browser-test-map": ">=1.0.0-alpha <1.0.0-alphb",
|
|
99
100
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
100
101
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
101
|
-
"@azure-tools/vite-plugin-browser-test-map": ">=1.0.0-alpha <1.0.0-alphb",
|
|
102
102
|
"@microsoft/api-extractor": "^7.40.3",
|
|
103
103
|
"@types/node": "^18.0.0",
|
|
104
104
|
"@vitest/browser": "^2.0.5",
|