@azure/event-hubs 5.13.0-alpha.20240924.1 → 5.13.0-alpha.20240926.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 +14 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/event-hubs",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "5.13.0-alpha.
|
|
4
|
+
"version": "5.13.0-alpha.20240926.1",
|
|
5
5
|
"description": "Azure Event Hubs SDK for JS.",
|
|
6
6
|
"author": "Microsoft Corporation",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,31 +31,32 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
34
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
34
35
|
"build:samples": "echo Obsolete.",
|
|
35
|
-
"build:test:browser": "tshy && dev-tool run build-test",
|
|
36
|
-
"build:test:node": "tshy && dev-tool run build-test && npm run generate-certs && copyfiles -f ./test/internal/node/partitionKeyHashMap.json ./dist-esm/test/internal/node",
|
|
37
36
|
"build:test": "npm run build:test:node",
|
|
38
|
-
"build": "
|
|
37
|
+
"build:test:browser": "dev-tool run build-package && dev-tool run build-test",
|
|
38
|
+
"build:test:node": "dev-tool run build-package && dev-tool run build-test && npm run generate-certs && copyfiles -f ./test/internal/node/partitionKeyHashMap.json ./dist-esm/test/internal/node",
|
|
39
39
|
"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}\"",
|
|
40
40
|
"clean": "rimraf --glob dist dist-* temp *.tgz *.log .tshy *.xml",
|
|
41
41
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
42
|
-
"extract-api": "
|
|
42
|
+
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
43
43
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"samples-dev/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
|
44
44
|
"generate-certs": "tsx ./scripts/generateCerts.mts",
|
|
45
|
-
"integration-test:browser": "tshy && dev-tool run build-test && cross-env TEST_MODE=live dev-tool run test:vitest --browser --no-test-proxy",
|
|
46
|
-
"integration-test:node": "cross-env TEST_MODE=live npm run vitest:node",
|
|
47
45
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
48
|
-
"
|
|
46
|
+
"integration-test:browser": "dev-tool run build-package && dev-tool run build-test && cross-env TEST_MODE=live dev-tool run test:vitest --browser --no-test-proxy",
|
|
47
|
+
"integration-test:node": "cross-env TEST_MODE=live npm run vitest:node",
|
|
49
48
|
"lint": "eslint package.json api-extractor.json src test README.md",
|
|
49
|
+
"lint:fix": "eslint package.json api-extractor.json src test README.md --fix --fix-type [problem,suggestion]",
|
|
50
50
|
"pack": "npm pack 2>&1",
|
|
51
51
|
"perf-test:node": "tsc -p . --module \"commonjs\" && node dist-esm/test/perf/track-2/index.spec.js",
|
|
52
|
+
"test": "npm run build:test && npm run unit-test && npm run integration-test",
|
|
52
53
|
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
|
|
53
54
|
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
|
|
54
|
-
"test": "npm run
|
|
55
|
-
"vitest:node": "dev-tool run test:vitest --no-test-proxy",
|
|
55
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
56
56
|
"unit-test:browser": "echo skipped",
|
|
57
57
|
"unit-test:node": "cross-env NODE_EXTRA_CA_CERTS=\"./certs/my-private-root-ca.crt.pem\" AZURE_LOG_LEVEL=\"info\" npm run vitest:node",
|
|
58
|
-
"
|
|
58
|
+
"update-snippets": "echo skipped",
|
|
59
|
+
"vitest:node": "dev-tool run test:vitest --no-test-proxy"
|
|
59
60
|
},
|
|
60
61
|
"//metadata": {
|
|
61
62
|
"constantPaths": [
|
|
@@ -124,12 +125,12 @@
|
|
|
124
125
|
"@azure/mock-hub": ">=1.0.0-alpha <1.0.0-alphb",
|
|
125
126
|
"@microsoft/api-extractor": "^7.31.1",
|
|
126
127
|
"@rollup/plugin-inject": "^5.0.5",
|
|
128
|
+
"@types/chai-as-promised": "^7.1.8",
|
|
127
129
|
"@types/debug": "^4.1.4",
|
|
128
130
|
"@types/node": "^18.0.0",
|
|
131
|
+
"@types/ws": "^7.2.4",
|
|
129
132
|
"@vitest/browser": "^2.0.5",
|
|
130
133
|
"@vitest/coverage-istanbul": "^2.0.5",
|
|
131
|
-
"@types/chai-as-promised": "^7.1.8",
|
|
132
|
-
"@types/ws": "^7.2.4",
|
|
133
134
|
"chai": "^5.1.1",
|
|
134
135
|
"chai-as-promised": "^8.0.0",
|
|
135
136
|
"chai-exclude": "^3.0.0",
|
|
@@ -141,7 +142,6 @@
|
|
|
141
142
|
"https-proxy-agent": "^7.0.0",
|
|
142
143
|
"playwright": "^1.45.3",
|
|
143
144
|
"rimraf": "^6.0.1",
|
|
144
|
-
"tshy": "^2.0.0",
|
|
145
145
|
"tsx": "^4.16.2",
|
|
146
146
|
"typescript": "~5.6.2",
|
|
147
147
|
"vitest": "^2.0.5",
|