Skip to content
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

bolt run is not the same as yarn run #183

Open
marcins opened this issue Jul 30, 2018 · 3 comments
Open

bolt run is not the same as yarn run #183

marcins opened this issue Jul 30, 2018 · 3 comments

Comments

@marcins
Copy link
Contributor

marcins commented Jul 30, 2018

Title Description
Version v0.20.7
Type Issue
node 10.7.0 (but also happened on Node 8)
Operating System macOS
Short Description bolt run is not equivalent to yarn run
Detailed description

We have a 'dev' script defined as "dev": "node scripts/dev/index.js", and scripts like "lint:css": "yarn dev lint:css",. Running yarn lint:css --bamboo passes the --bamboo option all the way to the dev script, running bolt lint:css --bamboo loses this option somewhere.

› yarn run lint:css --bamboo
yarn run v1.9.2
$ yarn dev lint:css --bamboo
$ node scripts/dev/index.js lint:css --bamboo
Running stylelint --custom-formatter ./node_modules/stylelint-junit-formatter "./src/**/*.js"  >test-reports/stylelint-css.xml
› bolt run lint:css --bamboo
⚡️   bolt v0.20.7 (node v10.7.0)
$ yarn dev lint:css
$ node scripts/dev/index.js lint:css
Running stylelint "./src/**/*.js"

It would be good if both commands were equivalent so that our users would need to know when to use bolt and when to use yarn and could just always use bolt.

@ajaymathur
Copy link
Member

Related to issue #90

@marcins
Copy link
Contributor Author

marcins commented Jul 30, 2018

Thanks @ajaymathur - I saw that issue but didn't make the connection that it was the related.

@sesam
Copy link

sesam commented Jun 21, 2020

With #90 closed, maybe this should also be closed? Then maybe open a separate issue about not passing -- onward to yarn, as yarn doesn't want the --

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

No branches or pull requests

3 participants