diff --git a/patches/rollup-plugin-typescript2@0.32.1.patch b/patches/rollup-plugin-typescript2@0.32.1.patch new file mode 100644 index 00000000..f23b9fcb --- /dev/null +++ b/patches/rollup-plugin-typescript2@0.32.1.patch @@ -0,0 +1,26 @@ +diff --git a/dist/rollup-plugin-typescript2.cjs.js b/dist/rollup-plugin-typescript2.cjs.js +index 0eaef9359a030df7b3043ebb9075340420252cf3..7fb5e64616f0495b740406636c5994502fc036e5 100644 +--- a/dist/rollup-plugin-typescript2.cjs.js ++++ b/dist/rollup-plugin-typescript2.cjs.js +@@ -29672,7 +29672,7 @@ const typescript = (options) => { + verbosity: VerbosityLevel.Warning, + clean: false, + cacheRoot: findCacheDir({ name: "rollup-plugin-typescript2" }), +- include: ["*.ts+(|x)", "**/*.ts+(|x)"], ++ include: ["*.{ts,tsx}", "**/*.{ts,tsx}"], + exclude: ["*.d.ts", "**/*.d.ts"], + abortOnError: true, + rollupCommonJSResolveHack: false, +diff --git a/dist/rollup-plugin-typescript2.es.js b/dist/rollup-plugin-typescript2.es.js +index 3a9bd62290fb8f541bbade75950ef229b268b53e..735d0740297fab9c8fbf0872a6b1483e3f87daa0 100644 +--- a/dist/rollup-plugin-typescript2.es.js ++++ b/dist/rollup-plugin-typescript2.es.js +@@ -29643,7 +29643,7 @@ const typescript = (options) => { + verbosity: VerbosityLevel.Warning, + clean: false, + cacheRoot: findCacheDir({ name: "rollup-plugin-typescript2" }), +- include: ["*.ts+(|x)", "**/*.ts+(|x)"], ++ include: ["*.{ts,tsx}", "**/*.{ts,tsx}"], + exclude: ["*.d.ts", "**/*.d.ts"], + abortOnError: true, + rollupCommonJSResolveHack: false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3afa0170..b7162ccf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,10 @@ settings: excludeLinksFromLockfile: false overrides: - '@rollup/pluginutils@4.2.1>picomatch': 2.3.1 + '@rollup/pluginutils@4.2.1>picomatch': 2.3.2 + +patchedDependencies: + rollup-plugin-typescript2@0.32.1: 99e8e77a4e0cd3b11894e32a718af135219538d07f62bec56ceec88dd47a7471 importers: @@ -4089,10 +4092,6 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - picomatch@2.3.2: resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==} engines: {node: '>=8.6'} @@ -6907,7 +6906,7 @@ snapshots: '@rollup/pluginutils@4.2.1': dependencies: estree-walker: 2.0.2 - picomatch: 2.3.1 + picomatch: 2.3.2 '@sideway/address@4.1.5': dependencies: @@ -9638,7 +9637,7 @@ snapshots: rollup-plugin-bundle-size: 1.0.3 rollup-plugin-postcss: 4.0.2(postcss@8.5.15) rollup-plugin-terser: 7.0.2(rollup@2.80.0) - rollup-plugin-typescript2: 0.32.1(rollup@2.80.0)(typescript@4.7.4) + rollup-plugin-typescript2: 0.32.1(patch_hash=99e8e77a4e0cd3b11894e32a718af135219538d07f62bec56ceec88dd47a7471)(rollup@2.80.0)(typescript@4.7.4) rollup-plugin-visualizer: 5.14.0(rolldown@1.1.3)(rollup@2.80.0) sade: 1.8.1 terser: 5.48.0 @@ -9935,8 +9934,6 @@ snapshots: picocolors@1.1.1: {} - picomatch@2.3.1: {} - picomatch@2.3.2: {} picomatch@4.0.4: {} @@ -10434,7 +10431,7 @@ snapshots: serialize-javascript: 4.0.0 terser: 5.48.0 - rollup-plugin-typescript2@0.32.1(rollup@2.80.0)(typescript@4.7.4): + rollup-plugin-typescript2@0.32.1(patch_hash=99e8e77a4e0cd3b11894e32a718af135219538d07f62bec56ceec88dd47a7471)(rollup@2.80.0)(typescript@4.7.4): dependencies: '@rollup/pluginutils': 4.2.1 find-cache-dir: 3.3.2 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c4110631..8c0ba108 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,4 +6,6 @@ allowBuilds: minimumReleaseAgeExclude: - prettier@3.9.0 overrides: - "@rollup/pluginutils@4.2.1>picomatch": "2.3.1" + "@rollup/pluginutils@4.2.1>picomatch": "2.3.2" +patchedDependencies: + rollup-plugin-typescript2@0.32.1: patches/rollup-plugin-typescript2@0.32.1.patch