From af6f630de56092e9104206cfbaca2fdffa31901f Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Sat, 18 Nov 2023 21:46:10 +0000 Subject: [PATCH] tweaks --- .eslintrc.cjs | 2 +- .github/workflows/ci.yml | 2 +- package-lock.json | 57 ++--------------------------------- package.json | 1 - packages/vanilla/package.json | 1 + 5 files changed, 6 insertions(+), 57 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ce5a745b..7e8c5a4b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -8,7 +8,7 @@ module.exports = { 'plugin:react-hooks/recommended', 'prettier', ], - // ignorePatterns: ['dist', 'node_modules', 'demo/vite.config.ts', '**/public'], + ignorePatterns: ['node_modules'], parser: '@typescript-eslint/parser', plugins: ['react', '@typescript-eslint', 'react-refresh', 'simple-import-sort'], rules: { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d03fdf0..d38f2adf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: check: # This job does nothing and is only used for the branch protection if: always() - needs: [lint] + needs: [lint, packages-build] runs-on: ubuntu-latest steps: diff --git a/package-lock.json b/package-lock.json index 5646f4df..c2b298fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", - "@vitejs/plugin-react-swc": "^3.3.2", "eslint": "^8.53.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard": "^17.1.0", @@ -41,7 +40,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "android" @@ -58,7 +56,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "android" @@ -75,7 +72,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "android" @@ -92,7 +88,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -109,7 +104,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -126,7 +120,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "freebsd" @@ -143,7 +136,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "freebsd" @@ -160,7 +152,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "linux" @@ -177,7 +168,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -194,7 +184,6 @@ "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "linux" @@ -211,7 +200,6 @@ "cpu": [ "loong64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -228,7 +216,6 @@ "cpu": [ "mips64el" ], - "dev": true, "optional": true, "os": [ "linux" @@ -245,7 +232,6 @@ "cpu": [ "ppc64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -262,7 +248,6 @@ "cpu": [ "riscv64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -279,7 +264,6 @@ "cpu": [ "s390x" ], - "dev": true, "optional": true, "os": [ "linux" @@ -296,7 +280,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -313,7 +296,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "netbsd" @@ -330,7 +312,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "openbsd" @@ -347,7 +328,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "sunos" @@ -364,7 +344,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -381,7 +360,6 @@ "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "win32" @@ -398,7 +376,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -549,7 +526,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "android" @@ -563,7 +539,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "android" @@ -577,7 +552,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -591,7 +565,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -605,7 +578,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "linux" @@ -619,7 +591,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -633,7 +604,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -647,7 +617,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -661,7 +630,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -675,7 +643,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -689,7 +656,6 @@ "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "win32" @@ -703,7 +669,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -714,7 +679,6 @@ "version": "1.3.96", "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.96.tgz", "integrity": "sha512-zwE3TLgoZwJfQygdv2SdCK9mRLYluwDOM53I+dT6Z5ZvrgVENmY3txvWDvduzkV+/8IuvrRbVezMpxcojadRdQ==", - "dev": true, "hasInstallScript": true, "dependencies": { "@swc/counter": "^0.1.1", @@ -755,7 +719,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -771,7 +734,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -787,7 +749,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "linux" @@ -803,7 +764,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -819,7 +779,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -835,7 +794,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -851,7 +809,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -867,7 +824,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -883,7 +839,6 @@ "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "win32" @@ -899,7 +854,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -911,14 +865,12 @@ "node_modules/@swc/counter": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz", - "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==", - "dev": true + "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==" }, "node_modules/@swc/types": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.5.tgz", - "integrity": "sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==", - "dev": true + "integrity": "sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==" }, "node_modules/@types/json-schema": { "version": "7.0.15", @@ -1179,7 +1131,6 @@ "version": "3.5.0", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.5.0.tgz", "integrity": "sha512-1PrOvAaDpqlCV+Up8RkAh9qaiUjoDUcjtttyhXDKw53XA6Ve16SOp6cCOpRs8Dj8DqUQs6eTW5YkLcLJjrXAig==", - "dev": true, "dependencies": { "@swc/core": "^1.3.96" }, @@ -1811,7 +1762,6 @@ "version": "0.19.5", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz", "integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==", - "dev": true, "hasInstallScript": true, "peer": true, "bin": { @@ -3842,7 +3792,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.5.0.tgz", "integrity": "sha512-41xsWhzxqjMDASCxH5ibw1mXk+3c4TNI2UjKbLxe6iEzrSQnqOzmmK8/3mufCPbzHNJ2e04Fc1ddI35hHy+8zg==", - "dev": true, "peer": true, "bin": { "rollup": "dist/bin/rollup" @@ -4347,7 +4296,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.0.tgz", "integrity": "sha512-ESJVM59mdyGpsiNAeHQOR/0fqNoOyWPYesFto8FFZugfmhdHx8Fzd8sF3Q/xkVhZsyOxHfdM7ieiVAorI9RjFw==", - "dev": true, "peer": true, "dependencies": { "esbuild": "^0.19.3", @@ -4523,6 +4471,7 @@ }, "packages/vanilla": { "dependencies": { + "@vitejs/plugin-react-swc": "^3.3.2", "bootstrap": "^5.3.2", "sass": "^1.69.5", "vite": "^4.4.5" diff --git a/package.json b/package.json index a2bc966d..bc6d392b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", - "@vitejs/plugin-react-swc": "^3.3.2", "eslint": "^8.53.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard": "^17.1.0", diff --git a/packages/vanilla/package.json b/packages/vanilla/package.json index ac479602..3affcc20 100644 --- a/packages/vanilla/package.json +++ b/packages/vanilla/package.json @@ -7,6 +7,7 @@ "typewatch": "tsc --noEmit --watch" }, "dependencies": { + "@vitejs/plugin-react-swc": "^3.3.2", "bootstrap": "^5.3.2", "sass": "^1.69.5", "vite": "^4.4.5"