Closed rotty3000 closed 2 years ago
To be even more clear this is an improvement so that in the future if we update scimgateway dependency it doesn't re-add all those files, which means I can safely delete all the ones we don't use. :)
I will look into this in the next update
Thanks, Jarle
Maybe better to skip postinstall script if config and lib directory exists Jarle
That is one option, there is also ability to send command line parameters to npm scripts
.
Using the ability for
.npmrc
properties to be available viaprocess.env
, add a check for a property which can disable postinstall script to simplify keeping up to date.PR on it's way...
Why is this useful
this is what I added to the README:
When maintaining a set of modifications it useful to disable the postinstall operations to keep your changes intact by setting the property
scimgateway_postinstall_skip = true
in.npmrc
.What problem it solves
to not have (allows me to delete) plugins and integrations with databases I don’t use