Skip to content

Commit

Permalink
chore: add plop [WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Diedra committed Mar 25, 2021
1 parent 33ab184 commit 33d5dc0
Show file tree
Hide file tree
Showing 19 changed files with 1,184 additions and 284 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
},
{
"files": ["config.js", "*.config.js", "main.js"],
"files": ["config.js", "*.config.js", "main.js", "plopfile.js"],
"env": {
"browser": false,
"node": true
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ To build all packages you can run
npx lerna run build
```

### Add a new component
From the directory root, run
```bash
plop
```
and enter the component name.

If you get an error message with `command not found: plop`, try
```bash
npx plop
```
and enter the component name.

### Adding a new package

This isn't something we'll be doing every day
Expand Down
Loading

0 comments on commit 33d5dc0

Please sign in to comment.