From 35ca08c2b1d7fb08978cef54656f2722ad036241 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 16 Dec 2024 17:14:15 +0800 Subject: [PATCH] ci: reuse artifacts from previous pipeline --- .github/workflows/build-test.yml | 7 +- package.json | 2 - packages/frontend/apps/android/package.json | 3 +- packages/frontend/apps/electron/package.json | 1 + packages/frontend/apps/ios/package.json | 3 +- packages/frontend/apps/mobile/package.json | 3 +- packages/frontend/apps/web/package.json | 3 +- .../affine-cloud-copilot/playwright.config.ts | 15 +- tests/affine-cloud/playwright.config.ts | 15 +- .../affine-desktop-cloud/playwright.config.ts | 5 +- tests/affine-desktop/playwright.config.ts | 6 +- tests/affine-local/playwright.config.ts | 17 +- tests/affine-mobile/playwright.config.ts | 16 +- tools/cli/package.json | 8 +- tools/cli/src/bin/dev.ts | 142 +++++++------- tools/cli/src/bin/empty.ts | 5 + tools/cli/src/webpack/config.ts | 7 +- tools/cli/src/webpack/webpack.config.ts | 4 +- tools/playstore-auto-bump/package.json | 2 +- yarn.lock | 173 +++++++++--------- 20 files changed, 216 insertions(+), 221 deletions(-) create mode 100644 tools/cli/src/bin/empty.ts diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d1599299fa3cc..ec5c395ed0a4e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -601,6 +601,11 @@ jobs: playwright-install: true hard-link-nm: false + - name: Download web artifact + uses: ./.github/actions/download-web + with: + path: packages/frontend/apps/electron/renderer/dist + - name: Download server-native.node uses: actions/download-artifact@v4 with: @@ -628,7 +633,7 @@ jobs: if: ${{ failure() }} uses: actions/upload-artifact@v4 with: - name: test-results-e2e-server + name: test-results-e2e-server-${{ matrix.tests.name }} path: ./test-results if-no-files-found: ignore diff --git a/package.json b/package.json index 7d920cf8363e5..424e90872454a 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,6 @@ "dev:electron": "yarn workspace @affine/electron dev", "build:electron": "yarn nx build @affine/electron", "build:server-native": "yarn nx run-many -t build -p @affine/server-native", - "start:web-static": "yarn workspace @affine/web static-server", - "serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081", "lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --report-unused-disable-directives-severity=off . --cache", "lint:eslint:fix": "yarn lint:eslint --fix", "lint:prettier": "prettier --ignore-unknown --cache --check .", diff --git a/packages/frontend/apps/android/package.json b/packages/frontend/apps/android/package.json index 4ffa15a96545d..ad8c7f3af98c6 100644 --- a/packages/frontend/apps/android/package.json +++ b/packages/frontend/apps/android/package.json @@ -6,8 +6,7 @@ "browser": "src/index.tsx", "scripts": { "build": "cross-env DISTRIBUTION=android yarn workspace @affine/cli bundle", - "dev": "yarn workspace @affine/cli dev", - "static-server": "cross-env DISTRIBUTION=android yarn workspace @affine/cli dev --static" + "dev": "yarn workspace @affine/cli dev" }, "dependencies": { "@affine/component": "workspace:*", diff --git a/packages/frontend/apps/electron/package.json b/packages/frontend/apps/electron/package.json index 3dea0f3d7d71a..aa3692ab8efa5 100644 --- a/packages/frontend/apps/electron/package.json +++ b/packages/frontend/apps/electron/package.json @@ -42,6 +42,7 @@ "@electron-forge/plugin-auto-unpack-natives": "^7.6.0", "@electron-forge/shared-types": "^7.6.0", "@emotion/react": "^11.14.0", + "@oxc-node/core": "^0.0.16", "@pengx17/electron-forge-maker-appimage": "^1.2.1", "@sentry/electron": "^5.8.0", "@sentry/esbuild-plugin": "^2.22.7", diff --git a/packages/frontend/apps/ios/package.json b/packages/frontend/apps/ios/package.json index 2e9f1d1f27a95..50084fdb32446 100644 --- a/packages/frontend/apps/ios/package.json +++ b/packages/frontend/apps/ios/package.json @@ -8,8 +8,7 @@ "build": "cross-env DISTRIBUTION=ios yarn workspace @affine/cli bundle", "dev": "yarn workspace @affine/cli dev", "sync": "yarn cap sync", - "sync:dev": "CAP_SERVER_URL=http://localhost:8080 yarn cap sync", - "static-server": "cross-env DISTRIBUTION=ios yarn workspace @affine/cli dev --static" + "sync:dev": "CAP_SERVER_URL=http://localhost:8080 yarn cap sync" }, "dependencies": { "@affine/component": "workspace:*", diff --git a/packages/frontend/apps/mobile/package.json b/packages/frontend/apps/mobile/package.json index 1eb86a5674b9d..f3e7a75946d55 100644 --- a/packages/frontend/apps/mobile/package.json +++ b/packages/frontend/apps/mobile/package.json @@ -6,8 +6,7 @@ "browser": "src/index.tsx", "scripts": { "build": "cross-env DISTRIBUTION=mobile yarn workspace @affine/cli bundle", - "dev": "yarn workspace @affine/cli dev", - "static-server": "cross-env DISTRIBUTION=mobile yarn workspace @affine/cli dev --static" + "dev": "yarn workspace @affine/cli dev" }, "dependencies": { "@affine/component": "workspace:*", diff --git a/packages/frontend/apps/web/package.json b/packages/frontend/apps/web/package.json index b3a995920f089..2abf82a1ca5ae 100644 --- a/packages/frontend/apps/web/package.json +++ b/packages/frontend/apps/web/package.json @@ -6,8 +6,7 @@ "browser": "src/index.tsx", "scripts": { "build": "cross-env DISTRIBUTION=web yarn workspace @affine/cli bundle", - "dev": "yarn workspace @affine/cli dev", - "static-server": "yarn workspace @affine/cli dev --static" + "dev": "yarn workspace @affine/cli dev" }, "dependencies": { "@affine/component": "workspace:*", diff --git a/tests/affine-cloud-copilot/playwright.config.ts b/tests/affine-cloud-copilot/playwright.config.ts index 30e083ce7f156..0c518c8d48a20 100644 --- a/tests/affine-cloud-copilot/playwright.config.ts +++ b/tests/affine-cloud-copilot/playwright.config.ts @@ -26,24 +26,17 @@ const config: PlaywrightTestConfig = { retries: 3, reporter: process.env.CI ? 'github' : 'list', webServer: [ - { - command: 'yarn run serve:test-static', - port: 8081, - timeout: 120 * 1000, - reuseExistingServer: !process.env.CI, - env: { - COVERAGE: process.env.COVERAGE || 'false', - ENABLE_DEBUG_PAGE: '1', - }, - }, // Intentionally not building the web, reminds you to run it by yourself. { - command: 'yarn -T run start:web-static', + command: 'yarn -T run dev', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, env: { COVERAGE: process.env.COVERAGE || 'false', + DISTRIBUTION: 'web', + BUILD_TYPE: 'canary', + ...process.env, }, }, { diff --git a/tests/affine-cloud/playwright.config.ts b/tests/affine-cloud/playwright.config.ts index 18175a67ce9ac..92d131e5b9003 100644 --- a/tests/affine-cloud/playwright.config.ts +++ b/tests/affine-cloud/playwright.config.ts @@ -26,24 +26,17 @@ const config: PlaywrightTestConfig = { retries: process.env.COPILOT ? 1 : 3, reporter: process.env.CI ? 'github' : 'list', webServer: [ - { - command: 'yarn run serve:test-static', - port: 8081, - timeout: 120 * 1000, - reuseExistingServer: !process.env.CI, - env: { - COVERAGE: process.env.COVERAGE || 'false', - ENABLE_DEBUG_PAGE: '1', - }, - }, // Intentionally not building the web, reminds you to run it by yourself. { - command: 'yarn -T run start:web-static', + command: 'yarn -T run dev', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, env: { COVERAGE: process.env.COVERAGE || 'false', + DISTRIBUTION: 'web', + BUILD_TYPE: 'canary', + ...process.env, }, }, { diff --git a/tests/affine-desktop-cloud/playwright.config.ts b/tests/affine-desktop-cloud/playwright.config.ts index 3432035187049..e909e8ab7f7db 100644 --- a/tests/affine-desktop-cloud/playwright.config.ts +++ b/tests/affine-desktop-cloud/playwright.config.ts @@ -1,6 +1,5 @@ import { testResultDir } from '@affine-test/kit/playwright'; import type { PlaywrightTestConfig } from '@playwright/test'; -// import { devices } from '@playwright/test'; /** * Read environment variables from file. @@ -23,7 +22,7 @@ const config: PlaywrightTestConfig = { webServer: [ // Intentionally not building the web, reminds you to run it by yourself. { - command: 'yarn -T run start:web-static', + command: 'yarn -T run dev', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, @@ -31,6 +30,8 @@ const config: PlaywrightTestConfig = { env: { COVERAGE: process.env.COVERAGE || 'false', DISTRIBUTION: 'desktop', + BUILD_TYPE: 'canary', + ...process.env, }, }, { diff --git a/tests/affine-desktop/playwright.config.ts b/tests/affine-desktop/playwright.config.ts index f6cd39740d55d..195931191aed7 100644 --- a/tests/affine-desktop/playwright.config.ts +++ b/tests/affine-desktop/playwright.config.ts @@ -2,7 +2,6 @@ import assert from 'node:assert'; import { testResultDir } from '@affine-test/kit/playwright'; import type { PlaywrightTestConfig } from '@playwright/test'; -// import { devices } from '@playwright/test'; /** * Read environment variables from file. @@ -41,12 +40,15 @@ if (process.env.DEV_SERVER_URL) { ); config.webServer = [ { - command: 'yarn run start:web-static', + command: 'yarn -T run dev --static', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, env: { COVERAGE: process.env.COVERAGE || 'false', + DISTRIBUTION: 'desktop', + BUILD_TYPE: 'canary', + ...process.env, }, }, ]; diff --git a/tests/affine-local/playwright.config.ts b/tests/affine-local/playwright.config.ts index 9decae4d8535e..9de0b61c07249 100644 --- a/tests/affine-local/playwright.config.ts +++ b/tests/affine-local/playwright.config.ts @@ -3,7 +3,6 @@ import type { PlaywrightTestConfig, PlaywrightWorkerOptions, } from '@playwright/test'; -// import { devices } from '@playwright/test'; /** * Read environment variables from file. @@ -44,24 +43,18 @@ const config: PlaywrightTestConfig = { reporter: process.env.CI ? 'github' : 'list', webServer: [ - { - command: 'yarn run serve:test-static', - port: 8081, - timeout: 120 * 1000, - reuseExistingServer: !process.env.CI, - env: { - COVERAGE: process.env.COVERAGE || 'false', - ENABLE_DEBUG_PAGE: '1', - }, - }, // Intentionally not building the web, reminds you to run it by yourself. { - command: 'yarn run start:web-static', + command: 'yarn -T run dev', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, env: { COVERAGE: process.env.COVERAGE || 'false', + DISTRIBUTION: 'web', + BUILD_TYPE: 'canary', + CI: '1', + ...process.env, }, }, ], diff --git a/tests/affine-mobile/playwright.config.ts b/tests/affine-mobile/playwright.config.ts index a9939684c1a7d..f34066ed7c419 100644 --- a/tests/affine-mobile/playwright.config.ts +++ b/tests/affine-mobile/playwright.config.ts @@ -47,24 +47,18 @@ const config: PlaywrightTestConfig = { reporter: process.env.CI ? 'github' : 'list', webServer: [ - { - command: 'yarn run serve:test-static', - port: 8081, - timeout: 120 * 1000, - reuseExistingServer: !process.env.CI, - env: { - COVERAGE: process.env.COVERAGE || 'false', - ENABLE_DEBUG_PAGE: '1', - }, - }, // Intentionally not building the web, reminds you to run it by yourself. { - command: 'yarn workspace @affine/mobile static-server', + command: 'yarn -T run dev', port: 8080, timeout: 120 * 1000, reuseExistingServer: !process.env.CI, env: { COVERAGE: process.env.COVERAGE || 'false', + DISTRIBUTION: 'mobile', + BUILD_TYPE: 'canary', + CI: '1', + ...process.env, }, }, ], diff --git a/tools/cli/package.json b/tools/cli/package.json index 394f194236297..0a406c73eef4f 100644 --- a/tools/cli/package.json +++ b/tools/cli/package.json @@ -11,6 +11,7 @@ "@clack/prompts": "^0.8.2", "@magic-works/i18n-codegen": "^0.6.1", "@napi-rs/simple-git": "^0.1.19", + "@oxc-node/core": "^0.0.16", "@perfsee/webpack": "^1.13.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", "@sentry/webpack-plugin": "^2.22.7", @@ -33,16 +34,15 @@ "style-loader": "^4.0.0", "swc-loader": "^0.2.6", "tailwindcss": "^3.4.16", - "terser-webpack-plugin": "^5.3.10", - "ts-node": "^10.9.2", + "terser-webpack-plugin": "^5.3.11", "vite": "^6.0.3", "webpack": "^5.97.1", "webpack-dev-server": "^5.2.0", "webpack-merge": "^6.0.1" }, "scripts": { - "bundle": "node --loader ts-node/esm/transpile-only.mjs ./src/bin/build.ts", - "dev": "node --loader ts-node/esm/transpile-only.mjs ./src/bin/dev.ts" + "bundle": "node --import @oxc-node/core/register ./src/bin/build.ts", + "dev": "node --import @oxc-node/core/register ./src/bin/dev.ts" }, "version": "0.18.0" } diff --git a/tools/cli/src/bin/dev.ts b/tools/cli/src/bin/dev.ts index 8962d797e263b..e63f70eeb5112 100644 --- a/tools/cli/src/bin/dev.ts +++ b/tools/cli/src/bin/dev.ts @@ -11,13 +11,13 @@ import { getCwdFromDistribution, projectRoot } from '../config/cwd.cjs'; import type { BuildFlags } from '../config/index.js'; import { createWebpackConfig } from '../webpack/webpack.config.js'; -const flags: BuildFlags = { - distribution: - (process.env.DISTRIBUTION as BuildFlags['distribution']) ?? 'web', +const flags: BuildFlags & { ci: boolean } = { + distribution: process.env.DISTRIBUTION as BuildFlags['distribution'], mode: 'development', static: false, channel: 'canary', coverage: process.env.COVERAGE === 'true', + ci: !!process.env.CI || !!process.env.IN_CI_TEST, }; const files = ['.env', '.env.local']; @@ -34,72 +34,75 @@ for (const file of files) { const buildFlags = process.argv.includes('--static') ? { ...flags, static: true } - : ((await p.group( - { - distribution: () => - p.select({ - message: 'Distribution', - options: [ - { - value: 'web', - }, - { - value: 'desktop', - }, - { - value: 'admin', - }, - { - value: 'mobile', - }, - { - value: 'ios', - }, - ], - initialValue: 'web', - }), - mode: () => - p.select({ - message: 'Mode', - options: [ - { - value: 'development', - }, - { - value: 'production', - }, - ], - initialValue: 'development', - }), - channel: () => - p.select({ - message: 'Channel', - options: [ - { - value: 'canary', - }, - { - value: 'beta', - }, - { - value: 'stable', - }, - ], - initialValue: 'canary', - }), - coverage: () => - p.confirm({ - message: 'Enable coverage', - initialValue: process.env.COVERAGE === 'true', - }), - }, - { - onCancel: () => { - p.cancel('Operation cancelled.'); - process.exit(0); + : // skip interactive mode in CI + flags.ci + ? flags + : ((await p.group( + { + distribution: () => + p.select({ + message: 'Distribution', + options: [ + { + value: 'web', + }, + { + value: 'desktop', + }, + { + value: 'admin', + }, + { + value: 'mobile', + }, + { + value: 'ios', + }, + ], + initialValue: 'web', + }), + mode: () => + p.select({ + message: 'Mode', + options: [ + { + value: 'development', + }, + { + value: 'production', + }, + ], + initialValue: 'development', + }), + channel: () => + p.select({ + message: 'Channel', + options: [ + { + value: 'canary', + }, + { + value: 'beta', + }, + { + value: 'stable', + }, + ], + initialValue: 'canary', + }), + coverage: () => + p.confirm({ + message: 'Enable coverage', + initialValue: process.env.COVERAGE === 'true', + }), }, - } - )) as BuildFlags); + { + onCancel: () => { + p.cancel('Operation cancelled.'); + process.exit(0); + }, + } + )) as BuildFlags & { ci: boolean }); flags.distribution = buildFlags.distribution; flags.mode = buildFlags.mode; @@ -134,6 +137,9 @@ try { const config = createWebpackConfig(cwd, flags); if (flags.static) { config.watch = false; + config.entry = { + _undefined_entry: join(import.meta.dirname, 'empty.ts'), + }; } const compiler = webpack(config); // Start webpack diff --git a/tools/cli/src/bin/empty.ts b/tools/cli/src/bin/empty.ts new file mode 100644 index 0000000000000..47b5582ef2fbc --- /dev/null +++ b/tools/cli/src/bin/empty.ts @@ -0,0 +1,5 @@ +// This file is aim to reuse webpack devServer in the serve:static mode +// In serve:static mode, the sources are built in previous pipeline +// So we need to provide a empty entry to webpack to make devServer work + +const _a = void 0; diff --git a/tools/cli/src/webpack/config.ts b/tools/cli/src/webpack/config.ts index e39038277d9df..310e225abf749 100644 --- a/tools/cli/src/webpack/config.ts +++ b/tools/cli/src/webpack/config.ts @@ -31,7 +31,7 @@ const OptimizeOptionOptions: ( new TerserPlugin({ minify: TerserPlugin.swcMinify, exclude: [/plugins\/.+\/.+\.js$/, /plugins\/.+\/.+\.mjs$/], - parallel: true, + parallel: false, extractComments: true, terserOptions: { ecma: 2020, @@ -373,6 +373,11 @@ export const createConfiguration: ( publicPath: '/', watch: !buildFlags.static, }, + { + directory: join(cwd, 'dist'), + publicPath: '/', + watch: !buildFlags.static, + }, { directory: join(cwd, 'public'), publicPath: '/', diff --git a/tools/cli/src/webpack/webpack.config.ts b/tools/cli/src/webpack/webpack.config.ts index 290ce1fc386cc..5ee870481c630 100644 --- a/tools/cli/src/webpack/webpack.config.ts +++ b/tools/cli/src/webpack/webpack.config.ts @@ -178,6 +178,8 @@ export function createWebpackConfig(cwd: string, flags: BuildFlags) { return merge(config, { entry, - plugins: Object.keys(entry).map(createHTMLPlugins).flat(), + plugins: flags.static + ? [] + : Object.keys(entry).map(createHTMLPlugins).flat(), }); } diff --git a/tools/playstore-auto-bump/package.json b/tools/playstore-auto-bump/package.json index 4fdbf75915ff8..aeda96709c43e 100644 --- a/tools/playstore-auto-bump/package.json +++ b/tools/playstore-auto-bump/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@googleapis/androidpublisher": "^22.0.0", - "@oxc-node/core": "^0.0.15" + "@oxc-node/core": "^0.0.16" }, "devDependencies": { "@types/node": "^20.17.10", diff --git a/yarn.lock b/yarn.lock index 36d1f95da2669..e67fbd6a4d1eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -267,6 +267,7 @@ __metadata: "@clack/prompts": "npm:^0.8.2" "@magic-works/i18n-codegen": "npm:^0.6.1" "@napi-rs/simple-git": "npm:^0.1.19" + "@oxc-node/core": "npm:^0.0.16" "@perfsee/webpack": "npm:^1.13.0" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.15" "@sentry/webpack-plugin": "npm:^2.22.7" @@ -289,8 +290,7 @@ __metadata: style-loader: "npm:^4.0.0" swc-loader: "npm:^0.2.6" tailwindcss: "npm:^3.4.16" - terser-webpack-plugin: "npm:^5.3.10" - ts-node: "npm:^10.9.2" + terser-webpack-plugin: "npm:^5.3.11" vite: "npm:^6.0.3" webpack: "npm:^5.97.1" webpack-dev-server: "npm:^5.2.0" @@ -531,6 +531,7 @@ __metadata: "@electron-forge/plugin-auto-unpack-natives": "npm:^7.6.0" "@electron-forge/shared-types": "npm:^7.6.0" "@emotion/react": "npm:^11.14.0" + "@oxc-node/core": "npm:^0.0.16" "@pengx17/electron-forge-maker-appimage": "npm:^1.2.1" "@sentry/electron": "npm:^5.8.0" "@sentry/esbuild-plugin": "npm:^2.22.7" @@ -761,7 +762,7 @@ __metadata: resolution: "@affine/playstore-auto-bump@workspace:tools/playstore-auto-bump" dependencies: "@googleapis/androidpublisher": "npm:^22.0.0" - "@oxc-node/core": "npm:^0.0.15" + "@oxc-node/core": "npm:^0.0.16" "@types/node": "npm:^20.17.10" typescript: "npm:^5.7.2" languageName: unknown @@ -6994,7 +6995,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.20, @jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": version: 0.3.25 resolution: "@jridgewell/trace-mapping@npm:0.3.25" dependencies: @@ -10084,140 +10085,140 @@ __metadata: languageName: node linkType: hard -"@oxc-node/core-android-arm-eabi@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-android-arm-eabi@npm:0.0.15" +"@oxc-node/core-android-arm-eabi@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-android-arm-eabi@npm:0.0.16" conditions: os=android & cpu=arm languageName: node linkType: hard -"@oxc-node/core-android-arm64@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-android-arm64@npm:0.0.15" +"@oxc-node/core-android-arm64@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-android-arm64@npm:0.0.16" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@oxc-node/core-darwin-arm64@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-darwin-arm64@npm:0.0.15" +"@oxc-node/core-darwin-arm64@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-darwin-arm64@npm:0.0.16" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@oxc-node/core-darwin-x64@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-darwin-x64@npm:0.0.15" +"@oxc-node/core-darwin-x64@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-darwin-x64@npm:0.0.16" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@oxc-node/core-freebsd-x64@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-freebsd-x64@npm:0.0.15" +"@oxc-node/core-freebsd-x64@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-freebsd-x64@npm:0.0.16" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@oxc-node/core-linux-arm-gnueabihf@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-arm-gnueabihf@npm:0.0.15" +"@oxc-node/core-linux-arm-gnueabihf@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-arm-gnueabihf@npm:0.0.16" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@oxc-node/core-linux-arm64-gnu@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-arm64-gnu@npm:0.0.15" +"@oxc-node/core-linux-arm64-gnu@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-arm64-gnu@npm:0.0.16" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@oxc-node/core-linux-arm64-musl@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-arm64-musl@npm:0.0.15" +"@oxc-node/core-linux-arm64-musl@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-arm64-musl@npm:0.0.16" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@oxc-node/core-linux-ppc64-gnu@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-ppc64-gnu@npm:0.0.15" +"@oxc-node/core-linux-ppc64-gnu@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-ppc64-gnu@npm:0.0.16" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@oxc-node/core-linux-s390x-gnu@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-s390x-gnu@npm:0.0.15" +"@oxc-node/core-linux-s390x-gnu@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-s390x-gnu@npm:0.0.16" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@oxc-node/core-linux-x64-gnu@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-x64-gnu@npm:0.0.15" +"@oxc-node/core-linux-x64-gnu@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-x64-gnu@npm:0.0.16" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@oxc-node/core-linux-x64-musl@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-linux-x64-musl@npm:0.0.15" +"@oxc-node/core-linux-x64-musl@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-linux-x64-musl@npm:0.0.16" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@oxc-node/core-wasm32-wasi@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-wasm32-wasi@npm:0.0.15" +"@oxc-node/core-wasm32-wasi@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-wasm32-wasi@npm:0.0.16" dependencies: - "@napi-rs/wasm-runtime": "npm:^0.2.4" + "@napi-rs/wasm-runtime": "npm:^0.2.5" conditions: cpu=wasm32 languageName: node linkType: hard -"@oxc-node/core-win32-arm64-msvc@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-win32-arm64-msvc@npm:0.0.15" +"@oxc-node/core-win32-arm64-msvc@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-win32-arm64-msvc@npm:0.0.16" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@oxc-node/core-win32-ia32-msvc@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-win32-ia32-msvc@npm:0.0.15" +"@oxc-node/core-win32-ia32-msvc@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-win32-ia32-msvc@npm:0.0.16" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@oxc-node/core-win32-x64-msvc@npm:0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core-win32-x64-msvc@npm:0.0.15" +"@oxc-node/core-win32-x64-msvc@npm:0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core-win32-x64-msvc@npm:0.0.16" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@oxc-node/core@npm:^0.0.15": - version: 0.0.15 - resolution: "@oxc-node/core@npm:0.0.15" - dependencies: - "@oxc-node/core-android-arm-eabi": "npm:0.0.15" - "@oxc-node/core-android-arm64": "npm:0.0.15" - "@oxc-node/core-darwin-arm64": "npm:0.0.15" - "@oxc-node/core-darwin-x64": "npm:0.0.15" - "@oxc-node/core-freebsd-x64": "npm:0.0.15" - "@oxc-node/core-linux-arm-gnueabihf": "npm:0.0.15" - "@oxc-node/core-linux-arm64-gnu": "npm:0.0.15" - "@oxc-node/core-linux-arm64-musl": "npm:0.0.15" - "@oxc-node/core-linux-ppc64-gnu": "npm:0.0.15" - "@oxc-node/core-linux-s390x-gnu": "npm:0.0.15" - "@oxc-node/core-linux-x64-gnu": "npm:0.0.15" - "@oxc-node/core-linux-x64-musl": "npm:0.0.15" - "@oxc-node/core-wasm32-wasi": "npm:0.0.15" - "@oxc-node/core-win32-arm64-msvc": "npm:0.0.15" - "@oxc-node/core-win32-ia32-msvc": "npm:0.0.15" - "@oxc-node/core-win32-x64-msvc": "npm:0.0.15" +"@oxc-node/core@npm:^0.0.16": + version: 0.0.16 + resolution: "@oxc-node/core@npm:0.0.16" + dependencies: + "@oxc-node/core-android-arm-eabi": "npm:0.0.16" + "@oxc-node/core-android-arm64": "npm:0.0.16" + "@oxc-node/core-darwin-arm64": "npm:0.0.16" + "@oxc-node/core-darwin-x64": "npm:0.0.16" + "@oxc-node/core-freebsd-x64": "npm:0.0.16" + "@oxc-node/core-linux-arm-gnueabihf": "npm:0.0.16" + "@oxc-node/core-linux-arm64-gnu": "npm:0.0.16" + "@oxc-node/core-linux-arm64-musl": "npm:0.0.16" + "@oxc-node/core-linux-ppc64-gnu": "npm:0.0.16" + "@oxc-node/core-linux-s390x-gnu": "npm:0.0.16" + "@oxc-node/core-linux-x64-gnu": "npm:0.0.16" + "@oxc-node/core-linux-x64-musl": "npm:0.0.16" + "@oxc-node/core-wasm32-wasi": "npm:0.0.16" + "@oxc-node/core-win32-arm64-msvc": "npm:0.0.16" + "@oxc-node/core-win32-ia32-msvc": "npm:0.0.16" + "@oxc-node/core-win32-x64-msvc": "npm:0.0.16" dependenciesMeta: "@oxc-node/core-android-arm-eabi": optional: true @@ -10251,7 +10252,7 @@ __metadata: optional: true "@oxc-node/core-win32-x64-msvc": optional: true - checksum: 10/16aabb772170450e115e95191a47920d901701675b22a4f0c1a58d8d7900632107a823b849848b1ba96e1fbdddf32ad56451a8caeafb1f321beb9e9559aa3318 + checksum: 10/aecafd078baa2440306d33e4ccd6b5c911be17a4297f3828202d81ebf01ddaea35ec64f94f20a89cdaf57d1b4f9a68e3e5f3fcf241b0fa3223060ae9e746e1c8 languageName: node linkType: hard @@ -30514,7 +30515,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^3.1.1, schema-utils@npm:^3.2.0": +"schema-utils@npm:^3.2.0": version: 3.3.0 resolution: "schema-utils@npm:3.3.0" dependencies: @@ -30525,7 +30526,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^4.0.0, schema-utils@npm:^4.2.0": +"schema-utils@npm:^4.0.0, schema-utils@npm:^4.2.0, schema-utils@npm:^4.3.0": version: 4.3.0 resolution: "schema-utils@npm:4.3.0" dependencies: @@ -30654,7 +30655,7 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.1, serialize-javascript@npm:^6.0.2": +"serialize-javascript@npm:^6.0.2": version: 6.0.2 resolution: "serialize-javascript@npm:6.0.2" dependencies: @@ -32243,15 +32244,15 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.10": - version: 5.3.10 - resolution: "terser-webpack-plugin@npm:5.3.10" +"terser-webpack-plugin@npm:^5.3.10, terser-webpack-plugin@npm:^5.3.11": + version: 5.3.11 + resolution: "terser-webpack-plugin@npm:5.3.11" dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.20" + "@jridgewell/trace-mapping": "npm:^0.3.25" jest-worker: "npm:^27.4.5" - schema-utils: "npm:^3.1.1" - serialize-javascript: "npm:^6.0.1" - terser: "npm:^5.26.0" + schema-utils: "npm:^4.3.0" + serialize-javascript: "npm:^6.0.2" + terser: "npm:^5.31.1" peerDependencies: webpack: ^5.1.0 peerDependenciesMeta: @@ -32261,11 +32262,11 @@ __metadata: optional: true uglify-js: optional: true - checksum: 10/fb1c2436ae1b4e983be043fa0a3d355c047b16b68f102437d08c736d7960c001e7420e2f722b9d99ce0dc70ca26a68cc63c0b82bc45f5b48671142b352a9d938 + checksum: 10/a8f7c92c75aa42628adfa4d171d4695c366c1852ecb4a24e72dd6fec86e383e12ac24b627e798fedff4e213c21fe851cebc61be3ab5a2537e6e42bea46690aa3 languageName: node linkType: hard -"terser@npm:^5.10.0, terser@npm:^5.26.0": +"terser@npm:^5.10.0, terser@npm:^5.31.1": version: 5.37.0 resolution: "terser@npm:5.37.0" dependencies: