fix: update package.json and package-lock.json to include optional rollup and swc dependencies for darwin arm64

This commit is contained in:
Mo Tarbin
2025-06-22 21:51:20 -04:00
parent c1321203c1
commit 76ea0c4978
2 changed files with 12 additions and 7 deletions

View File

@@ -17,11 +17,12 @@
"start": "vite --host",
"dev": "vite",
"build": "vite build",
"build-cf": "rm -rf node_modules package-lock.json && npm install && vite build",
"build-cf": "rm -rf node_modules package-lock.json && npm install --omit=optional && vite build",
"build-selfhosted": "vite build --mode selfhosted",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"setup-m1": "rm -rf node_modules package-lock.json && npm install && npm install --force @rollup/rollup-darwin-arm64 @swc/core-darwin-arm64",
"setup-apple-silicon": "npm install --force @rollup/rollup-darwin-arm64 @swc/core-darwin-arm64",
"release": "npm version patch && npm run build && git push origin develop --tags",
"merge": "git checkout main && git merge develop && git push origin main && git checkout develop",
"ionic:build": "npm run build",
@@ -49,9 +50,7 @@
"@mui/joy": "^5.0.0-beta.20",
"@mui/material": "^5.15.2",
"@openreplay/tracker": "^14.0.4",
"@rollup/rollup-darwin-arm64": "^4.44.0",
"@swc/core": "^1.12.5",
"@swc/core-darwin-arm64": "^1.12.5",
"@tanstack/react-query": "^5.17.0",
"aos": "^2.3.4",
"browser-image-compression": "^2.0.2",
@@ -84,8 +83,6 @@
"devDependencies": {
"@capacitor/assets": "^3.0.5",
"@capacitor/cli": "^7.0.0",
"@rollup/rollup-darwin-arm64": "^4.9.0",
"@swc/core-darwin-arm64": "^1.12.5",
"@tanstack/eslint-plugin-query": "^5.14.6",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
@@ -108,5 +105,9 @@
"prettier-plugin-tailwindcss": "^0.5.10",
"tailwindcss": "^3.4.0",
"vite": "^5.2.13"
},
"optionalDependencies": {
"@rollup/rollup-darwin-arm64": "^4.44.0",
"@swc/core-darwin-arm64": "^1.12.5"
}
}