Skip to content

Replaces yarn with npm#170

Open
EdmundMai wants to merge 5 commits into
masterfrom
em-use-npm
Open

Replaces yarn with npm#170
EdmundMai wants to merge 5 commits into
masterfrom
em-use-npm

Conversation

@EdmundMai

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread .travis.yml
- CC_TEST_REPORTER_ID=0be009d55f19435b5d362efac7afcdc532945bbc13527c285135c5e7b84f4e3c
cache:
yarn: true
directories:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still want to cache this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread .travis.yml
- ./cc-test-reporter before-build
script:
- yarn && yarn test:coverage
- npm run test:coverage

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still need to install dependencies with npm ci. Might make sense to create an install step in travis so it can cache the install steps.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm, I see you updated it. Didn't we want to use npm ci? Also still might make sense to do that in the install step instead of script so travis can cache it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread webnode/README.md

```
yarn start
npm start

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't these commands become npm run ...?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are a few reserved words that just run without needing to add run

@CKH4

CKH4 commented Nov 14, 2018

Copy link
Copy Markdown

Is yarn.lock added to .gitignore?

@EdmundMai

Copy link
Copy Markdown
Contributor Author

@CKH4 I am completely removing yarn, so there should no longer be a yarn.lock file

@CKH4

CKH4 commented Nov 14, 2018

Copy link
Copy Markdown

I think we should blacklist yarn.lock so that we only have the preferred lock file in the repo. @EdmundMai @AaronVasquez What do you think?

@EdmundMai

Copy link
Copy Markdown
Contributor Author

@CKH4 I don't think it'll be necessary since we're just not going to use yarn + package-lock.json will be there so it will indicate we use npm

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

Successfully merging this pull request may close these issues.

3 participants