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

Sync package-lock.json after engines revision #268

Merged
merged 3 commits into from
Oct 29, 2021
Merged

Conversation

aduth
Copy link
Member

@aduth aduth commented Oct 29, 2021

Issue introduced via: #266

Why: Because otherwise there are uncommitted changes on main when running npm install in a fresh clone.

Linting already existed for this, but was not being run in CircleCI.

**Why**: Because otherwise there are uncommitted changes on main when running `npm install` in a fresh clone.

Linting already existed for this, but was not being run in CircleCI.
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

Apparently it's needed (for testing that built components include all expected USWDS components)

See also: npm prelint script
**Why**: CircleCI convenience image for Ruby includes older version of NPM predating lockfileVersion 2, and therefore complains about changes
@@ -8,8 +8,22 @@ executors:
BUNDLER_VERSION: 2.2.20

commands:
node-install:
Copy link
Member Author

@aduth aduth Oct 29, 2021

Choose a reason for hiding this comment

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

Pulled from equivalent IdP configuration (18F/identity-idp#5227). Needed because by default, the CircleCI Ruby convenience image uses an older version, with an old NPM not capable of handling the NPM>=7 lockfileVersion: 2.

@aduth aduth merged commit c6b557b into main Oct 29, 2021
@aduth aduth deleted the aduth-sync-package-lock branch October 29, 2021 16:25
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