From 57654499c58176f8104de6c10b2c0ccb8b9c7f60 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 12:58:35 +0800 Subject: [PATCH 1/6] chore: migrate formatting to rs fmt --- .prettierignore | 3 - .prettierrc | 3 - .vscode/extensions.json | 2 +- .vscode/settings.json | 1 - package.json | 7 +- pnpm-lock.yaml | 331 ++++++++++++++++++++++++++++++++++++++-- rstack.config.ts | 13 +- 7 files changed, 326 insertions(+), 34 deletions(-) delete mode 100644 .prettierignore delete mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 79e4884..0000000 --- a/.prettierignore +++ /dev/null @@ -1,3 +0,0 @@ -# Ignore artifacts: -dist -pnpm-lock.yaml diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 544138b..0000000 --- a/.prettierrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "singleQuote": true -} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f172f18..bd7f071 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,3 @@ { - "recommendations": ["rstack.rslint", "esbenp.prettier-vscode"] + "recommendations": ["rstack.rslint"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 1227d74..768eb99 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,4 @@ { "search.useIgnoreFiles": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", "cSpell.words": ["rstack", "rstackjs"] } diff --git a/package.json b/package.json index 2c7b67c..5b3e174 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "scripts": { "build": "rs lib", "dev": "rs lib -w", - "lint": "rs lint && prettier -c .", - "lint:write": "rs lint --fix && prettier -w .", + "lint": "rs lint && rs fmt --check", + "lint:write": "rs lint --fix && rs fmt", "test": "rs test", "prepare": "rs setup", "bump": "pnpx bumpp" @@ -27,8 +27,7 @@ "@types/node": "^24.13.2", "fresh-import": "^0.2.1", "jiti": "^2.7.0", - "prettier": "^3.9.4", - "rstack": "^0.2.0", + "rstack": "^0.3.2", "typescript": "^7.0.2" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7591a46..6853149 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,12 +17,9 @@ importers: jiti: specifier: ^2.7.0 version: 2.7.0 - prettier: - specifier: ^3.9.4 - version: 3.9.4 rstack: - specifier: ^0.2.0 - version: 0.2.0(jiti@2.7.0)(typescript@7.0.2) + specifier: ^0.3.2 + version: 0.3.2(jiti@2.7.0)(typescript@7.0.2) typescript: specifier: ^7.0.2 version: 7.0.2 @@ -116,6 +113,16 @@ packages: core-js: optional: true + '@rsbuild/core@2.1.9': + resolution: {integrity: sha512-yqf1hFZ3wbMYI431LqsxLH3r0VZkfyarVKTf7kMeIiGe0YLwsrgsfp+sKpIyVkQkq60J0qyp6l/CoqqsQZqEwQ==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + core-js: '>= 3.0.0' + peerDependenciesMeta: + core-js: + optional: true + '@rslib/core@1.0.0-beta.1': resolution: {integrity: sha512-HHPZ+wTUKT/3bEhw2y0JB0O62wMuljkSHVZelLbSGhBflCaUt+D3LohBcIxYW6bhzPbUp4gkJXo1pdTpxiuNLQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -187,69 +194,137 @@ packages: cpu: [arm64] os: [darwin] + '@rspack/binding-darwin-arm64@2.1.7': + resolution: {integrity: sha512-DwxzrXRctueP/3Pyom9JHcIsRShuEAlHb+mrE5OPT+4cdHI1UnJpbzEvEDLTo4IKJhDb3vjXdHLtjqtL0SYbeA==} + cpu: [arm64] + os: [darwin] + '@rspack/binding-darwin-x64@2.1.6': resolution: {integrity: sha512-bAIxknnQ4GsCKHNjBilXcrDVAQ3ciiJeVTWih0gKtc0HWSfFSGO9rgDx5c/dJQGPNphTV50EYBc1A+rBsmhSZA==} cpu: [x64] os: [darwin] + '@rspack/binding-darwin-x64@2.1.7': + resolution: {integrity: sha512-kPbrYvR/XUHfAMgRVq3QnC71DW/qjwsPj+3hEUuEnRmlploPNy9u8Szf1IHKSVUSrVZBTgDyMoZQdxYLfhResw==} + cpu: [x64] + os: [darwin] + '@rspack/binding-linux-arm64-gnu@2.1.6': resolution: {integrity: sha512-UH2kjRj2vqizAdDiTmP9i6Y2aIzsOtPlg1xKTM2dqddhatHU2io4SHtGyO+m4QqIQrEjVYTqYYblapNYDRmdqA==} cpu: [arm64] os: [linux] libc: [glibc] + '@rspack/binding-linux-arm64-gnu@2.1.7': + resolution: {integrity: sha512-VFB+YXM3kZ6IIuLV64H3vgnwqvQIIaqfR/aeGwuxYvwcZsrgblSBmXMeDULdgDjqP8Yr0VaFMBBiD9OtG5KdFw==} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@rspack/binding-linux-arm64-musl@2.1.6': resolution: {integrity: sha512-gYbLFVvhGPlAVTapprfC4FxeBNU6kgEn28KGO/ix/Yjo7mTR5DihmUomo/rpGtRUh6eB8qxr7SbZXZ6sCKpH/g==} cpu: [arm64] os: [linux] libc: [musl] + '@rspack/binding-linux-arm64-musl@2.1.7': + resolution: {integrity: sha512-Mzbxyg0aJ+ITj526Iuz0enEDYY6WxhFIwEKXqwjQh+Vpd5v/+aPzPo83sSQVX/3puBV1sbmviTURbh6N9e1fvA==} + cpu: [arm64] + os: [linux] + libc: [musl] + '@rspack/binding-linux-riscv64-gnu@2.1.6': resolution: {integrity: sha512-CFStUO9f2Yn8iAaym3mfaZnSxRbD5p2lZl0/rzNOBwtIt4mrKeYd3dtqfia21JzAN0mGQ2i2kEYt9dACFzzrkA==} cpu: [riscv64] os: [linux] libc: [glibc] + '@rspack/binding-linux-riscv64-gnu@2.1.7': + resolution: {integrity: sha512-mpazwgT/Pse1720mvEJsoXfPkJ+enj0xUqpbe/wL6aedwjGT+9jJNB8HTJXE4XBX0UO7umGqcJMeKA6YsD2CDA==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + '@rspack/binding-linux-riscv64-musl@2.1.6': resolution: {integrity: sha512-hms5zCvHhc3EA84w2n2bWi+mXplgEIBEyOHJxCY0+mm6X1oxENh9+Zcly6OcEtV/jmxjx4msWK7GB/HUE138/w==} cpu: [riscv64] os: [linux] libc: [musl] + '@rspack/binding-linux-riscv64-musl@2.1.7': + resolution: {integrity: sha512-oU/l3soPRsDEWn7KZic+npyTMM2N1kRdHjoJ+L5IUBXs8bjdTXPLoyTbTdIOza5ZSoT4+UeEiEryj4BB0tQE5w==} + cpu: [riscv64] + os: [linux] + libc: [musl] + '@rspack/binding-linux-x64-gnu@2.1.6': resolution: {integrity: sha512-s2ig83rYmcIxP8QaJy+GZQpN8/8U75PBr8HaV8DljdCl3zGR3xo1dLJh97JL23CQl+S32wYaj4PqiU7r+lNwwA==} cpu: [x64] os: [linux] libc: [glibc] + '@rspack/binding-linux-x64-gnu@2.1.7': + resolution: {integrity: sha512-7Gtpl3h3jtnOpk1mYQE8mRndXAO2ibI8mnAbs7klevdKey+ZHneWMoMi2yOMQhhI/ifWEFxDzyGJ8bdxo0XTsA==} + cpu: [x64] + os: [linux] + libc: [glibc] + '@rspack/binding-linux-x64-musl@2.1.6': resolution: {integrity: sha512-j2clfnzHHFSD58UEbySNGWn7lrNPEIMPgMF/J/tiFggXsIHo7NyK8pYquXRPEklYQBnotalLdgHZ6Eyyqx5POw==} cpu: [x64] os: [linux] libc: [musl] + '@rspack/binding-linux-x64-musl@2.1.7': + resolution: {integrity: sha512-w+whI2Uy+DYkGN+MVkzMFWweL7B/s1gMqX+nvTE1vhOy3hGV0VyA9H6lqWjSD3I+eGkpYhN9Pr244cYnLpZOUQ==} + cpu: [x64] + os: [linux] + libc: [musl] + '@rspack/binding-wasm32-wasi@2.1.6': resolution: {integrity: sha512-q8SUUwbCgJXaYw9AP2jh0HN4gxzDXWqemty+1qEt47VZz/XHBM4J6AvgY0XgqgAqbOCpsqX5LzAVq6ZIjH2Cjg==} cpu: [wasm32] + '@rspack/binding-wasm32-wasi@2.1.7': + resolution: {integrity: sha512-cDVgvzRdTgxaeM+a5Lx0+7/VAvunvwO0wNtQ3ATQGOtFCW5b7cUzhNPcytH5ZSJTnFWuxinlGwtar5yfcnkdZQ==} + cpu: [wasm32] + '@rspack/binding-win32-arm64-msvc@2.1.6': resolution: {integrity: sha512-KMwwL+bqGHg2t0jaONdXWXmk2Z1IhFVI6yAB8x9PMTS5Pc4r4nILcUEkCu/+lbTD/WlDLySFjNGqm0eMFk/9Mg==} cpu: [arm64] os: [win32] + '@rspack/binding-win32-arm64-msvc@2.1.7': + resolution: {integrity: sha512-JDd85+iYwUvaG9Zrt5X7oIxRZRiTW+76FwkRakoXNy/5VAWQW32Jq4ESjSVz6l6mh0KnZxPq3TLMugacCPnLjw==} + cpu: [arm64] + os: [win32] + '@rspack/binding-win32-ia32-msvc@2.1.6': resolution: {integrity: sha512-ynVPvQFa0Cc4q94soHN+9qTp+NIYxdznnpVAJFbFHGLSX9V13dwOOOgmlE72c7E1noPfhnge632ea37zpqo3DA==} cpu: [ia32] os: [win32] + '@rspack/binding-win32-ia32-msvc@2.1.7': + resolution: {integrity: sha512-y9PKEs6v9BLHV0i/4eaIRtxpATvSgcf/VYQkMT8mp+qWlPjUwDQNwU2ueWVGpff6INO+YAa7zobzziNFRgO7Lg==} + cpu: [ia32] + os: [win32] + '@rspack/binding-win32-x64-msvc@2.1.6': resolution: {integrity: sha512-7igSKhn2RWNYCfV2wXmE6xdqPVQEtTWSvOCUET7Jtbr4c6dqb6Y6rb9+EwcWvfVQ19e0NWsbqvtUTr2gJw3I2A==} cpu: [x64] os: [win32] + '@rspack/binding-win32-x64-msvc@2.1.7': + resolution: {integrity: sha512-BjkOzcPY/K8YlRRvyywz0mDWk89MMxqAMhDmgBXCWorh1IjgKTsWDJ2lCGIM8M9CZXUG3khom8AfrOGwRT2I+g==} + cpu: [x64] + os: [win32] + '@rspack/binding@2.1.6': resolution: {integrity: sha512-VGyknF2nMScPf0MpogF8voH7kHDNNjt+GMDcTDAh6CPqEb0bzPx545kf4oNUF4T1XbpvyMJ9UFRHDkwNlaes/g==} + '@rspack/binding@2.1.7': + resolution: {integrity: sha512-wYqi8TY30hsIzLry503o/Uqu7y9Ec7pEwN5TVmB7Pb3xHrR2eHsQPzdpF/GkCLUjQSgD2Es3CDVV1mr6zO/78g==} + '@rspack/core@2.1.6': resolution: {integrity: sha512-/3PcODTDDy71oz5tOerq1g2tRljSCaNYu8NPjAGjzEzra2KbMSFkCVrI670AuHJ3qC0voKccIdxWCcQI0AKnDg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -262,8 +337,20 @@ packages: '@swc/helpers': optional: true - '@rstest/core@0.11.4': - resolution: {integrity: sha512-HfBP4mmvLVq2vpyRvHHaeu1+K2e9XSjDCHbj15s+NExnniS2b+y/ABXyjJldpRSoiirKnfIqY7BVGOaO+G+W0w==} + '@rspack/core@2.1.7': + resolution: {integrity: sha512-d5Ju3zXzGgbqQWvlMlLUtek2eFPIzsFe2QOF4nwTAknxo/4OZ64t+kPT9nM6fr3aZX93VK0R3v02/kZYIRrV9Q==} + engines: {node: ^20.19.0 || >=22.12.0} + peerDependencies: + '@module-federation/runtime-tools': ^0.24.1 || ^2.0.0 + '@swc/helpers': ^0.5.23 + peerDependenciesMeta: + '@module-federation/runtime-tools': + optional: true + '@swc/helpers': + optional: true + + '@rstest/core@0.11.5': + resolution: {integrity: sha512-ySXZaFqU1mJonm79ko7OwagG2AurULg1dLDErJguhv/sepEyjt39sq2Bpt42mOxHehiFcl0Pr0PrlaPltmYbbA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -410,6 +497,75 @@ packages: cpu: [x64] os: [win32] + '@yuku-parser/binding-android-arm64@0.8.3': + resolution: {integrity: sha512-vySYRsMeul9ssvxeHdxgS9ZUIcq7gqljWNqgokjJE0uQWvVvOprihJ6hOsiifVqWsla0BMc3vAFBvNS9QqCw7g==} + cpu: [arm64] + os: [android] + + '@yuku-parser/binding-darwin-arm64@0.8.3': + resolution: {integrity: sha512-+wpB/wqhiZ685Y77I+lj6v9pHSAJ3Y+QMHJmvch0Q0ahIMbNwtKk3s54MhtjCMKO1qpjPbyN/PjuHDg2hbKaVQ==} + cpu: [arm64] + os: [darwin] + + '@yuku-parser/binding-darwin-x64@0.8.3': + resolution: {integrity: sha512-jKqiWejj4zVy7pPtEGu4/Ty+pG1h7ooQOXIkm7shKZTSwTU9X8X+eoH11uIeKHZi2SQWV0GhNz0J56eerseysQ==} + cpu: [x64] + os: [darwin] + + '@yuku-parser/binding-freebsd-x64@0.8.3': + resolution: {integrity: sha512-FC7zSwzFzd4z9bsId07CiHLR+Iw6yW/LzIQhL5AUtPUuVXLgEyx0rilgbRUYkl1CT3GJcLpkh63WuPZUSgCDzw==} + cpu: [x64] + os: [freebsd] + + '@yuku-parser/binding-linux-arm-gnu@0.8.3': + resolution: {integrity: sha512-So61j88b9/ygDnUPlWCm1EUPw4HSxAyDjrNHKgud5N3aRDQ3kw94nW7TriXbo7GBXID9oBHCMNm1r1Fof/Df5Q==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-arm-musl@0.8.3': + resolution: {integrity: sha512-Nmnn20yJvSSKL8ZdtqReBRSGCDkSMqR5jEk/Sk/cdIdZmqVD49Z6M7w2GbMjdrxMI1MBPbsWFMMWxa93cd5t5g==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-linux-arm64-gnu@0.8.3': + resolution: {integrity: sha512-Lfgw7AXJ0rxu6BMPGgfc8HLJWEIr8BHhCzcQp/75k+NM90uCLkHlBNqIg/K42KlSvBgAvu9euOvjdswib+4qJA==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-arm64-musl@0.8.3': + resolution: {integrity: sha512-cfRyu87xsJ0tFkHNsnMC4Rq6+xsFJ6i2dc4VAH52d2qLvykEJU/Mdi3ul1O2PyOApX/LoLT3uQZ0fWs3D5XE4w==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-linux-x64-gnu@0.8.3': + resolution: {integrity: sha512-GcQQCUuYxbm6P1n+io/A50rvWKDeWHutIp6rW0ycDOZuEQjOb8hDVgS88+NDyOnd9FfS0/Z6GXopcRFDyKpzOg==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-x64-musl@0.8.3': + resolution: {integrity: sha512-rMkImBGZzg7GZlj8krYtdiezyjYI4igjKWMut5T65jHyNWFigMQrEpn9mDIBflloW9FKhGE3mN6yTZ/N+4HRwg==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-win32-arm64@0.8.3': + resolution: {integrity: sha512-/2Pl2cAzCXWxah8FqJapEj/ikpt9cEutEZFCa0hnbfrshkn5+C+aBM3ZDq62d1jsgQjBMmqr5HVhJUA4OAG/Tg==} + cpu: [arm64] + os: [win32] + + '@yuku-parser/binding-win32-x64@0.8.3': + resolution: {integrity: sha512-Ntnvjoan9jnfLhn7Kn3h8j/bhsbVdQSVmKUqFULKtmwImLCJVHOJbLL4qbEJyrOQ7r/FBL1/c/dRvx/AQWzzXg==} + cpu: [x64] + os: [win32] + + '@yuku-toolchain/types@0.8.3': + resolution: {integrity: sha512-9LN3HYs3A9qSPVFunsxlbfwBcUgexti3TmhOzIxB/UH8zFuaHQJXTRDcN17DW6cp1GsyZtiZA7f18uIra36Jag==} + assertion-error@2.0.1: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} @@ -426,8 +582,8 @@ packages: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} - prettier@3.9.4: - resolution: {integrity: sha512-yWG/o/4oJfo036EKAfK6ACAoDOfHeRHx4tuxkfBZiauURiaSmYwlpOr5LQqKtIkRD2z1PLteme2WoxEnj4tHTg==} + prettier@3.9.6: + resolution: {integrity: sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==} engines: {node: '>=14'} hasBin: true @@ -444,8 +600,8 @@ packages: typescript: optional: true - rstack@0.2.0: - resolution: {integrity: sha512-ZAZLW3fDaKfsLofbywwLfCNJ5LKTlLPcwiQ+jfdouSzakaTnnxGJTRblQWIkWVyfNKkA+eCRePtqDLa8Oq8Qqg==} + rstack@0.3.2: + resolution: {integrity: sha512-xT2trYrQlxZ9SGtt4+BZzd9MCkPrVT5QJZt9B0kfJexByC37uEVryzEjkIiPFFvC6HCJMjBbdd5Cizoatwjmxg==} engines: {node: '>=22.12.0'} hasBin: true peerDependencies: @@ -454,6 +610,10 @@ packages: '@rspress/core': optional: true + tinypool@2.1.0: + resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==} + engines: {node: ^20.0.0 || >=22.0.0} + tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} @@ -465,6 +625,12 @@ packages: undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + yuku-ast@0.8.3: + resolution: {integrity: sha512-8x34yU5uhHUnJXzy2Qvjvec/vE9BzS0/2khVT1MsLmSLO/P8Q1Wp8IxHv+IhD+HMYETk6kherOSvP4JPWw2joQ==} + + yuku-parser@0.8.3: + resolution: {integrity: sha512-KPQcpF9aj77ywlJBIkQWCQ9DObdxnCA8AJdUOmA5CZZx042Xt4+dvbQmPJfWxF3E+KG5dVAZ2fBKuDJ8VsKWgA==} + snapshots: '@ast-grep/napi-darwin-arm64@0.37.0': @@ -536,6 +702,13 @@ snapshots: transitivePeerDependencies: - '@module-federation/runtime-tools' + '@rsbuild/core@2.1.9': + dependencies: + '@rspack/core': 2.1.7(@swc/helpers@0.5.23) + '@swc/helpers': 0.5.23 + transitivePeerDependencies: + - '@module-federation/runtime-tools' + '@rslib/core@1.0.0-beta.1(typescript@7.0.2)': dependencies: '@rsbuild/core': 2.1.8 @@ -587,27 +760,51 @@ snapshots: '@rspack/binding-darwin-arm64@2.1.6': optional: true + '@rspack/binding-darwin-arm64@2.1.7': + optional: true + '@rspack/binding-darwin-x64@2.1.6': optional: true + '@rspack/binding-darwin-x64@2.1.7': + optional: true + '@rspack/binding-linux-arm64-gnu@2.1.6': optional: true + '@rspack/binding-linux-arm64-gnu@2.1.7': + optional: true + '@rspack/binding-linux-arm64-musl@2.1.6': optional: true + '@rspack/binding-linux-arm64-musl@2.1.7': + optional: true + '@rspack/binding-linux-riscv64-gnu@2.1.6': optional: true + '@rspack/binding-linux-riscv64-gnu@2.1.7': + optional: true + '@rspack/binding-linux-riscv64-musl@2.1.6': optional: true + '@rspack/binding-linux-riscv64-musl@2.1.7': + optional: true + '@rspack/binding-linux-x64-gnu@2.1.6': optional: true + '@rspack/binding-linux-x64-gnu@2.1.7': + optional: true + '@rspack/binding-linux-x64-musl@2.1.6': optional: true + '@rspack/binding-linux-x64-musl@2.1.7': + optional: true + '@rspack/binding-wasm32-wasi@2.1.6': dependencies: '@emnapi/core': 1.11.2 @@ -615,15 +812,31 @@ snapshots: '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) optional: true + '@rspack/binding-wasm32-wasi@2.1.7': + dependencies: + '@emnapi/core': 1.11.2 + '@emnapi/runtime': 1.11.2 + '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) + optional: true + '@rspack/binding-win32-arm64-msvc@2.1.6': optional: true + '@rspack/binding-win32-arm64-msvc@2.1.7': + optional: true + '@rspack/binding-win32-ia32-msvc@2.1.6': optional: true + '@rspack/binding-win32-ia32-msvc@2.1.7': + optional: true + '@rspack/binding-win32-x64-msvc@2.1.6': optional: true + '@rspack/binding-win32-x64-msvc@2.1.7': + optional: true + '@rspack/binding@2.1.6': optionalDependencies: '@rspack/binding-darwin-arm64': 2.1.6 @@ -639,13 +852,34 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 2.1.6 '@rspack/binding-win32-x64-msvc': 2.1.6 + '@rspack/binding@2.1.7': + optionalDependencies: + '@rspack/binding-darwin-arm64': 2.1.7 + '@rspack/binding-darwin-x64': 2.1.7 + '@rspack/binding-linux-arm64-gnu': 2.1.7 + '@rspack/binding-linux-arm64-musl': 2.1.7 + '@rspack/binding-linux-riscv64-gnu': 2.1.7 + '@rspack/binding-linux-riscv64-musl': 2.1.7 + '@rspack/binding-linux-x64-gnu': 2.1.7 + '@rspack/binding-linux-x64-musl': 2.1.7 + '@rspack/binding-wasm32-wasi': 2.1.7 + '@rspack/binding-win32-arm64-msvc': 2.1.7 + '@rspack/binding-win32-ia32-msvc': 2.1.7 + '@rspack/binding-win32-x64-msvc': 2.1.7 + '@rspack/core@2.1.6(@swc/helpers@0.5.23)': dependencies: '@rspack/binding': 2.1.6 optionalDependencies: '@swc/helpers': 0.5.23 - '@rstest/core@0.11.4': + '@rspack/core@2.1.7(@swc/helpers@0.5.23)': + dependencies: + '@rspack/binding': 2.1.7 + optionalDependencies: + '@swc/helpers': 0.5.23 + + '@rstest/core@0.11.5': dependencies: '@rsbuild/core': 2.1.8 '@types/chai': 5.2.3 @@ -733,6 +967,44 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true + '@yuku-parser/binding-android-arm64@0.8.3': + optional: true + + '@yuku-parser/binding-darwin-arm64@0.8.3': + optional: true + + '@yuku-parser/binding-darwin-x64@0.8.3': + optional: true + + '@yuku-parser/binding-freebsd-x64@0.8.3': + optional: true + + '@yuku-parser/binding-linux-arm-gnu@0.8.3': + optional: true + + '@yuku-parser/binding-linux-arm-musl@0.8.3': + optional: true + + '@yuku-parser/binding-linux-arm64-gnu@0.8.3': + optional: true + + '@yuku-parser/binding-linux-arm64-musl@0.8.3': + optional: true + + '@yuku-parser/binding-linux-x64-gnu@0.8.3': + optional: true + + '@yuku-parser/binding-linux-x64-musl@0.8.3': + optional: true + + '@yuku-parser/binding-win32-arm64@0.8.3': + optional: true + + '@yuku-parser/binding-win32-x64@0.8.3': + optional: true + + '@yuku-toolchain/types@0.8.3': {} + assertion-error@2.0.1: {} fresh-import@0.2.1: {} @@ -741,7 +1013,7 @@ snapshots: picomatch@4.0.4: {} - prettier@3.9.4: {} + prettier@3.9.6: {} rsbuild-plugin-dts@1.0.0-beta.1(@rsbuild/core@2.1.8)(typescript@7.0.2): dependencies: @@ -750,12 +1022,15 @@ snapshots: optionalDependencies: typescript: 7.0.2 - rstack@0.2.0(jiti@2.7.0)(typescript@7.0.2): + rstack@0.3.2(jiti@2.7.0)(typescript@7.0.2): dependencies: - '@rsbuild/core': 2.1.8 + '@rsbuild/core': 2.1.9 '@rslib/core': 1.0.0-beta.1(typescript@7.0.2) '@rslint/core': 0.7.2(jiti@2.7.0) - '@rstest/core': 0.11.4 + '@rstest/core': 0.11.5 + prettier: 3.9.6 + tinypool: 2.1.0 + yuku-parser: 0.8.3 transitivePeerDependencies: - '@microsoft/api-extractor' - '@module-federation/runtime-tools' @@ -765,6 +1040,8 @@ snapshots: - jsdom - typescript + tinypool@2.1.0: {} + tslib@2.8.1: {} typescript@7.0.2: @@ -791,3 +1068,25 @@ snapshots: '@typescript/typescript-win32-x64': 7.0.2 undici-types@7.18.2: {} + + yuku-ast@0.8.3: + dependencies: + '@yuku-toolchain/types': 0.8.3 + + yuku-parser@0.8.3: + dependencies: + '@yuku-toolchain/types': 0.8.3 + yuku-ast: 0.8.3 + optionalDependencies: + '@yuku-parser/binding-android-arm64': 0.8.3 + '@yuku-parser/binding-darwin-arm64': 0.8.3 + '@yuku-parser/binding-darwin-x64': 0.8.3 + '@yuku-parser/binding-freebsd-x64': 0.8.3 + '@yuku-parser/binding-linux-arm-gnu': 0.8.3 + '@yuku-parser/binding-linux-arm-musl': 0.8.3 + '@yuku-parser/binding-linux-arm64-gnu': 0.8.3 + '@yuku-parser/binding-linux-arm64-musl': 0.8.3 + '@yuku-parser/binding-linux-x64-gnu': 0.8.3 + '@yuku-parser/binding-linux-x64-musl': 0.8.3 + '@yuku-parser/binding-win32-arm64': 0.8.3 + '@yuku-parser/binding-win32-x64': 0.8.3 diff --git a/rstack.config.ts b/rstack.config.ts index ddafac3..59222ea 100644 --- a/rstack.config.ts +++ b/rstack.config.ts @@ -9,11 +9,12 @@ define.lint(async () => { return [js.configs.recommended, ts.configs.recommended]; }); +define.fmt({ + singleQuote: true, + ignorePatterns: ['dist/**', 'pnpm-lock.yaml'], +}); + define.staged({ - '*.{md,mdx,json,css,less,scss}': - 'prettier --write --no-error-on-unmatched-pattern', - '*.{js,jsx,ts,tsx,mjs,cjs}': [ - 'rs lint --type-check', - 'prettier --write --no-error-on-unmatched-pattern', - ], + '*.{md,mdx,json,css,less,scss}': 'rs fmt', + '*.{js,jsx,ts,tsx,mjs,cjs}': ['rs lint --type-check', 'rs fmt'], }); From b0c289ed4346acb9740598cb2cbddbe3edf971f5 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 13:05:50 +0800 Subject: [PATCH 2/6] docs(skills): update Rstack CLI best practices --- .agents/skills/rstack-cli-best-practices/SKILL.md | 13 +++++++++++-- rstack.config.ts | 2 ++ skills-lock.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.agents/skills/rstack-cli-best-practices/SKILL.md b/.agents/skills/rstack-cli-best-practices/SKILL.md index cb51213..11b6ac4 100644 --- a/.agents/skills/rstack-cli-best-practices/SKILL.md +++ b/.agents/skills/rstack-cli-best-practices/SKILL.md @@ -7,7 +7,7 @@ description: Guidance on using Rstack CLI, including `rs` commands, the `rstack. Rstack CLI is the `rstack` package, exposed through the `rs` binaries. It provides one CLI, one config file, and a consistent workflow for the Rstack JavaScript toolchain. -It covers web app, library, docs, test, lint, and staged-file workflows. +It covers web app, library, docs, test, lint, formatting, Git hook, and staged-file workflows. ## Commands @@ -22,11 +22,13 @@ Use `rs -h` for top-level help, and `rs -h` for command help where sup | `rs doc` | Serve or build docs | Rspress | `define.doc` | | `rs test` | Run tests | Rstest | `define.test` | | `rs lint` | Lint code | Rslint | `define.lint` | +| `rs fmt` | Format code | Prettier | `define.fmt` | +| `rs setup` | Install project-local Git hooks | None | None | | `rs staged` | Run tasks on staged Git files | lint-staged | `define.staged` | Key behavior: -- `rs test` extends `define.app` through `@rstest/adapter-rsbuild` and `define.lib` through `@rstest/adapter-rslib` unless `define.test` already sets `extends`. +- Unless `define.test` already sets `extends`, `rs test` extends `define.app` through `@rstest/adapter-rsbuild` or falls back to `define.lib` through `@rstest/adapter-rslib`. The app config takes precedence when both are defined. - `rs doc` requires the optional `@rspress/core` dependency. ## rstack.config.ts @@ -52,6 +54,7 @@ define.test({ - `define.doc(config)`: Rspress config for `rs doc`; Docs: https://rspress.rs/api/config/config-basic - `define.test(config)`: Rstest config for `rs test`; Docs: https://rstest.rs/config/ - `define.lint(config)`: Rslint config for `rs lint`; Docs: https://rslint.rs/config/ +- `define.fmt(config)`: Formatting options for `rs fmt`. - `define.staged(config)`: lint-staged config for `rs staged`; accepts `Record`. ### Lazy Configuration @@ -75,9 +78,15 @@ Prefer Rstack-exported paths: | Instead of | Prefer | | ------------------------- | ------------------------ | +| `@rsbuild/core` | `rstack/app` | +| `@rslib/core` | `rstack/lib` | | `@rstest/core` | `rstack/test` | | `@rslint/core` | `rstack/lint` | | `@rsbuild/core/types` | `rstack/types` | | `@rslib/core/types` | `rstack/types` | | `@rstest/core/globals` | `rstack/test/globals` | | `@rstest/core/importMeta` | `rstack/test/importMeta` | + +## Git Hooks + +Use [`rs setup`](https://rstack.rs/guide/cli/setup) for project-local Git hooks, commonly with `rs staged` in a `pre-commit` hook. diff --git a/rstack.config.ts b/rstack.config.ts index 59222ea..24ca1d7 100644 --- a/rstack.config.ts +++ b/rstack.config.ts @@ -1,3 +1,5 @@ +// Rstack CLI best practices: .agents/skills/rstack-cli-best-practices/SKILL.md + import { define } from 'rstack'; define.lib({ diff --git a/skills-lock.json b/skills-lock.json index 905770c..339c9a2 100644 --- a/skills-lock.json +++ b/skills-lock.json @@ -5,7 +5,7 @@ "source": "rstackjs/rstack-cli", "sourceType": "github", "skillPath": ".agents/skills/rstack-cli-best-practices/SKILL.md", - "computedHash": "72371124fcc2ad23b7c9d49ab15a81be90f151e4e956fb21e7aae898a3542159" + "computedHash": "1ddd242ddcf9add697d829ce2813186e02c01534ee027cfdcdd7be8f3dbe8f74" } } } From 4669980c88638bceea51b2ef90a839fcd519d809 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 13:12:25 +0800 Subject: [PATCH 3/6] docs: link Rstack configuration guide --- rstack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstack.config.ts b/rstack.config.ts index 24ca1d7..4c3cf13 100644 --- a/rstack.config.ts +++ b/rstack.config.ts @@ -1,4 +1,4 @@ -// Rstack CLI best practices: .agents/skills/rstack-cli-best-practices/SKILL.md +// Rstack configuration guide: https://rstack.rs/config import { define } from 'rstack'; From 0ebf13c35d35f303061e34467361cd027825bec0 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 13:14:50 +0800 Subject: [PATCH 4/6] style: remove blank line after config guide --- rstack.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/rstack.config.ts b/rstack.config.ts index 4c3cf13..2b947d8 100644 --- a/rstack.config.ts +++ b/rstack.config.ts @@ -1,5 +1,4 @@ // Rstack configuration guide: https://rstack.rs/config - import { define } from 'rstack'; define.lib({ From 527b2dbda286877695de75445b938c113dcef79c Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 13:17:19 +0800 Subject: [PATCH 5/6] chore: remove redundant format ignores --- rstack.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/rstack.config.ts b/rstack.config.ts index 2b947d8..dc11a8c 100644 --- a/rstack.config.ts +++ b/rstack.config.ts @@ -12,7 +12,6 @@ define.lint(async () => { define.fmt({ singleQuote: true, - ignorePatterns: ['dist/**', 'pnpm-lock.yaml'], }); define.staged({ From bca0dd8fd5fa7c21febf9325994c1ee5f235e252 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 4 Aug 2026 13:28:10 +0800 Subject: [PATCH 6/6] chore: dedupe Rspack dependencies --- pnpm-lock.yaml | 168 ++----------------------------------------------- 1 file changed, 5 insertions(+), 163 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6853149..722fe21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,16 +103,6 @@ packages: '@emnapi/core': ^1.7.1 '@emnapi/runtime': ^1.7.1 - '@rsbuild/core@2.1.8': - resolution: {integrity: sha512-Y70LMcCZspVoQ7Oip1W2Agu5wVhWZ2x3cYl4s9GLQG4VYphBud53DY/jkrqkyQF8ASYZDDDrW2KWNFj0kNLLuA==} - engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true - peerDependencies: - core-js: '>= 3.0.0' - peerDependenciesMeta: - core-js: - optional: true - '@rsbuild/core@2.1.9': resolution: {integrity: sha512-yqf1hFZ3wbMYI431LqsxLH3r0VZkfyarVKTf7kMeIiGe0YLwsrgsfp+sKpIyVkQkq60J0qyp6l/CoqqsQZqEwQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -189,154 +179,74 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-darwin-arm64@2.1.6': - resolution: {integrity: sha512-WRVMGOmVSLeQfu6uNuBjXyNhgs2j/1GWZhSL+vhieZGLwpSggBAZZpiRWd1jhFzQpRitQyWZYD+3XgoX5tiaPg==} - cpu: [arm64] - os: [darwin] - '@rspack/binding-darwin-arm64@2.1.7': resolution: {integrity: sha512-DwxzrXRctueP/3Pyom9JHcIsRShuEAlHb+mrE5OPT+4cdHI1UnJpbzEvEDLTo4IKJhDb3vjXdHLtjqtL0SYbeA==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@2.1.6': - resolution: {integrity: sha512-bAIxknnQ4GsCKHNjBilXcrDVAQ3ciiJeVTWih0gKtc0HWSfFSGO9rgDx5c/dJQGPNphTV50EYBc1A+rBsmhSZA==} - cpu: [x64] - os: [darwin] - '@rspack/binding-darwin-x64@2.1.7': resolution: {integrity: sha512-kPbrYvR/XUHfAMgRVq3QnC71DW/qjwsPj+3hEUuEnRmlploPNy9u8Szf1IHKSVUSrVZBTgDyMoZQdxYLfhResw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@2.1.6': - resolution: {integrity: sha512-UH2kjRj2vqizAdDiTmP9i6Y2aIzsOtPlg1xKTM2dqddhatHU2io4SHtGyO+m4QqIQrEjVYTqYYblapNYDRmdqA==} - cpu: [arm64] - os: [linux] - libc: [glibc] - '@rspack/binding-linux-arm64-gnu@2.1.7': resolution: {integrity: sha512-VFB+YXM3kZ6IIuLV64H3vgnwqvQIIaqfR/aeGwuxYvwcZsrgblSBmXMeDULdgDjqP8Yr0VaFMBBiD9OtG5KdFw==} cpu: [arm64] os: [linux] libc: [glibc] - '@rspack/binding-linux-arm64-musl@2.1.6': - resolution: {integrity: sha512-gYbLFVvhGPlAVTapprfC4FxeBNU6kgEn28KGO/ix/Yjo7mTR5DihmUomo/rpGtRUh6eB8qxr7SbZXZ6sCKpH/g==} - cpu: [arm64] - os: [linux] - libc: [musl] - '@rspack/binding-linux-arm64-musl@2.1.7': resolution: {integrity: sha512-Mzbxyg0aJ+ITj526Iuz0enEDYY6WxhFIwEKXqwjQh+Vpd5v/+aPzPo83sSQVX/3puBV1sbmviTURbh6N9e1fvA==} cpu: [arm64] os: [linux] libc: [musl] - '@rspack/binding-linux-riscv64-gnu@2.1.6': - resolution: {integrity: sha512-CFStUO9f2Yn8iAaym3mfaZnSxRbD5p2lZl0/rzNOBwtIt4mrKeYd3dtqfia21JzAN0mGQ2i2kEYt9dACFzzrkA==} - cpu: [riscv64] - os: [linux] - libc: [glibc] - '@rspack/binding-linux-riscv64-gnu@2.1.7': resolution: {integrity: sha512-mpazwgT/Pse1720mvEJsoXfPkJ+enj0xUqpbe/wL6aedwjGT+9jJNB8HTJXE4XBX0UO7umGqcJMeKA6YsD2CDA==} cpu: [riscv64] os: [linux] libc: [glibc] - '@rspack/binding-linux-riscv64-musl@2.1.6': - resolution: {integrity: sha512-hms5zCvHhc3EA84w2n2bWi+mXplgEIBEyOHJxCY0+mm6X1oxENh9+Zcly6OcEtV/jmxjx4msWK7GB/HUE138/w==} - cpu: [riscv64] - os: [linux] - libc: [musl] - '@rspack/binding-linux-riscv64-musl@2.1.7': resolution: {integrity: sha512-oU/l3soPRsDEWn7KZic+npyTMM2N1kRdHjoJ+L5IUBXs8bjdTXPLoyTbTdIOza5ZSoT4+UeEiEryj4BB0tQE5w==} cpu: [riscv64] os: [linux] libc: [musl] - '@rspack/binding-linux-x64-gnu@2.1.6': - resolution: {integrity: sha512-s2ig83rYmcIxP8QaJy+GZQpN8/8U75PBr8HaV8DljdCl3zGR3xo1dLJh97JL23CQl+S32wYaj4PqiU7r+lNwwA==} - cpu: [x64] - os: [linux] - libc: [glibc] - '@rspack/binding-linux-x64-gnu@2.1.7': resolution: {integrity: sha512-7Gtpl3h3jtnOpk1mYQE8mRndXAO2ibI8mnAbs7klevdKey+ZHneWMoMi2yOMQhhI/ifWEFxDzyGJ8bdxo0XTsA==} cpu: [x64] os: [linux] libc: [glibc] - '@rspack/binding-linux-x64-musl@2.1.6': - resolution: {integrity: sha512-j2clfnzHHFSD58UEbySNGWn7lrNPEIMPgMF/J/tiFggXsIHo7NyK8pYquXRPEklYQBnotalLdgHZ6Eyyqx5POw==} - cpu: [x64] - os: [linux] - libc: [musl] - '@rspack/binding-linux-x64-musl@2.1.7': resolution: {integrity: sha512-w+whI2Uy+DYkGN+MVkzMFWweL7B/s1gMqX+nvTE1vhOy3hGV0VyA9H6lqWjSD3I+eGkpYhN9Pr244cYnLpZOUQ==} cpu: [x64] os: [linux] libc: [musl] - '@rspack/binding-wasm32-wasi@2.1.6': - resolution: {integrity: sha512-q8SUUwbCgJXaYw9AP2jh0HN4gxzDXWqemty+1qEt47VZz/XHBM4J6AvgY0XgqgAqbOCpsqX5LzAVq6ZIjH2Cjg==} - cpu: [wasm32] - '@rspack/binding-wasm32-wasi@2.1.7': resolution: {integrity: sha512-cDVgvzRdTgxaeM+a5Lx0+7/VAvunvwO0wNtQ3ATQGOtFCW5b7cUzhNPcytH5ZSJTnFWuxinlGwtar5yfcnkdZQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@2.1.6': - resolution: {integrity: sha512-KMwwL+bqGHg2t0jaONdXWXmk2Z1IhFVI6yAB8x9PMTS5Pc4r4nILcUEkCu/+lbTD/WlDLySFjNGqm0eMFk/9Mg==} - cpu: [arm64] - os: [win32] - '@rspack/binding-win32-arm64-msvc@2.1.7': resolution: {integrity: sha512-JDd85+iYwUvaG9Zrt5X7oIxRZRiTW+76FwkRakoXNy/5VAWQW32Jq4ESjSVz6l6mh0KnZxPq3TLMugacCPnLjw==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@2.1.6': - resolution: {integrity: sha512-ynVPvQFa0Cc4q94soHN+9qTp+NIYxdznnpVAJFbFHGLSX9V13dwOOOgmlE72c7E1noPfhnge632ea37zpqo3DA==} - cpu: [ia32] - os: [win32] - '@rspack/binding-win32-ia32-msvc@2.1.7': resolution: {integrity: sha512-y9PKEs6v9BLHV0i/4eaIRtxpATvSgcf/VYQkMT8mp+qWlPjUwDQNwU2ueWVGpff6INO+YAa7zobzziNFRgO7Lg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@2.1.6': - resolution: {integrity: sha512-7igSKhn2RWNYCfV2wXmE6xdqPVQEtTWSvOCUET7Jtbr4c6dqb6Y6rb9+EwcWvfVQ19e0NWsbqvtUTr2gJw3I2A==} - cpu: [x64] - os: [win32] - '@rspack/binding-win32-x64-msvc@2.1.7': resolution: {integrity: sha512-BjkOzcPY/K8YlRRvyywz0mDWk89MMxqAMhDmgBXCWorh1IjgKTsWDJ2lCGIM8M9CZXUG3khom8AfrOGwRT2I+g==} cpu: [x64] os: [win32] - '@rspack/binding@2.1.6': - resolution: {integrity: sha512-VGyknF2nMScPf0MpogF8voH7kHDNNjt+GMDcTDAh6CPqEb0bzPx545kf4oNUF4T1XbpvyMJ9UFRHDkwNlaes/g==} - '@rspack/binding@2.1.7': resolution: {integrity: sha512-wYqi8TY30hsIzLry503o/Uqu7y9Ec7pEwN5TVmB7Pb3xHrR2eHsQPzdpF/GkCLUjQSgD2Es3CDVV1mr6zO/78g==} - '@rspack/core@2.1.6': - resolution: {integrity: sha512-/3PcODTDDy71oz5tOerq1g2tRljSCaNYu8NPjAGjzEzra2KbMSFkCVrI670AuHJ3qC0voKccIdxWCcQI0AKnDg==} - engines: {node: ^20.19.0 || >=22.12.0} - peerDependencies: - '@module-federation/runtime-tools': ^0.24.1 || ^2.0.0 - '@swc/helpers': ^0.5.23 - peerDependenciesMeta: - '@module-federation/runtime-tools': - optional: true - '@swc/helpers': - optional: true - '@rspack/core@2.1.7': resolution: {integrity: sha512-d5Ju3zXzGgbqQWvlMlLUtek2eFPIzsFe2QOF4nwTAknxo/4OZ64t+kPT9nM6fr3aZX93VK0R3v02/kZYIRrV9Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -695,13 +605,6 @@ snapshots: '@tybys/wasm-util': 0.10.3 optional: true - '@rsbuild/core@2.1.8': - dependencies: - '@rspack/core': 2.1.6(@swc/helpers@0.5.23) - '@swc/helpers': 0.5.23 - transitivePeerDependencies: - - '@module-federation/runtime-tools' - '@rsbuild/core@2.1.9': dependencies: '@rspack/core': 2.1.7(@swc/helpers@0.5.23) @@ -711,8 +614,8 @@ snapshots: '@rslib/core@1.0.0-beta.1(typescript@7.0.2)': dependencies: - '@rsbuild/core': 2.1.8 - rsbuild-plugin-dts: 1.0.0-beta.1(@rsbuild/core@2.1.8)(typescript@7.0.2) + '@rsbuild/core': 2.1.9 + rsbuild-plugin-dts: 1.0.0-beta.1(@rsbuild/core@2.1.9)(typescript@7.0.2) optionalDependencies: typescript: 7.0.2 transitivePeerDependencies: @@ -757,61 +660,30 @@ snapshots: '@rslint/native-win32-x64-msvc@0.7.2': optional: true - '@rspack/binding-darwin-arm64@2.1.6': - optional: true - '@rspack/binding-darwin-arm64@2.1.7': optional: true - '@rspack/binding-darwin-x64@2.1.6': - optional: true - '@rspack/binding-darwin-x64@2.1.7': optional: true - '@rspack/binding-linux-arm64-gnu@2.1.6': - optional: true - '@rspack/binding-linux-arm64-gnu@2.1.7': optional: true - '@rspack/binding-linux-arm64-musl@2.1.6': - optional: true - '@rspack/binding-linux-arm64-musl@2.1.7': optional: true - '@rspack/binding-linux-riscv64-gnu@2.1.6': - optional: true - '@rspack/binding-linux-riscv64-gnu@2.1.7': optional: true - '@rspack/binding-linux-riscv64-musl@2.1.6': - optional: true - '@rspack/binding-linux-riscv64-musl@2.1.7': optional: true - '@rspack/binding-linux-x64-gnu@2.1.6': - optional: true - '@rspack/binding-linux-x64-gnu@2.1.7': optional: true - '@rspack/binding-linux-x64-musl@2.1.6': - optional: true - '@rspack/binding-linux-x64-musl@2.1.7': optional: true - '@rspack/binding-wasm32-wasi@2.1.6': - dependencies: - '@emnapi/core': 1.11.2 - '@emnapi/runtime': 1.11.2 - '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) - optional: true - '@rspack/binding-wasm32-wasi@2.1.7': dependencies: '@emnapi/core': 1.11.2 @@ -819,39 +691,15 @@ snapshots: '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) optional: true - '@rspack/binding-win32-arm64-msvc@2.1.6': - optional: true - '@rspack/binding-win32-arm64-msvc@2.1.7': optional: true - '@rspack/binding-win32-ia32-msvc@2.1.6': - optional: true - '@rspack/binding-win32-ia32-msvc@2.1.7': optional: true - '@rspack/binding-win32-x64-msvc@2.1.6': - optional: true - '@rspack/binding-win32-x64-msvc@2.1.7': optional: true - '@rspack/binding@2.1.6': - optionalDependencies: - '@rspack/binding-darwin-arm64': 2.1.6 - '@rspack/binding-darwin-x64': 2.1.6 - '@rspack/binding-linux-arm64-gnu': 2.1.6 - '@rspack/binding-linux-arm64-musl': 2.1.6 - '@rspack/binding-linux-riscv64-gnu': 2.1.6 - '@rspack/binding-linux-riscv64-musl': 2.1.6 - '@rspack/binding-linux-x64-gnu': 2.1.6 - '@rspack/binding-linux-x64-musl': 2.1.6 - '@rspack/binding-wasm32-wasi': 2.1.6 - '@rspack/binding-win32-arm64-msvc': 2.1.6 - '@rspack/binding-win32-ia32-msvc': 2.1.6 - '@rspack/binding-win32-x64-msvc': 2.1.6 - '@rspack/binding@2.1.7': optionalDependencies: '@rspack/binding-darwin-arm64': 2.1.7 @@ -867,12 +715,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 2.1.7 '@rspack/binding-win32-x64-msvc': 2.1.7 - '@rspack/core@2.1.6(@swc/helpers@0.5.23)': - dependencies: - '@rspack/binding': 2.1.6 - optionalDependencies: - '@swc/helpers': 0.5.23 - '@rspack/core@2.1.7(@swc/helpers@0.5.23)': dependencies: '@rspack/binding': 2.1.7 @@ -881,7 +723,7 @@ snapshots: '@rstest/core@0.11.5': dependencies: - '@rsbuild/core': 2.1.8 + '@rsbuild/core': 2.1.9 '@types/chai': 5.2.3 transitivePeerDependencies: - '@module-federation/runtime-tools' @@ -1015,10 +857,10 @@ snapshots: prettier@3.9.6: {} - rsbuild-plugin-dts@1.0.0-beta.1(@rsbuild/core@2.1.8)(typescript@7.0.2): + rsbuild-plugin-dts@1.0.0-beta.1(@rsbuild/core@2.1.9)(typescript@7.0.2): dependencies: '@ast-grep/napi': 0.37.0 - '@rsbuild/core': 2.1.8 + '@rsbuild/core': 2.1.9 optionalDependencies: typescript: 7.0.2