X Tutup
The Wayback Machine - https://web.archive.org/web/20260214202404/https://github.com/NativeScript/NativeScript/pull/9186
Skip to content

chore: make scripts windows compatible#9186

Draft
rigor789 wants to merge 1 commit intomainfrom
rigor789/fix-windows-workspace
Draft

chore: make scripts windows compatible#9186
rigor789 wants to merge 1 commit intomainfrom
rigor789/fix-windows-workspace

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

X Tutup