dicksonhk
dicksonhk
Based on @chrisbull 's idea, this script does the same thing faster by not going inside any node_modules directories found (coz the whole node_modules directory had already been ignored) ```...
> For those using @dicksonhk's answer (thanks!) on MacOS, you have to have a dot or other directory after the command "find". > > Maybe the same for other linux....
Remove the "path" component from the URI fragment of your `.npmrc` file auth config, so the credential is scoped to the host instead of a specific path: ``` //your_gitlab_host/:_authToken=${NPM_TOKEN} ```...