Skip to content

Commit

Permalink
chore: upgrade to PNPM 9, fix prettier (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Apr 29, 2024
1 parent 3a40c7e commit 4aefe86
Show file tree
Hide file tree
Showing 6 changed files with 3,794 additions and 2,980 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Setup Node
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Setup Node
uses: actions/setup-node@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"bin",
"src"
],
"packageManager": "pnpm@8.15.6",
"packageManager": "pnpm@9.0.6",
"scripts": {
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"test": "pnpm run test:ci",
Expand All @@ -51,7 +51,7 @@
"test:types": "tsc",
"test:eslint": "eslint --ext .js,.ts,.tsx ./bin ./src",
"test:format": "pnpm run prettier --check",
"prettier": "prettier --ignore-unknown '**/*'",
"prettier": "prettier --ignore-unknown .",
"prettier:write": "pnpm run prettier --write",
"cipublish": "node ./bin/config.js publish --cwd .",
"cipublishforce": "CI=true pnpm cipublish"
Expand Down
Loading

0 comments on commit 4aefe86

Please sign in to comment.