Enforce PNPM a bit more (#82)
commit
b2331876ba
|
@ -3,3 +3,5 @@ dist/
|
|||
.idea/
|
||||
node_modules/
|
||||
.vscode/
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
|
|
@ -2,19 +2,20 @@
|
|||
|
||||
Shareon welcomes contributions and corrections. Before contributing, please make sure you have read the guidelines below. If you decide to contribute anything, please follow the steps below.
|
||||
|
||||
0. Install [pre-commit](https://pre-commit.com/)
|
||||
1. Fork this repository
|
||||
2. Clone the fork
|
||||
3. Enable pre-commit in the repo:
|
||||
0. Install [pnpm](https://pnpm.io/installation):
|
||||
1. Install [pre-commit](https://pre-commit.com/)
|
||||
2. Fork this repository
|
||||
3. Clone the fork
|
||||
4. Enable pre-commit in the repo:
|
||||
|
||||
```sh
|
||||
pre-commit install
|
||||
```
|
||||
|
||||
4. Create a new branch from the latest commit on `main`
|
||||
5. Start hacking on the new branch
|
||||
6. Commit and push to the new branch
|
||||
7. Make a pull request to `main`
|
||||
5. Create a new branch from the latest commit on `main`
|
||||
6. Start hacking on the new branch
|
||||
7. Commit and push to the new branch
|
||||
8. Make a pull request to `main`
|
||||
|
||||
## Table of contents
|
||||
|
||||
|
|
|
@ -49,7 +49,8 @@
|
|||
"test": "pnpm run lint && pnpm run build && pnpm run size",
|
||||
"postversion": "pnpm run build",
|
||||
"prepublishOnly": "rm -rf ./package && clean-publish",
|
||||
"postpublish": "rm -rf ./package"
|
||||
"postpublish": "rm -rf ./package",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@size-limit/preset-small-lib": "^8.2.6",
|
||||
|
|
Loading…
Reference in New Issue