@azure/iot-modelsrepository 1.0.0-alpha.20240925.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.
Files changed (1) hide show
  1. package/package.json +10 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/iot-modelsrepository",
3
- "version": "1.0.0-alpha.20240925.1",
3
+ "version": "1.0.0-alpha.20240926.1",
4
4
  "description": "Device Model Repository Library with typescript type definitions for node.js and browser.",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -13,29 +13,30 @@
13
13
  "types": "types/iot-modelsrepository.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": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
16
17
  "build:browser": "tsc -p . && dev-tool run bundle",
17
18
  "build:node": "tsc -p . && dev-tool run bundle",
18
19
  "build:samples": "echo Obsolete.",
19
20
  "build:test": "tsc -p . && dev-tool run bundle",
20
- "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
21
21
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
22
22
  "clean": "rimraf --glob dist dist-* test-dist temp types *.tgz *.log",
23
23
  "execute:samples": "dev-tool samples run samples-dev",
24
24
  "extract-api": "tsc -p . && dev-tool run extract-api",
25
25
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
26
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
26
27
  "integration-test:browser": "karma start --single-run",
27
28
  "integration-test:node": "dev-tool run test:node-js-input",
28
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
29
- "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
30
29
  "lint": "eslint package.json api-extractor.json src test",
30
+ "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
31
31
  "pack": "npm pack 2>&1",
32
+ "temp-unit-test": "mocha -r ts-node/register --timeout 1200000 test/node/*.spec.ts",
33
+ "test": "npm run build:test && npm run unit-test && npm run integration-test",
32
34
  "test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
33
35
  "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
34
- "test": "npm run build:test && npm run unit-test && npm run integration-test",
36
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
35
37
  "unit-test:browser": "karma start --single-run",
36
38
  "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy",
37
- "unit-test": "npm run unit-test:node && npm run unit-test:browser",
38
- "temp-unit-test": "mocha -r ts-node/register --timeout 1200000 test/node/*.spec.ts"
39
+ "update-snippets": "echo skipped"
39
40
  },
40
41
  "files": [
41
42
  "dist/",
@@ -63,17 +64,17 @@
63
64
  "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
64
65
  "dependencies": {
65
66
  "@azure/core-client": "^1.0.0",
66
- "@azure/core-util": "^1.0.0",
67
67
  "@azure/core-rest-pipeline": "^1.1.0",
68
68
  "@azure/core-tracing": "^1.0.0",
69
+ "@azure/core-util": "^1.0.0",
69
70
  "@azure/logger": "^1.0.0",
70
71
  "events": "^3.0.0",
71
72
  "tslib": "^2.2.0"
72
73
  },
73
74
  "devDependencies": {
75
+ "@azure-tools/test-recorder": "^3.0.0",
74
76
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
75
77
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
76
- "@azure-tools/test-recorder": "^3.0.0",
77
78
  "@microsoft/api-extractor": "^7.31.1",
78
79
  "@types/chai": "^4.1.6",
79
80
  "@types/mocha": "^10.0.0",