Skip to content

Commit

Permalink
chore: add prettier-plugin-packagejson
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Jun 6, 2024
1 parent 83571b5 commit 8fea6f8
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"singleQuote": true
"singleQuote": true,
"plugins": ["prettier-plugin-packagejson"]
}
6 changes: 3 additions & 3 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@rslib/e2e",
"private": true,
"type": "module",
"scripts": {
"test": "playwright test"
},
"imports": {
"#helper": "./scripts/helper.ts"
},
"scripts": {
"test": "playwright test"
},
"devDependencies": {
"@playwright/test": "1.43.1",
"@rslib/core": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"cross-env": "^7.0.3",
"nano-staged": "^0.8.0",
"prettier": "^3.2.4",
"prettier-plugin-packagejson": "^2.5.0",
"simple-git-hooks": "^2.10.0",
"vitest": "^1.5.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"dependencies": {
"@rsbuild/core": "0.6.2",
"@rsbuild/shared": "0.6.2",
"commander": "^12.0.0"
"@rsbuild/shared": "0.6.2"
},
"devDependencies": {
"@rslib/tsconfig": "workspace:*",
"commander": "^12.0.0",
"typescript": "^5.4.5"
},
"engines": {
Expand Down
88 changes: 85 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8fea6f8

Please sign in to comment.