Skip to content

Commit

Permalink
chore: remove @remirror/playground (remirror#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue authored Aug 18, 2021
1 parent 6ea6c38 commit 25177d8
Show file tree
Hide file tree
Showing 49 changed files with 10 additions and 8,989 deletions.
5 changes: 0 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
- any:
[
'packages/{remirror,@remirror}/**/*.{ts,tsx,json}',
'!packages/remirror__playground/**/*',
'!packages/remirror__cli/**/*',
'**/*.spec.{ts,tsx}',
]
Expand Down Expand Up @@ -66,9 +65,6 @@
'!**/*.spec.{ts,tsx}',
]

'type: playground :joystick:':
- any: ['packages/remirror__playground/**/*.{ts,tsx,json}', 'website/src/pages/playground.tsx']

'type: docs :pencil:':
- any: ['docs/**/*.{md.mdx}', '**/readme.{md,mdx}']

Expand All @@ -85,7 +81,6 @@
- any:
[
'support/**/*',
'!website/src/pages/playground.tsx',
'!test/**',
'!support/actions/**',
'!support/azure/**',
Expand Down
10 changes: 4 additions & 6 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,17 +176,15 @@ If you're modifying a package and import helpers from another packages in the mo
### General
This project uses [`preconstruct`](https://github.com/preconstruct/preconstruct) to manage builds. Each time the project is installed `preconstruct dev` is run which automatically sets the dist folder with entry points mapping to the source files of the package. This is really useful for development and except for one exception when working on the playground is all you need.
This project uses [`preconstruct`](https://github.com/preconstruct/preconstruct) to manage builds. Each time the project is installed `preconstruct dev` is run which automatically sets the dist folder with entry points mapping to the source files of the package. This is really useful for development and except for one exception when working on the Storybook is all you need.
### Playground
Working on the playground requires the docs to be started.
### Storybook
```bash
pnpm run docs
pnpm run storybook
```
When run this builds all packages and then watch for changes to rebuild as necessary.
When run this builds all packages and then watch for changes to reload as necessary.
<br />
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"checks": "run-s lint typecheck:quick test",
"checks:disable": "rimraf ./.config.json",
"checks:enable": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
"checks:fix": "run-s -c fix typecheck test build size generate:playground build:dev",
"checks:fix": "run-s -c fix typecheck test build size build:dev",
"checks:release": "run-s checks build e2e",
"clean": "pnpm if-clean git clean -- -fdx --exclude=.config.json --exclude=node_modules --exclude=**/node_modules",
"clean:all": "git clean -fdX --exclude='.config.json'",
Expand Down Expand Up @@ -50,7 +50,6 @@
"generate:exports": "pnpm run fix:exports -- --force",
"generate:icons": "node support/scripts/generate-icons",
"generate:intl": "node support/scripts/generate-intl",
"generate:playground": "node support/scripts/generate-playground",
"generate:size": "node support/scripts/generate-configs --size",
"generate:ts": "node support/scripts/generate-configs --ts-packages",
"if-clean": "node support/scripts/run-if-clean",
Expand Down
Loading

0 comments on commit 25177d8

Please sign in to comment.