From 9567dd93308d9275d2551f7adff5f7f40c9f051b Mon Sep 17 00:00:00 2001 From: Nuno David Date: Wed, 13 Dec 2023 16:31:35 +0000 Subject: [PATCH] chore(web): update dev dependencies and simplify package.json --- web/.eslintrc.json | 5 +---- web/package.json | 5 ++--- web/{postcss.config.js => postcss.config.mjs} | 0 web/src/App.tsx | 1 - web/yarn.lock | 12 ++++++++++-- 5 files changed, 13 insertions(+), 10 deletions(-) rename web/{postcss.config.js => postcss.config.mjs} (100%) diff --git a/web/.eslintrc.json b/web/.eslintrc.json index ac43b3b..10ebfca 100644 --- a/web/.eslintrc.json +++ b/web/.eslintrc.json @@ -22,12 +22,9 @@ "plugins": [ "react", "react-refresh", - "@typescript-eslint", - "simple-import-sort" + "@typescript-eslint" ], "rules": { - "simple-import-sort/imports": "error", - "simple-import-sort/exports": "error", "react/react-in-jsx-scope": 0, "react-refresh/only-export-components": [ "warn", diff --git a/web/package.json b/web/package.json index a69e73b..1336352 100644 --- a/web/package.json +++ b/web/package.json @@ -1,8 +1,6 @@ { - "name": "vite-project", + "name": "ncube-client", "private": true, - "version": "0.0.0", - "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", @@ -23,6 +21,7 @@ "eslint": "^8.55.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", + "eslint-plugin-tailwindcss": "^3.13.0", "postcss": "^8.4.32", "tailwindcss": "^3.3.6", "typescript": "^5.2.2", diff --git a/web/postcss.config.js b/web/postcss.config.mjs similarity index 100% rename from web/postcss.config.js rename to web/postcss.config.mjs diff --git a/web/src/App.tsx b/web/src/App.tsx index 74008d2..ea216e7 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1,5 +1,4 @@ import { useEffect, useState } from 'react' - import ncube from '../wasm/ncube' declare global { diff --git a/web/yarn.lock b/web/yarn.lock index 93b1ea8..41e856a 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -980,6 +980,14 @@ eslint-plugin-react-refresh@^0.4.5: resolved "https://registry.yarnpkg.com/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.5.tgz#6b9b307bad3feba2244ef64a1a15485ac70a2d0f" integrity sha512-D53FYKJa+fDmZMtriODxvhwrO+IOqrxoEo21gMA0sjHdU6dPVH4OhyFip9ypl8HOF5RV5KdTo+rBQLvnY2cO8w== +eslint-plugin-tailwindcss@^3.13.0: + version "3.13.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.13.0.tgz#60858cdc8888da2deda5f200c1b163b211c4b8fa" + integrity sha512-Fcep4KDRLWaK3KmkQbdyKHG0P4GdXFmXdDaweTIPcgOP60OOuWFbh1++dufRT28Q4zpKTKaHwTsXPJ4O/EjU2Q== + dependencies: + fast-glob "^3.2.5" + postcss "^8.4.4" + eslint-scope@^7.2.2: version "7.2.2" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" @@ -1075,7 +1083,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.2.9, fast-glob@^3.3.0: +fast-glob@^3.2.5, fast-glob@^3.2.9, fast-glob@^3.3.0: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -1623,7 +1631,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8.4.23, postcss@^8.4.32: +postcss@^8.4.23, postcss@^8.4.32, postcss@^8.4.4: version "8.4.32" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.32.tgz#1dac6ac51ab19adb21b8b34fd2d93a86440ef6c9" integrity sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==