|
8 | 8 | "node": ">=18.0.0"
|
9 | 9 | },
|
10 | 10 | "dependencies": {
|
11 |
| - "@azure/abort-controller": "^1.0.0", |
12 |
| - "@azure/core-auth": "^1.3.0", |
13 |
| - "@azure/core-client": "^1.6.1", |
| 11 | + "@azure/abort-controller": "^2.1.2", |
| 12 | + "@azure/core-auth": "^1.9.0", |
| 13 | + "@azure/core-client": "^1.9.2", |
14 | 14 | "@azure/core-lro": "^2.2.0",
|
15 |
| - "@azure/core-paging": "^1.2.0", |
16 |
| - "@azure/core-rest-pipeline": "^1.8.0", |
17 |
| - "tslib": "^2.2.0" |
| 15 | + "@azure/core-paging": "^1.6.2", |
| 16 | + "@azure/core-rest-pipeline": "^1.19.0", |
| 17 | + "tslib": "^2.8.1" |
18 | 18 | },
|
19 | 19 | "keywords": [
|
20 | 20 | "node",
|
21 | 21 | "azure",
|
22 | 22 | "typescript",
|
23 | 23 | "browser",
|
24 |
| - "isomorphic" |
| 24 | + "isomorphic", |
| 25 | + "cloud" |
25 | 26 | ],
|
26 | 27 | "license": "MIT",
|
27 |
| - "main": "./dist/index.js", |
28 |
| - "module": "./dist-esm/src/index.js", |
29 |
| - "types": "./types/arm-oep.d.ts", |
| 28 | + "main": "./dist/commonjs/index.js", |
| 29 | + "module": "./dist/esm/index.js", |
| 30 | + "types": "./dist/commonjs/index.d.ts", |
30 | 31 | "devDependencies": {
|
31 |
| - "@azure-tools/test-credential": "^1.0.0", |
32 |
| - "@azure-tools/test-recorder": "^3.0.0", |
| 32 | + "@azure-tools/test-credential": "^2.0.0", |
| 33 | + "@azure-tools/test-recorder": "^4.1.0", |
| 34 | + "@azure-tools/test-utils-vitest": "^1.0.0", |
33 | 35 | "@azure/dev-tool": "^1.0.0",
|
34 |
| - "@azure/identity": "^4.0.1", |
35 |
| - "@types/chai": "^4.2.8", |
36 |
| - "@types/mocha": "^10.0.0", |
| 36 | + "@azure/identity": "^4.6.0", |
| 37 | + "@azure/logger": "^1.1.4", |
37 | 38 | "@types/node": "^18.0.0",
|
38 |
| - "chai": "^4.2.0", |
39 |
| - "mocha": "^11.0.2", |
40 |
| - "ts-node": "^10.0.0", |
41 |
| - "typescript": "~5.7.2" |
| 39 | + "@vitest/browser": "^3.0.5", |
| 40 | + "@vitest/coverage-istanbul": "^3.0.5", |
| 41 | + "playwright": "^1.50.1", |
| 42 | + "typescript": "~5.7.2", |
| 43 | + "vitest": "^3.0.5" |
42 | 44 | },
|
43 | 45 | "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/oep/arm-oep",
|
44 |
| - "repository": { |
45 |
| - "type": "git", |
46 |
| - "url": "https://github.com/Azure/azure-sdk-for-js.git" |
47 |
| - }, |
| 46 | + "repository": "github:Azure/azure-sdk-for-js", |
48 | 47 | "bugs": {
|
49 | 48 | "url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
50 | 49 | },
|
51 | 50 | "files": [
|
52 |
| - "dist/**/*.js", |
53 |
| - "dist/**/*.js.map", |
54 |
| - "dist/**/*.d.ts", |
55 |
| - "dist/**/*.d.ts.map", |
56 |
| - "dist-esm/**/*.js", |
57 |
| - "dist-esm/**/*.js.map", |
58 |
| - "dist-esm/**/*.d.ts", |
59 |
| - "dist-esm/**/*.d.ts.map", |
60 |
| - "src/**/*.ts", |
| 51 | + "dist/", |
61 | 52 | "README.md",
|
62 | 53 | "LICENSE",
|
63 |
| - "tsconfig.json", |
64 |
| - "review/*", |
65 |
| - "CHANGELOG.md", |
66 |
| - "types/*" |
| 54 | + "review/", |
| 55 | + "CHANGELOG.md" |
67 | 56 | ],
|
68 | 57 | "scripts": {
|
69 |
| - "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && npm run extract-api", |
| 58 | + "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", |
70 | 59 | "build:browser": "echo skipped",
|
71 | 60 | "build:node": "echo skipped",
|
72 | 61 | "build:samples": "echo skipped.",
|
|
78 | 67 | "format": "echo skipped",
|
79 | 68 | "integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
80 | 69 | "integration-test:browser": "echo skipped",
|
81 |
| - "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", |
| 70 | + "integration-test:node": "dev-tool run test:vitest --esm", |
82 | 71 | "lint": "echo skipped",
|
83 | 72 | "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
84 | 73 | "pack": "npm pack 2>&1",
|
|
88 | 77 | "test:node": "echo skipped",
|
89 | 78 | "unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
90 | 79 | "unit-test:browser": "echo skipped",
|
91 |
| - "unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node", |
92 |
| - "update-snippets": "echo skipped" |
| 80 | + "unit-test:node": "dev-tool run test:vitest", |
| 81 | + "update-snippets": "dev-tool run update-snippets" |
93 | 82 | },
|
94 | 83 | "sideEffects": false,
|
95 | 84 | "//metadata": {
|
|
108 | 97 | ],
|
109 | 98 | "disableDocsMs": true,
|
110 | 99 | "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-oep?view=azure-node-preview"
|
| 100 | + }, |
| 101 | + "type": "module", |
| 102 | + "tshy": { |
| 103 | + "project": "./tsconfig.src.json", |
| 104 | + "exports": { |
| 105 | + "./package.json": "./package.json", |
| 106 | + ".": "./src/index.ts" |
| 107 | + }, |
| 108 | + "dialects": [ |
| 109 | + "esm", |
| 110 | + "commonjs" |
| 111 | + ], |
| 112 | + "esmDialects": [ |
| 113 | + "browser", |
| 114 | + "react-native" |
| 115 | + ], |
| 116 | + "selfLink": false |
| 117 | + }, |
| 118 | + "browser": "./dist/browser/index.js", |
| 119 | + "react-native": "./dist/react-native/index.js", |
| 120 | + "exports": { |
| 121 | + "./package.json": "./package.json", |
| 122 | + ".": { |
| 123 | + "browser": { |
| 124 | + "types": "./dist/browser/index.d.ts", |
| 125 | + "default": "./dist/browser/index.js" |
| 126 | + }, |
| 127 | + "react-native": { |
| 128 | + "types": "./dist/react-native/index.d.ts", |
| 129 | + "default": "./dist/react-native/index.js" |
| 130 | + }, |
| 131 | + "import": { |
| 132 | + "types": "./dist/esm/index.d.ts", |
| 133 | + "default": "./dist/esm/index.js" |
| 134 | + }, |
| 135 | + "require": { |
| 136 | + "types": "./dist/commonjs/index.d.ts", |
| 137 | + "default": "./dist/commonjs/index.js" |
| 138 | + } |
| 139 | + } |
111 | 140 | }
|
112 | 141 | }
|
0 commit comments