Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Add shx for better cross-platform compatibility
Browse files Browse the repository at this point in the history
macOS errors with cp -n when there is an existing file.
  • Loading branch information
domdomegg committed Jul 12, 2023
1 parent b62969a commit c7a5907
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
83 changes: 83 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:watch": "vitest",
"deploy:prod": "VERCEL_PROJECT_ID=prj_OMSHY9c0ikY9jOyAvTD3FlP5FF9z VERCEL_ORG_ID=QbqUU7VQwMWpjbDCLDlR6ArA npm run _deploy:vercel",
"_deploy:vercel": "vercel build --yes --prod --token=$VERCEL_TOKEN && vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN",
"postinstall": "cp -n .env.template .env.local"
"postinstall": "shx cp -n .env.template .env.local"
},
"dependencies": {
"@heroicons/react": "^2.0.16",
Expand All @@ -35,6 +35,7 @@
"oidc-client": "^1.11.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"shx": "^0.3.4",
"typescript": "4.9.4",
"vercel": "^28.15.6",
"vitest": "^0.29.2"
Expand Down

0 comments on commit c7a5907

Please sign in to comment.