-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: running bash scripts on windows #138
Conversation
v-gevak
commented
Jul 11, 2022
- Исправил команду postinstall, так как не работала на OS Windows.
- Добавил пункт в Readme с описанием того, как запускать bash скрипты на OS windows.
d1269aa
to
060ae7c
Compare
Собрана новая демка. |
Pull Request Test Coverage Report for Build 2689726344
💛 - Coveralls |
060ae7c
to
993f300
Compare
Собрана новая демка. |
packages/with-suffix/package.json
Outdated
@@ -10,7 +10,7 @@ | |||
"dist" | |||
], | |||
"scripts": { | |||
"postinstall": "node ./dist/send-stats.js > /dev/null 2>&1 || exit 0" | |||
"postinstall": "(node -e \"if (!require('fs').existsSync('./dist/send-stats.js')){process.exit(0)}else{require('./dist/send-stats.js')} \")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А как send-stats может не существовать?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
send-stats.js в build.sh из bin копируется в dist. Т.е в собранных пакетах он есть, а в самом репо нет.
993f300
to
c02a00c
Compare
Собрана новая демка. |
🎉 This PR is included in version 28.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |