@azure-rest/iot-device-update 1.0.1-alpha.20240926.1 → 1.0.1-alpha.20240927.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.
Files changed (1) hide show
  1. package/package.json +19 -18
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and reliability of the Windows Update platform, optimized for IoT devices. It works globally and knows when and how to update devices, enabling customers to focus on their business goals and let Device Update for IoT Hub handle the updates.",
6
- "version": "1.0.1-alpha.20240926.1",
6
+ "version": "1.0.1-alpha.20240927.1",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -56,58 +56,59 @@
56
56
  },
57
57
  "scripts": {
58
58
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
59
+ "build": "npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && dev-tool run extract-api",
59
60
  "build:browser": "tsc -p . && dev-tool run bundle",
61
+ "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api",
60
62
  "build:node": "tsc -p . && dev-tool run bundle",
61
63
  "build:samples": "echo Obsolete.",
62
64
  "build:test": "tsc -p . && dev-tool run bundle",
63
- "build": "npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && dev-tool run extract-api",
64
- "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api",
65
65
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
66
66
  "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
67
67
  "execute:samples": "dev-tool samples run samples-dev",
68
68
  "extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api",
69
69
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
70
70
  "generate:client": "autorest --typescript swagger/README.md && npm run format",
71
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
71
72
  "integration-test:browser": "dev-tool run test:browser",
72
73
  "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
73
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
74
- "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
75
74
  "lint": "eslint package.json api-extractor.json src test",
75
+ "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
76
76
  "pack": "npm pack 2>&1",
77
+ "test": "npm run clean && npm run build:test && npm run unit-test",
77
78
  "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
78
79
  "test:node": "npm run clean && npm run build:test && npm run unit-test:node",
79
- "test": "npm run clean && npm run build:test && npm run unit-test",
80
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
80
81
  "unit-test:browser": "dev-tool run test:browser",
81
82
  "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
82
- "unit-test": "npm run unit-test:node && npm run unit-test:browser"
83
+ "update-snippets": "echo skipped"
83
84
  },
84
85
  "sideEffects": false,
85
86
  "autoPublish": false,
86
87
  "dependencies": {
87
- "@azure/core-auth": "^1.3.0",
88
88
  "@azure-rest/core-client": "^1.0.0",
89
+ "@azure/core-auth": "^1.3.0",
90
+ "@azure/core-lro": "^2.2.0",
91
+ "@azure/core-paging": "^1.2.0",
89
92
  "@azure/core-rest-pipeline": "^1.8.0",
90
93
  "@azure/logger": "^1.0.0",
91
- "tslib": "^2.2.0",
92
- "@azure/core-paging": "^1.2.0",
93
- "@azure/core-lro": "^2.2.0"
94
+ "tslib": "^2.2.0"
94
95
  },
95
96
  "devDependencies": {
97
+ "@azure-tools/test-credential": "^1.0.0",
98
+ "@azure-tools/test-recorder": "^3.0.0",
96
99
  "@azure/core-util": "^1.6.1",
97
100
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
98
101
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
99
102
  "@azure/identity": "^4.0.1",
100
- "@azure-tools/test-recorder": "^3.0.0",
101
- "@azure-tools/test-credential": "^1.0.0",
102
103
  "@microsoft/api-extractor": "^7.31.1",
103
104
  "@types/chai": "^4.1.6",
104
105
  "@types/mocha": "^10.0.0",
105
106
  "@types/node": "^18.0.0",
106
- "nyc": "^17.0.0",
107
107
  "chai": "^4.2.0",
108
108
  "cross-env": "^7.0.2",
109
109
  "dotenv": "^16.0.0",
110
110
  "eslint": "^9.9.0",
111
+ "karma": "^6.2.0",
111
112
  "karma-chrome-launcher": "^3.0.0",
112
113
  "karma-coverage": "^2.0.0",
113
114
  "karma-env-preprocessor": "^0.1.1",
@@ -115,16 +116,16 @@
115
116
  "karma-json-preprocessor": "^0.3.3",
116
117
  "karma-json-to-file-reporter": "^1.0.1",
117
118
  "karma-junit-reporter": "^2.0.1",
118
- "karma-mocha-reporter": "^2.2.5",
119
119
  "karma-mocha": "^2.0.1",
120
+ "karma-mocha-reporter": "^2.2.5",
120
121
  "karma-source-map-support": "~1.4.0",
121
122
  "karma-sourcemap-loader": "^0.3.8",
122
- "karma": "^6.2.0",
123
123
  "mkdirp": "^3.0.1",
124
124
  "mocha": "^10.0.0",
125
+ "nyc": "^17.0.0",
125
126
  "rimraf": "^5.0.5",
126
127
  "source-map-support": "^0.5.9",
127
- "typescript": "~5.6.2",
128
- "ts-node": "^10.0.0"
128
+ "ts-node": "^10.0.0",
129
+ "typescript": "~5.6.2"
129
130
  }
130
131
  }