Skip to content

Commit

Permalink
chore: rename checks scripts
Browse files Browse the repository at this point in the history
Suggestion by @benjie

> `start:checks` and `stop:checks` would be better named as `checks:enable` and `checks:disable`
  • Loading branch information
ifiokjr committed Aug 1, 2020
1 parent 5f847a9 commit e638e72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ By default these checks are **not** run automatically. To enable automatic pre-c
hooks use the following command:
```bash
pnpm start:checks
pnpm checks:enable
```
To stop per-commit / per-push checks run:
```bash
pnpm stop:checks
pnpm checks:disable
```
<br />
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"check:pnpm": "node support/scripts/check-pnpm.js",
"checks": "run-s lint typecheck test",
"checks:ci": "run-s lint typecheck",
"checks:disable": "rimraf ./.config.json",
"checks:enable": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
"checks:release": "run-s checks build test:e2e",
"ci:version": "run-s symlink:root ci:version:changeset ci:version:date ci:version:repo fix:prettier ci:version:install",
"ci:version:changeset": "changeset version",
Expand Down Expand Up @@ -61,8 +63,6 @@
"reset": "pnpm clean:all; rm pnpm-lock.yaml; pnpm symlink:root; pnpm install;",
"run:prettier": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,md,mdx,json,html,css,yml,yaml,graphql}\"",
"size": "size-limit",
"start:checks": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
"stop:checks": "rimraf ./.config.json",
"storybook": "manypkg run support/storybook storybook",
"symlink:root": "node support/scripts/symlink-root.js",
"test": "jest --verbose",
Expand Down
4 changes: 2 additions & 2 deletions support/root/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ completes. Prior to installation the superfluous implementation is hidden.
this file is ignored by default. To turn it on run the following command from the root directory.

```bash
pnpm start:checks
pnpm checks:enable
```

And to turn it back off again.

```bash
pnpm stop:checks
pnpm checks:disable
```

- `.lintagedrc` - Runs on every commit (see previous point) to make sure files are linted,
Expand Down

1 comment on commit e638e72

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://5f25123bbc72d8b7e64fafbf--remirror.netlify.app

Please sign in to comment.