From 9662d7517b92d6ebccfcecb61b56eb6ace7782ce Mon Sep 17 00:00:00 2001 From: fi3ework Date: Mon, 12 Aug 2024 16:36:52 +0800 Subject: [PATCH] chore: bump @rspack/core canary --- CONTRIBUTING.md | 6 +-- package.json | 2 +- packages/core/src/index.ts | 10 ++-- pnpm-lock.yaml | 106 ++++++++++++++++++------------------- 4 files changed, 60 insertions(+), 64 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2fd3a484b..f3477517b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,6 +121,6 @@ For VS Code users, you can install the [Biome VS Code extension](https://marketp The project is still in its early stages and under active development, so it possible dependents on Rsbuild or Rspack canary versions to test the latest features. The current canary versions are: -| Package | Link | -| ------------ | ------------------------------------------------------- | -| @rspack/core | [PR](https://github.com/web-infra-dev/rspack/pull/7493) | +| Package | Link | +| ------------ | ---------------------------------------------------------------------- | +| @rspack/core | [HEAD](https://github.com/fi3ework/rspack/tree/module-import-fallback) | diff --git a/package.json b/package.json index 6f45ec69f..ac1d2e876 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ }, "pnpm": { "overrides": { - "@rspack/core": "npm:@rspack/core-canary@1.0.0-canary-af0452f-20240808052639" + "@rspack/core": "npm:@rspack/core-canary@1.0.0-canary-f6e73ba-20240809060047" } } } diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 45a5ed039..32147d2de 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,11 +1,7 @@ -export { build } from './build'; -export { runCli } from './cli/commands'; export { prepareCli } from './cli/prepare'; +export { runCli } from './cli/commands'; export { defineConfig, loadConfig } from './config'; - -export * from './utils/logger'; -export * from './utils/helper'; - -export * from './types/config'; +export { build } from './build'; +export { logger } from './utils/logger'; export const version: string = RSLIB_VERSION; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index efb464638..c134cba06 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - '@rspack/core': npm:@rspack/core-canary@1.0.0-canary-af0452f-20240808052639 + '@rspack/core': npm:@rspack/core-canary@1.0.0-canary-f6e73ba-20240809060047 importers: @@ -1273,56 +1273,56 @@ packages: peerDependencies: '@rsbuild/core': ^1.0.1-beta.11 - '@rspack/binding-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-VayW6Eytqn7TzoKvTeVR8k29JgEPOmnUFPRyoaf+QlATDR0pht4vwHeHCEYL587yxMw7pZ+DxfXgB1ReIViesA==} + '@rspack/binding-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-PKTcshCQzT0qHyzP5TY+U0zILfCQySjnATnTjTOfeNtCT9ZzgM+xB8o0hgvl6vKbA6UMcT24Jje3uwZtYB1L/g==} - '@rspack/binding-darwin-arm64-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-rPS4GCOHbgXSociPieE5X2i2IXeADA+/1RD4grg+vvgKYzoZa8oVP4Nz6n67tj8jR7P6/eXjmbGwg8tXShFpyQ==} + '@rspack/binding-darwin-arm64-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-GOIoH6uLsxKMRMDcKUq+QIN/PK2VY5DbkFswyod9251HQYhmijFUAJX2vxOT47nGXLPH/TzqV2QbuyeycUkZWQ==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-p7D2y7tYPReV6SNPB2FYv3OZeMnwU0WwlIinSDC0YJYZLwo5303zAnVY09s3R9t1Il86Du5wd9wRusSJKGN1/Q==} + '@rspack/binding-darwin-x64-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-wQwAfyjbNCObdu+mgrDC7BwDX2Rm9eiQGcYJQiZmZXzBJz5M0Ej6lB9oZaKAycbNl4cdzs/VW3JwS8TGRn5/TQ==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-91KjddUlW5cFgE/Xy+l/KUkK/nMoKJjldeYvxUk7AyWpPW19vpP1kUpdpFmbjfinaAeXHCl0CiwIEMR3aVL1vw==} + '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-FPDi/lQKlXLPTDjautedyBa+y8O2pG1jaNpKn8j4dybw3hVRuIsF+YjHvs67vtd6dHQ9ESA5KW+ep9gEKjvIQg==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-BT8PmQiCtEVTDWjZFur4ju7QoLhULZ2Qqfk7ZMA42TBFv2qpKpN0+Xpz/ZbiO+PEsjUrk2wib+MKppTGXOg2AA==} + '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-3a8Wec/UosLBCFgN0HablV1q6K+3Bj/W3Qj6RRbT9uHPpSeuWC299gm70TzG+hz32TFy6bPSNGMs0c1DM7WsWA==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-S9kb1X/xhPmyuNWr+VOW8gOZP0UKD0pyDOF/scaqdTxIsdq8x2Udpk9NG+GpJqsfJQq6qOnbN/4o/POi9dK3Bw==} + '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-fa83u2rkwCHArdCDkHJUHZzazV3QLjQmQVEUy1uXcGP7+G18XVkyY1RPTa5Eec1F6mpkdBBpgGExi9XCT+8rBg==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-JzzFQHKnXMEz5pC8fMYNK2w3v+WagOQGZ2cgeQzofa3DxCGFBN8xkcjTByTITXHK9FxIkP5AxbmDwruEPr1ovw==} + '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-Zp1eOkSp2xCDLxpu7O8p/SPsghacPYS2k3aH3TcICv+clmmSL6v2hdIdE8CnuPQfNwkBW13rsTFui9qi88M5Sw==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-QKYbZ7g1GeTn2HU+mK4UL9cMb1HZXsS2Bvp2Tkwqp4bXq+XYWVEtEy1t3veOhz+tx0NRvZ4R9F+XByE/eGRHHg==} + '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-3dcecb9X0Fr7oG30wXZiaOrg70sKRv7EW6NhW0UgyhWHwWHJDwknNQNp6YKR1cgBlAWPgrmK39nmG0muT+kCDA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-efyygQRoZ1ZDfKNn54DVAPtf4FFg6O3pkPlUUI9nj4HJd1S3NIjeMeKSCH77O6Ypqrs0uAILoalRnbGrh+oeZw==} + '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-+WfCjwwtrtxRs+V0jsBOdzR+nHqYh2i+0kdRaUIlnMCQqG6T5YnohzGjWw+3Xjf8KR6DVazaT+eSN0r2NrZHrA==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-9XMPNGDPYQRfL9fPiCZKuKnC9sXNV0xJ2SDGJ+XZ0VQcGZ9z6810jUHAQX2gHSg8p6kUAtSXh68HsNWsSBlF9w==} + '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-8qiomAkUm3QUkPVMccN2zKPb0aONsddy8vW/hAfsyMLgMTdiIkZB7Yrf9mnlj85SAuTrg34qXGa2lREL88C3cA==} cpu: [x64] os: [win32] - '@rspack/core-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-zuZ2FEYZy6ePZv2YPyT71BUJr6h5ZG6W8/s6rUXzMUzEmT6wlF073QvM8AWk9xUAXyv3NPdh3Ql5Kvf1/2RaBw==} + '@rspack/core-canary@1.0.0-canary-f6e73ba-20240809060047': + resolution: {integrity: sha512-8+FI0XjECPBZpUsk58XLWPA7wF3by6JCqnQSqpHUDjoJlnGog/U+dN6m+92rtv5ivqXfWuvnof9GNUYyY1EITw==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -1330,14 +1330,14 @@ packages: '@swc/helpers': optional: true - '@rspack/lite-tapable-canary@1.0.0-canary-af0452f-20240808052639': - resolution: {integrity: sha512-YpKLntATp0tML6ILrUmANCC6geUosgRK71xy78Vo1v2urSV1v2MB08VL6sbrjy99GnDWzf5f/bzrtmeC78GOVw==} - engines: {node: '>=16.0.0'} - '@rspack/lite-tapable@1.0.0-beta.3': resolution: {integrity: sha512-K/OwOFX4SsILeSAJtmVCoBZUPaXLNFGeIXerK0SY09in8+0i21c+luZAhjlD0mH9+cD2A/zBGL+GIEPKkW6IwQ==} engines: {node: '>=16.0.0'} + '@rspack/lite-tapable@1.0.0-beta.5': + resolution: {integrity: sha512-jTmLhUeZgR3u+cHp5Z46FuTWUg+6VWWwbWkIzgVvQoN7YK9ntFfm7k5+cImTEQ0qe1r6P43uV0qD606SoZspKg==} + engines: {node: '>=16.0.0'} + '@rspack/plugin-react-refresh@1.0.0-beta.3': resolution: {integrity: sha512-Gq/pdkmaklw6ZlvFL/YXWkXatDQQkFx8HobrRTKnqysfx00Ly2WZ8x+gJCc0PMiB7aL6SdI0EsgIchG+sLUSnQ==} peerDependencies: @@ -4194,7 +4194,7 @@ snapshots: '@rsbuild/core@1.0.1-beta.11': dependencies: - '@rspack/core': '@rspack/core-canary@1.0.0-canary-af0452f-20240808052639(@swc/helpers@0.5.11)' + '@rspack/core': '@rspack/core-canary@1.0.0-canary-f6e73ba-20240809060047(@swc/helpers@0.5.11)' '@rspack/lite-tapable': 1.0.0-beta.3 '@swc/helpers': 0.5.11 caniuse-lite: 1.0.30001649 @@ -4208,58 +4208,58 @@ snapshots: '@rspack/plugin-react-refresh': 1.0.0-beta.3(react-refresh@0.14.2) react-refresh: 0.14.2 - '@rspack/binding-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-canary@1.0.0-canary-f6e73ba-20240809060047': optionalDependencies: - '@rspack/binding-darwin-arm64': '@rspack/binding-darwin-arm64-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-darwin-x64': '@rspack/binding-darwin-x64-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-linux-arm64-gnu': '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-linux-arm64-musl': '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-linux-x64-gnu': '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-linux-x64-musl': '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-win32-arm64-msvc': '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-win32-ia32-msvc': '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/binding-win32-x64-msvc': '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-af0452f-20240808052639' - - '@rspack/binding-darwin-arm64-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-darwin-arm64': '@rspack/binding-darwin-arm64-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-darwin-x64': '@rspack/binding-darwin-x64-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-linux-arm64-gnu': '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-linux-arm64-musl': '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-linux-x64-gnu': '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-linux-x64-musl': '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-win32-arm64-msvc': '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-win32-ia32-msvc': '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/binding-win32-x64-msvc': '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047' + + '@rspack/binding-darwin-arm64-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-darwin-x64-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-darwin-x64-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-linux-arm64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-linux-arm64-musl-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-linux-x64-gnu-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-linux-x64-musl-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-win32-arm64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-win32-ia32-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-af0452f-20240808052639': + '@rspack/binding-win32-x64-msvc-canary@1.0.0-canary-f6e73ba-20240809060047': optional: true - '@rspack/core-canary@1.0.0-canary-af0452f-20240808052639(@swc/helpers@0.5.11)': + '@rspack/core-canary@1.0.0-canary-f6e73ba-20240809060047(@swc/helpers@0.5.11)': dependencies: '@module-federation/runtime-tools': 0.2.3 - '@rspack/binding': '@rspack/binding-canary@1.0.0-canary-af0452f-20240808052639' - '@rspack/lite-tapable': '@rspack/lite-tapable-canary@1.0.0-canary-af0452f-20240808052639' + '@rspack/binding': '@rspack/binding-canary@1.0.0-canary-f6e73ba-20240809060047' + '@rspack/lite-tapable': 1.0.0-beta.5 caniuse-lite: 1.0.30001649 optionalDependencies: '@swc/helpers': 0.5.11 - '@rspack/lite-tapable-canary@1.0.0-canary-af0452f-20240808052639': {} - '@rspack/lite-tapable@1.0.0-beta.3': {} + '@rspack/lite-tapable@1.0.0-beta.5': {} + '@rspack/plugin-react-refresh@1.0.0-beta.3(react-refresh@0.14.2)': dependencies: error-stack-parser: 2.1.4