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

Change scripts #4

Open
DaniGuardiola opened this issue May 30, 2018 · 1 comment
Open

Change scripts #4

DaniGuardiola opened this issue May 30, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@DaniGuardiola
Copy link

Some scripts can call other scripts via yarn.

For example, "docs": "yarn -s code-doc && yarn -s api-doc".

I guess the possible flags can complicate it a bit. The -s flag is for silent.

@wearhere wearhere added the enhancement New feature or request label Jun 1, 2018
@wearhere
Copy link
Contributor

wearhere commented Jun 1, 2018

Yeah I'm not sure if we'd want to try to automatically update them. Rather, the script currently suggests that the user updates the scripts and prints them out to see if that's needed:

deyarn/src/index.js

Lines 93 to 94 in 24b36ed

console.log(' 1. Update package.json scripts to use npm if necessary:');
console.log(' ', chalk.cyan(JSON.stringify(packageJson.get('scripts'))));
. We'd look at a PR though!

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

No branches or pull requests

2 participants