Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created June 17, 2021 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/edebb26f6d5aa6f0fa6121a8b9cc8084 to your computer and use it in GitHub Desktop.
Save isaacs/edebb26f6d5aa6f0fa6121a8b9cc8084 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
rm -rf node_modules .git package-lock.json package.json .gitignore
git init
echo {} > package.json
echo node_modules > .gitignore
npm i optoolco/tonic#v13.3.2
git add .
git commit -m 'wip'
# then
npm i optoolco/tonic#v13.3.1
git diff
npm -v
@isaacs
Copy link
Author

isaacs commented Jun 17, 2021

Expect to see the change in version/resolved values as with https://gist.github.com/isaacs/635b8b128d547a3c50abbe7a0e0238ba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment