Skip to content

Commit

Permalink
Move prettier to action
Browse files Browse the repository at this point in the history
  • Loading branch information
aimee-gm committed Sep 14, 2023
1 parent 7fc2518 commit dc56b6c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 366 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ All commits to the `main` branch get auto-deployed to the live website [running
The base branch is `next`. All PRs should target this branch.

To initiate a release:
* Create a new branch, from `next` named `release/x.y.z`
* Bump the version in `package.json` to `x.y.z`
* Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
* Merge `main` into `next`

- Create a new branch, from `next` named `release/x.y.z`
- Bump the version in `package.json` to `x.y.z`
- Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
- Merge `main` into `next`

## Getting Started

Expand All @@ -35,7 +36,7 @@ Next, install the required dependencies and start the server:
yarn install
yarn start
# Or, if you'd like a different port:
# PORT=5000 yarn start
# PORT=5000 yarn start
```

You can view your running local application at this URL:
Expand Down Expand Up @@ -65,4 +66,4 @@ If you find bugs, have feature requests or questions, please

Microformats Parser Website Node is dedicated to the public domain using Creative Commons -- CC0 1.0 Universal.

http://creativecommons.org/publicdomain/zero/1.0
http://creativecommons.org/publicdomain/zero/1.0
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"scripts": {
"start": "node index.js",
"prepare": "husky install"
"prettier:list": "prettier '**/*.{js,ts,json,md,html}' --list-different",
"prettier:fix": "prettier '**/*.{js,ts,json,md,html}' --write"
},
"dependencies": {
"@yarnpkg/lockfile": "^1.1.0",
Expand All @@ -18,8 +19,6 @@
"microformats-parser": "^1.5.2"
},
"devDependencies": {
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^3.0.3"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit dc56b6c

Please sign in to comment.