From 2e30c76a3d2a6151d1b11e086e99ea0391453ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Demenech?= Date: Thu, 4 May 2023 19:59:12 -0300 Subject: [PATCH] [#842,package.json][xs]: move eslint and @types deps to dependencies (#848) --- examples/alan-turing-portal/package.json | 10 ++++------ examples/ckan-example/package.json | 16 ++++++++-------- examples/learn-example/package.json | 12 ++++++------ packages/components/package.json | 2 +- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/examples/alan-turing-portal/package.json b/examples/alan-turing-portal/package.json index 15ccc59d..73d1615f 100644 --- a/examples/alan-turing-portal/package.json +++ b/examples/alan-turing-portal/package.json @@ -27,13 +27,8 @@ "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.4", "@tanstack/react-table": "^8.8.5", - "@types/node": "18.16.0", - "@types/react": "18.2.0", - "@types/react-dom": "18.2.0", "autoprefixer": "^10.4.12", "clsx": "^1.2.1", - "eslint": "8.39.0", - "eslint-config-next": "13.3.1", "fast-glob": "^3.2.11", "feed": "^4.2.2", "flexsearch": "^0.7.31", @@ -68,6 +63,9 @@ "eslint": "8.26.0", "eslint-config-next": "13.0.2", "prettier": "^2.8.7", - "prettier-plugin-tailwindcss": "^0.2.6" + "prettier-plugin-tailwindcss": "^0.2.6", + "@types/node": "18.16.0", + "@types/react": "18.2.0", + "@types/react-dom": "18.2.0" } } diff --git a/examples/ckan-example/package.json b/examples/ckan-example/package.json index 2f486e84..fad0b793 100644 --- a/examples/ckan-example/package.json +++ b/examples/ckan-example/package.json @@ -10,24 +10,24 @@ }, "dependencies": { "@heroicons/react": "^2.0.17", - "@types/node": "18.16.0", - "@types/react": "18.0.38", - "@types/react-dom": "18.0.11", - "eslint": "8.39.0", - "eslint-config-next": "13.3.1", "next": "13.3.1", "next-seo": "^6.0.0", "octokit": "^2.0.14", "react": "18.2.0", "react-dom": "18.2.0", "react-markdown": "^8.0.7", - "remark-gfm": "^3.0.1", - "typescript": "5.0.4" + "remark-gfm": "^3.0.1" }, "devDependencies": { "@tailwindcss/typography": "^0.5.9", "autoprefixer": "^10.4.14", "postcss": "^8.4.23", - "tailwindcss": "^3.3.1" + "tailwindcss": "^3.3.1", + "eslint": "8.39.0", + "eslint-config-next": "13.3.1", + "typescript": "5.0.4", + "@types/node": "18.16.0", + "@types/react": "18.0.38", + "@types/react-dom": "18.0.11" } } diff --git a/examples/learn-example/package.json b/examples/learn-example/package.json index 70a94a07..50647034 100644 --- a/examples/learn-example/package.json +++ b/examples/learn-example/package.json @@ -20,11 +20,6 @@ "@heroicons/react": "^2.0.17", "@opentelemetry/api": "^1.4.0", "@tanstack/react-table": "^8.8.5", - "@types/node": "18.16.0", - "@types/react": "18.2.0", - "@types/react-dom": "18.2.0", - "eslint": "8.39.0", - "eslint-config-next": "13.3.1", "flexsearch": "0.7.21", "gray-matter": "^4.0.3", "hastscript": "^7.2.0", @@ -52,6 +47,11 @@ "@types/flexsearch": "^0.7.3", "autoprefixer": "^10.4.14", "postcss": "^8.4.23", - "tailwindcss": "^3.3.1" + "tailwindcss": "^3.3.1", + "eslint": "8.39.0", + "eslint-config-next": "13.3.1", + "@types/node": "18.16.0", + "@types/react": "18.2.0", + "@types/react-dom": "18.2.0" } } diff --git a/packages/components/package.json b/packages/components/package.json index 03531a1d..7a274052 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -26,7 +26,6 @@ "dependencies": { "@heroicons/react": "^2.0.17", "@tanstack/react-table": "^8.8.5", - "@types/flexsearch": "^0.7.3", "flexsearch": "0.7.21", "next-mdx-remote": "^4.4.1", "papaparse": "^5.4.1", @@ -38,6 +37,7 @@ "vega-lite": "5.1.0" }, "devDependencies": { + "@types/flexsearch": "^0.7.3", "@storybook/addon-essentials": "^7.0.7", "@storybook/addon-interactions": "^7.0.7", "@storybook/addon-links": "^7.0.7",