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

Removed skrinkwrap File #124

Merged
merged 2 commits into from
Oct 27, 2017
Merged

Removed skrinkwrap File #124

merged 2 commits into from
Oct 27, 2017

Conversation

hiranya911
Copy link
Contributor

Migrating from npm-shrinkwrap.json to package-lock.json. This file is far more stable than the shrinkwrap, and it cannot be published with releases. Users who install firebase-admin will get the dependencies as stated in our package.json file. Package lock also gets automatically updated when we update the package.json file.

Copy link

@jshcrowthe jshcrowthe left a comment

Choose a reason for hiding this comment

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

One comment, but this looks good if you don't want to do anything different.

# REINSTALL DEPENDENCIES #
############################
echo "[INFO] Removing lib/, and node_modules/..."
rm -rf lib/ node_modules/

Choose a reason for hiding this comment

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

Does it make sense to, since you're trying to clean install here, just do:

git clean -xdf

And just prune everything that doesn't exist by default in the git tree?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a good suggestion. But I think we need to add a few more entries to .gitignore before we do this. Will do as a separate PR.

@hiranya911 hiranya911 assigned hiranya911 and unassigned jshcrowthe Oct 27, 2017
@hiranya911 hiranya911 merged commit f45ab51 into master Oct 27, 2017
@hiranya911 hiranya911 deleted the hkj-remove-shrinkwrap branch October 27, 2017 23:45
@hiranya911
Copy link
Contributor Author

Related to #121

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.

2 participants