fix(ci): regenerate lockfile for cross-platform optional deps
npm/cli#4828 caused package-lock.json to prune platform variants not matching the local OS. Regenerated from scratch so Windows CI gets @tauri-apps/cli-win32-x64-msvc and lightningcss-win32-x64-msvc. Removed the lightningcss Windows install workaround from desktop workflow. Removed deprecated asyncRequireModulePath from metro config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
cf148ba3af
commit
02d74777b2
@@ -334,13 +334,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install Lightning CSS Windows binary
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
version="$(node -p "require('./package.json').overrides.lightningcss")"
|
|
||||||
npm install --no-save "lightningcss-win32-x64-msvc@${version}"
|
|
||||||
|
|
||||||
- name: Build web app for Tauri
|
- name: Build web app for Tauri
|
||||||
run: npm run build:web --workspace=@getpaseo/app
|
run: npm run build:web --workspace=@getpaseo/app
|
||||||
|
|
||||||
|
|||||||
Generated
+9409
-3447
File diff suppressed because it is too large
Load Diff
@@ -13,9 +13,6 @@ const customWebPlatform = (process.env.PASEO_WEB_PLATFORM ?? "")
|
|||||||
|
|
||||||
const config = getDefaultConfig(projectRoot);
|
const config = getDefaultConfig(projectRoot);
|
||||||
const defaultResolveRequest = config.resolver.resolveRequest ?? resolve;
|
const defaultResolveRequest = config.resolver.resolveRequest ?? resolve;
|
||||||
config.transformer.asyncRequireModulePath = require.resolve(
|
|
||||||
"@expo/metro-config/build/async-require"
|
|
||||||
);
|
|
||||||
|
|
||||||
function isLocalModuleImport(moduleName) {
|
function isLocalModuleImport(moduleName) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user