Be able to use only local .clasprc.json for CI environments
Ignores completely the local file and prefers the one on the user folder, which is not CI friendly.
~/.clasprc.json to ./ (your project folder)clasp versions, clasp deploy, etc...node -v): v10.13.0clasp -v): 1.7.0It would be great if the one at the user folder would be something like a fallback/merge as .gitignore or .npmrc does.
Hey @johnnyasantoss, I hear you, but I think this issue is already being tracked in other issues.
Having the same issue local .clasprc.json handling is fully broken.
This is broken since introduction of the local parameter here:
https://github.com/google/clasp/blob/cc6673905c69f7ee364d07ab68ccecf6eae3f0f6/src/auth.ts#L189
As the local parameter is never set (and therefore is always false), the global config is always used.
This is not related to service account usage as described in #225 but a breakage introduced in 87a48109. @grant please re-open this and treat as a bug, not a feature-request.
I've opened this issue asking for local credential support.
Still has the same issue for 2.3.0. Any work around?
This seems to be related to #42 and should probably be merged.
There was previously a discussion about adding a --local parameter here.
I'm still running 1.7.0 due to this feature missing...
Try replacing @google/clasp 2.3.0 with forked-clasp which is more advanced: https://github.com/PopGoesTheWza/clasp/blob/forked/docs/config-files.md
npm uninstall -g @google/clasp
npm install -g forked-clasp
Most helpful comment
I've opened this issue asking for local credential support.