Skip to content

Commit

Permalink
Adjust postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanregisser committed Jan 10, 2025
1 parent 4f39926 commit a7b94cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"format:check": "prettier --check .",
"check-licenses": "yarn licenses list --prod | grep '\\(─ GPL\\|─ (GPL-[1-9]\\.[0-9]\\+ OR GPL-[1-9]\\.[0-9]\\+)\\)' && echo 'Found GPL license(s). Use 'yarn licenses list --prod' to look up the offending package' && exit 1 || echo 'No GPL licenses found'",
"knip:depcheck": "knip --include dependencies",
"postinstall": "patch-package"
"postinstall": "patch-package && cp packages/runtime/secrets.json.template packages/runtime/secrets.json"
},
"dependencies": {
"@jambit/eslint-plugin-typed-redux-saga": "^0.4.0",
Expand Down
1 change: 0 additions & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"generate-release-notes": "ts-node ./scripts/generate-release-notes.ts",
"deploy:update-disclaimer": "yarn licenses generate-disclaimer --prod > src/account/LicenseDisclaimer.txt && ./scripts/copy_license_to_android_assets.sh",
"//postinstall": "patch-package && yarn keys:decrypt && ./scripts/copy_license_to_android_assets.sh",
"postinstall": "cp secrets.json.template secrets.json",
"keys:decrypt": "bash scripts/key_placer.sh decrypt",
"keys:encrypt": "bash scripts/key_placer.sh encrypt"
},
Expand Down

0 comments on commit a7b94cd

Please sign in to comment.