Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

apm ci #806

Merged
merged 16 commits into from
Aug 7, 2018
Merged

apm ci #806

merged 16 commits into from
Aug 7, 2018

Conversation

smashwilson
Copy link
Contributor

Updating node and npm in #796 allows us to create package-lock.json files, but nothing is currently reading them. Calling apm install will only write a new lockfile if anything in the dependency tree has changed. Moderately useful for knowing when a dependency range is picking up a new version or when a transitive dependency has been updated, but not useful for creating reproducible builds (I'm looking at you, sporadically recurring "string_decoder" bug).

This pull request adds apm ci as an analogue to npm ci. When package-lock.json is present and synchronized with the dependencies in package.json, it blows away your node_modules/ and installs the exact, locked versions.

Copy link
Contributor

@daviwil daviwil left a comment

Choose a reason for hiding this comment

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

Looks great, nice work! :shipit:

@smashwilson smashwilson merged commit 21686a8 into master Aug 7, 2018
@smashwilson smashwilson deleted the aw/apm-ci branch August 7, 2018 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants