-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Summary
When running npx @google/aside init -y, the generated .gitignore includes .clasp*.json, which causes .clasp-dev.json and .clasp-prod.json to be ignored by git.
Reproduction
$ npx @google/aside init -y
✔ Adding scripts...
✔ Saving package.json...
✔ Installing dependencies...
✔ Installing src template...
✔ Installing test template...
✔ Creating Untitled...
...
Make sure to run npm install to install all the Angular UI dependencies
$ grep 'clasp' .gitignore
.clasp*.json- In the
@google/asiderepository, thepackage.json#copy-filesscript copies aside's own.gitignoretodist/.gitignore-targetwhen runningnpm run build. - In user projects,
npx @google/aside init -yexecuteshandleConfigMerge, which copiesnode_modules/@google/aside/dist/.gitignore-targetto./.gitignore.
Question
If these files are gitignored, team members cannot share the scriptId for dev/prod environments.
Is this the intended behavior?
If so, what is the recommended workflow for teams sharing a project?
Metadata
Metadata
Assignees
Labels
No labels