Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove plop from project #1814

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ build/
lib/
lib-cjs/
coverage/
# Don't prettify plop templates (Handlebars) lest unwanted line breaks sneak in
plop-templates/
10 changes: 0 additions & 10 deletions docs/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,6 @@ Each component in this package should have:
3. Pattern-library documentation, typically in `src/pattern-library/components/patterns/{group}/{ComponentName}Page.js`
4. Exports from its module directory and the project's entrypoint

### Generating component module files

You may create modules manually, or you can use [`plop`](https://plopjs.com/) to scaffold out some starter files. Run:

```sh
$ yarn run plop
```

and follow the prompts.

### New component checklist

Before opening a PR with a new component:
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"karma-source-map-support": "^1.4.0",
"mocha": "10.8.2",
"mustache": "^4.2.0",
"plop": "^4.0.0",
"postcss": "^8.3.9",
"preact": "^10.25.1",
"prettier": "^3.0.0",
Expand All @@ -71,7 +70,6 @@
"checkformatting": "prettier --cache --check '**/*.{js,scss,ts,tsx,md}'",
"format": "prettier --cache --list-different --write '**/*.{js,scss,ts,tsx,md}'",
"test": "gulp test",
"plop": "plop",
"push": "yarn build && yalc push"
},
"prettier": {
Expand Down
1 change: 0 additions & 1 deletion plop-templates/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions plop-templates/composite-component-test.hbs

This file was deleted.

51 changes: 0 additions & 51 deletions plop-templates/composite-component.hbs

This file was deleted.

43 changes: 0 additions & 43 deletions plop-templates/pattern-library-page.hbs

This file was deleted.

19 changes: 0 additions & 19 deletions plop-templates/presentational-component-test.hbs

This file was deleted.

51 changes: 0 additions & 51 deletions plop-templates/presentational-component.hbs

This file was deleted.

6 changes: 0 additions & 6 deletions plop-templates/simple-component-test.hbs

This file was deleted.

21 changes: 0 additions & 21 deletions plop-templates/simple-component.hbs

This file was deleted.

29 changes: 0 additions & 29 deletions plop-templates/transition-component-test.hbs

This file was deleted.

32 changes: 0 additions & 32 deletions plop-templates/transition-component.hbs

This file was deleted.

Loading