Skip to content

Commit

Permalink
Merge pull request #7 from huuyafwww/feature/organized_dependencies
Browse files Browse the repository at this point in the history
Organized dependencies.
  • Loading branch information
huuyafwww authored Nov 26, 2024
2 parents 6423efd + 96ac874 commit 31a8a94
Show file tree
Hide file tree
Showing 17 changed files with 116 additions and 161 deletions.
10 changes: 10 additions & 0 deletions .changeset/new-bugs-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@huuyafwww/eslint-config-storybook": patch
"@huuyafwww/eslint-config-browser": patch
"@huuyafwww/eslint-config-common": patch
"@huuyafwww/eslint-config-react": patch
"@huuyafwww/eslint-config-next": patch
"@huuyafwww/eslint-config-node": patch
---

update @praha/eslint-config-definer and typescript dependency organized
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
strict-peer-dependencies=true
strict-peer-dependencies=false
provenance=true
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@tsconfig/strictest": "^2.0.5",
"sort-package-json": "^2.10.1",
"turbo": "^2.3.0"
"turbo": "^v2.3.2",
"typescript": "^5.6.3"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
"sort:package": "sort-package-json"
},
"dependencies": {
"@praha/eslint-config-definer": "^1.0.5",
"@praha/eslint-config-definer": "^2.0.0",
"globals": "^15.11.0"
},
"devDependencies": {
"@huuyafwww/eslint-config-common": "workspace:*",
"@huuyafwww/eslint-config-node": "workspace:*",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-browser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
6 changes: 3 additions & 3 deletions packages/eslint-config-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"dependencies": {
"@eslint/js": "^9.15.0",
"@praha/eslint-config-definer": "^1.0.5",
"@praha/eslint-config-definer": "^2.0.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@stylistic/eslint-plugin-ts": "^2.10.1",
"@typescript-eslint/eslint-plugin": "^8.15.0",
Expand All @@ -39,12 +39,12 @@
"typescript-eslint": "^8.15.0"
},
"devDependencies": {
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const typescriptConfigurator: Configurator<typescriptConfiguratorOptions>
files,
languageOptions: {
parserOptions: {
// parser,
warnOnUnsupportedTypeScriptVersion: false,
project: options.tsconfigPath,
tsconfigRootDir: process.cwd(),
},
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
4 changes: 2 additions & 2 deletions packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"devDependencies": {
"@huuyafwww/eslint-config-common": "workspace:*",
"@huuyafwww/eslint-config-node": "workspace:*",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-next/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
6 changes: 3 additions & 3 deletions packages/eslint-config-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"sort:package": "sort-package-json"
},
"dependencies": {
"@praha/eslint-config-definer": "^1.0.5",
"@praha/eslint-config-definer": "^2.0.0",
"globals": "^15.11.0"
},
"devDependencies": {
"@huuyafwww/eslint-config-common": "workspace:*",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-node/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
6 changes: 3 additions & 3 deletions packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"sort:package": "sort-package-json"
},
"dependencies": {
"@praha/eslint-config-definer": "^1.0.5",
"@praha/eslint-config-definer": "^2.0.0",
"@stylistic/eslint-plugin-js": "^2.11.0",
"eslint-plugin-import-x": "^4.4.3",
"eslint-plugin-react": "^7.37.1",
Expand All @@ -33,12 +33,12 @@
"devDependencies": {
"@huuyafwww/eslint-config-common": "workspace:*",
"@huuyafwww/eslint-config-node": "workspace:*",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
6 changes: 3 additions & 3 deletions packages/eslint-config-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
"sort:package": "sort-package-json"
},
"dependencies": {
"@praha/eslint-config-definer": "^1.0.5",
"@praha/eslint-config-definer": "^2.0.0",
"eslint-plugin-storybook": "^0.11.0"
},
"devDependencies": {
"@huuyafwww/eslint-config-common": "workspace:*",
"@huuyafwww/eslint-config-node": "workspace:*",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.9.3",
"eslint": "9.14.0",
"pkgroll": "^2.5.1",
"rimraf": "^6.0.1",
"sort-package-json": "^2.10.1"
"sort-package-json": "^2.10.1",
"typescript": "^5.6.3"
},
"peerDependencies": {
"eslint": "9.14.0"
Expand Down
16 changes: 2 additions & 14 deletions packages/eslint-config-storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"@tsconfig/strictest/tsconfig.json",
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ESNext",
"types": ["@types/node"],
},
"../../tsconfig.json",
]
}
Loading

0 comments on commit 31a8a94

Please sign in to comment.