Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: make scripts windows compatible #9186

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rigor789
Copy link
Member

@rigor789 rigor789 commented Feb 1, 2021

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

@cla-bot cla-bot bot added the cla: yes label Feb 1, 2021
@vallemar
Copy link
Contributor

I have applied the changes it has in this PR but it keeps failing, I have changed this one: "postpack": "rm -rf node_modules" to "postpack": "npx rimraf - node_modules" but now one change that you have in the PR continues to fail.

//mv * return error
"commands": ["npm run setup", "npx mkdirp ../../dist/packages", "npm pack", "mv * .tgz ../../dist/packages/nativescript-webpack.tgz "],

@rigor789
Copy link
Member Author

@vallemar yeah, that mv * may not work across the board - I believe it works with the new Terminal app + PowerShell, but not perfect. Probably needs a small node script to do the move, since the filename changes based on the version in package.json...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants