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

build: replace npm with yarn - part 2 #19366

Closed
wants to merge 1 commit into from

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Sep 25, 2017

PR Type

What kind of change does this PR introduce?

[x] Build related changes

What is the current behavior?

I forgot to replace some npm commands with yarn in my previous PR

What is the new behavior?

Yarn all the way.
I also updated yarn to 1.1.0 which was just released and has a much better support for peer dependencies (see yarnpkg/yarn#4478)

Does this PR introduce a breaking change?

[x] No

@ocombe ocombe added area: build & ci Related the build and CI infrastructure of the project action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release labels Sep 25, 2017
@mary-poppins
Copy link

You can preview 588d4b0 at https://pr19366-588d4b0.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 04e3d02 at https://pr19366-04e3d02.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 4ed8e53 at https://pr19366-4ed8e53.ngbuilds.io/.

@ocombe ocombe changed the title build: replace npm with yarn build: replace npm with yarn - part 2 Sep 25, 2017
package.json Outdated
@@ -104,6 +104,6 @@
"webpack": "1.12.9",
"xhr2": "0.1.4",
"yargs": "9.0.1",
"yarn": "1.0.2"
"yarn": "1.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we have a local yarn? that seems wrong. Can't we just always use the global?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we probably can yes, I'll check

@@ -10,4 +10,4 @@ echo "#################################"

yarn install

npm run test
yarn test || exit 1
Copy link
Contributor

Choose a reason for hiding this comment

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

why "|| exit 1" ? we already have "set -e" at the top

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah I didn't know what set -e did, I'll remove the exit 1 then (I put it there because it was used in the integration tests I think)

@IgorMinar IgorMinar added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 4, 2017
@ocombe ocombe force-pushed the build-changes branch 3 times, most recently from ffa7777 to 837827b Compare October 5, 2017 22:28
@mary-poppins
Copy link

You can preview 837827b at https://pr19366-837827b.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 2c18056 at https://pr19366-2c18056.ngbuilds.io/.

@IgorMinar
Copy link
Contributor

@ocombe, isn't this obsolete? if so can you please close it?

@ocombe ocombe closed this Nov 2, 2017
@ocombe ocombe deleted the build-changes branch November 2, 2017 10:20
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews area: build & ci Related the build and CI infrastructure of the project cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants