@azure/web-pubsub-client-protobuf 1.0.0-alpha.20240924.1 → 1.0.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 +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/web-pubsub-client-protobuf",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20240926.1",
|
|
4
4
|
"description": "Azure Web PubSub Client Protobuf",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"type": "module",
|
|
@@ -13,34 +13,35 @@
|
|
|
13
13
|
"types": "./dist/commonjs/index.d.ts",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
16
|
-
"build
|
|
17
|
-
"build:node": "npm run build-protobuf && tshy && npm run copy-files",
|
|
18
|
-
"build:samples": "dev-tool samples publish -f",
|
|
19
|
-
"build:test": "npm run build-protobuf && tshy && npm run copy-files",
|
|
20
|
-
"build": "npm run clean && npm run build-protobuf && tshy && npm run copy-files && dev-tool run extract-api",
|
|
21
|
-
"copy-files": "npm run copy-files:cjs && npm run copy-files:esm",
|
|
22
|
-
"copy-files:cjs": "cpy --flat --rename=clientProto.js ./src/generated/clientProto.cjs ./dist/commonjs/generated/ && cpy --flat ./src/generated/clientProto.d.ts ./dist/esm/generated/",
|
|
23
|
-
"copy-files:esm": "cpy --flat ./src/generated/clientProto.js ./dist/esm/generated/ && cpy --flat ./src/generated/clientProto.d.ts ./dist/esm/generated/",
|
|
16
|
+
"build": "npm run clean && npm run build-protobuf && dev-tool run build-package && npm run copy-files && dev-tool run extract-api",
|
|
24
17
|
"build-protobuf": "npm run build-protobuf:cjs && npm run build-protobuf:esm",
|
|
25
18
|
"build-protobuf:cjs": "pbjs -t static-module -w commonjs -o ./src/generated/clientProto.js ./src/protos/client.proto && pbts -o ./src/generated/clientProto.d.ts ./src/generated/clientProto.js && move-file ./src/generated/clientProto.js ./src/generated/clientProto.cjs",
|
|
26
19
|
"build-protobuf:esm": "pbjs -t static-module -w es6 -o ./src/generated/clientProto.js ./src/protos/client.proto && pbts -o ./src/generated/clientProto.d.ts ./src/generated/clientProto.js",
|
|
20
|
+
"build:browser": "npm run build-protobuf && dev-tool run build-package && npm run copy-files",
|
|
21
|
+
"build:node": "npm run build-protobuf && dev-tool run build-package && npm run copy-files",
|
|
22
|
+
"build:samples": "dev-tool samples publish -f",
|
|
23
|
+
"build:test": "npm run build-protobuf && dev-tool run build-package && npm run copy-files",
|
|
27
24
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
28
|
-
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
29
25
|
"clean": "rimraf --glob dist dist-esm test-dist temp types *.tgz *.log",
|
|
26
|
+
"copy-files": "npm run copy-files:cjs && npm run copy-files:esm",
|
|
27
|
+
"copy-files:cjs": "cpy --flat --rename=clientProto.js ./src/generated/clientProto.cjs ./dist/commonjs/generated/ && cpy --flat ./src/generated/clientProto.d.ts ./dist/esm/generated/",
|
|
28
|
+
"copy-files:esm": "cpy --flat ./src/generated/clientProto.js ./dist/esm/generated/ && cpy --flat ./src/generated/clientProto.d.ts ./dist/esm/generated/",
|
|
30
29
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
31
|
-
"extract-api": "
|
|
30
|
+
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
31
|
+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
32
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
32
33
|
"integration-test:browser": "echo skipped",
|
|
33
34
|
"integration-test:node": "echo skipped",
|
|
34
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
35
|
-
"lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
|
|
36
35
|
"lint": "eslint package.json api-extractor.json README.md src test",
|
|
36
|
+
"lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
|
|
37
37
|
"pack": "npm pack 2>&1",
|
|
38
|
+
"test": "npm run build:test && npm run unit-test && npm run integration-test",
|
|
38
39
|
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
|
|
39
40
|
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
|
|
40
|
-
"test": "npm run
|
|
41
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
41
42
|
"unit-test:browser": "echo skipped",
|
|
42
43
|
"unit-test:node": "dev-tool run test:vitest --no-test-proxy",
|
|
43
|
-
"
|
|
44
|
+
"update-snippets": "echo skipped"
|
|
44
45
|
},
|
|
45
46
|
"files": [
|
|
46
47
|
"dist/",
|
|
@@ -68,8 +69,8 @@
|
|
|
68
69
|
"dependencies": {
|
|
69
70
|
"@azure/logger": "^1.0.0",
|
|
70
71
|
"@azure/web-pubsub-client": "1.0.0-beta.2",
|
|
71
|
-
"protobufjs": "^7.4.0",
|
|
72
72
|
"long": "^5.2.1",
|
|
73
|
+
"protobufjs": "^7.4.0",
|
|
73
74
|
"tslib": "^2.6.2"
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
@@ -83,9 +84,8 @@
|
|
|
83
84
|
"dotenv": "^16.0.0",
|
|
84
85
|
"eslint": "^9.9.0",
|
|
85
86
|
"move-file-cli": "^3.0.0",
|
|
86
|
-
"rimraf": "^5.0.5",
|
|
87
87
|
"protobufjs-cli": "^1.1.3",
|
|
88
|
-
"
|
|
88
|
+
"rimraf": "^5.0.5",
|
|
89
89
|
"typescript": "~5.6.2",
|
|
90
90
|
"vitest": "^2.0.5"
|
|
91
91
|
},
|