@azure/template-dpg 1.0.0-alpha.20240920.12 → 1.0.0-alpha.20240926.3

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 +11 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template-dpg",
3
- "version": "1.0.0-alpha.20240920.12",
3
+ "version": "1.0.0-alpha.20240926.3",
4
4
  "description": "Widget Service",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -28,30 +28,31 @@
28
28
  "types": "types/latest/template-dpg.d.ts",
29
29
  "scripts": {
30
30
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
31
+ "build": "tsc -p . && dev-tool run bundle && dev-tool run extract-api && npm run build:output",
32
+ "build:output": "node scripts/renameOutput.mjs",
31
33
  "build:samples": "echo Obsolete",
34
+ "build:test": "echo skipped. actual commands inlined in browser test scripts",
32
35
  "build:test:browser": "tsc -p . && dev-tool run bundle",
33
36
  "build:test:node": "tsc -p . && dev-tool run bundle",
34
- "build:test": "echo skipped. actual commands inlined in browser test scripts",
35
- "build:output": "node scripts/renameOutput.mjs",
36
- "build": "tsc -p . && dev-tool run bundle && dev-tool run extract-api && npm run build:output",
37
37
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
38
38
  "clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
39
39
  "customize": "dev-tool customization apply -s sources/generated/src -c sources/customizations/src && npm run format",
40
40
  "execute:samples": "dev-tool samples run samples-dev",
41
41
  "extract-api": "tsc -p . && dev-tool run extract-api",
42
42
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"sources/customizations/**/*.ts\" \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
43
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
43
44
  "integration-test:browser": "tsc -p . && dev-tool run bundle && dev-tool run test:browser",
44
45
  "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
45
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
46
- "lint:fix": "eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
47
46
  "lint": "eslint README.md package.json api-extractor.json src test",
47
+ "lint:fix": "eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
48
48
  "pack": "npm pack 2>&1",
49
+ "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
49
50
  "test:browser": "npm run clean && npm run build && npm run integration-test:browser",
50
51
  "test:node": "npm run clean && tsc -p . && npm run integration-test:node",
51
- "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
52
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
52
53
  "unit-test:browser": "tsc -p . && dev-tool run bundle && dev-tool run test:browser",
53
54
  "unit-test:node": "dev-tool run test:node-ts-input -- \"test/internal/unit/{,!(browser)/**/}*.spec.ts\" \"test/public/{,!(browser)/**/}*.spec.ts\"",
54
- "unit-test": "npm run unit-test:node && npm run unit-test:browser"
55
+ "update-snippets": "echo skipped"
55
56
  },
56
57
  "files": [
57
58
  "dist/",
@@ -79,11 +80,11 @@
79
80
  "sideEffects": false,
80
81
  "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
81
82
  "devDependencies": {
82
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
83
- "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
84
83
  "@azure-tools/test-credential": "^1.0.4",
85
84
  "@azure-tools/test-recorder": "^3.0.0",
86
85
  "@azure-tools/test-utils": "^1.0.1",
86
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
87
+ "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
87
88
  "@microsoft/api-extractor": "^7.31.1",
88
89
  "@types/chai": "^4.3.1",
89
90
  "@types/mocha": "^10.0.0",