Skip to content

Update package.json and package-lock.json #204

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

Closed
wants to merge 2 commits into from

Conversation

mattkram
Copy link
Contributor

@mattkram mattkram commented May 4, 2022

When running npm install using npm v18.0.0, I was greeted with these warnings:

image

The lockfile was updated.

I also noticed the name and version were incorrect in package.json. I made an assumption on the version number, but knew 1.0.0 was definitely not correct.

Copy link
Contributor

@verhulstm verhulstm left a comment

Choose a reason for hiding this comment

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

looks good to me

@fpliger fpliger added duplicate This issue or pull request already exists status: superseded PR that has been superseded by another PR labels May 5, 2022
@fpliger
Copy link
Contributor

fpliger commented May 5, 2022

@mattkram , the PR looks great but I already updated dependencies as part of #207 so, I'll close this one as duplicate. Feel free to lmk if it doesn't seem right to you...

@fpliger fpliger closed this May 5, 2022
@mattkram
Copy link
Contributor Author

mattkram commented May 5, 2022

@fpliger this PR actually contained two commits and I did not upgrade any dependencies.

  1. I re-locked dependencies with an updated version of npm
  2. I fixed the name and version of pyscript JS package itself. I believe the other one was an autogenerated default.

We could definitely roll back 1 but I think 2 is worth doing.

Also, re: 1 I'm not sure what the guidance is for committing lockfiles anyway for JS libraries (as opposed to apps). In Python, I generally wouldn't store the lock file in the repo for a library, but that is up for discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists status: superseded PR that has been superseded by another PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants