- Notifications
You must be signed in to change notification settings - Fork476
fix: Correct the 'build' command in the package.json file.#394
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The package.json file is located at template/config/typescript/package.json.
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.
It fixes commands likenpm run build -- --sourcemap
, but it no longer works withpnpm run build --sourcemap
because it adds an extra--
@sodatea WDYT?
Ah, I didn't consider pnpm and yarn. After testing, yarn performs the best – it passes parameters as expected regardless of whether |
Yes, that's why I don't know if we should change the default or not, or maybe there is a way to make it work with all package managers? |
Yeah, I think this should be resolved in the upstream |
ayu-exorcist commentedJul 3, 2024
I resolved it in thebcomnes/npm-run-all2#143. We can run |
ayu-exorcist commentedJul 4, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Already merged in We can try to merge this PR now! |
bcomnes commentedJul 4, 2024
Turns out this was a breaking change so I reverted. I need to consider this change a little bit more and at a minimum, put it out in a major release with notes on upgrading. |
Uh oh!
There was an error while loading.Please reload this page.
The package.json file is located at template/config/typescript/package.json.
run-p type-check \"build-only {@}\" --
->run-p type-check \"build-only -- {@}\" --
#393