@typespec/ts-http-runtime 1.0.0-alpha.20240502.4 → 1.0.0-alpha.20240506.1
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 +4 -4
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.20240506.1",
|
|
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,7 +51,7 @@
|
|
|
51
51
|
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build:samples": "echo Obsolete",
|
|
54
|
-
"build:test": "
|
|
54
|
+
"build:test": "echo skipped. actual commands inlined in browser test scripts",
|
|
55
55
|
"build": "npm run clean && tshy && dev-tool run extract-api",
|
|
56
56
|
"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}\"",
|
|
57
57
|
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts --fix --fix-type [problem,suggestion]",
|
|
65
65
|
"lint": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts",
|
|
66
66
|
"pack": "npm pack 2>&1",
|
|
67
|
-
"test:browser": "npm run clean && npm run
|
|
67
|
+
"test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser",
|
|
68
68
|
"test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node",
|
|
69
69
|
"test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
|
|
70
|
-
"unit-test:browser": "npm run build
|
|
70
|
+
"unit-test:browser": "npm run clean && tshy && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
|
|
71
71
|
"unit-test:node": "dev-tool run test:vitest --no-test-proxy",
|
|
72
72
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
|
73
73
|
},
|