Skip to content

Commit

Permalink
chore: switch prettier plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Oct 11, 2023
1 parent acea427 commit 7379347
Show file tree
Hide file tree
Showing 5 changed files with 447 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ yarn.lock

*.snap
*.sh

.pnp.*
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "es5",
"plugins": ["prettier-plugin-packagejson"]
}
1 change: 0 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
nodeLinker: node-modules
defaultSemverRangePrefix: ''
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
"name": "containerbase-node-prebuild",
"version": "1.0.0",
"private": true,
"license": "MIT",
"repository": "https://github.com/containerbase/node-prebuild.git",
"license": "MIT",
"author": "Michael Kriese <[email protected]>",
"engines": {
"node": ">=18.12.0",
"yarn": "^3.5.0"
},
"scripts": {
"lint": "run-s prettier",
"postinstall": "husky install",
Expand All @@ -20,7 +16,11 @@
"lint-staged": "13.3.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier-plugin-package": "1.3.1"
"prettier-plugin-packagejson": "2.4.6"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"engines": {
"node": ">=18.12.0",
"yarn": "^3.5.0"
}
}
Loading

0 comments on commit 7379347

Please sign in to comment.