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

fix(shrinkwrap): remove shrinkwrap file #342

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

nicojs
Copy link
Contributor

@nicojs nicojs commented Jul 5, 2024

The shrinkwrap file is no longer needed... ?

Closes #277
Closes #341

The shrinkwrap file is no longer needed... ?
@astefanutti
Copy link
Owner

Could you remove the reference to the shrinkwrap file from the Dockefile please?

@nicojs
Copy link
Contributor Author

nicojs commented Jul 8, 2024

Ah yes. I did. I've also updated the node version in docker (to 20.15).

COPY libs libs/
COPY plugins plugins/
COPY decktape.js ./

RUN npm install
RUN npm ci --omit=dev
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By switching to ci --omit=dev we achieve 2 things:

  1. The docker pipeline fails when the lock-file is out of sync with the package.json file.
  2. We omit playwright and other devDependencies from installing

@astefanutti astefanutti merged commit e29b1c1 into astefanutti:master Jul 8, 2024
2 checks passed
@nicojs nicojs deleted the fix/remove-shrinkwrap-file branch July 9, 2024 07:02
@nicojs
Copy link
Contributor Author

nicojs commented Aug 12, 2024

A friendly reminder to please create a release when you have the time @astefanutti 😘

@astefanutti
Copy link
Owner

@nicojs apologies for the delay. I've just released v3.14.0.

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.

Bug: npm ci doesn't work with [email protected] Dependencies are not hoisted
2 participants