Skip to content

Commit

Permalink
Merge pull request #32 from huuyafwww/feature/sort-package-json_morepo
Browse files Browse the repository at this point in the history
[sort-package-json]glob対応
  • Loading branch information
huuyafwww authored Feb 1, 2025
2 parents 58b822a + a5eaa30 commit 63d711e
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 42 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint:code": "turbo lint:code --parallel",
"lint:type": "turbo lint:type --parallel",
"prepare": "husky",
"sort:package": "sort-package-json && turbo run sort:package --parallel",
"sort:package": "sort-package-json 'package.json' 'packages/*/package.json'",
"version": "changeset",
"version:apply": "changeset version",
"version:publish": "changeset publish"
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@praha/eslint-config-definer": "^2.0.1",
Expand All @@ -50,7 +49,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@eslint/js": "^9.18.0",
Expand All @@ -56,7 +55,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@next/eslint-plugin-next": "^15.1.5",
Expand All @@ -50,7 +49,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@praha/eslint-config-definer": "^2.0.1",
Expand All @@ -49,7 +48,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@praha/eslint-config-definer": "^2.0.1",
Expand All @@ -53,7 +52,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"build:watch": "pkgroll --watch",
"clean": "rimraf node_modules",
"lint:code": "eslint . --cache",
"lint:type": "tsc --pretty --noEmit",
"sort:package": "sort-package-json"
"lint:type": "tsc --pretty --noEmit"
},
"dependencies": {
"@praha/eslint-config-definer": "^2.0.1",
Expand All @@ -50,7 +49,6 @@
"jiti": "^2.4.2",
"pkgroll": "^2.6.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.14.0",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand Down
18 changes: 0 additions & 18 deletions pnpm-lock.yaml

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

5 changes: 0 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"cache": false,
"inputs": ["package.json"]
},
"sort:package": {
"dependsOn": [],
"cache": false,
"inputs": ["package.json"]
},
"lint:code": {
"dependsOn": [],
"inputs": ["**/*.ts", "**/*.js"]
Expand Down

0 comments on commit 63d711e

Please sign in to comment.