@azure/notification-hubs 1.0.3-alpha.20231009.1 → 1.0.3-alpha.20231011.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/notification-hubs",
3
- "version": "1.0.3-alpha.20231009.1",
3
+ "version": "1.0.3-alpha.20231011.2",
4
4
  "description": "Azure Notification Hubs SDK for JavaScript",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.cjs",
@@ -45,10 +45,11 @@
45
45
  },
46
46
  "scripts": {
47
47
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
48
+ "bundle": "tsc -p . && dev-tool run bundle",
48
49
  "build:samples": "echo Obsolete",
49
- "build:test:browser": "tsc -p . && rollup --bundleConfigAsCjs -c rollup.test.config.cjs 2>&1",
50
- "build:test:node": "tsc -p . && dev-tool run bundle",
51
- "build:test": "tsc -p . && rollup --bundleConfigAsCjs -c rollup.test.config.cjs 2>&1",
50
+ "build:test:browser": "npm run bundle",
51
+ "build:test:node": "npm run bundle",
52
+ "build:test": "npm run bundle",
52
53
  "build:types": "downlevel-dts types/latest/ types/3.1/",
53
54
  "build": "npm run build:test && api-extractor run --local && npm run build:types",
54
55
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
@@ -64,7 +65,7 @@
64
65
  "pack": "npm pack 2>&1",
65
66
  "test:browser": "npm run clean && npm run build:test && npm run integration-test:browser",
66
67
  "test:node": "npm run clean && tsc -p . && npm run integration-test:node",
67
- "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
68
+ "test": "npm run clean && tsc -p . && npm run unit-test:node && npm run bundle && npm run unit-test:browser && npm run integration-test",
68
69
  "unit-test:browser": "karma start karma.conf.cjs --single-run",
69
70
  "unit-test:node": "mocha --exclude \"test/**/browser/*.spec.ts\" \"test/internal/unit/{,!(browser)/**/}*.spec.ts\" \"test/public/unit/{,!(browser)/**/}*.spec.ts\"",
70
71
  "unit-test": "npm run unit-test:node && npm run unit-test:browser"
@@ -101,13 +102,6 @@
101
102
  "@azure-tools/test-recorder": "^3.0.0",
102
103
  "@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
103
104
  "@microsoft/api-extractor": "^7.31.1",
104
- "@rollup/plugin-commonjs": "^25.0.2",
105
- "@rollup/plugin-inject": "^5.0.3",
106
- "@rollup/plugin-json": "^6.0.0",
107
- "@rollup/plugin-multi-entry": "^6.0.0",
108
- "@rollup/plugin-node-resolve": "^15.1.0",
109
- "@rollup/plugin-replace": "^5.0.2",
110
- "@rollup/plugin-typescript": "^11.1.1",
111
105
  "@types/chai": "^4.3.1",
112
106
  "@types/mocha": "^10.0.0",
113
107
  "@types/node": "^16.0.0",
@@ -133,8 +127,6 @@
133
127
  "prettier": "^2.5.1",
134
128
  "puppeteer": "^19.2.2",
135
129
  "rimraf": "^3.0.2",
136
- "rollup": "^3.25.3",
137
- "rollup-plugin-shim": "^1.0.0",
138
130
  "ts-node": "^10.9.1",
139
131
  "typescript": "~5.0.0",
140
132
  "util": "^0.12.4"