@azure/web-pubsub 1.1.4-alpha.20240924.1 → 1.1.4-alpha.20240926.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +16 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/web-pubsub",
3
- "version": "1.1.4-alpha.20240924.1",
3
+ "version": "1.1.4-alpha.20240926.1",
4
4
  "description": "Azure client library for Azure Web PubSub",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -8,30 +8,31 @@
8
8
  "types": "types/web-pubsub.d.ts",
9
9
  "scripts": {
10
10
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
11
+ "build": "npm run clean && tsc -p . && dev-tool run bundle --browser-test=false && dev-tool run extract-api",
11
12
  "build:browser": "echo \"Browser is not supported.\" && exit 0",
12
13
  "build:node": "tsc -p . && dev-tool run bundle --browser-test=false",
13
14
  "build:samples": "echo Obsolete.",
14
15
  "build:test": "tsc -p . && dev-tool run bundle --browser-test=false",
15
- "build": "npm run clean && tsc -p . && dev-tool run bundle --browser-test=false && dev-tool run extract-api",
16
16
  "bundle": "dev-tool run bundle --browser-test=false",
17
17
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
18
- "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
19
18
  "clean": "rimraf --glob dist dist-esm test-dist temp types *.tgz *.log",
20
19
  "execute:samples": "dev-tool samples run samples-dev",
21
20
  "extract-api": "tsc -p . && dev-tool run extract-api",
21
+ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
22
+ "generate:client": "autorest --typescript ./swagger/README.md",
23
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
22
24
  "integration-test:browser": "echo \"Browser is not supported.\" && exit 0",
23
25
  "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
24
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
25
- "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
26
26
  "lint": "eslint package.json api-extractor.json README.md src test",
27
+ "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
27
28
  "pack": "npm pack 2>&1",
29
+ "test": "npm run build:test && npm run unit-test && npm run integration-test",
28
30
  "test:browser": "echo \"Browser is not supported.\" && exit 0",
29
31
  "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
30
- "test": "npm run build:test && npm run unit-test && npm run integration-test",
32
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
31
33
  "unit-test:browser": "echo \"Browser is not supported.\" && exit 0",
32
34
  "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
33
- "unit-test": "npm run unit-test:node && npm run unit-test:browser",
34
- "generate:client": "autorest --typescript ./swagger/README.md"
35
+ "update-snippets": "echo skipped"
35
36
  },
36
37
  "files": [
37
38
  "dist/",
@@ -74,15 +75,15 @@
74
75
  "@azure/core-rest-pipeline": "^1.1.0",
75
76
  "@azure/core-tracing": "^1.0.0",
76
77
  "@azure/logger": "^1.0.0",
77
- "tslib": "^2.2.0",
78
- "jsonwebtoken": "^9.0.0"
78
+ "jsonwebtoken": "^9.0.0",
79
+ "tslib": "^2.2.0"
79
80
  },
80
81
  "devDependencies": {
81
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
82
- "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
83
- "@azure-tools/test-utils": "^1.0.1",
84
82
  "@azure-tools/test-credential": "^1.0.0",
85
83
  "@azure-tools/test-recorder": "^3.0.0",
84
+ "@azure-tools/test-utils": "^1.0.1",
85
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
86
+ "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
86
87
  "@microsoft/api-extractor": "^7.31.1",
87
88
  "@types/chai": "^4.1.6",
88
89
  "@types/jsonwebtoken": "^9.0.0",
@@ -109,9 +110,9 @@
109
110
  "rimraf": "^5.0.5",
110
111
  "sinon": "^17.0.0",
111
112
  "source-map-support": "^0.5.9",
113
+ "ts-node": "^10.0.0",
112
114
  "typescript": "~5.6.2",
113
- "ws": "^8.2.0",
114
- "ts-node": "^10.0.0"
115
+ "ws": "^8.2.0"
115
116
  },
116
117
  "//sampleConfiguration": {
117
118
  "productName": "Azure Web PubSub",