Skip to content

Commit

Permalink
fix: upgrade typescript, eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Dec 19, 2024
1 parent 64b693d commit ff93548
Show file tree
Hide file tree
Showing 32 changed files with 1,710 additions and 1,329 deletions.
8 changes: 3 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ module.exports = {
},
settings: {
react: {
version: "^18.2.0",
version: "18.3.1",
},
settings: {
next: {
rootDir: "packages/docs-bundle/",
},
next: {
rootDir: "packages/fern-docs/bundle/",
},
},
parser: "@typescript-eslint/parser",
Expand Down
4 changes: 2 additions & 2 deletions clis/generator-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.15",
"depcheck": "^1.4.3",
"esbuild": "0.20.2",
"eslint": "^8.56.0",
"eslint": "^9",
"execa": "^9.5.1",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"tmp-promise": "^3.0.3",
"tsup": "^8.3.5",
"typescript": "4.9.5",
Expand Down
4 changes: 2 additions & 2 deletions clis/vercel-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"@types/node": "^18.7.18",
"@types/yargs": "^17.0.32",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"tsx": "^4.7.1",
"typescript": "4.9.5",
"yargs": "^17.4.1"
Expand Down
31 changes: 17 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"cross-spawn": "7.0.5",
"elliptic": "6.6.0",
"esbuild": "0.20.2",
"eslint": "9.17.0",
"instantsearch.js": "4.75.4",
"jsonpath-plus": "10.0.7",
"markdown-to-jsx": "7.4.0",
Expand All @@ -48,6 +49,8 @@
"postcss": "8.4.31",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwindcss": "3.4.17",
"typescript": "5.7.2",
"webpack": "5.94.0"
},
"dependencies": {
Expand All @@ -70,21 +73,21 @@
"@types/is-ci": "^3.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "7.3.1",
"@typescript-eslint/parser": "7.3.1",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@yarnpkg/sdks": "^3.1.0",
"chalk": "^5.3.0",
"depcheck": "^1.4.3",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint": "^9",
"eslint-config-next": "14.2.15",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.13.1",
"eslint-plugin-vitest": "^0.3.26",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"eslint-plugin-vitest": "^0.5.4",
"execa": "^5.1.1",
"express": "^4.20.0",
"http-proxy-middleware": "^3.0.3",
Expand All @@ -96,7 +99,7 @@
"lint-staged": "^13.0.3",
"organize-imports-cli": "^0.10.0",
"playwright": "^1.47.1",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"react": "^18",
"rollup": "^4.22.4",
Expand All @@ -106,11 +109,11 @@
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-config-tailwindcss": "^0.0.7",
"stylelint-scss": "^6.0.0",
"tailwindcss": "^3.4.3",
"tailwindcss": "^3",
"ts-node": "^10.9.2",
"tsx": "^4.7.1",
"turbo": "^2.1.2",
"typescript": "5.4.3",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"typescript": "^5",
"typescript-plugin-css-modules": "^5.1.0",
"vitest": "^2.1.4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/archiver": "^6.0.2",
"@types/node": "^18.7.18",
"aws-cdk": "^2.118.0",
"prettier": "^3.3.2",
"typescript": "5.4.3"
"prettier": "^3.4.2",
"typescript": "^5"
}
}
6 changes: 3 additions & 3 deletions packages/commons/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
"@types/title": "^3.4.3",
"@types/ua-parser-js": "^0.7.39",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/commons/fdr-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/commons/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"simple-git": "^3.24.0",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/commons/loadable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/commons/react-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@types/node": "^18.7.18",
"@types/react": "^18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vite": "^5.4.10",
"vitest": "^2.1.4"
}
Expand Down
20 changes: 10 additions & 10 deletions packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"main": "src/index.js",
"dependencies": {
"@next/eslint-plugin-next": "14.2.9",
"@typescript-eslint/eslint-plugin": "7.3.1",
"@typescript-eslint/parser": "7.3.1",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"eslint": "^9",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.13.1",
"eslint-plugin-vitest": "^0.3.26"
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"eslint-plugin-vitest": "^0.5.4"
},
"devDependencies": {
"prettier": "^3.3.2"
"prettier": "^3.4.2"
}
}
6 changes: 3 additions & 3 deletions packages/fdr-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"@types/tinycolor2": "^1.4.6",
"@types/title": "^3.4.3",
"@types/ungap__structured-clone": "^1.2.0",
"eslint": "^8.56.0",
"prettier": "^3.3.2",
"typescript": "5.4.3",
"eslint": "^9",
"prettier": "^3.4.2",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/fern-docs/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
8 changes: 4 additions & 4 deletions packages/fern-docs/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@
"@types/react-dom": "^18",
"autoprefixer": "^10.4.16",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"glslify-import": "^3.1.0",
"glslify-loader": "^2.0.0",
"organize-imports-cli": "^0.10.0",
"postcss": "^8.4.33",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"raw-loader": "^4.0.2",
"sass": "^1.74.1",
"stylelint": "^16.1.0",
"tailwindcss": "^3.4.3",
"typescript": "5.4.3",
"tailwindcss": "^3",
"typescript": "^5",
"vitest": "^2.1.4"
},
"optionalDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/fern-docs/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
8 changes: 4 additions & 4 deletions packages/fern-docs/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@
"autoprefixer": "^10.4.16",
"chromatic": "^11.3.0",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"eslint-plugin-storybook": "^0.8.0",
"jsdom": "^24.0.0",
"organize-imports-cli": "^0.10.0",
"postcss-import": "^16.0.1",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"react-test-renderer": "^18",
"sass": "^1.74.1",
"storybook": "^8.4.4",
"stylelint": "^16.1.0",
"tailwindcss": "^3.4.3",
"typescript": "5.4.3",
"tailwindcss": "^3",
"typescript": "^5",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/fern-docs/edge-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/fern-docs/icons-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"@types/node": "^18.7.18",
"@types/react": "^18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"next": "^14",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
},
"optionalDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/fern-docs/local-preview-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@
"@types/react-dom": "^18",
"autoprefixer": "^10.4.16",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"express": "^4.20.0",
"glslify-import": "^3.1.0",
"glslify-loader": "^2.0.0",
"organize-imports-cli": "^0.10.0",
"postcss": "^8.4.33",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"raw-loader": "^4.0.2",
"sass": "^1.74.1",
"stylelint": "^16.1.0",
"tailwindcss": "^3.4.3",
"typescript": "5.4.3",
"tailwindcss": "^3",
"typescript": "^5",
"vitest": "^2.1.4",
"ws": "^8.17.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/fern-docs/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@
"@fern-platform/configs": "workspace:*",
"@types/node": "^18.7.18",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint": "^9",
"organize-imports-cli": "^0.10.0",
"prettier": "^3.3.2",
"prettier": "^3.4.2",
"stylelint": "^16.1.0",
"typescript": "5.4.3",
"typescript": "^5",
"vitest": "^2.1.4"
}
}
Loading

0 comments on commit ff93548

Please sign in to comment.