diff --git a/.claude/hooks/prompt-optimizer.js b/.claude/hooks/prompt-optimizer.js index eb00866e149..f99701ae851 100755 --- a/.claude/hooks/prompt-optimizer.js +++ b/.claude/hooks/prompt-optimizer.js @@ -209,7 +209,9 @@ async function main() { } // Skip optimization for very short or simple prompts that don't need enhancement + const wordCount = prompt.trim().split(/\s+/).length; if ( + wordCount <= 4 || prompt.length < 10 || /^(hi|hello|hey|thanks|thank you)$/i.test(prompt.trim()) ) { diff --git a/.claude/settings.json b/.claude/settings.json deleted file mode 100644 index e0e003d2295..00000000000 --- a/.claude/settings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "hooks": { - "UserPromptSubmit": [ - { - "hooks": [ - { - "type": "command", - "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/prompt-optimizer.js", - "timeout": 180 - } - ] - } - ] - } -} diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 12caad3136d..33b01a38ba5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -59,7 +59,9 @@ jobs: run: nproc - name: Run Build for All - run: npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 + run: | + npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 --skip-nx-cache + npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 - name: Check Package Publishing Compatibility run: | diff --git a/apps/website/tmp/apps/website/tsconfig.tsbuildinfo b/apps/website/tmp/apps/website/tsconfig.tsbuildinfo new file mode 100644 index 00000000000..564063c59a6 --- /dev/null +++ b/apps/website/tmp/apps/website/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.webworker.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/console.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dom-events.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/events.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/https.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/module.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/net.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/os.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/path.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/process.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/test.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/url.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/util.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/index.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/types/hmrpayload.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/types/customevent.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/types/hot.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/types/importglob.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/types/importmeta.d.ts","../../../../../node_modules/.pnpm/vite@6.3.5_@types+node@18.16.9_jiti@2.4.2_less@4.4.0_stylus@0.64.0/node_modules/vite/client.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/types.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/helpers.d.ts","../../../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/tasks-k5xerdtv.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/types-9l4nily8.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/diff.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/diff.d.ts","../../../../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/types.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/error.d.ts","../../../../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/error.d.ts","../../../../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/utils.d.ts","../../../../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/utils.d.ts","../../../../../node_modules/.pnpm/@types+estree@1.0.7/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/rollup@4.40.0/node_modules/rollup/dist/rollup.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/types/hmrpayload.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/types/customevent.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/types/hot.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","../../../../../node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild/lib/main.d.ts","../../../../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/previous-map.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/input.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/css-syntax-error.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/declaration.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/root.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/warning.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/lazy-result.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/no-work-result.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/processor.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/result.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/document.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/rule.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/node.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/comment.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/container.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/at-rule.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/list.d.ts","../../../../../node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/postcss.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/dist/node/runtime.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/types/importglob.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/types/metadata.d.ts","../../../../../node_modules/.pnpm/vite@5.4.18_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite/dist/node/index.d.ts","../../../../../node_modules/.pnpm/vite-node@1.6.0_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite-node/dist/trace-mapping.d-xyifztpm.d.ts","../../../../../node_modules/.pnpm/vite-node@1.6.0_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite-node/dist/index-o2irwhkf.d.ts","../../../../../node_modules/.pnpm/vite-node@1.6.0_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite-node/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/dist/environment-cmigivxz.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/dist/index-s94asl6q.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+expect@1.6.0/node_modules/@vitest/expect/dist/chai.d.cts","../../../../../node_modules/.pnpm/@vitest+expect@1.6.0/node_modules/@vitest/expect/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+expect@1.6.0/node_modules/@vitest/expect/index.d.ts","../../../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.cts","../../../../../node_modules/.pnpm/vite-node@1.6.0_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite-node/dist/client.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/dist/manager.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/manager.d.ts","../../../../../node_modules/.pnpm/vite-node@1.6.0_@types+node@18.16.9_less@4.4.0_stylus@0.64.0/node_modules/vite-node/dist/server.d.ts","../../../../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.16.9_@vitest+ui@1.6.0_less@4.4.0_stylus@0.64.0/node_modules/vitest/dist/reporters-yx5zttev.d.ts","../../../../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.16.9_@vitest+ui@1.6.0_less@4.4.0_stylus@0.64.0/node_modules/vitest/dist/suite-ibnssuwn.d.ts","../../../../../node_modules/.pnpm/@vitest+spy@1.6.0/node_modules/@vitest/spy/dist/index.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/dist/environment.d.ts","../../../../../node_modules/.pnpm/@vitest+snapshot@1.6.0/node_modules/@vitest/snapshot/environment.d.ts","../../../../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.16.9_@vitest+ui@1.6.0_less@4.4.0_stylus@0.64.0/node_modules/vitest/dist/index.d.ts"],"fileIdsList":[[96,112],[96],[50,96],[53,96],[54,59,87,96],[55,66,67,74,84,95,96],[55,56,66,74,96],[57,96],[58,59,67,75,96],[59,84,92,96],[60,62,66,74,96],[61,96],[62,63,96],[66,96],[64,66,96],[66,67,68,84,95,96],[66,67,68,81,84,87,96],[96,100],[62,66,69,74,84,95,96],[66,67,69,70,74,84,92,95,96],[69,71,84,92,95,96],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102],[66,72,96],[73,95,96],[62,66,74,84,96],[75,96],[76,96],[53,77,96],[78,94,96,100],[79,96],[80,96],[66,81,82,96],[81,83,96,98],[54,66,84,85,86,87,96],[54,84,86,96],[84,85,96],[87,96],[88,96],[66,90,91,96],[90,91,96],[59,74,84,92,96],[93,96],[74,94,96],[54,69,80,95,96],[59,96],[84,96,97],[96,98],[96,99],[54,59,66,68,77,84,95,96,98,100],[84,96,101],[96,115,119],[96,163],[96,115,116,119,120,122],[96,115],[96,115,116,119],[96,115,116],[96,124],[96,159],[96,114,159],[96,114,159,160],[96,173],[96,167],[96,118],[96,114,117],[96,110],[96,110,111,114],[96,114],[96,121],[96,148],[96,146,148],[96,137,145,146,147,149],[96,135],[96,138,143,148,151],[96,134,151],[96,138,139,142,143,144,151],[96,138,139,140,142,143,151],[96,135,136,137,138,139,143,144,145,147,148,149,151],[96,133,135,136,137,138,139,140,142,143,144,145,146,147,148,149,150],[96,133,151],[96,138,140,141,143,144,151],[96,142,151],[96,143,144,148,151],[96,136,146],[96,113],[96,126,127],[96,156,157],[96,156],[96,155,156,157,170],[66,67,69,70,71,74,84,92,95,96,101,103,127,128,129,130,131,132,151,152,153,154],[96,128,129,130,131],[96,128,129,130],[96,128],[96,129],[96,127],[96,108],[96,104],[96,105],[96,106,107],[67,84,96,100,115,119,123,125,155,158,161,162,164,165,166,168,169,170,171,172,174],[67,84,96,100,115,123,125,155,158,161,162,164,165,166,168,169,170],[96,123,125,165,170]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","signature":false,"impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","signature":false,"impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","signature":false,"impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","signature":false,"impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","signature":false,"impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","signature":false,"impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8ea22b76493fc658fe9b76a84e64c9618823608076ecee5ed3f93f7f0dde904e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","signature":false,"impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","signature":false,"impliedFormat":1},{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3","signature":false,"impliedFormat":1},{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","signature":false,"impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","signature":false,"impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","signature":false,"impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","signature":false,"impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","signature":false,"impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","signature":false,"impliedFormat":1},{"version":"4eaff3d8e10676fd7913d8c108890e71c688e1e7d52f6d1d55c39514f493dc47","signature":false,"impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","signature":false,"impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","signature":false,"impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3256f3cccd578f9e7fe3a28096c505634bebcee8afb738ffa99368e536ca3a0b","signature":false,"impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","signature":false,"impliedFormat":1},{"version":"7f138842074d0a40681775af008c8452093b68c383c94de31759e853c6d06b5c","signature":false,"impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","signature":false,"impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","signature":false,"impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","signature":false,"impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","signature":false,"impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","signature":false,"impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","signature":false,"impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","signature":false,"impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","signature":false,"impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","signature":false,"impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","signature":false,"impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","signature":false,"impliedFormat":1},{"version":"4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","signature":false,"impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","signature":false,"impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","signature":false,"impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","signature":false,"impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","signature":false,"impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","signature":false,"impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","signature":false,"impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","signature":false,"impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","signature":false,"impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","signature":false,"impliedFormat":1},{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","signature":false,"impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","signature":false,"impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","signature":false,"impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","signature":false,"impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1","signature":false,"impliedFormat":1},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","signature":false,"impliedFormat":1},{"version":"11443a1dcfaaa404c68d53368b5b818712b95dd19f188cab1669c39bee8b84b3","signature":false,"impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","signature":false,"impliedFormat":1},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","signature":false,"impliedFormat":1},{"version":"19efad8495a7a6b064483fccd1d2b427403dd84e67819f86d1c6ee3d7abf749c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"1eef826bc4a19de22155487984e345a34c9cd511dd1170edc7a447cb8231dd4a","signature":false,"affectsGlobalScope":true,"impliedFormat":99},{"version":"3deed5e2a5f1e7590d44e65a5b61900158a3c38bac9048462d38b1bc8098bb2e","signature":false,"impliedFormat":99},{"version":"d435a43f89ed8794744c59d72ce71e43c1953338303f6be9ef99086faa8591d7","signature":false,"impliedFormat":99},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","signature":false,"impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","signature":false,"impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","signature":false,"impliedFormat":1},{"version":"a4f64e674903a21e1594a24c3fc8583f3a587336d17d41ade46aa177a8ab889b","signature":false,"impliedFormat":99},{"version":"b6f69984ffcd00a7cbcef9c931b815e8872c792ed85d9213cb2e2c14c50ca63a","signature":false,"impliedFormat":99},{"version":"2bbc5abe5030aa07a97aabd6d3932ed2e8b7a241cf3923f9f9bf91a0addbe41f","signature":false,"impliedFormat":99},{"version":"1e5e5592594e16bcf9544c065656293374120eb8e78780fb6c582cc710f6db11","signature":false,"impliedFormat":99},{"version":"05c7aef6a4e496b93c2e682cced8903c0dfe6340d04f3fe616176e2782193435","signature":false,"impliedFormat":99},{"version":"4abf1e884eecb0bf742510d69d064e33d53ac507991d6c573958356f920c3de4","signature":false,"impliedFormat":99},{"version":"44f1d2dd522c849ca98c4f95b8b2bc84b64408d654f75eb17ec78b8ceb84da11","signature":false,"impliedFormat":99},{"version":"500a67e158e4025f27570ab6a99831680852bb45a44d4c3647ab7567feb1fb4c","signature":false,"impliedFormat":99},{"version":"89edc5e1739692904fdf69edcff9e1023d2213e90372ec425b2f17e3aecbaa4a","signature":false,"impliedFormat":99},{"version":"e7d5bcffc98eded65d620bc0b6707c307b79c21d97a5fb8601e8bdf2296026b6","signature":false,"impliedFormat":99},{"version":"e666e31d323fef5642f87db0da48a83e58f0aaf9e3823e87eabd8ec7e0441a36","signature":false,"impliedFormat":99},{"version":"e2b48abff5a8adc6bb1cd13a702b9ef05e6045a98e7cfa95a8779b53b6d0e69d","signature":false,"impliedFormat":1},{"version":"a02d26c056491b1ddfa53a671ad60ce852969b369f0e71993dbac8ddcf0d038b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","signature":false,"impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","signature":false,"impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","signature":false,"impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","signature":false,"impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","signature":false,"impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","signature":false,"impliedFormat":1},{"version":"33f3718dababfc26dfd9832c150149ea4e934f255130f8c118a59ae69e5ed441","signature":false,"impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","signature":false,"impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","signature":false,"impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","signature":false,"impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","signature":false,"impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","signature":false,"impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","signature":false,"impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","signature":false,"impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","signature":false,"impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","signature":false,"impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","signature":false,"impliedFormat":1},{"version":"1bb61aa2f08ab4506d41dbe16c5f3f5010f014bbf46fa3d715c0cbe3b00f4e1c","signature":false,"impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","signature":false,"impliedFormat":1},{"version":"e42820cd611b15910c204cd133f692dcd602532b39317d4f2a19389b27e6f03d","signature":false,"impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","signature":false,"impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","signature":false,"impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","signature":false,"impliedFormat":1},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","signature":false,"impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","signature":false,"impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","signature":false,"impliedFormat":1},{"version":"0a95d25ef86ecf0f3f04d23eeef241b7adf2be8c541d8b567564306d3b9248cf","signature":false,"impliedFormat":99},{"version":"4a27c79c57a6692abb196711f82b8b07a27908c94652148d5469887836390116","signature":false,"impliedFormat":99},{"version":"f42400484f181c2c2d7557c0ed3b8baaace644a9e943511f3d35ac6be6eb5257","signature":false,"impliedFormat":99},{"version":"54b381d36b35df872159a8d3b52e8d852659ee805695a867a388c8ccbf57521b","signature":false,"impliedFormat":99},{"version":"c67b4c864ec9dcde25f7ad51b90ae9fe1f6af214dbd063d15db81194fe652223","signature":false,"impliedFormat":99},{"version":"7a4aa00aaf2160278aeae3cf0d2fc6820cf22b86374efa7a00780fbb965923ff","signature":false,"impliedFormat":99},{"version":"66e3ee0a655ff3698be0aef05f7b76ac34c349873e073cde46d43db795b79f04","signature":false,"impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"28e065b6fb60a04a538b5fbf8c003d7dac3ae9a49eddc357c2a14f2ffe9b3185","signature":false,"affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","signature":false,"impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","signature":false,"impliedFormat":1},{"version":"0d87708dafcde5468a130dfe64fac05ecad8328c298a4f0f2bd86603e5fd002e","signature":false,"impliedFormat":99},{"version":"a3f2554ba6726d0da0ffdc15b675b8b3de4aea543deebbbead845680b740a7fd","signature":false,"impliedFormat":99},{"version":"b7e28e06011460436d5c2ec2996846ac0c451e135357fc5a7269e5665a32fbd7","signature":false,"impliedFormat":99},{"version":"93dda0982b139b27b85dd2924d23e07ee8b4ca36a10be7bdf361163e4ffcc033","signature":false,"impliedFormat":99},{"version":"31af4e44d2d576ba81551894367493d444a24b72206fa9d4938b773085588cce","signature":false,"affectsGlobalScope":true,"impliedFormat":99},{"version":"18b47d2b019adf661fa363a2fc7a63b5bff55406a689e7e312934f8d57c41065","signature":false,"impliedFormat":99},{"version":"dfa6bb848807bc5e01e84214d4ec13ee8ffe5e1142546dcbb32065783a5db468","signature":false,"impliedFormat":99},{"version":"2f1ffc29f9ba7b005c0c48e6389536a245837264c99041669e0b768cfab6711d","signature":false,"impliedFormat":99},{"version":"f2d1a59a658165341b0e2b7879aa2e19ea6a709146b2d3f70ee8a07159d3d08e","signature":false,"impliedFormat":99},{"version":"e0ec9121996450da52ed36b694b198b0e40fc8531bcddb7c0296a158ff65ab94","signature":false,"impliedFormat":99}],"root":[],"options":{"allowJs":true,"declaration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":false,"jsx":4,"jsxImportSource":"@builder.io/qwik","module":6,"outDir":"../..","rootDir":"../../../../..","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":4},"referencedMap":[[113,1],[112,2],[126,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[65,14],[64,15],[66,14],[67,16],[68,17],[52,18],[102,2],[69,19],[70,20],[71,21],[103,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,32],[83,33],[84,34],[86,35],[85,36],[87,37],[88,38],[89,2],[90,39],[91,40],[92,41],[93,42],[94,43],[95,44],[96,45],[97,46],[98,47],[99,48],[100,49],[101,50],[162,2],[163,51],[164,52],[123,53],[116,54],[120,55],[124,56],[125,57],[159,2],[173,58],[160,59],[161,60],[167,60],[174,61],[168,62],[172,2],[119,63],[118,64],[121,64],[111,65],[115,66],[117,67],[110,2],[122,68],[132,2],[149,69],[147,70],[148,71],[136,72],[137,70],[144,73],[135,74],[140,75],[150,2],[141,76],[146,77],[151,78],[134,79],[142,80],[143,81],[138,82],[145,69],[139,83],[114,84],[127,85],[133,2],[165,2],[48,2],[49,2],[8,2],[9,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[21,2],[22,2],[4,2],[23,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[1,2],[47,2],[10,2],[166,86],[157,87],[158,86],[169,88],[156,2],[155,89],[152,90],[131,91],[129,92],[128,2],[130,93],[153,2],[154,94],[109,95],[105,96],[104,2],[106,97],[107,2],[108,98],[175,99],[170,100],[171,101]],"changeFileSet":[113,112,126,50,51,53,54,55,56,57,58,59,60,61,62,63,65,64,66,67,68,52,102,69,70,71,103,72,73,74,75,76,77,78,79,80,81,82,83,84,86,85,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,162,163,164,123,116,120,124,125,159,173,160,161,167,174,168,172,119,118,121,111,115,117,110,122,132,149,147,148,136,137,144,135,140,150,141,146,151,134,142,143,138,145,139,114,127,133,165,48,49,8,9,12,11,2,13,14,15,16,17,18,19,20,3,21,22,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,1,47,10,166,157,158,169,156,155,152,131,129,128,130,153,154,109,105,104,106,107,108,175,170,171],"version":"5.8.3"} \ No newline at end of file diff --git a/package.json b/package.json index e1236fd2758..e6b30242243 100644 --- a/package.json +++ b/package.json @@ -124,6 +124,7 @@ "@pmmmwh/react-refresh-webpack-plugin": "0.5.15", "@rollup/plugin-alias": "5.1.1", "@rollup/plugin-replace": "6.0.1", + "@rslib/core": "^0.10.4", "@rspack/core": "1.3.9", "@rspack/dev-server": "1.1.1", "@semantic-release/changelog": "^6.0.3", diff --git a/packages/enhanced/src/lib/sharing/SharePlugin.ts b/packages/enhanced/src/lib/sharing/SharePlugin.ts index 2a6f055c48e..91db28d090f 100644 --- a/packages/enhanced/src/lib/sharing/SharePlugin.ts +++ b/packages/enhanced/src/lib/sharing/SharePlugin.ts @@ -40,7 +40,9 @@ class SharePlugin { options.shared, (item, key) => { if (typeof item !== 'string') - throw new Error('Unexpected array in shared'); + throw new Error( + `Unexpected array in shared configuration for key "${key}"`, + ); const config: SharedConfig = item === key || !isRequiredVersion(item) ? { @@ -112,6 +114,7 @@ class SharePlugin { shareScope: this._shareScope, consumes: this._consumes, }).apply(compiler); + new ProvideSharedPlugin({ shareScope: this._shareScope, provides: this._provides, diff --git a/packages/enhanced/test/compiler-unit/sharing/SharePlugin.test.ts b/packages/enhanced/test/compiler-unit/sharing/SharePlugin.test.ts new file mode 100644 index 00000000000..ae918479795 --- /dev/null +++ b/packages/enhanced/test/compiler-unit/sharing/SharePlugin.test.ts @@ -0,0 +1,290 @@ +/* + * @jest-environment node + */ + +import { createMockCompiler } from '../utils'; +import webpack from 'webpack'; +import path from 'path'; +import SharePlugin from '../../../src/lib/sharing/SharePlugin'; + +// Mock the child plugins to prevent deep integration testing +jest.mock('../../../src/lib/sharing/ConsumeSharedPlugin', () => { + return jest.fn().mockImplementation(() => ({ + apply: jest.fn(), + })); +}); + +jest.mock('../../../src/lib/sharing/ProvideSharedPlugin', () => { + return jest.fn().mockImplementation(() => ({ + apply: jest.fn(), + })); +}); + +// Import mocked modules +import ConsumeSharedPlugin from '../../../src/lib/sharing/ConsumeSharedPlugin'; +import ProvideSharedPlugin from '../../../src/lib/sharing/ProvideSharedPlugin'; + +describe('SharePlugin Compiler Integration', () => { + let mockCompiler: webpack.Compiler; + let mockCompilation: webpack.Compilation; + + beforeEach(() => { + mockCompiler = createMockCompiler(); + mockCompilation = { + hooks: { + afterOptimizeChunks: { + tap: jest.fn(), + }, + additionalTreeRuntimeRequirements: { + tap: jest.fn(), + }, + runtimeRequirementInTree: { + for: jest.fn().mockReturnValue({ tap: jest.fn() }), + }, + }, + compiler: mockCompiler, + options: { + context: path.resolve(__dirname, '../../../'), + }, + dependencyFactories: new Map(), + dependencyTemplates: new Map(), + addRuntimeModule: jest.fn(), + resolverFactory: { + get: jest.fn().mockReturnValue({ + resolve: jest.fn(), + }), + }, + } as any; + + // Clear mocks before each test + (ConsumeSharedPlugin as jest.Mock).mockClear(); + (ProvideSharedPlugin as jest.Mock).mockClear(); + }); + + it('should integrate with webpack compilation lifecycle', () => { + const plugin = new SharePlugin({ + shared: { + react: '^17.0.0', + lodash: { + requiredVersion: '^4.17.0', + singleton: true, + }, + }, + }); + + // Apply the plugin + plugin.apply(mockCompiler); + + // Verify both child plugins are created and applied + expect(ConsumeSharedPlugin).toHaveBeenCalledTimes(1); + expect(ProvideSharedPlugin).toHaveBeenCalledTimes(1); + + // Verify the plugins are applied to the compiler + const consumeInstance = (ConsumeSharedPlugin as jest.Mock).mock.results[0] + .value; + const provideInstance = (ProvideSharedPlugin as jest.Mock).mock.results[0] + .value; + + expect(consumeInstance.apply).toHaveBeenCalledWith(mockCompiler); + expect(provideInstance.apply).toHaveBeenCalledWith(mockCompiler); + }); + + it('should handle advanced configuration with filters', () => { + const plugin = new SharePlugin({ + shareScope: 'custom-scope', + shared: { + 'react/': { + include: { + request: /components/, + version: '^17.0.0', + }, + nodeModulesReconstructedLookup: true, + }, + lodash: { + version: '4.17.21', + singleton: true, + eager: true, + }, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should handle fallback version configuration', () => { + const plugin = new SharePlugin({ + shared: { + react: { + include: { + version: '^17.0.0', + fallbackVersion: '17.0.0', + }, + }, + 'utils/': { + exclude: { + version: '^2.0.0', + fallbackVersion: '2.0.0', + }, + }, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should handle layer configuration', () => { + const plugin = new SharePlugin({ + shared: { + react: { + layer: 'framework', + issuerLayer: 'application', + }, + utilities: { + layer: 'utilities', + }, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should support multiple shareScopes', () => { + const plugin = new SharePlugin({ + shareScope: ['primary', 'secondary'], + shared: { + react: '^17.0.0', + lodash: { + shareScope: 'custom', + requiredVersion: '^4.17.0', + }, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should handle import false configuration', () => { + const plugin = new SharePlugin({ + shared: { + react: { + import: false, // Only consume, don't provide + requiredVersion: '^17.0.0', + }, + lodash: { + import: 'lodash-es', // Provide different module + requiredVersion: '^4.17.0', + }, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should handle experiments configuration', () => { + const plugin = new SharePlugin({ + shared: { + react: '^17.0.0', + }, + experiments: { + nodeModulesReconstructedLookup: true, + }, + }); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + it('should pass through all filtering options to child plugins', () => { + const plugin = new SharePlugin({ + shareScope: 'test-scope', + shared: { + 'components/': { + include: { + request: /Button|Modal/, + version: '^1.0.0', + }, + nodeModulesReconstructedLookup: true, + singleton: true, + eager: false, + }, + react: { + version: '17.0.0', + strictVersion: true, + packageName: 'react', + layer: 'framework', + issuerLayer: 'application', + }, + }, + }); + + // Should create valid plugin instance + expect(plugin).toBeInstanceOf(SharePlugin); + + // Should not throw during plugin application + expect(() => plugin.apply(mockCompiler)).not.toThrow(); + }); + + describe('helper methods integration', () => { + it('should provide debugging information about shared modules', () => { + const plugin = new SharePlugin({ + shareScope: 'debug-scope', + shared: { + react: '^17.0.0', + lodash: { + import: false, + requiredVersion: '^4.17.0', + }, + 'utils/': { + version: '1.0.0', + nodeModulesReconstructedLookup: true, + }, + }, + }); + + // Test all helper methods + const options = plugin.getOptions(); + expect(options.shareScope).toBe('debug-scope'); + + const shareScope = plugin.getShareScope(); + expect(shareScope).toBe('debug-scope'); + + const consumes = plugin.getConsumes(); + expect(consumes).toHaveLength(3); + + const provides = plugin.getProvides(); + expect(provides).toHaveLength(2); // lodash excluded due to import: false + + const sharedInfo = plugin.getSharedInfo(); + expect(sharedInfo).toEqual({ + totalShared: 3, + consumeOnly: 1, + provideAndConsume: 2, + shareScopes: ['debug-scope'], + }); + }); + + it('should validate configurations during construction', () => { + expect(() => { + new SharePlugin({ + shared: {}, + }); + }).not.toThrow(); + + expect(() => { + new SharePlugin({ + shared: { + react: { + include: { version: '^17.0.0' }, + exclude: { version: '^16.0.0' }, + }, + }, + }); + }).not.toThrow(); + }); + }); +}); diff --git a/packages/enhanced/test/compiler-unit/utils.ts b/packages/enhanced/test/compiler-unit/utils.ts new file mode 100644 index 00000000000..62a9ce35331 --- /dev/null +++ b/packages/enhanced/test/compiler-unit/utils.ts @@ -0,0 +1,75 @@ +import webpack from 'webpack'; +import path from 'path'; + +export function createMockCompiler(): webpack.Compiler { + const compiler = { + options: { + context: path.resolve(__dirname, '../../'), + mode: 'development', + }, + hooks: { + thisCompilation: { + tap: jest.fn(), + }, + compilation: { + tap: jest.fn(), + }, + afterCompile: { + tap: jest.fn(), + }, + finishMake: { + tapPromise: jest.fn(), + }, + make: { + tapAsync: jest.fn(), + }, + }, + context: path.resolve(__dirname, '../../'), + } as any; + + return compiler; +} + +export function createMockCompilation( + compiler: webpack.Compiler, +): webpack.Compilation { + const compilation = { + hooks: { + afterOptimizeChunks: { + tap: jest.fn(), + }, + processAssets: { + tap: jest.fn(), + }, + optimize: { + tap: jest.fn(), + }, + finishModules: { + tap: jest.fn(), + }, + additionalTreeRuntimeRequirements: { + tap: jest.fn(), + }, + runtimeRequirementInTree: { + for: jest.fn().mockReturnValue({ tap: jest.fn() }), + }, + }, + compiler, + options: compiler.options, + contextDependencies: new Set(), + fileDependencies: new Set(), + missingDependencies: new Set(), + warnings: [], + errors: [], + dependencyFactories: new Map(), + dependencyTemplates: new Map(), + addRuntimeModule: jest.fn(), + resolverFactory: { + get: jest.fn().mockReturnValue({ + resolve: jest.fn(), + }), + }, + } as any; + + return compilation; +} diff --git a/packages/enhanced/test/configCases/sharing/consume-filters/webpack.config.js b/packages/enhanced/test/configCases/sharing/consume-filters/webpack.config.js index 663414116ec..5051a241a43 100644 --- a/packages/enhanced/test/configCases/sharing/consume-filters/webpack.config.js +++ b/packages/enhanced/test/configCases/sharing/consume-filters/webpack.config.js @@ -37,7 +37,7 @@ module.exports = { }, // Request filtering tests 'components/': { - shareKey: 'components/', + shareKey: 'request-prefix/', include: { request: /^Button/, }, diff --git a/packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/webpack.config.js b/packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/webpack.config.js index 2a46023f20d..17ff040de3f 100644 --- a/packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/webpack.config.js +++ b/packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/webpack.config.js @@ -12,9 +12,11 @@ module.exports = { shared: { import: false, strictVersion: true, + eager: true, }, shared2: { import: false, + eager: true, }, }, }), diff --git a/packages/enhanced/test/configCases/sharing/consume-multiple-versions/webpack.config.js b/packages/enhanced/test/configCases/sharing/consume-multiple-versions/webpack.config.js index 6c59dbea537..9f9972d41fe 100644 --- a/packages/enhanced/test/configCases/sharing/consume-multiple-versions/webpack.config.js +++ b/packages/enhanced/test/configCases/sharing/consume-multiple-versions/webpack.config.js @@ -9,85 +9,109 @@ module.exports = { shared: { import: false, strictVersion: true, + eager: true, }, shared2: { import: false, + eager: true, }, shared3: { import: false, strictVersion: true, + eager: true, }, shared4: { import: false, + eager: true, }, shared5: { import: false, strictVersion: true, + eager: true, }, shared6: { import: false, strictVersion: true, + eager: true, }, shared7: { import: false, strictVersion: true, + eager: true, }, shared8: { import: false, strictVersion: true, + eager: true, }, shared9: { import: false, strictVersion: true, + eager: true, }, shared10: { import: false, strictVersion: true, + eager: true, }, shared11: { import: false, strictVersion: true, + eager: true, }, shared12: { import: false, + eager: true, }, shared13: { import: false, + eager: true, }, shared14: { import: false, + eager: true, }, shared15: { import: false, strictVersion: true, + eager: true, }, shared16: { import: false, + eager: true, }, shared17: { import: false, strictVersion: true, + eager: true, }, shared18: { import: false, + eager: true, }, shared19: { import: false, + eager: true, }, shared20: { import: false, + eager: true, }, shared21: { import: false, + eager: true, }, shared22: { import: false, + eager: true, }, shared23: { import: false, + eager: true, }, shared24: { import: false, + eager: true, }, }, }), diff --git a/packages/enhanced/test/unit/container/utils.ts b/packages/enhanced/test/unit/container/utils.ts index d8aa63f619b..99fd091e373 100644 --- a/packages/enhanced/test/unit/container/utils.ts +++ b/packages/enhanced/test/unit/container/utils.ts @@ -366,6 +366,20 @@ export function createWebpackMock() { this.blocks = []; } + updateHash(hash: any, context: any) { + // Mock implementation of updateHash that matches webpack's Module class + hash.update(this.type); + if (this.layer) hash.update(this.layer); + + // Simulate webpack's Module class behavior that uses moduleGraph + if (context?.moduleGraph?.getModuleGraphHash) { + const moduleHash = context.moduleGraph.getModuleGraphHash( + context.runtime || 'webpack-runtime', + ); + hash.update(moduleHash); + } + } + serialize(context: any) { const { write } = context; write(this.type); @@ -421,7 +435,7 @@ export function createWebpackMock() { } else if (typeof str === 'string') { return ` ${str}`; } else { - console.log('Template.indent received:', str); + // Unexpected type for indentation, return as-is return str; } }), diff --git a/packages/enhanced/test/unit/sharing/ConsumeSharedModule.test.ts b/packages/enhanced/test/unit/sharing/ConsumeSharedModule.test.ts index 0c2403d69b4..a1b5a127813 100644 --- a/packages/enhanced/test/unit/sharing/ConsumeSharedModule.test.ts +++ b/packages/enhanced/test/unit/sharing/ConsumeSharedModule.test.ts @@ -490,10 +490,9 @@ describe('ConsumeSharedModule', () => { // We can't directly test the serialization in a fully functional way without proper webpack setup // Just verify the serialize method exists and can be called + expect(typeof module.serialize).toBe('function'); expect(() => { - if (typeof module.serialize === 'function') { - module.serialize(context as any); - } + module.serialize(context as any); }).not.toThrow(); }); @@ -514,10 +513,9 @@ describe('ConsumeSharedModule', () => { ); // Just verify the serialize method exists and can be called + expect(typeof module.serialize).toBe('function'); expect(() => { - if (typeof module.serialize === 'function') { - module.serialize(context as any); - } + module.serialize(context as any); }).not.toThrow(); }); }); diff --git a/packages/enhanced/test/unit/sharing/ConsumeSharedRuntimeModule.test.ts b/packages/enhanced/test/unit/sharing/ConsumeSharedRuntimeModule.test.ts index b99159a291a..e4a10403535 100644 --- a/packages/enhanced/test/unit/sharing/ConsumeSharedRuntimeModule.test.ts +++ b/packages/enhanced/test/unit/sharing/ConsumeSharedRuntimeModule.test.ts @@ -126,11 +126,13 @@ describe('ConsumeSharedRuntimeModule', () => { // Call generate and verify it doesn't throw // Note: We're not verifying the exact output because it depends on complex internal state // that's difficult to mock completely, but we can verify it runs without errors + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); it('should generate code with array shareScope', () => { @@ -152,11 +154,13 @@ describe('ConsumeSharedRuntimeModule', () => { module.chunkGraph = mockCompilation.chunkGraph as any; // Call generate and verify it doesn't throw + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); // For the tests with modules, we'll simplify and just verify that the method @@ -192,11 +196,13 @@ describe('ConsumeSharedRuntimeModule', () => { module.chunkGraph = mockCompilation.chunkGraph as any; // Call generate and verify it doesn't throw + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); it('should generate code with modules and array shareScope', () => { @@ -230,11 +236,13 @@ describe('ConsumeSharedRuntimeModule', () => { module.chunkGraph = mockCompilation.chunkGraph as any; // Call generate and verify it doesn't throw + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); it('should handle initialConsumes correctly', () => { @@ -268,11 +276,13 @@ describe('ConsumeSharedRuntimeModule', () => { module.chunkGraph = mockCompilation.chunkGraph as any; // Call generate and verify it doesn't throw + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); it('should handle multiple share scopes in a module', () => { @@ -306,11 +316,13 @@ describe('ConsumeSharedRuntimeModule', () => { module.chunkGraph = mockCompilation.chunkGraph as any; // Call generate and verify it doesn't throw + let result; expect(() => { - const result = module.generate(); - // The result might be null or a string - expect(result === null || typeof result === 'string').toBeTruthy(); + result = module.generate(); }).not.toThrow(); + + // The result might be null or a string + expect(result === null || typeof result === 'string').toBeTruthy(); }); }); }); diff --git a/packages/enhanced/test/unit/sharing/ProvideSharedModule.test.ts b/packages/enhanced/test/unit/sharing/ProvideSharedModule.test.ts index ba0e09a6ab5..83f072e2f7e 100644 --- a/packages/enhanced/test/unit/sharing/ProvideSharedModule.test.ts +++ b/packages/enhanced/test/unit/sharing/ProvideSharedModule.test.ts @@ -332,38 +332,6 @@ describe('ProvideSharedModule', () => { }); }); - describe('updateHash', () => { - it('should update hash with module options and layer', () => { - const module = new ProvideSharedModule( - shareScopes.string, // shareScope - 'react', // name - '17.0.2', // version - './react', // request - false, // eager - '^17.0.0', // requiredVersion - false, // strictVersion - true, // singleton - 'test-layer', // layer - ); - - const hash = { - update: jest.fn(), - }; - - // Skip this test as the updateHash method might not be available - // or might be implemented differently in the real module - // Just verify the hash.update method was called - if (typeof module.updateHash === 'function') { - const context = { moduleGraph: {} }; - module.updateHash(hash as any, context as any); - expect(hash.update).toHaveBeenCalled(); - } else { - // Skip the test if updateHash is not available - expect(true).toBe(true); - } - }); - }); - describe('serialization', () => { it('should serialize and deserialize with string shareScope', () => { const module = new ProvideSharedModule( @@ -395,10 +363,9 @@ describe('ProvideSharedModule', () => { }; // Just verify the serialize method can be called without error + expect(typeof module.serialize).toBe('function'); expect(() => { - if (typeof module.serialize === 'function') { - module.serialize(context); - } + module.serialize(context); }).not.toThrow(); }); @@ -432,10 +399,9 @@ describe('ProvideSharedModule', () => { }; // Just verify the serialize method can be called without error + expect(typeof module.serialize).toBe('function'); expect(() => { - if (typeof module.serialize === 'function') { - module.serialize(context); - } + module.serialize(context); }).not.toThrow(); }); @@ -470,10 +436,9 @@ describe('ProvideSharedModule', () => { }; // Just verify the serialize method can be called without error + expect(typeof module.serialize).toBe('function'); expect(() => { - if (typeof module.serialize === 'function') { - module.serialize(context); - } + module.serialize(context); }).not.toThrow(); }); }); diff --git a/packages/enhanced/test/unit/sharing/ProvideSharedPlugin.test.ts b/packages/enhanced/test/unit/sharing/ProvideSharedPlugin.test.ts index e487b646535..14abcd5c323 100644 --- a/packages/enhanced/test/unit/sharing/ProvideSharedPlugin.test.ts +++ b/packages/enhanced/test/unit/sharing/ProvideSharedPlugin.test.ts @@ -477,7 +477,7 @@ describe('ProvideSharedPlugin', () => { (err, result) => { // Handle callback with proper implementation if (err) { - console.error('Error in addInclude:', err); + throw err; // Re-throw error for proper test failure } }, ); @@ -995,10 +995,9 @@ describe('ProvideSharedPlugin', () => { }; // Should handle gracefully without throwing + expect(mockNormalModuleFactory.moduleCallback).toBeDefined(); expect(() => { - if (mockNormalModuleFactory.moduleCallback) { - mockNormalModuleFactory.moduleCallback({}, moduleData, resolveData); - } + mockNormalModuleFactory.moduleCallback({}, moduleData, resolveData); }).not.toThrow(); }); @@ -1056,10 +1055,9 @@ describe('ProvideSharedPlugin', () => { }; // Should handle missing resource gracefully + expect(mockNormalModuleFactory.moduleCallback).toBeDefined(); expect(() => { - if (mockNormalModuleFactory.moduleCallback) { - mockNormalModuleFactory.moduleCallback({}, moduleData, resolveData); - } + mockNormalModuleFactory.moduleCallback({}, moduleData, resolveData); }).not.toThrow(); }); }); diff --git a/packages/enhanced/test/unit/sharing/SharePlugin.improved.test.ts b/packages/enhanced/test/unit/sharing/SharePlugin.improved.test.ts index ba360130a83..ec0ad718c80 100644 --- a/packages/enhanced/test/unit/sharing/SharePlugin.improved.test.ts +++ b/packages/enhanced/test/unit/sharing/SharePlugin.improved.test.ts @@ -288,13 +288,12 @@ describe('SharePlugin Real Behavior', () => { describe('edge cases and error handling', () => { it('should handle empty shared configuration', () => { - const plugin = new SharePlugin({ - shareScope: 'default', - shared: {}, - }); - - const compiler = createRealWebpackCompiler(); - expect(() => plugin.apply(compiler)).not.toThrow(); + expect(() => { + new SharePlugin({ + shareScope: 'default', + shared: {}, + }); + }).not.toThrow(); }); it('should handle missing shareScope with default fallback', () => { diff --git a/packages/enhanced/test/unit/sharing/SharePlugin.test.ts b/packages/enhanced/test/unit/sharing/SharePlugin.test.ts index 6a36d75da58..09de0495870 100644 --- a/packages/enhanced/test/unit/sharing/SharePlugin.test.ts +++ b/packages/enhanced/test/unit/sharing/SharePlugin.test.ts @@ -44,6 +44,27 @@ const SharePlugin = require('../../../src/lib/sharing/SharePlugin').default; describe('SharePlugin', () => { describe('constructor', () => { + it('should handle empty shared configuration', () => { + expect(() => { + new SharePlugin({ + shared: {}, + }); + }).not.toThrow(); + }); + + it('should allow both include and exclude filters together', () => { + expect(() => { + new SharePlugin({ + shared: { + react: { + include: { version: '^17.0.0' }, + exclude: { version: '^16.0.0' }, + }, + }, + }); + }).not.toThrow(); + }); + it('should initialize with string shareScope', () => { const plugin = new SharePlugin({ shareScope: shareScopes.string, @@ -195,6 +216,40 @@ describe('SharePlugin', () => { }); }); + describe('internal state access', () => { + let plugin: any; + + beforeEach(() => { + plugin = new SharePlugin({ + shareScope: 'test-scope', + shared: { + react: '^17.0.0', + lodash: { + import: false, + requiredVersion: '^4.17.0', + }, + utils: { + version: '1.0.0', + }, + }, + }); + }); + + it('should store share scope', () => { + expect(plugin._shareScope).toBe('test-scope'); + }); + + it('should store consumes configurations', () => { + expect(plugin._consumes).toBeInstanceOf(Array); + expect(plugin._consumes.length).toBe(3); + }); + + it('should store provides configurations', () => { + expect(plugin._provides).toBeInstanceOf(Array); + expect(plugin._provides.length).toBe(2); // lodash excluded due to import: false + }); + }); + describe('apply', () => { let mockCompiler; diff --git a/packages/enhanced/test/unit/sharing/ShareRuntimeModule.test.ts b/packages/enhanced/test/unit/sharing/ShareRuntimeModule.test.ts index 53f4f5a7195..42aba9f8333 100644 --- a/packages/enhanced/test/unit/sharing/ShareRuntimeModule.test.ts +++ b/packages/enhanced/test/unit/sharing/ShareRuntimeModule.test.ts @@ -60,7 +60,7 @@ describe('ShareRuntimeModule', () => { it('should initialize with the correct name and stage', () => { const runtimeModule = new ShareRuntimeModule(); expect(runtimeModule.name).toBe('sharing'); - expect(runtimeModule.stage).toBe(7); + expect(runtimeModule.stage).toBe(7); // RuntimeModule.STAGE_NORMAL (5) + 2 }); }); diff --git a/packages/enhanced/test/unit/sharing/utils.ts b/packages/enhanced/test/unit/sharing/utils.ts index 660ebb39308..2fd3d1f6694 100644 --- a/packages/enhanced/test/unit/sharing/utils.ts +++ b/packages/enhanced/test/unit/sharing/utils.ts @@ -42,6 +42,14 @@ export const createModuleMock = (webpackMock: any) => { // Simple implementation that just calls hash.update with some values hash.update(this.type); if (this.layer) hash.update(this.layer); + + // Simulate webpack's Module class behavior that uses moduleGraph + if (context?.moduleGraph?.getModuleGraphHash) { + const moduleHash = context.moduleGraph.getModuleGraphHash( + context.runtime || 'webpack-runtime', + ); + hash.update(moduleHash); + } } // These stubs are needed for modules that extend webpack's Module class diff --git a/packages/modernjs/package.json b/packages/modernjs/package.json index 257f5350925..97559cb86f8 100644 --- a/packages/modernjs/package.json +++ b/packages/modernjs/package.json @@ -52,17 +52,17 @@ "./shared-strategy": { "types": "./dist/types/cli/mfRuntimePlugins/shared-strategy.d.ts", "import": "./dist/esm/cli/mfRuntimePlugins/shared-strategy.js", - "require": "./dist/esm/cli/mfRuntimePlugins/shared-strategy.js" + "require": "./dist/cjs/cli/mfRuntimePlugins/shared-strategy.js" }, "./resolve-entry-ipv4": { "types": "./dist/types/cli/mfRuntimePlugins/resolve-entry-ipv4.d.ts", "import": "./dist/esm/cli/mfRuntimePlugins/resolve-entry-ipv4.js", - "require": "./dist/esm/cli/mfRuntimePlugins/resolve-entry-ipv4.js" + "require": "./dist/cjs/cli/mfRuntimePlugins/resolve-entry-ipv4.js" }, "./inject-node-fetch": { "types": "./dist/types/cli/mfRuntimePlugins/inject-node-fetch.d.ts", "import": "./dist/esm/cli/mfRuntimePlugins/inject-node-fetch.js", - "require": "./dist/esm/cli/mfRuntimePlugins/inject-node-fetch.js" + "require": "./dist/cjs/cli/mfRuntimePlugins/inject-node-fetch.js" }, "./data-fetch-server-plugin": { "types": "./dist/types/cli/server/data-fetch-server-plugin.d.ts", diff --git a/packages/rsbuild-plugin/rollup.config.js b/packages/rsbuild-plugin/rollup.config.js index 94a4c04c3e5..9317ae1910b 100644 --- a/packages/rsbuild-plugin/rollup.config.js +++ b/packages/rsbuild-plugin/rollup.config.js @@ -12,6 +12,8 @@ module.exports = (rollupConfig, _projectOptions) => { }), ); + // Let nx handle external dependencies via project.json configuration + // Don't override rollupConfig.external to allow proper workspace dependency resolution rollupConfig.input = { index: 'packages/rsbuild-plugin/src/cli/index.ts', utils: 'packages/rsbuild-plugin/src/utils/index.ts', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 92b63a612dd..f6386bddf8f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -167,6 +167,9 @@ importers: '@rollup/plugin-replace': specifier: 6.0.1 version: 6.0.1(rollup@4.40.0) + '@rslib/core': + specifier: ^0.10.4 + version: 0.10.6(typescript@5.8.3) '@rspack/core': specifier: 1.3.9 version: 1.3.9(@swc/helpers@0.5.13) @@ -2303,8 +2306,6 @@ importers: specifier: ^1.0.6 version: 1.0.6(@rsbuild/core@1.3.21) - apps/website: {} - apps/website-new: dependencies: '@module-federation/error-codes': @@ -10108,7 +10109,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -10129,14 +10130,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.12.14) + jest-config: 29.7.0(@types/node@18.16.9) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -10171,7 +10172,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-mock: 29.7.0 dev: true @@ -10198,7 +10199,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -10231,7 +10232,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -10318,7 +10319,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -13375,7 +13376,6 @@ packages: '@emnapi/core': 1.4.5 '@emnapi/runtime': 1.4.5 '@tybys/wasm-util': 0.10.0 - dev: false optional: true /@ndelangen/get-tarball@3.0.9: @@ -17202,7 +17202,6 @@ packages: '@swc/helpers': 0.5.17 core-js: 3.44.0 jiti: 2.5.1 - dev: false /@rsbuild/core@1.4.3: resolution: {integrity: sha512-97vmVaOXUxID85cVSDFHLFmDfeJTR4SoOHbn7kknkEeZFg3wHlDYhx+lbQPOZf+toHOm8d1w1LlunxVkCAdHLg==} @@ -18019,6 +18018,25 @@ packages: - webpack-cli dev: true + /@rslib/core@0.10.6(typescript@5.8.3): + resolution: {integrity: sha512-7OLdmmQbY116gNAAsY9baCid9REr+z11qfAzwVVFw+Q8avCE6YqpcBLfrBXlfmpBikfshDmHH8EpRrQwz8gZJQ==} + engines: {node: '>=16.7.0'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7 + typescript: ^5 + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + typescript: + optional: true + dependencies: + '@rsbuild/core': 1.4.12 + rsbuild-plugin-dts: 0.10.6(@rsbuild/core@1.4.12)(typescript@5.8.3) + tinyglobby: 0.2.14 + typescript: 5.8.3 + dev: true + /@rslib/core@0.9.0(typescript@5.8.3): resolution: {integrity: sha512-nWpST4+oPPTi/P4EfYqtmPLAu7AJxDevt8/+D3aULHwYkjZCVn5l3v1/tcvUJImEWsKnquknu3QIjUBNDwLzwg==} engines: {node: '>=16.7.0'} @@ -18116,7 +18134,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: false optional: true /@rspack/binding-darwin-arm64@1.4.2: @@ -18185,7 +18202,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: false optional: true /@rspack/binding-darwin-x64@1.4.2: @@ -18254,7 +18270,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: false optional: true /@rspack/binding-linux-arm64-gnu@1.4.2: @@ -18323,7 +18338,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: false optional: true /@rspack/binding-linux-arm64-musl@1.4.2: @@ -18392,7 +18406,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: false optional: true /@rspack/binding-linux-x64-gnu@1.4.2: @@ -18461,7 +18474,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: false optional: true /@rspack/binding-linux-x64-musl@1.4.2: @@ -18477,7 +18489,6 @@ packages: requiresBuild: true dependencies: '@napi-rs/wasm-runtime': 1.0.1 - dev: false optional: true /@rspack/binding-wasm32-wasi@1.4.2: @@ -18547,7 +18558,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: false optional: true /@rspack/binding-win32-arm64-msvc@1.4.2: @@ -18616,7 +18626,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: false optional: true /@rspack/binding-win32-ia32-msvc@1.4.2: @@ -18685,7 +18694,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: false optional: true /@rspack/binding-win32-x64-msvc@1.4.2: @@ -18804,7 +18812,6 @@ packages: '@rspack/binding-win32-arm64-msvc': 1.4.11 '@rspack/binding-win32-ia32-msvc': 1.4.11 '@rspack/binding-win32-x64-msvc': 1.4.11 - dev: false /@rspack/binding@1.4.2: resolution: {integrity: sha512-NdTLlA20ufD0thFvDIwwPk+bX9yo3TDE4XjfvZYbwFyYvBgqJOWQflnbwLgvSTck0MSTiOqWIqpR88ymAvWTqg==} @@ -18943,7 +18950,6 @@ packages: '@rspack/binding': 1.4.11 '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.17 - dev: false /@rspack/core@1.4.2(@swc/helpers@0.5.17): resolution: {integrity: sha512-Mmk3X3fbOLtRq4jX8Ebp3rfjr75YgupvNksQb0WbaGEVr5l1b6woPH/LaXF2v9U9DP83wmpZJXJ8vclB5JfL/w==} @@ -20570,7 +20576,7 @@ packages: typescript: '>= 3.x' webpack: '>= 4' dependencies: - debug: 4.4.0(supports-color@9.3.1) + debug: 4.4.1(supports-color@8.1.1) endent: 2.1.0 find-cache-dir: 3.3.2 flat-cache: 3.2.0 @@ -21577,13 +21583,13 @@ packages: /@types/accepts@1.3.7: resolution: {integrity: sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/adm-zip@0.5.5: resolution: {integrity: sha512-YCGstVMjc4LTY5uK9/obvxBya93axZOVOyf2GSUulADzmLhYE45u2nAssCs/fWBs1Ifq5Vat75JTPwd5XZoPJw==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/argparse@1.0.38: @@ -21626,17 +21632,17 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/bonjour@3.5.13: resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/btoa@1.2.5: resolution: {integrity: sha512-BItINdjZRlcGdI2efwK4bwxY5vEAT0SnIVfMOZVT18wp4900F1Lurqk/9PNdF9hMP1zgFmWbjVEtAsQKVcbqxA==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/chrome@0.0.272: @@ -21657,12 +21663,12 @@ packages: resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} dependencies: '@types/express-serve-static-core': 5.0.0 - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/content-disposition@0.5.8: resolution: {integrity: sha512-QVSSvno3dE0MgO76pJhmv4Qyi/j0Yk9pBp0Y7TJ2Tlj+KCgJWY6qX7nnxCOLkZ3VYRSIk1WTxCvwUSdx6CCLdg==} @@ -21671,7 +21677,7 @@ packages: /@types/conventional-commits-parser@5.0.0: resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/conventional-commits-parser@5.0.1: @@ -21692,13 +21698,13 @@ packages: '@types/connect': 3.4.38 '@types/express': 4.17.21 '@types/keygrip': 1.0.6 - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/cross-spawn@6.0.6: resolution: {integrity: sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/d3-array@3.2.1: @@ -21892,7 +21898,7 @@ packages: /@types/decompress@4.2.7: resolution: {integrity: sha512-9z+8yjKr5Wn73Pt17/ldnmQToaFHZxK0N1GHysuk/JIPT8RIdQeoInM01wWPgypRcvb6VH1drjuFpQ4zmY437g==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/detect-port@1.3.5: @@ -21912,7 +21918,7 @@ packages: dependencies: '@types/decompress': 4.2.7 '@types/got': 9.6.12 - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/ejs@3.1.5: @@ -21962,7 +21968,7 @@ packages: /@types/express-serve-static-core@4.19.6: resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/qs': 6.9.16 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -21970,7 +21976,7 @@ packages: /@types/express-serve-static-core@5.0.0: resolution: {integrity: sha512-AbXMTZGt40T+KON9/Fdxx0B2WK5hsgxcfXJLr5bFpZ7b4JCex2WyQPTEKdXqfHiY5nKKBScZ7yCoO6Pvgxfvnw==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/qs': 6.9.16 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -22000,19 +22006,19 @@ packages: /@types/fs-extra@8.1.5: resolution: {integrity: sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/fs-extra@9.0.6: resolution: {integrity: sha512-ecNRHw4clCkowNOBJH1e77nvbPxHYnWIXMv1IAoG/9+MYGkgoyr3Ppxr7XYFNL41V422EDhyV4/4SSK8L2mlig==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/geojson@7946.0.14: @@ -22023,13 +22029,13 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/got@9.6.12: resolution: {integrity: sha512-X4pj/HGHbXVLqTpKjA2ahI4rV/nNBc9mGO2I/0CgAra+F2dKgMXnENv2SRpemScBzBAI4vMelIVYViQxlSE6xA==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/tough-cookie': 4.0.5 form-data: 2.5.1 dev: true @@ -22037,7 +22043,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/har-format@1.2.16: @@ -22089,7 +22095,7 @@ packages: /@types/http-proxy@1.17.15: resolution: {integrity: sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/istanbul-lib-coverage@2.0.6: resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} @@ -22125,7 +22131,7 @@ packages: /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 dev: true @@ -22157,7 +22163,7 @@ packages: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/loadable__component@5.13.9: @@ -22222,18 +22228,18 @@ packages: /@types/node-fetch@2.6.11: resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 form-data: 4.0.1 /@types/node-forge@1.3.11: resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/node-schedule@2.1.7: resolution: {integrity: sha512-G7Z3R9H7r3TowoH6D2pkzUHPhcJrDF4Jz1JOQ80AX0K2DWTHoN9VC94XzFAPNMdbW9TBzMZ3LjpFi7RYdbxtXA==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/node@12.20.55: @@ -22379,7 +22385,7 @@ packages: /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/resolve@1.20.2: @@ -22407,7 +22413,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/serve-index@1.9.4: resolution: {integrity: sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==} @@ -22418,13 +22424,13 @@ packages: resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} dependencies: '@types/http-errors': 2.0.4 - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/send': 0.17.4 /@types/set-cookie-parser@2.4.10: resolution: {integrity: sha512-GGmQVGpQWUe5qglJozEjZV/5dyxbOOZ0LHe/lqyWssB88Y4svNfst0uqBVscdDeIKl5Jy5+aPSvy7mI9tYRguw==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true /@types/sinonjs__fake-timers@8.1.1: @@ -22438,7 +22444,7 @@ packages: /@types/sockjs@0.3.36: resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/source-list-map@0.1.6: resolution: {integrity: sha512-5JcVt1u5HDmlXkwOD2nslZVllBBc7HDuOICfiZah2Z0is8M8g+ddAEawbmd3VjedfDHBzxCaXLs07QEmb7y54g==} @@ -22471,7 +22477,7 @@ packages: /@types/webpack-sources@3.2.3: resolution: {integrity: sha512-4nZOdMwSPHZ4pTEZzSp0AsTM4K7Qmu40UKW4tJDiOVs20UzYF9l+qUe4s0ftfN0pin06n+5cWWDJXH+sbhAiDw==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 '@types/source-list-map': 0.1.6 source-map: 0.7.4 dev: true @@ -22479,7 +22485,7 @@ packages: /@types/ws@8.5.12: resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 /@types/yargs-parser@21.0.3: resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -22493,7 +22499,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 dev: true optional: true @@ -27685,7 +27691,6 @@ packages: /core-js@3.44.0: resolution: {integrity: sha512-aFCtd4l6GvAXwVEh3XbbVqJGHDJt0OZRa+5ePGx3LLwi12WfexqQxcsohb2wgsa/92xtl19Hd66G/L+TaAxDMw==} requiresBuild: true - dev: false /core-util-is@1.0.2: resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==} @@ -33366,7 +33371,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.1 - debug: 4.4.0(supports-color@9.3.1) + debug: 4.4.1(supports-color@8.1.1) transitivePeerDependencies: - supports-color dev: true @@ -33484,7 +33489,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.3 - debug: 4.4.0(supports-color@9.3.1) + debug: 4.4.1(supports-color@8.1.1) transitivePeerDependencies: - supports-color dev: true @@ -34598,7 +34603,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -34755,46 +34760,6 @@ packages: - supports-color dev: true - /jest-config@29.7.0(@types/node@20.12.14): - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - dependencies: - '@babel/core': 7.28.0 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.12.14 - babel-jest: 29.7.0(@babel/core@7.28.0) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.0 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.8 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - dev: true - /jest-diff@29.7.0: resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -34835,7 +34800,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -34852,7 +34817,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -34876,7 +34841,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.12.14 + '@types/node': 18.16.9 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -34927,7 +34892,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-util: 29.7.0 dev: true @@ -34982,7 +34947,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -35013,7 +34978,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 cjs-module-lexer: 1.4.3 collect-v8-coverage: 1.0.2 @@ -35065,7 +35030,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -35089,7 +35054,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.14 + '@types/node': 18.16.9 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -35101,7 +35066,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -35110,7 +35075,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -35118,7 +35083,7 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.12.14 + '@types/node': 18.16.9 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -35181,7 +35146,6 @@ packages: /jiti@2.5.1: resolution: {integrity: sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==} hasBin: true - dev: false /jju@1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} @@ -44030,6 +43994,28 @@ packages: fsevents: 2.3.3 dev: true + /rsbuild-plugin-dts@0.10.6(@rsbuild/core@1.4.12)(typescript@5.8.3): + resolution: {integrity: sha512-rVP82fFMDHW0GirhYx+w2bER1HhkOKJ8e/bAAF2OkMUP2k2fviMpl/gsnbO8KI9vcSqsQE2QXHkj781m6W84Ow==} + engines: {node: '>=16.7.0'} + peerDependencies: + '@microsoft/api-extractor': ^7 + '@rsbuild/core': 1.x + typescript: ^5 + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + typescript: + optional: true + dependencies: + '@ast-grep/napi': 0.37.0 + '@rsbuild/core': 1.4.12 + magic-string: 0.30.17 + picocolors: 1.1.1 + tinyglobby: 0.2.14 + tsconfig-paths: 4.2.0 + typescript: 5.8.3 + dev: true + /rsbuild-plugin-dts@0.9.0(@rsbuild/core@1.3.21)(typescript@5.8.3): resolution: {integrity: sha512-cWlBxFWo2t2wVUFIa0nnGUkqaHsSEQuGr4/vh1W9aPtFxjuu3UYnDK8b6CYmbLpUbiRB1R4gkjARoaBx74gyTQ==} engines: {node: '>=16.7.0'} @@ -47164,14 +47150,6 @@ packages: picomatch: 4.0.2 dev: false - /tinyglobby@0.2.13: - resolution: {integrity: sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==} - engines: {node: '>=12.0.0'} - dependencies: - fdir: 6.4.4(picomatch@4.0.2) - picomatch: 4.0.2 - dev: true - /tinyglobby@0.2.14: resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} engines: {node: '>=12.0.0'} @@ -49008,7 +48986,7 @@ packages: vite: optional: true dependencies: - debug: 4.3.7 + debug: 4.4.1(supports-color@8.1.1) globrex: 0.1.2 tsconfck: 2.1.2(typescript@5.8.3) vite: 6.3.5(@types/node@18.16.9)(jiti@2.4.2)(less@4.4.0)(stylus@0.64.0) @@ -49051,7 +49029,7 @@ packages: '@types/node': 16.11.68 esbuild: 0.21.5 less: 4.4.0 - postcss: 8.5.4 + postcss: 8.5.3 rollup: 4.40.0 stylus: 0.64.0 optionalDependencies: @@ -49133,7 +49111,7 @@ packages: '@types/node': 20.12.14 esbuild: 0.21.5 less: 4.4.0 - postcss: 8.5.4 + postcss: 8.5.3 rollup: 4.40.0 stylus: 0.64.0 optionalDependencies: @@ -49186,10 +49164,10 @@ packages: jiti: 2.4.2 less: 4.4.0 picomatch: 4.0.2 - postcss: 8.5.3 + postcss: 8.5.6 rollup: 4.40.0 stylus: 0.64.0 - tinyglobby: 0.2.13 + tinyglobby: 0.2.14 optionalDependencies: fsevents: 2.3.3 dev: true diff --git a/tools/rslib-plugin/dist/tools/rslib-plugin/executors.json b/tools/rslib-plugin/dist/executors.json similarity index 100% rename from tools/rslib-plugin/dist/tools/rslib-plugin/executors.json rename to tools/rslib-plugin/dist/executors.json diff --git a/tools/rslib-plugin/dist/package.json b/tools/rslib-plugin/dist/package.json index c5ee0a83e46..dce1b558727 100644 --- a/tools/rslib-plugin/dist/package.json +++ b/tools/rslib-plugin/dist/package.json @@ -22,5 +22,5 @@ "peerDependencies": { "@rslib/core": ">=0.10.0" }, - "types": "./tools/rslib-plugin/src/index.d.ts" + "types": "./src/index.d.ts" } \ No newline at end of file diff --git a/tools/rslib-plugin/dist/src/executors/build/executor.js b/tools/rslib-plugin/dist/src/executors/build/executor.js index a5668fd47c2..a86942c13cb 100644 --- a/tools/rslib-plugin/dist/src/executors/build/executor.js +++ b/tools/rslib-plugin/dist/src/executors/build/executor.js @@ -133,7 +133,7 @@ function generateRslibConfig(options, projectPath, workspaceRoot) { for (const ext of options.external) { if (ext.includes('*')) { // Handle glob patterns like "@module-federation/*" - const pattern = ext.replace('*', '(.*)'); + const pattern = ext.replace(/\*/g, '(.*)'); externals[pattern] = ext; } else { diff --git a/tools/rslib-plugin/dist/src/executors/build/executor.js.map b/tools/rslib-plugin/dist/src/executors/build/executor.js.map index 7a3378318d9..57d1f021c16 100644 --- a/tools/rslib-plugin/dist/src/executors/build/executor.js.map +++ b/tools/rslib-plugin/dist/src/executors/build/executor.js.map @@ -1 +1 @@ -{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../src/executors/build/executor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKA,qCAkFC;AAxPD,+BAAqC;AAErC,2BAAyD;AACzD,+BAA4B;AAyB5B,KAAK,UAAU,UAAU,CACvB,MAA2C,EAC3C,WAAmB,EACnB,UAAkB;IAElB,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IAE3C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,OAAO,KAAK,KA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AG,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,IAAI,YAAY,CAAC;QAEvD,0DAA0D;QAC1D,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QAClC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAE3B,IAAI,CAAC;YACH,gCAAgC;YAChC,MAAM,KAAK,CAAC,MAAM,EAAE;gBAClB,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,KAAK;gBAC7B,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC;YAEH,0BAA0B;YAC1B,MAAM,UAAU,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;YAE1D,OAAO,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACrD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;gBAAS,CAAC;YACT,qCAAqC;YACrC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;QAC9C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../src/executors/build/executor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKA,qCAkFC;AAxPD,+BAAqC;AAErC,2BAAyD;AACzD,+BAA4B;AAyB5B,KAAK,UAAU,UAAU,CACvB,MAA2C,EAC3C,WAAmB,EACnB,UAAkB;IAElB,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IAE3C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,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CAAC,GAAG,OAAO,CAAC,IAAI,IAAI,YAAY,CAAC;QAEvD,0DAA0D;QAC1D,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QAClC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAE3B,IAAI,CAAC;YACH,gCAAgC;YAChC,MAAM,KAAK,CAAC,MAAM,EAAE;gBAClB,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,KAAK;gBAC7B,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC;YAEH,0BAA0B;YAC1B,MAAM,UAAU,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;YAE1D,OAAO,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACrD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;gBAAS,CAAC;YACT,qCAAqC;YACrC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;QAC9C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/tools/rslib-plugin/dist/tools/rslib-plugin/package.json b/tools/rslib-plugin/dist/tools/rslib-plugin/package.json deleted file mode 100644 index 102fe744334..00000000000 --- a/tools/rslib-plugin/dist/tools/rslib-plugin/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "@workspace/rslib-plugin", - "version": "0.1.0", - "description": "Nx plugin for Rslib", - "main": "./src/index.js", - "generators": "./generators.json", - "executors": "./executors.json", - "type": "commonjs", - "exports": { - "./package.json": "./package.json", - "./generators.json": "./generators.json", - "./executors.json": "./executors.json", - ".": "./src/index.js" - }, - "dependencies": { - "@nx/devkit": "^21.0.0", - "@rslib/core": "^0.10.4" - }, - "devDependencies": { - "@types/node": "^20.0.0" - }, - "peerDependencies": { - "@rslib/core": ">=0.10.0" - } -}