on 07-12-2020 10:42 AM
Hi,
The best practice seems to be to commit the file "package-lock.json" into the source repository, looking at:
https://docs.npmjs.com/files/package-lock.json
but the command "cds init" insert the line "package-lock.json" into .gitignore, why?
Use case: I have a solution not yet published in production so no shrinkwrap yet, I removed the sap npm registry and done npm update, I wanted to check the changes to packages-lock.json but I discovered was not under versioning.
Thanks
Best Regards,
Sam
Hi Sam,
That will be fixed with the next release. Please follow the changelog to see that the change has been made.
Best regards,
Iwona
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.