Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade Node.js version #1029

Merged
merged 10 commits into from
Nov 15, 2023
Prev Previous commit
Next Next commit
style: Update eslint and eslint-plugin-import versions
Update eslint version from 7.5.0 to 8.38.0 and eslint-plugin-import version from 2.22.0 to 2.29.0.
  • Loading branch information
danilowoz committed Oct 30, 2023
commit 4e7557ebe8954862d4dc334b21450230efeafe47
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@
"@typescript-eslint/parser": "^6.9.0",
"babel-eslint": "^10.0.0",
"babel-jest": "^27.4.5",
"eslint": "^7.5.0",
"eslint": "8.38.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
Expand All @@ -69,5 +68,8 @@
"lint-staged": {
"*": "prettier -u --write",
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
},
"dependencies": {
"eslint-plugin-flowtype": "^8.0.3"
}
}
2 changes: 1 addition & 1 deletion sandpack-react/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export type SandpackThemeProp =
*/

export type TemplateFiles<Name extends SandpackPredefinedTemplate> =
keyof typeof SANDBOX_TEMPLATES[Name]["files"];
keyof (typeof SANDBOX_TEMPLATES)[Name]["files"];

export interface SandpackInternal {
<
Expand Down
2 changes: 1 addition & 1 deletion website/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"values.js": "^2.0.0"
},
"devDependencies": {
"eslint": "7"
"eslint": "8.38.0"
},
"keywords": [],
"description": ""
Expand Down
Loading
Loading