From 174eee497301fbe3107b0f1b73b8e2946eaa267d Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 17 Jan 2025 15:58:03 +0800 Subject: [PATCH] update --- common/config/rush/pnpm-lock.yaml | 46 +++++++++++++++++++------------ sdk/dns/arm-dns/package.json | 29 ++++++++++++++++--- 2 files changed, 53 insertions(+), 22 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 2e43b5874141..0a3bebd8a957 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -318,7 +318,7 @@ importers: version: file:projects/arm-digitaltwins.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-dns': specifier: file:./projects/arm-dns.tgz - version: file:projects/arm-dns.tgz + version: file:projects/arm-dns.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-dns-profile-2020-09-01-hybrid': specifier: file:./projects/arm-dns-profile-2020-09-01-hybrid.tgz version: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz @@ -2725,11 +2725,11 @@ packages: version: 0.0.0 '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz': - resolution: {integrity: sha512-0cXmYkP6BC+rpZF30nOPzX72QzBfHP0iamJAUKGriMelkP/CvSHLzlc0iSChtrvLF+f+7Irm0Rq2CS8fRR8PGA==, tarball: file:projects/arm-computefleet.tgz} + resolution: {integrity: sha512-dHEiVJCBXoDiwRqnRqCf5ia8PtkGBLUuYc0aJSreNxdDbAAncfEfHBY2o38AGVWpCU6FlIrhVsrA2x6C3mlaUg==, tarball: file:projects/arm-computefleet.tgz} version: 0.0.0 '@rush-temp/arm-computeschedule@file:projects/arm-computeschedule.tgz': - resolution: {integrity: sha512-c/+NgTKQURRLUShIyScM53VoFwieM+cr9h+WpoAqCHHvYHW2nvljuSfPoPQHuXMiDVRuiDlHQ+kt4Nq1ZJDguw==, tarball: file:projects/arm-computeschedule.tgz} + resolution: {integrity: sha512-ib3pXHOqIcDQ6gtwwYl5zxa/HVC4zt6G0McgfgKemX+qsXm6XDFNsah1iDrmQh4G3Gmb2/4WDtxhsff9DCqzww==, tarball: file:projects/arm-computeschedule.tgz} version: 0.0.0 '@rush-temp/arm-confidentialledger@file:projects/arm-confidentialledger.tgz': @@ -2893,7 +2893,7 @@ packages: version: 0.0.0 '@rush-temp/arm-dns@file:projects/arm-dns.tgz': - resolution: {integrity: sha512-Fv1+I9t23YOn9aPQ3qJ1utd9el+iP0vXU6KaAQmDDiqnEOeTzBs7VEX6OdOmknk6mMQY4cz1jFvWXSOXrbG81w==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-LQqxE7YlNO8ff9kFjOGS4A92klUOVx4oXj/jBxcBQo+A5HYLDF9rnio0WIiY2CzpZJ15tOpIPA6JWSj3I4Rffg==, tarball: file:projects/arm-dns.tgz} version: 0.0.0 '@rush-temp/arm-dnsresolver@file:projects/arm-dnsresolver.tgz': @@ -3789,7 +3789,7 @@ packages: version: 0.0.0 '@rush-temp/keyvault-admin@file:projects/keyvault-admin.tgz': - resolution: {integrity: sha512-9nrkkH+RxeVz3ygp5vzRYD3DszYzyUch+Zp91THbSTktEAFHRMxfuUD56glXmTTxf//KN1y+HxYAJNfxCO+AdQ==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-NizLT7d7g7FIam+lwQJpaMWvoM1SIdA0x1rpi4AN/U99Qw4L3PAAEwZjSa+LQmIco2o8/vBNXgmqTt1OFnGcUQ==, tarball: file:projects/keyvault-admin.tgz} version: 0.0.0 '@rush-temp/keyvault-certificates@file:projects/keyvault-certificates.tgz': @@ -3993,7 +3993,7 @@ packages: version: 0.0.0 '@rush-temp/purview-scanning@file:projects/purview-scanning.tgz': - resolution: {integrity: sha512-3//USsp+OcONrh4BsZVi8bkx7KCMhq2rAvA/UKiZeUg9dwPyYQobK5f5z3fCBc27Km2JqvJeaBvMr6rhVtFvYA==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-HJFfAYdCIriBJK7H2DtIyP6nUNFjDorEk2NfKDYGnk/q9b/xFcTY1ypEz53vbhUkgpMFTQDZ2GgrsitXizTx5w==, tarball: file:projects/purview-scanning.tgz} version: 0.0.0 '@rush-temp/purview-sharing@file:projects/purview-sharing.tgz': @@ -11699,7 +11699,6 @@ snapshots: dotenv: 16.4.7 eslint: 9.18.0 playwright: 1.49.1 - prettier: 3.4.2 tslib: 2.8.1 typescript: 5.7.3 vitest: 2.1.8(@types/node@18.19.70)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3)) @@ -12984,25 +12983,37 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-dns@file:projects/arm-dns.tgz': + '@rush-temp/arm-dns@file:projects/arm-dns.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(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/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.70 - chai: 4.5.0 + '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.7.3)(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.1.0 - ts-node: 10.9.2(@types/node@18.19.70)(typescript@5.7.3) + playwright: 1.49.1 tslib: 2.8.1 tsx: 4.19.2 typescript: 5.7.3 + vitest: 2.1.8(@types/node@18.19.70)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3)) 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-dnsresolver@file:projects/arm-dnsresolver.tgz': dependencies: @@ -18480,7 +18491,6 @@ snapshots: '@rush-temp/keyvault-admin@file:projects/keyvault-admin.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(vite@5.4.11(@types/node@22.7.9))': dependencies: - '@azure/core-lro': 2.7.2 '@types/node': 18.19.70 '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.7.3)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) diff --git a/sdk/dns/arm-dns/package.json b/sdk/dns/arm-dns/package.json index c47bb49c5fb2..0ce49f33e837 100644 --- a/sdk/dns/arm-dns/package.json +++ b/sdk/dns/arm-dns/package.json @@ -24,9 +24,9 @@ "isomorphic" ], "license": "MIT", - "main": "./dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-dns.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" + } + } + } }