docs: update to next 15 + eslint 9 (#9839)

* update next

* updated react

* update eslint

* finish updating eslint

* fix content lint errors

* fix docs test

* fix vale action

* fix installation errors
This commit is contained in:
Shahed Nasser
2024-11-13 17:03:17 +02:00
committed by GitHub
parent 6f7467f071
commit 938f3bd934
143 changed files with 4193 additions and 3226 deletions
+16 -14
View File
@@ -10,33 +10,26 @@
"start:monorepo": "yarn start -p 3002",
"lint": "next lint --fix",
"copy-colors": "ts-node ./scripts/copy-colors.ts",
"lint:content": "eslint --no-eslintrc -c .content.eslintrc.js src/content/docs --fix"
"lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs src/content/docs --fix"
},
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "^2.0.0",
"@medusajs/ui": "^4.0.0",
"@medusajs/ui-preset": "^1.1.3",
"@radix-ui/react-dialog": "1.0.4",
"@radix-ui/react-scroll-area": "^1.0.4",
"@radix-ui/react-tabs": "^1.0.4",
"@types/node": "20.4.9",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"autoprefixer": "10.4.14",
"clsx": "^2.0.0",
"contentlayer": "^0.3.4",
"date-fns": "^3.3.1",
"docs-ui": "*",
"eslint-config-docs": "*",
"mdast-util-toc": "^7.0.0",
"next": "^14.2.14",
"next": "15.0.1",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.2.1",
"postcss": "8.4.27",
"react": "18.2.0",
"react-day-picker": "^8.10.0",
"react-dom": "18.2.0",
"react": "rc",
"react-dom": "rc",
"rehype-slug": "^6.0.0",
"remark": "^14.0.3",
"tailwind": "*",
@@ -46,12 +39,21 @@
"unist-util-visit": "4.1.2"
},
"devDependencies": {
"eslint": "^8.49.0",
"react-docgen": "^7.0.1",
"@types/node": "20.4.9",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"eslint": "^9.13.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.0.0",
"react-docgen": "^7.1.0",
"ts-node": "^10.9.1",
"types": "*"
},
"engines": {
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
}