build(docs-infra): simplify update workflow for CLI-based docs examples boilerplate (#38992)
When updating the boilerplate for CLI-based docs examples, one needed to install dependencies inside the `aio/tools/examples/shared/boilerplate/cli/` directory, which resulted in a `node_modules/` directory and a `yarn.lock` file. These were not supposed to be part of the boilerplate, so they had to be manually removed after the boilerplate was updated. This commit simplifies the workflow by allowing boilerplate files to be ignored (both by git and the `example-boilerplate.js` script) via a `.gitignore` file. This way, it is no longer necessary to manually remove the unneeded directories/files. PR Close #38992
This commit is contained in:

committed by
Alex Rickabaugh

parent
37ed4bd9ff
commit
f6052a915d
@ -1,2 +1,3 @@
|
||||
**/node_modules/
|
||||
**/package-lock.json
|
||||
**/yarn.lock
|
||||
**/package-lock.json
|
Reference in New Issue
Block a user