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:
Mohamed Boudra
2026-03-09 15:42:35 +07:00
parent cf148ba3af
commit 02d74777b2
3 changed files with 9412 additions and 3460 deletions

View File

@@ -334,13 +334,6 @@ jobs:
env:
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
run: npm run build:web --workspace=@getpaseo/app

12862
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,9 +13,6 @@ const customWebPlatform = (process.env.PASEO_WEB_PLATFORM ?? "")
const config = getDefaultConfig(projectRoot);
const defaultResolveRequest = config.resolver.resolveRequest ?? resolve;
config.transformer.asyncRequireModulePath = require.resolve(
"@expo/metro-config/build/async-require"
);
function isLocalModuleImport(moduleName) {
return (