Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

[Design]Update CI configs to use node 10 #582

Closed
wants to merge 3 commits into from
Closed

Conversation

ryanbrandenburg
Copy link
Contributor

No description provided.

@ryanbrandenburg
Copy link
Contributor Author

@SteveSandersonMS is that all there is to it? I feel like I must be missing something, otherwise the only work here is on the build/only end.

@SteveSandersonMS
Copy link
Member

@ryanbrandenburg It's totally believable to me that this is all you need. There shouldn't be any code changes needed, since Node 10 should easily be back-compatible with (say) Node 8 for the cases we need.

@ryanbrandenburg
Copy link
Contributor Author

Upgrading to node 10 seems to break angular for mac. The suggested fixes seem to be 1) Don't check in package-lock.json files. 2) Use a version of npm that won't complain.

I'm not sure it's worth it to solve this problem. So far as I know there's no product reason why we should use node 10 over node 8, and it's a build-time only change anyway. @SteveSandersonMS thoughts?

@SteveSandersonMS
Copy link
Member

I agree that there's no pressing reason to use Node 10 in CI, so if it's not stable yet I suggest we stay on v8. Thanks for looking into it though!

New versions of Node often aren't stable, at least in the sense that NPM doesn't usually ship a compatible new version on the same day. We should wait it out until this is resolved.

Don't check in package-lock.json files

We definitely should include package-lock.json in source control, otherwise we're not getting any benefit from package-lock.json at all. The point of it is to ensure deterministic restores rather than picking up whatever random collection of transitive dependencies happens to be latest on each restore.

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

Successfully merging this pull request may close these issues.

2 participants