|
1 | 1 | { |
2 | 2 | "name": "@azure/arm-fabric", |
3 | | - "version": "1.0.1", |
| 3 | + "version": "1.1.0-beta.1", |
4 | 4 | "description": "A generated SDK for FabricClient.", |
5 | 5 | "engines": { |
6 | 6 | "node": ">=18.0.0" |
|
11 | 11 | "project": "./tsconfig.src.json", |
12 | 12 | "exports": { |
13 | 13 | "./package.json": "./package.json", |
14 | | - ".": "./src/index.ts", |
15 | | - "./models": "./src/models/index.ts" |
| 14 | + ".": "./src/index.ts" |
16 | 15 | }, |
17 | 16 | "dialects": [ |
18 | 17 | "esm", |
|
47 | 46 | "bugs": { |
48 | 47 | "url": "https://github.com/Azure/azure-sdk-for-js/issues" |
49 | 48 | }, |
| 49 | + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/fabric/arm-fabric/README.md", |
50 | 50 | "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", |
51 | 51 | "//metadata": { |
52 | 52 | "constantPaths": [ |
|
57 | 57 | ] |
58 | 58 | }, |
59 | 59 | "dependencies": { |
60 | | - "@azure-rest/core-client": "^2.1.0", |
| 60 | + "@azure-rest/core-client": "^2.3.1", |
61 | 61 | "@azure/abort-controller": "^2.1.2", |
62 | 62 | "@azure/core-auth": "^1.9.0", |
63 | | - "@azure/core-lro": "^3.0.0", |
64 | | - "@azure/core-rest-pipeline": "^1.18.2", |
| 63 | + "@azure/core-lro": "^3.1.0", |
| 64 | + "@azure/core-rest-pipeline": "^1.19.1", |
65 | 65 | "@azure/core-util": "^1.11.0", |
66 | 66 | "@azure/logger": "^1.1.4", |
67 | 67 | "tslib": "^2.8.1" |
|
72 | 72 | "@azure-tools/test-utils-vitest": "^1.0.0", |
73 | 73 | "@azure/dev-tool": "^1.0.0", |
74 | 74 | "@azure/eslint-plugin-azure-sdk": "^3.0.0", |
75 | | - "@azure/identity": "^4.6.0", |
| 75 | + "@azure/identity": "^4.8.0", |
76 | 76 | "@types/node": "^18.0.0", |
77 | | - "@vitest/browser": "^3.0.3", |
78 | | - "@vitest/coverage-istanbul": "^3.0.3", |
| 77 | + "@vitest/browser": "^3.0.6", |
| 78 | + "@vitest/coverage-istanbul": "^3.0.6", |
79 | 79 | "dotenv": "^16.0.0", |
80 | 80 | "eslint": "^9.9.0", |
81 | | - "playwright": "^1.50.1", |
82 | | - "prettier": "^3.2.5", |
83 | | - "typescript": "~5.7.2", |
84 | | - "vitest": "^3.0.3" |
| 81 | + "playwright": "^1.51.0", |
| 82 | + "typescript": "~5.6.2", |
| 83 | + "vitest": "^3.0.6" |
85 | 84 | }, |
86 | 85 | "scripts": { |
87 | 86 | "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", |
88 | | - "build:samples": "tsc -p tsconfig.samples.json && dev-tool samples publish -f", |
| 87 | + "build:samples": "dev-tool run typecheck --paths samples-dev/*.ts && dev-tool samples publish -f", |
89 | 88 | "build:test": "npm run clean && dev-tool run build-package && dev-tool run build-test", |
90 | | - "check-format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"", |
| 89 | + "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"", |
91 | 90 | "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", |
92 | 91 | "execute:samples": "dev-tool samples run samples-dev", |
93 | 92 | "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", |
94 | | - "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", |
| 93 | + "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"", |
95 | 94 | "generate:client": "echo skipped", |
96 | 95 | "integration-test": "npm run integration-test:node && npm run integration-test:browser", |
97 | 96 | "integration-test:browser": "echo skipped", |
98 | 97 | "integration-test:node": "dev-tool run test:vitest --esm", |
99 | | - "lint": "echo skipped", |
100 | | - "lint:fix": "echo skipped", |
| 98 | + "lint": "eslint package.json api-extractor.json src test", |
| 99 | + "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", |
101 | 100 | "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", |
102 | 101 | "pack": "npm pack 2>&1", |
103 | 102 | "test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", |
|
116 | 115 | "disableDocsMs": true, |
117 | 116 | "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-fabric?view=azure-node-preview" |
118 | 117 | }, |
| 118 | + "browser": "./dist/browser/index.js", |
| 119 | + "react-native": "./dist/react-native/index.js", |
119 | 120 | "exports": { |
120 | 121 | "./package.json": "./package.json", |
121 | 122 | ".": { |
|
135 | 136 | "types": "./dist/commonjs/index.d.ts", |
136 | 137 | "default": "./dist/commonjs/index.js" |
137 | 138 | } |
138 | | - }, |
139 | | - "./models": { |
140 | | - "browser": { |
141 | | - "types": "./dist/browser/models/index.d.ts", |
142 | | - "default": "./dist/browser/models/index.js" |
143 | | - }, |
144 | | - "react-native": { |
145 | | - "types": "./dist/react-native/models/index.d.ts", |
146 | | - "default": "./dist/react-native/models/index.js" |
147 | | - }, |
148 | | - "import": { |
149 | | - "types": "./dist/esm/models/index.d.ts", |
150 | | - "default": "./dist/esm/models/index.js" |
151 | | - }, |
152 | | - "require": { |
153 | | - "types": "./dist/commonjs/models/index.d.ts", |
154 | | - "default": "./dist/commonjs/models/index.js" |
155 | | - } |
156 | 139 | } |
157 | 140 | }, |
158 | 141 | "main": "./dist/commonjs/index.js", |
159 | 142 | "types": "./dist/commonjs/index.d.ts", |
160 | | - "module": "./dist/esm/index.js", |
161 | | - "browser": "./dist/browser/index.js", |
162 | | - "react-native": "./dist/react-native/index.js" |
| 143 | + "module": "./dist/esm/index.js" |
163 | 144 | } |
0 commit comments