From 94b1cb44ee136a93bb20ad9bd877dc4abfaf1fbd Mon Sep 17 00:00:00 2001 From: BitterGourd <91231822+gaoachao@users.noreply.github.com> Date: Tue, 15 Apr 2025 17:06:43 +0800 Subject: [PATCH 1/4] feat(rspeedy/core): support cli flag --no-env (#483) ## Summary As one of several PRs addressing issue #304 Support cli option `--no-env` to disable loading of `.env` files Reference links: - https://github.com/lynx-family/lynx-stack/pull/233#discussion_r2027156364 - https://github.com/web-infra-dev/rsbuild/pull/4947 ## Checklist - [x] Tests updated (or not required). - [x] Documentation updated (or not required). --- .changeset/open-oranges-shake.md | 5 ++++ packages/rspeedy/core/src/cli/build.ts | 4 ++- packages/rspeedy/core/src/cli/commands.ts | 7 ++++- packages/rspeedy/core/src/cli/dev.ts | 4 ++- packages/rspeedy/core/src/cli/inspect.ts | 16 ++++++---- packages/rspeedy/core/src/cli/preview.ts | 16 ++++++---- packages/rspeedy/core/test/cli/config.test.ts | 30 +++++++++++++++++++ website/docs/en/guide/cli.md | 4 +++ website/docs/zh/guide/cli.md | 4 +++ 9 files changed, 77 insertions(+), 13 deletions(-) create mode 100644 .changeset/open-oranges-shake.md diff --git a/.changeset/open-oranges-shake.md b/.changeset/open-oranges-shake.md new file mode 100644 index 0000000000..f85753247f --- /dev/null +++ b/.changeset/open-oranges-shake.md @@ -0,0 +1,5 @@ +--- +"@lynx-js/rspeedy": patch +--- + +Support cli option `--no-env` to disable loading of .env files diff --git a/packages/rspeedy/core/src/cli/build.ts b/packages/rspeedy/core/src/cli/build.ts index 41e0b3b0a8..fdab475ba2 100644 --- a/packages/rspeedy/core/src/cli/build.ts +++ b/packages/rspeedy/core/src/cli/build.ts @@ -36,7 +36,9 @@ export async function build( rspeedyConfig, } - if (buildOptions.envMode) { + if (buildOptions.noEnv) { + options.loadEnv = false + } else if (buildOptions.envMode) { options.loadEnv = { mode: buildOptions.envMode } } diff --git a/packages/rspeedy/core/src/cli/commands.ts b/packages/rspeedy/core/src/cli/commands.ts index 291989a173..9de85ca5aa 100644 --- a/packages/rspeedy/core/src/cli/commands.ts +++ b/packages/rspeedy/core/src/cli/commands.ts @@ -13,6 +13,7 @@ import { version } from '../version.js' export interface CommonOptions { config?: string envMode?: string + noEnv?: boolean } function applyCommonOptions(command: Command) { @@ -23,7 +24,11 @@ function applyCommonOptions(command: Command) { ) .option( '--env-mode ', - 'specify the env mode to load the .env.[mode] file"', + 'specify the env mode to load the .env.[mode] file', + ) + .option( + '--no-env', + 'disable loading `.env` files"', ) } diff --git a/packages/rspeedy/core/src/cli/dev.ts b/packages/rspeedy/core/src/cli/dev.ts index a963459be4..97e7cb49d6 100644 --- a/packages/rspeedy/core/src/cli/dev.ts +++ b/packages/rspeedy/core/src/cli/dev.ts @@ -70,7 +70,9 @@ export async function dev( rspeedyConfig, } - if (devOptions.envMode) { + if (devOptions.noEnv) { + options.loadEnv = false + } else if (devOptions.envMode) { options.loadEnv = { mode: devOptions.envMode } } diff --git a/packages/rspeedy/core/src/cli/inspect.ts b/packages/rspeedy/core/src/cli/inspect.ts index 0ed1f02b53..6c775883cc 100644 --- a/packages/rspeedy/core/src/cli/inspect.ts +++ b/packages/rspeedy/core/src/cli/inspect.ts @@ -10,6 +10,7 @@ import type { CommonOptions } from './commands.js' import { exit } from './exit.js' import { loadConfig } from '../config/loadConfig.js' import { createRspeedy } from '../create-rspeedy.js' +import type { CreateRspeedyOptions } from '../create-rspeedy.js' export interface InspectOptions extends CommonOptions { mode?: 'production' | 'development' | undefined @@ -28,13 +29,18 @@ export async function inspect( configPath: inspectOptions.config, }) - const rspeedy = await createRspeedy({ + const options: CreateRspeedyOptions = { cwd, rspeedyConfig, - ...(inspectOptions.envMode - ? { loadEnv: { mode: inspectOptions.envMode } } - : {}), - }) + } + + if (inspectOptions.noEnv) { + options.loadEnv = false + } else if (inspectOptions.envMode) { + options.loadEnv = { mode: inspectOptions.envMode } + } + + const rspeedy = await createRspeedy(options) await rspeedy.inspectConfig({ mode: inspectOptions.mode diff --git a/packages/rspeedy/core/src/cli/preview.ts b/packages/rspeedy/core/src/cli/preview.ts index dc88aa0671..814d3575a2 100644 --- a/packages/rspeedy/core/src/cli/preview.ts +++ b/packages/rspeedy/core/src/cli/preview.ts @@ -11,6 +11,7 @@ import type { CommonOptions } from './commands.js' import { exit } from './exit.js' import { loadConfig, resolveConfigPath } from '../config/loadConfig.js' import { createRspeedy } from '../create-rspeedy.js' +import type { CreateRspeedyOptions } from '../create-rspeedy.js' export interface PreviewOptions extends CommonOptions { base?: string | undefined @@ -34,13 +35,18 @@ export async function preview( rspeedyConfig.server.base = previewOptions.base } - const rspeedy = await createRspeedy({ + const options: CreateRspeedyOptions = { cwd, rspeedyConfig, - ...(previewOptions.envMode - ? { loadEnv: { mode: previewOptions.envMode } } - : {}), - }) + } + + if (previewOptions.noEnv) { + options.loadEnv = false + } else if (previewOptions.envMode) { + options.loadEnv = { mode: previewOptions.envMode } + } + + const rspeedy = await createRspeedy(options) await rspeedy.initConfigs() diff --git a/packages/rspeedy/core/test/cli/config.test.ts b/packages/rspeedy/core/test/cli/config.test.ts index 403c073429..c163a97833 100644 --- a/packages/rspeedy/core/test/cli/config.test.ts +++ b/packages/rspeedy/core/test/cli/config.test.ts @@ -68,6 +68,36 @@ describe('rspeedy config test', () => { }), ) }) + + test('createRspeedy with no-env ', async () => { + const root = join(fixturesRoot, 'project-with-env') + const rsbuild = await createRspeedy({ + cwd: root, + loadEnv: false, + }) + const configs = await rsbuild.initConfigs() + const maybeDefinePluginInstance = configs[0]?.plugins?.filter((plugin) => { + if (plugin) { + return plugin.name === 'DefinePlugin' + } else { + return false + } + }) + + expect(maybeDefinePluginInstance).toHaveLength(1) + const defineInstance = maybeDefinePluginInstance![0] + + expect(defineInstance!).toMatchObject( + expect.objectContaining({ + _args: [ + expect.not.objectContaining({ + 'process.env.PUBLIC_FOO': '"BAR"', + 'process.env.PUBLIC_TEST': '"TEST"', + }), + ], + }), + ) + }) }) describe('rspeedy environment test', () => { diff --git a/website/docs/en/guide/cli.md b/website/docs/en/guide/cli.md index 9c12914347..b262703cfd 100644 --- a/website/docs/en/guide/cli.md +++ b/website/docs/en/guide/cli.md @@ -76,6 +76,7 @@ Options: -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file --environment specify the name of environment to build + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -94,6 +95,7 @@ Options: -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file --environment specify the name of environment to build + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -110,6 +112,7 @@ Options: -b --base specify the base path of the server -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -134,6 +137,7 @@ Options: --verbose show full function definitions in output -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file + --no-env disable loading `.env` files" -h, --help display help for command ``` diff --git a/website/docs/zh/guide/cli.md b/website/docs/zh/guide/cli.md index 0df489a041..1c367acf71 100644 --- a/website/docs/zh/guide/cli.md +++ b/website/docs/zh/guide/cli.md @@ -74,6 +74,7 @@ Options: -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file --environment specify the name of environment to build + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -92,6 +93,7 @@ Options: -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file --environment specify the name of environment to build + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -108,6 +110,7 @@ Options: -b --base specify the base path of the server -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file + --no-env disable loading `.env` files" -h, --help display help for command ``` @@ -132,6 +135,7 @@ Options: --verbose show full function definitions in output -c --config specify the configuration file, can be a relative or absolute path --env-mode specify the env mode to load the .env.[mode] file + --no-env disable loading `.env` files" -h, --help display help for command ``` From ac4a4d202919fb4a76f368ed4320262ce6813496 Mon Sep 17 00:00:00 2001 From: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Date: Tue, 15 Apr 2025 20:38:54 +0800 Subject: [PATCH 2/4] ci: upgrade lynx-infra/cache (#549) ## Summary Now lynx-infra/cache would restore the **last modified** cache. This would make it easier for hitting turbo cache. ## Checklist - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). --- .github/actions/setup-playwright/action.yml | 2 +- .github/workflows/workflow-bench.yml | 2 +- .github/workflows/workflow-build.yml | 2 +- .github/workflows/workflow-test.yml | 2 +- .github/workflows/workflow-website.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-playwright/action.yml b/.github/actions/setup-playwright/action.yml index 4c0db96157..c12fc14905 100644 --- a/.github/actions/setup-playwright/action.yml +++ b/.github/actions/setup-playwright/action.yml @@ -17,7 +17,7 @@ runs: echo "version=$(pnpm ls @playwright/test --depth=0 --parseable | grep @playwright | sed -E 's/.*@([0-9]+\.[0-9]+\.[0-9]+).*/\1/')" >> "$GITHUB_OUTPUT" shell: bash - name: Cache Playwright - uses: lynx-infra/cache@ad9f115f5b15348eb208a52ec6f7ffa82e8108df + uses: lynx-infra/cache@558d7c999f9f97ac02ed7e711503bb81d82ff8ee id: playwright-cache with: path: ${{ (runner.os == 'Linux' && '~/.cache/ms-playwright') || '~/Library/Caches/ms-playwright' }} diff --git a/.github/workflows/workflow-bench.yml b/.github/workflows/workflow-bench.yml index fcac9115a0..64e411111f 100644 --- a/.github/workflows/workflow-bench.yml +++ b/.github/workflows/workflow-bench.yml @@ -23,7 +23,7 @@ jobs: corepack enable pnpm install --frozen-lockfile - name: TurboCache - uses: lynx-infra/cache@ad9f115f5b15348eb208a52ec6f7ffa82e8108df + uses: lynx-infra/cache@558d7c999f9f97ac02ed7e711503bb81d82ff8ee with: path: .turbo # We have to be strict here to make sure getting the cache of build-all diff --git a/.github/workflows/workflow-build.yml b/.github/workflows/workflow-build.yml index 296c8e5c07..7523010ee2 100644 --- a/.github/workflows/workflow-build.yml +++ b/.github/workflows/workflow-build.yml @@ -19,7 +19,7 @@ jobs: with: node-version: "22" - name: TurboCache - uses: lynx-infra/cache@ad9f115f5b15348eb208a52ec6f7ffa82e8108df + uses: lynx-infra/cache@558d7c999f9f97ac02ed7e711503bb81d82ff8ee with: path: .turbo key: turbo-v3-${{ hashFiles('**/packages/**/src/**/*.rs') }}-${{ github.sha }} diff --git a/.github/workflows/workflow-test.yml b/.github/workflows/workflow-test.yml index 6548a4eb9d..a619dbf3b5 100644 --- a/.github/workflows/workflow-test.yml +++ b/.github/workflows/workflow-test.yml @@ -34,7 +34,7 @@ jobs: with: node-version: "22" - name: TurboCache - uses: lynx-infra/cache@ad9f115f5b15348eb208a52ec6f7ffa82e8108df + uses: lynx-infra/cache@558d7c999f9f97ac02ed7e711503bb81d82ff8ee with: path: .turbo # We have to be strict here to make sure getting the cache of build-all diff --git a/.github/workflows/workflow-website.yml b/.github/workflows/workflow-website.yml index 5d76a91112..d88be853a2 100644 --- a/.github/workflows/workflow-website.yml +++ b/.github/workflows/workflow-website.yml @@ -15,7 +15,7 @@ jobs: with: node-version: "22" - name: TurboCache - uses: lynx-infra/cache@ad9f115f5b15348eb208a52ec6f7ffa82e8108df + uses: lynx-infra/cache@558d7c999f9f97ac02ed7e711503bb81d82ff8ee with: path: .turbo key: turbo-v3-${{ hashFiles('**/packages/**/src/**/*.rs') }}-${{ github.sha }} From 8a651ea4586c32d3397f0fbd19785acdd63751ba Mon Sep 17 00:00:00 2001 From: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Date: Tue, 15 Apr 2025 21:03:16 +0800 Subject: [PATCH 3/4] chore(renovate): use correct typia plugin name (#548) ## Summary https://www.npmjs.com/package/typia-rspack-plugin close: #539 ## Checklist - [ ] Tests updated (or **not required**). - [ ] Documentation updated (or **not required**). --- .github/renovate.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index f4438f83cb..612ea6196d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -93,7 +93,7 @@ "groupSlug": "typia", "matchPackageNames": [ "typia", - "rspack-plugin-typia", + "typia-rspack-plugin", "@samchon/openapi", ], "automerge": false, From 83951439ba91891919a1ff57ac7aa4d32b1284b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 15 Apr 2025 22:34:47 +0800 Subject: [PATCH 4/4] chore(deps): update rspack monorepo to v1.3.5 (#551) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rspack/cli](https://rspack.dev) ([source](https://redirect.github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-cli)) | [`1.3.4` -> `1.3.5`](https://renovatebot.com/diffs/npm/@rspack%2fcli/1.3.4/1.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@rspack%2fcli/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@rspack%2fcli/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@rspack%2fcli/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspack%2fcli/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@rspack/core](https://rspack.dev) ([source](https://redirect.github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack)) | [`1.3.4` -> `1.3.5`](https://renovatebot.com/diffs/npm/@rspack%2fcore/1.3.4/1.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@rspack%2fcore/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@rspack%2fcore/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@rspack%2fcore/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspack%2fcore/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@rspack/test-tools](https://rspack.dev) ([source](https://redirect.github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-test-tools)) | [`1.3.4` -> `1.3.5`](https://renovatebot.com/diffs/npm/@rspack%2ftest-tools/1.3.4/1.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@rspack%2ftest-tools/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@rspack%2ftest-tools/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@rspack%2ftest-tools/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspack%2ftest-tools/1.3.4/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
web-infra-dev/rspack (@​rspack/cli) ### [`v1.3.5`](https://redirect.github.com/web-infra-dev/rspack/releases/tag/v1.3.5) [Compare Source](https://redirect.github.com/web-infra-dev/rspack/compare/v1.3.4...v1.3.5) #### Rspack comes to Next.js πŸŽ‰ We’re excited to introduce [next-rspack](https://www.npmjs.com/package/next-rspack), a community-driven plugin bringing direct Rspack support to Next.js. See the [Rspack joins the Next.js ecosystem](https://rspack.dev/blog/rspack-next-partner) blog for details. #### What's Changed ##### Performance Improvements ⚑ * perf: js module loaders getter by @​SyMi[https://github.com/web-infra-dev/rspack/pull/9955](https://redirect.github.com/web-infra-dev/rspack/pull/9955)l/9955 ##### Exciting New Features πŸŽ‰ * feat: adapter rspack-resolver async api by @​stormslow[https://github.com/web-infra-dev/rspack/pull/9747](https://redirect.github.com/web-infra-dev/rspack/pull/9747)l/9747 * feat: rspack cacheable noop feature by @​jerrykingx[https://github.com/web-infra-dev/rspack/pull/9990](https://redirect.github.com/web-infra-dev/rspack/pull/9990)l/9990 * feat: resolver restriction support regex by @​SyMi[https://github.com/web-infra-dev/rspack/pull/9885](https://redirect.github.com/web-infra-dev/rspack/pull/9885)l/9885 ##### Bug Fixes 🐞 * fix: stablelize order of concated modules by @​JSerFe[https://github.com/web-infra-dev/rspack/pull/9968](https://redirect.github.com/web-infra-dev/rspack/pull/9968)l/9968 * fix: jsonpChunksLoadingWithCallback code format by @​17140809021[https://github.com/web-infra-dev/rspack/pull/9923](https://redirect.github.com/web-infra-dev/rspack/pull/9923)l/9923 * fix: lightningcss loader report error by default by @​SyMi[https://github.com/web-infra-dev/rspack/pull/9979](https://redirect.github.com/web-infra-dev/rspack/pull/9979)l/9979 * fix: external with properties array list in module format by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9980](https://redirect.github.com/web-infra-dev/rspack/pull/9980)l/9980 * fix: external module to pass webpack test cases by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9981](https://redirect.github.com/web-infra-dev/rspack/pull/9981)l/9981 * fix: hmr wasm filename by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10010](https://redirect.github.com/web-infra-dev/rspack/pull/10010)/10010 * fix: sometimes entry chunk hash not changes with full hash runtime modules by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9986](https://redirect.github.com/web-infra-dev/rspack/pull/9986)l/9986 * fix(wasm): align trait methods for `native_fs` by @​CPunish[https://github.com/web-infra-dev/rspack/pull/9999](https://redirect.github.com/web-infra-dev/rspack/pull/9999)l/9999 * fix: incorrect type signatures on Hash's digest and update methods by @​hulin[https://github.com/web-infra-dev/rspack/pull/9608](https://redirect.github.com/web-infra-dev/rspack/pull/9608)l/9608 * fix: error when load binding multiple times by @​SyMi[https://github.com/web-infra-dev/rspack/pull/10018](https://redirect.github.com/web-infra-dev/rspack/pull/10018)/10018 * fix(incremental): dynamic add entries with infer async modules by @​ahabh[https://github.com/web-infra-dev/rspack/pull/10019](https://redirect.github.com/web-infra-dev/rspack/pull/10019)/10019 * fix: covert optional import meta property to `undefined` by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10030](https://redirect.github.com/web-infra-dev/rspack/pull/10030)/10030 * fix: worker alias with module by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10021](https://redirect.github.com/web-infra-dev/rspack/pull/10021)/10021 ##### Document Updates πŸ“– * docs: add rspack & next.js partner annoucement by @​hardfi[https://github.com/web-infra-dev/rspack/pull/9962](https://redirect.github.com/web-infra-dev/rspack/pull/9962)l/9962 * docs: update blog tile and description on the list page by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/9969](https://redirect.github.com/web-infra-dev/rspack/pull/9969)l/9969 * docs: add next.js guide to sidebar by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/9970](https://redirect.github.com/web-infra-dev/rspack/pull/9970)l/9970 * docs: translate Next.js blog to Chinese by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/9974](https://redirect.github.com/web-infra-dev/rspack/pull/9974)l/9974 * docs: improve clarity in documentation by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/9977](https://redirect.github.com/web-infra-dev/rspack/pull/9977)l/9977 * docs: add dependency in glossary by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9972](https://redirect.github.com/web-infra-dev/rspack/pull/9972)l/9972 * docs: add a standalone ecosystem page by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/10004](https://redirect.github.com/web-infra-dev/rspack/pull/10004)/10004 ##### Other Changes * ci: split reusable-build.yml by @​jerrykingx[https://github.com/web-infra-dev/rspack/pull/9941](https://redirect.github.com/web-infra-dev/rspack/pull/9941)l/9941 * chore: release v1.3.4 by @​ahabh[https://github.com/web-infra-dev/rspack/pull/9950](https://redirect.github.com/web-infra-dev/rspack/pull/9950)l/9950 * refactor: dynamic templates of javascript esm dependencies by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9945](https://redirect.github.com/web-infra-dev/rspack/pull/9945)l/9945 * refactor: dynamic templates of JavaScript amd and cjs dependencies by @​LingyuCo[https://github.com/web-infra-dev/rspack/pull/9948](https://redirect.github.com/web-infra-dev/rspack/pull/9948)ll/9948 * refactor: dynamic templates of javascript remain depenendencies by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9958](https://redirect.github.com/web-infra-dev/rspack/pull/9958)l/9958 * chore(deps): update github-actions by @​renova[https://github.com/web-infra-dev/rspack/pull/9951](https://redirect.github.com/web-infra-dev/rspack/pull/9951)l/9951 * refactor: dynamic templates of all dependencies by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9960](https://redirect.github.com/web-infra-dev/rspack/pull/9960)l/9960 * refactor: clean dependency template code by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9961](https://redirect.github.com/web-infra-dev/rspack/pull/9961)l/9961 * test: not to print unnecessary message when testing by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9963](https://redirect.github.com/web-infra-dev/rspack/pull/9963)l/9963 * ci: add lynx-stack to ecosystem-ci by @​colina[https://github.com/web-infra-dev/rspack/pull/9964](https://redirect.github.com/web-infra-dev/rspack/pull/9964)l/9964 * chore: use async trace style for chrome tracing by @​hardfi[https://github.com/web-infra-dev/rspack/pull/9965](https://redirect.github.com/web-infra-dev/rspack/pull/9965)l/9965 * chore: remove unused scripts by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/9973](https://redirect.github.com/web-infra-dev/rspack/pull/9973)l/9973 * ci: update lynx infra artifact action by @​jerrykingx[https://github.com/web-infra-dev/rspack/pull/9975](https://redirect.github.com/web-infra-dev/rspack/pull/9975)l/9975 * ci: use node v22 in ecosystem-ci by @​colina[https://github.com/web-infra-dev/rspack/pull/9966](https://redirect.github.com/web-infra-dev/rspack/pull/9966)l/9966 * chore: use RefCell instead of Mutex in thread_local! by @​quinin[https://github.com/web-infra-dev/rspack/pull/9978](https://redirect.github.com/web-infra-dev/rspack/pull/9978)l/9978 * chore: improve tracing by @​hardfi[https://github.com/web-infra-dev/rspack/pull/9989](https://redirect.github.com/web-infra-dev/rspack/pull/9989)l/9989 * refactor: remove useless code by @​jerrykingx[https://github.com/web-infra-dev/rspack/pull/9992](https://redirect.github.com/web-infra-dev/rspack/pull/9992)l/9992 * chore(deps): update dependency @​rspack/plugin-react-refresh to ^1.2.0 by @​[https://github.com/web-infra-dev/rspack/pull/10000](https://redirect.github.com/web-infra-dev/rspack/pull/10000)k/pull/10000 * chore(deps): update dependency prebundle to ^1.3.3 by @​renova[https://github.com/web-infra-dev/rspack/pull/10001](https://redirect.github.com/web-infra-dev/rspack/pull/10001)/10001 * chore: add more tracing data by @​hardfi[https://github.com/web-infra-dev/rspack/pull/9994](https://redirect.github.com/web-infra-dev/rspack/pull/9994)l/9994 * chore(deps): update rspress to 2.0.0-alpha.11 by @​SoonIt[https://github.com/web-infra-dev/rspack/pull/10027](https://redirect.github.com/web-infra-dev/rspack/pull/10027)/10027 #### New Contributors * @​1714080902120 made their first contributi[https://github.com/web-infra-dev/rspack/pull/9923](https://redirect.github.com/web-infra-dev/rspack/pull/9923)l/9923 **Full Changelog**: https://github.com/web-infra-dev/rspack/compare/v1.3.4...v1.3.5
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/lynx-family/lynx-stack). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 272 ++++++++++++++++++++++---------------------- pnpm-workspace.yaml | 6 +- 2 files changed, 139 insertions(+), 139 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f06ca1a435..71be320b8a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,15 +27,15 @@ catalogs: version: 1.3.0 rspack: '@rspack/cli': - specifier: 1.3.4 - version: 1.3.4 + specifier: 1.3.5 + version: 1.3.5 '@rspack/test-tools': - specifier: 1.3.4 - version: 1.3.4 + specifier: 1.3.5 + version: 1.3.5 overrides: - '@rspack/core': 1.3.4 - '@rsbuild/core>@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 + '@rsbuild/core>@rspack/core': 1.3.5 patchedDependencies: '@napi-rs/cli@2.18.4': @@ -68,8 +68,8 @@ importers: specifier: ^0.6.2 version: 0.6.2(@microsoft/api-extractor@7.52.3(@types/node@22.14.1))(typescript@5.8.3) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) '@svitejs/changesets-changelog-github-compact': specifier: ^1.2.0 version: 1.2.0 @@ -281,7 +281,7 @@ importers: version: 1.0.2(@rsbuild/core@1.3.6)(webpack@5.98.0) '@rsdoctor/rspack-plugin': specifier: 1.0.1 - version: 1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + version: 1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) typescript: specifier: 5.1.6 - 5.8.x version: 5.8.3 @@ -297,7 +297,7 @@ importers: version: 12.1.2(patch_hash=926ba262ec682d27369f1a8648a0dfb657fb5f1b28539ca3628d292276c91c3d)(rollup@4.21.1)(tslib@2.8.1)(typescript@5.8.3) '@rsbuild/webpack': specifier: catalog:rsbuild - version: 1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15)) + version: 1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15)) '@samchon/openapi': specifier: 4.0.0 version: 4.0.0 @@ -440,7 +440,7 @@ importers: version: 1.1.0(@rsbuild/core@1.3.6) '@rsbuild/webpack': specifier: catalog:rsbuild - version: 1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15)) + version: 1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15)) '@samchon/openapi': specifier: 4.0.0 version: 4.0.0 @@ -723,10 +723,10 @@ importers: version: 1.50.1 '@rspack/cli': specifier: catalog:rspack - version: 1.3.4(@rspack/core@1.3.4(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0) + version: 1.3.5(@rspack/core@1.3.5(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) nyc: specifier: ^17.1.0 version: 17.1.0 @@ -777,11 +777,11 @@ importers: specifier: 'catalog:' version: 7.52.3(@types/node@22.14.1) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) css-loader: specifier: ^7.1.2 - version: 7.1.2(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + version: 7.1.2(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) mini-css-extract-plugin: specifier: ^2.9.2 version: 2.9.2(webpack@5.98.0) @@ -811,14 +811,14 @@ importers: specifier: 'catalog:' version: 7.52.3(@types/node@22.14.1) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) css-loader: specifier: ^7.1.2 - version: 7.1.2(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + version: 7.1.2(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) sass-loader: specifier: ^16.0.5 - version: 16.0.5(@rspack/core@1.3.4(@swc/helpers@0.5.15))(sass-embedded@1.86.0)(webpack@5.98.0) + version: 16.0.5(@rspack/core@1.3.5(@swc/helpers@0.5.15))(sass-embedded@1.86.0)(webpack@5.98.0) webpack: specifier: ^5.98.0 version: 5.98.0 @@ -841,8 +841,8 @@ importers: specifier: 'catalog:' version: 7.52.3(@types/node@22.14.1) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) swc-loader: specifier: ^0.2.6 version: 0.2.6(@swc/core@1.7.35(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))) @@ -878,11 +878,11 @@ importers: specifier: 'catalog:' version: 7.52.3(@types/node@22.14.1) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) css-loader: specifier: ^7.1.2 - version: 7.1.2(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))) + version: 7.1.2(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))) swc-loader: specifier: ^0.2.6 version: 0.2.6(@swc/core@1.7.35(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))) @@ -949,11 +949,11 @@ importers: packages/webpack/test-tools: devDependencies: '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) '@rspack/test-tools': specifier: catalog:rspack - version: 1.3.4(@rspack/core@1.3.4(@swc/helpers@0.5.15)) + version: 1.3.5(@rspack/core@1.3.5(@swc/helpers@0.5.15)) '@types/fs-extra': specifier: 11.0.4 version: 11.0.4 @@ -1007,8 +1007,8 @@ importers: specifier: 'catalog:' version: 7.52.3(@types/node@22.14.1) '@rspack/core': - specifier: 1.3.4 - version: 1.3.4(@swc/helpers@0.5.15) + specifier: 1.3.5 + version: 1.3.5(@swc/helpers@0.5.15) website: dependencies: @@ -1069,7 +1069,7 @@ importers: version: 1.3.1(@rsbuild/core@1.2.19) '@rsbuild/plugin-type-check': specifier: 1.2.1 - version: 1.2.1(@rsbuild/core@1.2.19)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(typescript@5.8.3) + version: 1.2.1(@rsbuild/core@1.2.19)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(typescript@5.8.3) '@rsbuild/plugin-typed-css-modules': specifier: 1.0.2 version: 1.0.2(@rsbuild/core@1.2.19) @@ -2655,7 +2655,7 @@ packages: '@rsdoctor/rspack-plugin@1.0.1': resolution: {integrity: sha512-drI0JXVRkZioXfD8ax37dSGBrFfMUqqBQeZryj25wHuPIYdZ1wx1orOvMYdZf87hwszEnJGfoGiJ+m7gS8RiDA==} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 '@rsdoctor/sdk@1.0.1': resolution: {integrity: sha512-BcqyrcdMrAV+AUPGT9o5HQ9NAnMeVpRiFOoS19NSaAX8/S3Qz43cQxHTAmnaXuAdF5JcK3zlOqgkuN++D2PLGA==} @@ -2663,7 +2663,7 @@ packages: '@rsdoctor/types@1.0.1': resolution: {integrity: sha512-CUzy2zckhBAqs+hNbMkINPL8EzY5lwh8dSYFK1gsXEC9wtTTHDygKdlMYIg9VNJuOkdh0jpMTHiwpF+hSNGFcw==} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 webpack: 5.x peerDependenciesMeta: '@rspack/core': @@ -2685,66 +2685,66 @@ packages: typescript: optional: true - '@rspack/binding-darwin-arm64@1.3.4': - resolution: {integrity: sha512-cVfzvtVf05VumGrxFz9Tk0QHk4jWBcQBNQuaql2enco8NKnzuX+v0+VP2mbNfvgICBgrHWKRYinAX5IxTEJdCw==} + '@rspack/binding-darwin-arm64@1.3.5': + resolution: {integrity: sha512-bhqi9nZ0jrlQc/YgTklzD02y0E8Emdrov6HLcxt/Dzwq5SZryl4Ik8yc/8E1M0PWNkr09+TO8i1Zc51z0Gfu2g==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.3.4': - resolution: {integrity: sha512-vXzf8xI+njdOSXGyI39lqkH/bSwyrx4jXW9+Pj2zbmRJVHZVyJsrx4kSpOoZX5zx/a7BbvuHRwrmmJS2HEOobw==} + '@rspack/binding-darwin-x64@1.3.5': + resolution: {integrity: sha512-ysNn7bd/5NdVb0mTDBQl+D9GypCSS7FJoJJEeSpPcN01zFF8lRUsvdbOvzrG/CUBA2qbeWhwZvG2eKOy3p2NRA==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.3.4': - resolution: {integrity: sha512-c45kQrqzR05Jc62oAetiAXrnPWhyt3Pz1h2LF62OW8SYXxdBskAKpWntTts/T96HMLqNPH3MAfDKxyfOb/n0eQ==} + '@rspack/binding-linux-arm64-gnu@1.3.5': + resolution: {integrity: sha512-oEfPjYx3RVsMeHG/kI9k96nLJUQhYfQS9HUKS37Ko3RWC84qTuzMAAdWIXE9ys8GHwpks7pL953AfYNK5PLhPw==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.3.4': - resolution: {integrity: sha512-/dUvkcBVnV95tA7BpeA6IZhrbpwxFzvgU6qF/iKxyHdMjwHdjn1Um7nR00TPOn/SIHzljafHpL6CuVTLNB5xvA==} + '@rspack/binding-linux-arm64-musl@1.3.5': + resolution: {integrity: sha512-4cUoxd8nGsCCnqWBqortJRF+VKWzUm7ac9YRMQ+wpoL5i0abcQf8GqeilsNtRBRNqAlAh3mfgRlyeZgWvoS44g==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.3.4': - resolution: {integrity: sha512-jZgGKoH7RyqJbyEcvhEE9wqK6mwoWxLF3c3LD2+e+dKVcO5iCfMuulCGdzUnYyvH97CtvN5j0/20PErRXubyjg==} + '@rspack/binding-linux-x64-gnu@1.3.5': + resolution: {integrity: sha512-JehI/z61Y9wwkcTxbAdPtjUnAyyAUCJZOqP3FwQTAd2gBFG/8k7v1quGwrfOLsCLOcT3azbd8YFoHmkveGQayQ==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.3.4': - resolution: {integrity: sha512-Xko8mZ598vQDubig4rLTuCDjXplSDJbJEg6B3NykGaE6CMH2bI/6KJfVKEKo25ayNzoouT/1MxyOxB4mQuspbA==} + '@rspack/binding-linux-x64-musl@1.3.5': + resolution: {integrity: sha512-t8BqaOXrqIXZHTrz4ItX/m6BOvbBkeb7qTewlkN5mMHtPAF/Xg203rQ814VXx59kjgGF7i79PXIK2dQxHnCYDA==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.3.4': - resolution: {integrity: sha512-Q+pU/MRylYB3XoNTM1LYPxWV1KUxeZY6R54twtoDFXhZn/PDflP7qH1BHQ0KN50HuG5ZK89CaFSPMF7+vs6HNA==} + '@rspack/binding-win32-arm64-msvc@1.3.5': + resolution: {integrity: sha512-k9vf/WgEwxtXzV4la1H6eL07GIlvNjdPdvo1AJZdu0Zcnm600Kv5NSBjySJCp3zUHIKkCE9A0+ibifqbliG0fw==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.3.4': - resolution: {integrity: sha512-aqP/l+YAG4L9I1klW3uSq+olafw8xzAP+4cd/Nyy2SSDnhWsDgawxJyO6FIeM+hXwC73ChH9pcXHGgEC7iCcHw==} + '@rspack/binding-win32-ia32-msvc@1.3.5': + resolution: {integrity: sha512-dGfGJySHC/ktbNkK/FY2vEpFNK4UT+fgChhmUxIyQaHWjloFGVmEr6NttS0GtdtvblfF3tTzkTe9pGMIkdlegw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.3.4': - resolution: {integrity: sha512-xDU1njA1gIzIL6Nt5ARW4vWeVgwf00i7tPONg+6fJyMgwuFfwq2qEG7UFSBOedYjsSTCW+UoBh7riN7lRiFIvw==} + '@rspack/binding-win32-x64-msvc@1.3.5': + resolution: {integrity: sha512-GujYFTr043jse5gdvofsRvltkH/E8G5h3Yu9JG/+6EyQpFJebYm/NpRQrOyqZLIQP39+tbdViTfW4nOpUuurNA==} cpu: [x64] os: [win32] - '@rspack/binding@1.3.4': - resolution: {integrity: sha512-wDRqqNfrVXuHAEm25mPlhroKN+v4uwhihVnZF4duz0I0L5rbsUNCy7uEda0GrBXkj3jkKLfg60mSd9MCZD0JZw==} + '@rspack/binding@1.3.5': + resolution: {integrity: sha512-2oluCT+iBnTg0w7XfR8AmfkvgMPSuqEndzhrlHY//qgyyI04CW1lCMgsh+9wcSOUWUKYSOMCiGiVlYFtae5Lcg==} - '@rspack/cli@1.3.4': - resolution: {integrity: sha512-MqstfifN6Q3+sNqUKZ29kHtAW/gqXyfH6TWZhJmqUsE9UWVuUOB607ze69mDBWht1cE/ml1waHna25dVCSx6AA==} + '@rspack/cli@1.3.5': + resolution: {integrity: sha512-5SSoGd+OicLKuWvKySAQxrmt6sZzMvOehBcaS7DOM4kr3FSSm2fXbtZDkPZgpakpkNvv6eaOhY7gDz4MxBQAJw==} hasBin: true peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 '@rspack/tracing': ^1.x peerDependenciesMeta: '@rspack/tracing': optional: true - '@rspack/core@1.3.4': - resolution: {integrity: sha512-NIIk/0XUkyU9G8eby6kKO3YFpeDn8RsUIzNuElcfi1rWuuK+NLasDqUYOFqqlNBKnZpmtZ+SXAV9jE5k/i3uwg==} + '@rspack/core@1.3.5': + resolution: {integrity: sha512-PwIpzXj9wjHM0Ohq6geIKPoh3yNb5oSK74gqzs0plR7pTYLbhrjG/1DSV/JLFF4C5WCpLHHiDEX5E0IYm2Aqeg==} engines: {node: '>=16.0.0'} peerDependencies: '@rspack/tracing': ^1.x @@ -2759,7 +2759,7 @@ packages: resolution: {integrity: sha512-9r7vOml2SrFA8cvbcJdSan9wHEo1TPXezF22+s5jvdyAAywg8w7HqDol6TPVv64NUonP1DOdyLxZ+6UW6WZiwg==} engines: {node: '>= 18.12.0'} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 '@rspack/lite-tapable@1.0.1': resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==} @@ -2773,10 +2773,10 @@ packages: react-refresh: optional: true - '@rspack/test-tools@1.3.4': - resolution: {integrity: sha512-qsE88TwbPlynPvwIJnIsFfvh+mnspp7fqO6jI4kpN95VrSlkivIfJfd91caIstmqVq8bWymHJYbZn3JurBaCNg==} + '@rspack/test-tools@1.3.5': + resolution: {integrity: sha512-0taoypO4dWOV7oj2tGDw8ZbKRQ0dCv38FXfgN509S3PXRlBQmwqz11NgPm7cfMrrHsHw6sal7w+kT/yFt5ngZA==} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 '@rspress/core@2.0.0-alpha.7': resolution: {integrity: sha512-ULJ6FtoeoHnlEpI/+fKoWQy7hyj0FhNRXa613FzVR0/SItFM52KAtL45JOsY9RbP4IXJClanJowcgE8OPbq+Rw==} @@ -4078,7 +4078,7 @@ packages: resolution: {integrity: sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==} engines: {node: '>= 18.12.0'} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 webpack: ^5.27.0 peerDependenciesMeta: '@rspack/core': @@ -5198,7 +5198,7 @@ packages: resolution: {integrity: sha512-QSf1yjtSAsmf7rYBV7XX86uua4W/vkhIt0xNXKbsi2foEeW7vjJQz4bhnpL3xH+l1ryl1680uNv968Z+X6jSYg==} engines: {node: '>=10.13.0'} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 webpack: ^5.20.0 peerDependenciesMeta: '@rspack/core': @@ -7310,7 +7310,7 @@ packages: resolution: {integrity: sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw==} engines: {node: '>= 18.12.0'} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 sass: ^1.3.0 sass-embedded: '*' @@ -7841,7 +7841,7 @@ packages: resolution: {integrity: sha512-BlpPqnfAmV0TcDg58H+1qV8Zb57ilv0x+ajjnxrVQ6BWgC8HzAdc+TycqDOJ4sZZYIV+hywQGozZFGklzbCR6A==} engines: {node: '>=16.0.0'} peerDependencies: - '@rspack/core': 1.3.4 + '@rspack/core': 1.3.5 typescript: '>=3.8.0' peerDependenciesMeta: '@rspack/core': @@ -9922,7 +9922,7 @@ snapshots: '@rsbuild/core@1.2.19': dependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.15 core-js: 3.41.0 @@ -9932,7 +9932,7 @@ snapshots: '@rsbuild/core@1.3.5': dependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.15 core-js: 3.41.0 @@ -9942,7 +9942,7 @@ snapshots: '@rsbuild/core@1.3.6': dependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.15 core-js: 3.41.0 @@ -10005,12 +10005,12 @@ snapshots: reduce-configs: 1.1.0 sass-embedded: 1.86.0 - '@rsbuild/plugin-type-check@1.2.1(@rsbuild/core@1.2.19)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(typescript@5.8.3)': + '@rsbuild/plugin-type-check@1.2.1(@rsbuild/core@1.2.19)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(typescript@5.8.3)': dependencies: deepmerge: 4.3.1 json5: 2.2.3 reduce-configs: 1.1.0 - ts-checker-rspack-plugin: 1.1.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(typescript@5.8.3) + ts-checker-rspack-plugin: 1.1.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(typescript@5.8.3) optionalDependencies: '@rsbuild/core': 1.2.19 transitivePeerDependencies: @@ -10036,11 +10036,11 @@ snapshots: picocolors: 1.1.1 semver: 7.7.1 - '@rsbuild/webpack@1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15))': + '@rsbuild/webpack@1.3.0(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15))': dependencies: '@rsbuild/core': 1.3.6 copy-webpack-plugin: 11.0.0(webpack@5.98.0) - html-webpack-plugin: 5.6.3(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + html-webpack-plugin: 5.6.3(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) mini-css-extract-plugin: 2.9.2(webpack@5.98.0) picocolors: 1.1.1 reduce-configs: 1.1.0 @@ -10055,13 +10055,13 @@ snapshots: '@rsdoctor/client@1.0.1': {} - '@rsdoctor/core@1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/core@1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: '@rsbuild/plugin-check-syntax': 1.3.0(@rsbuild/core@1.3.6) - '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/sdk': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/types': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/sdk': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/types': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) axios: 1.8.4 browserslist-load-config: 1.0.0 enhanced-resolve: 5.12.0 @@ -10081,10 +10081,10 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/graph@1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/graph@1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: - '@rsdoctor/types': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/types': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) lodash.unionby: 4.8.0 socket.io: 4.8.1 source-map: 0.7.4 @@ -10095,14 +10095,14 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/rspack-plugin@1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/rspack-plugin@1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: - '@rsdoctor/core': 1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/sdk': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/types': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rsdoctor/core': 1.0.1(@rsbuild/core@1.3.6)(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/sdk': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/types': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) lodash: 4.17.21 transitivePeerDependencies: - '@rsbuild/core' @@ -10112,12 +10112,12 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/sdk@1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/sdk@1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: '@rsdoctor/client': 1.0.1 - '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/types': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) - '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/graph': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/types': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/utils': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) '@types/fs-extra': 11.0.4 body-parser: 1.20.3 cors: 2.8.5 @@ -10137,7 +10137,7 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/types@1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/types@1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: '@types/connect': 3.4.38 '@types/estree': 1.0.5 @@ -10145,12 +10145,12 @@ snapshots: source-map: 0.7.4 webpack: 5.98.0 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) - '@rsdoctor/utils@1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0)': + '@rsdoctor/utils@1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0)': dependencies: '@babel/code-frame': 7.26.2 - '@rsdoctor/types': 1.0.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0) + '@rsdoctor/types': 1.0.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0) '@types/estree': 1.0.5 acorn: 8.14.1 acorn-import-attributes: 1.9.5(acorn@8.14.1) @@ -10182,50 +10182,50 @@ snapshots: transitivePeerDependencies: - '@rspack/tracing' - '@rspack/binding-darwin-arm64@1.3.4': + '@rspack/binding-darwin-arm64@1.3.5': optional: true - '@rspack/binding-darwin-x64@1.3.4': + '@rspack/binding-darwin-x64@1.3.5': optional: true - '@rspack/binding-linux-arm64-gnu@1.3.4': + '@rspack/binding-linux-arm64-gnu@1.3.5': optional: true - '@rspack/binding-linux-arm64-musl@1.3.4': + '@rspack/binding-linux-arm64-musl@1.3.5': optional: true - '@rspack/binding-linux-x64-gnu@1.3.4': + '@rspack/binding-linux-x64-gnu@1.3.5': optional: true - '@rspack/binding-linux-x64-musl@1.3.4': + '@rspack/binding-linux-x64-musl@1.3.5': optional: true - '@rspack/binding-win32-arm64-msvc@1.3.4': + '@rspack/binding-win32-arm64-msvc@1.3.5': optional: true - '@rspack/binding-win32-ia32-msvc@1.3.4': + '@rspack/binding-win32-ia32-msvc@1.3.5': optional: true - '@rspack/binding-win32-x64-msvc@1.3.4': + '@rspack/binding-win32-x64-msvc@1.3.5': optional: true - '@rspack/binding@1.3.4': + '@rspack/binding@1.3.5': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.3.4 - '@rspack/binding-darwin-x64': 1.3.4 - '@rspack/binding-linux-arm64-gnu': 1.3.4 - '@rspack/binding-linux-arm64-musl': 1.3.4 - '@rspack/binding-linux-x64-gnu': 1.3.4 - '@rspack/binding-linux-x64-musl': 1.3.4 - '@rspack/binding-win32-arm64-msvc': 1.3.4 - '@rspack/binding-win32-ia32-msvc': 1.3.4 - '@rspack/binding-win32-x64-msvc': 1.3.4 - - '@rspack/cli@1.3.4(@rspack/core@1.3.4(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0)': + '@rspack/binding-darwin-arm64': 1.3.5 + '@rspack/binding-darwin-x64': 1.3.5 + '@rspack/binding-linux-arm64-gnu': 1.3.5 + '@rspack/binding-linux-arm64-musl': 1.3.5 + '@rspack/binding-linux-x64-gnu': 1.3.5 + '@rspack/binding-linux-x64-musl': 1.3.5 + '@rspack/binding-win32-arm64-msvc': 1.3.5 + '@rspack/binding-win32-ia32-msvc': 1.3.5 + '@rspack/binding-win32-x64-msvc': 1.3.5 + + '@rspack/cli@1.3.5(@rspack/core@1.3.5(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0)': dependencies: '@discoveryjs/json-ext': 0.5.7 - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) - '@rspack/dev-server': 1.1.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) + '@rspack/dev-server': 1.1.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0) colorette: 2.0.20 exit-hook: 4.0.0 interpret: 3.1.1 @@ -10241,18 +10241,18 @@ snapshots: - webpack - webpack-cli - '@rspack/core@1.3.4(@swc/helpers@0.5.15)': + '@rspack/core@1.3.5(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.11.2 - '@rspack/binding': 1.3.4 + '@rspack/binding': 1.3.5 '@rspack/lite-tapable': 1.0.1 caniuse-lite: 1.0.30001707 optionalDependencies: '@swc/helpers': 0.5.15 - '@rspack/dev-server@1.1.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0)': + '@rspack/dev-server@1.1.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.98.0)': dependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) chokidar: 3.6.0 express: 4.21.2 http-proxy-middleware: 2.0.7(@types/express@4.17.21) @@ -10279,13 +10279,13 @@ snapshots: optionalDependencies: react-refresh: 0.16.0 - '@rspack/test-tools@1.3.4(@rspack/core@1.3.4(@swc/helpers@0.5.15))': + '@rspack/test-tools@1.3.5(@rspack/core@1.3.5(@swc/helpers@0.5.15))': dependencies: '@babel/generator': 7.27.0 '@babel/parser': 7.27.0 '@babel/traverse': 7.27.0 '@babel/types': 7.27.0 - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) cross-env: 7.0.3 csv-to-markdown-table: 1.5.0 deepmerge: 4.3.1 @@ -11819,7 +11819,7 @@ snapshots: dependencies: postcss: 8.5.3 - css-loader@7.1.2(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))): + css-loader@7.1.2(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15))): dependencies: icss-utils: 5.1.0(postcss@8.5.3) postcss: 8.5.3 @@ -11830,10 +11830,10 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.7.1 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) webpack: 5.98.0(@swc/core@1.7.35(@swc/helpers@0.5.15)) - css-loader@7.1.2(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0): + css-loader@7.1.2(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0): dependencies: icss-utils: 5.1.0(postcss@8.5.3) postcss: 8.5.3 @@ -11844,7 +11844,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.7.1 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) webpack: 5.98.0 css-minimizer-webpack-plugin@5.0.1(webpack@5.98.0): @@ -13166,7 +13166,7 @@ snapshots: htmlparser2: 8.0.2 selderee: 0.11.0 - html-webpack-plugin@5.6.3(@rspack/core@1.3.4(@swc/helpers@0.5.15))(webpack@5.98.0): + html-webpack-plugin@5.6.3(@rspack/core@1.3.5(@swc/helpers@0.5.15))(webpack@5.98.0): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -13174,7 +13174,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) webpack: 5.98.0 htmlparser2@10.0.0: @@ -15577,11 +15577,11 @@ snapshots: sass-embedded-win32-ia32: 1.86.0 sass-embedded-win32-x64: 1.86.0 - sass-loader@16.0.5(@rspack/core@1.3.4(@swc/helpers@0.5.15))(sass-embedded@1.86.0)(webpack@5.98.0): + sass-loader@16.0.5(@rspack/core@1.3.5(@swc/helpers@0.5.15))(sass-embedded@1.86.0)(webpack@5.98.0): dependencies: neo-async: 2.6.2 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) sass-embedded: 1.86.0 webpack: 5.98.0 @@ -16179,7 +16179,7 @@ snapshots: dependencies: typescript: 5.8.3 - ts-checker-rspack-plugin@1.1.1(@rspack/core@1.3.4(@swc/helpers@0.5.15))(typescript@5.8.3): + ts-checker-rspack-plugin@1.1.1(@rspack/core@1.3.5(@swc/helpers@0.5.15))(typescript@5.8.3): dependencies: '@babel/code-frame': 7.26.2 '@rspack/lite-tapable': 1.0.1 @@ -16189,7 +16189,7 @@ snapshots: picocolors: 1.1.1 typescript: 5.8.3 optionalDependencies: - '@rspack/core': 1.3.4(@swc/helpers@0.5.15) + '@rspack/core': 1.3.5(@swc/helpers@0.5.15) ts-interface-checker@0.1.13: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a646c4dfe1..5a2a60bd33 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -28,9 +28,9 @@ catalogs: # Rspack monorepo packages rspack: - "@rspack/cli": "1.3.4" - "@rspack/core": "1.3.4" - "@rspack/test-tools": "1.3.4" + "@rspack/cli": "1.3.5" + "@rspack/core": "1.3.5" + "@rspack/test-tools": "1.3.5" overrides: "@rspack/core": "$@rspack/core"