@azure/iot-modelsrepository 1.0.0-alpha.20251010.1 → 1.0.0-alpha.20251015.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/iot-modelsrepository",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20251015.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/commonjs/index.js",
|
|
@@ -42,8 +42,12 @@
|
|
|
42
42
|
"@types/node": "^20.19.0",
|
|
43
43
|
"@vitest/browser": "^3.2.3",
|
|
44
44
|
"@vitest/coverage-istanbul": "^3.2.3",
|
|
45
|
+
"cross-env": "^7.0.3",
|
|
45
46
|
"eslint": "^9.33.0",
|
|
46
47
|
"playwright": "^1.50.1",
|
|
48
|
+
"prettier": "^3.6.2",
|
|
49
|
+
"rimraf": "^6.0.1",
|
|
50
|
+
"tshy": "^3.0.0",
|
|
47
51
|
"typescript": "~5.9.3",
|
|
48
52
|
"vitest": "^3.2.3",
|
|
49
53
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
@@ -112,13 +116,13 @@
|
|
|
112
116
|
"scripts": {
|
|
113
117
|
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
114
118
|
"build:samples": "tsc -p tsconfig.samples.json",
|
|
115
|
-
"check-format": "
|
|
116
|
-
"clean": "
|
|
119
|
+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
120
|
+
"clean": "rimraf --glob dist dist-* test-dist temp types *.tgz *.log",
|
|
117
121
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
118
122
|
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
119
|
-
"format": "
|
|
120
|
-
"lint": "
|
|
121
|
-
"lint:fix": "
|
|
123
|
+
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
124
|
+
"lint": "eslint package.json src test",
|
|
125
|
+
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
|
|
122
126
|
"pack": "pnpm pack 2>&1",
|
|
123
127
|
"temp-unit-test": "mocha -r ts-node/register --timeout 1200000 test/node/*.spec.ts",
|
|
124
128
|
"test": "npm run test:node && npm run test:browser",
|