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

Commit

Permalink
feat: added a prepped yarn.lock to speed up resolving the packages.
Browse files Browse the repository at this point in the history
If there are differences yarn should detect that and still be faster.
  • Loading branch information
sekwah41 committed Apr 1, 2023
1 parent fca19d9 commit e3fa418
Show file tree
Hide file tree
Showing 2 changed files with 5,673 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"extract": "node src/extract.js",
"patch-package": "cd app && rm -f ../moba-package-backup.json && cp package.json ../moba-package-backup.json && patch -i ../package.diff",
"yar": "cd app && diff -uaN ../moba-package-backup.json package.json > ../package.diff || true",
"postextract": "yarn patch-package && cd app && yarn install --production",
"postextract": "yarn patch-package && cd app && cp ../prepped-yarn.lock yarn.lock && yarn install --production && cp yarn.lock ../prepped-yarn.lock",
"dist": "electron-builder --config electron-builder/config.js",
"reset-and-build": "yarn new-gen-patches && yarn reset-and-apply-patch && yarn dist",
"postinstall": "yarn setup",
Expand Down
Loading

0 comments on commit e3fa418

Please sign in to comment.