2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-15 17:27:08 +00:00

Fix failing to install due to app yarn install

Actually not sure this will work, but let's try.
If that works, that means we're back to pre-
https://github.com/jiahaog/nativefier/pull/898#issuecomment-583865045 ,
with a 60s timeout due to npm bug https://github.com/npm/cli/issues/757

Looking at a real fix, potentially coming back to `webpack` the app.
This commit is contained in:
Ronan Jouchet 2020-03-15 20:54:21 -04:00
parent dbf12e4f78
commit f1f6dda4d1

View File

@ -39,7 +39,7 @@
"lint:format": "prettier --write 'src/**/*.js' 'app/src/**/*.js'", "lint:format": "prettier --write 'src/**/*.js' 'app/src/**/*.js'",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"list-outdated-deps": "npm out; cd app && npm out; true", "list-outdated-deps": "npm out; cd app && npm out; true",
"postinstall": "cd app && yarn install --no-lockfile --no-progress --silent", "postinstall": "cd app && echo '***** Installation will take 60s to finish, this is a bug ( https://github.com/jiahaog/nativefier/issues/923 ) that will be addressed in a future release. For now, have a cup of tea. *****' && npm install --no-package-lock --no-audit --silent",
"test:integration": "jest --testRegex '.*integration-test.js'", "test:integration": "jest --testRegex '.*integration-test.js'",
"test:manual": "npm run build && ./docs/manual-test", "test:manual": "npm run build && ./docs/manual-test",
"test:unit": "jest", "test:unit": "jest",
@ -69,8 +69,7 @@
"sanitize-filename": "1.x", "sanitize-filename": "1.x",
"shelljs": "0.x", "shelljs": "0.x",
"source-map-support": "0.x", "source-map-support": "0.x",
"tmp": "0.x", "tmp": "0.x"
"yarn": "1.x"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "25.x", "@types/jest": "25.x",