diff --git a/package.json b/package.json index 07190916..2aa40f58 100644 --- a/package.json +++ b/package.json @@ -104,5 +104,10 @@ } }, "packageManager": "pnpm@7.9.5", - "prettier": "@mizdra/prettier-config-mizdra" + "prettier": "@mizdra/prettier-config-mizdra", + "pnpm": { + "patchedDependencies": { + "msw@0.47.3": "patches/msw@0.47.3.patch" + } + } } diff --git a/patches/msw@0.47.3.patch b/patches/msw@0.47.3.patch new file mode 100644 index 00000000..158d6bbf --- /dev/null +++ b/patches/msw@0.47.3.patch @@ -0,0 +1,12 @@ +diff --git a/package.json b/package.json +index 89136d298d5619b20c4272b5e2aa850a0f6e5c0d..7146cb182616530b5c6e766e253bc1fa4ae5c84d 100644 +--- a/package.json ++++ b/package.json +@@ -12,6 +12,7 @@ + "default": "./lib/native/index.js" + }, + "./node": { ++ "types": "./lib/node/index.d.ts", + "require": "./lib/node/index.js", + "default": "./lib/node/index.mjs" + } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3055a725..655f2c49 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,10 @@ lockfileVersion: 5.4 +patchedDependencies: + msw@0.47.3: + hash: lo2w3sbxteaozm5fuk5lzvuujy + path: patches/msw@0.47.3.patch + specifiers: '@babel/core': ^7.18.13 '@babel/preset-typescript': ^7.18.6 @@ -95,7 +100,7 @@ devDependencies: jest: 29.0.3_@types+node@18.0.6 less: 4.1.3 line-column: 1.0.2 - msw: 0.47.3_typescript@4.7.4 + msw: 0.47.3_lo2w3sbxteaozm5fuk5lzvuujy_typescript@4.7.4 npm-run-all: 4.1.5 prettier: 2.7.1 sass: 1.54.3 @@ -3528,7 +3533,7 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true - /msw/0.47.3_typescript@4.7.4: + /msw/0.47.3_lo2w3sbxteaozm5fuk5lzvuujy_typescript@4.7.4: resolution: {integrity: sha512-X3w/1fi29mEqoCajgFV59hrmns+mdD/FPegYMRwW7CK0vi//yX9NVy07/XspdBm6W1TNtb8Giv79SmS2BAb0Wg==} engines: {node: '>=14'} hasBin: true @@ -3564,6 +3569,7 @@ packages: - encoding - supports-color dev: true + patched: true /mute-stream/0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}