diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 78970280806a..37859059f130 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -252,7 +252,7 @@ importers: version: file:projects/arm-databoundaries.tgz '@rush-temp/arm-databox': specifier: file:./projects/arm-databox.tgz - version: file:projects/arm-databox.tgz + version: file:projects/arm-databox.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-databoxedge': specifier: file:./projects/arm-databoxedge.tgz version: file:projects/arm-databoxedge.tgz @@ -2807,7 +2807,7 @@ packages: version: 0.0.0 '@rush-temp/arm-databox@file:projects/arm-databox.tgz': - resolution: {integrity: sha512-wVKbtR3SHxgiUwabg+4FQ26p+aa5z8ul7bzeuPNdMJ7DjSd5qod4eSR4vtQryJjkI5p4RPS2vQItlwJkJRWvbA==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-zWIW0Be7/AWNdAV6FVMqzwvEDpWnVoHmTgdLpJplUttmQ7aDFMOUog4SvJpOM6KY4W7LDStegs/q/X11qBz1eA==, tarball: file:projects/arm-databox.tgz} version: 0.0.0 '@rush-temp/arm-databoxedge-profile-2020-09-01-hybrid@file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz': @@ -11758,25 +11758,37 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-databox@file:projects/arm-databox.tgz': + '@rush-temp/arm-databox@file:projects/arm-databox.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 '@azure/abort-controller': 1.1.0 '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 - chai: 4.5.0 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.7 - mocha: 11.0.2 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' + - bufferutil + - happy-dom + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser + - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-databoxedge-profile-2020-09-01-hybrid@file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz': dependencies: diff --git a/sdk/databox/arm-databox/package.json b/sdk/databox/arm-databox/package.json index 190c96781ebe..66398d00a8d2 100644 --- a/sdk/databox/arm-databox/package.json +++ b/sdk/databox/arm-databox/package.json @@ -24,9 +24,9 @@ "isomorphic" ], "license": "MIT", - "main": "./dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-databox.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", @@ -118,5 +118,26 @@ "selfLink": false }, "browser": "./dist/browser/index.js", - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } }