Skip to content

Commit

Permalink
docs(instructions): add instructions on how to run the scripts #32
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Aug 28, 2023
1 parent 57c0a05 commit 9baa849
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/syncAllTemplates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## How to Run the `syncAllTemplates.mjs` Script

To run the `syncAllTemplates.mjs` script, you will need to add a new node script into the linked component and point that to the `syncAllTemplates.mjs` file. You can individually run the workflow configurations by pointing to the `syncAllTemplates.mjs` file and adding a `--github` parameter after the path. The same can be done for the linter configurations by adding a `--linters` parameter.

### Example Calls

```
// Default
./node_modules/@aurodesignsystem/auro-library/scripts/setup/syncAllTemplates.mjs
```

```
// Only sync github workflow templates
./node_modules/@aurodesignsystem/auro-library/scripts/setup/syncAllTemplates.mjs --github
```

```
// Only sync linter configuration templates
./node_modules/@aurodesignsystem/auro-library/scripts/setup/syncAllTemplates.mjs --linters
```

0 comments on commit 9baa849

Please sign in to comment.