diff --git a/.eslintrc.js b/.eslintrc.js index 274569a..58455c8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,7 @@ module.exports = { root: true, - // This tells ESLint to load the config from the package `eslint-config-custom` - extends: ["custom"], + // This tells ESLint to load the config from the package `@iniz/eslint-config-internal` + extends: ["@iniz/eslint-config-internal"], settings: { next: { rootDir: ["examples/*/"], diff --git a/examples/preact/package.json b/examples/preact/package.json index ff8f537..18c5f78 100644 --- a/examples/preact/package.json +++ b/examples/preact/package.json @@ -1,5 +1,5 @@ { - "name": "preact", + "name": "@iniz/example-preact", "private": true, "version": "0.0.1", "type": "module", @@ -10,7 +10,7 @@ }, "dependencies": { "@iniz/preact": "workspace:*", - "preact": "^0.0.1" + "preact": "^10.10.6" }, "devDependencies": { "@preact/preset-vite": "^2.3.0", diff --git a/examples/react/.eslintrc.js b/examples/react/.eslintrc.js index c8df607..76202ac 100644 --- a/examples/react/.eslintrc.js +++ b/examples/react/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { root: true, - extends: ["custom"], + extends: ["@iniz/eslint-config-internal"], }; diff --git a/examples/react/package.json b/examples/react/package.json index da5b264..5449948 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -19,7 +19,7 @@ "@types/node": "^17.0.12", "@types/react": "^18.0.21", "eslint": "7.32.0", - "eslint-config-custom": "workspace:*", + "@iniz/eslint-config-internal": "workspace:*", "next-transpile-modules": "9.0.0", "tsconfig": "workspace:*", "typescript": "^4.5.3" diff --git a/package.json b/package.json index 73f79ad..ff06764 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.7", "@changesets/cli": "^2.24.4", - "eslint-config-custom": "workspace:*", + "@iniz/eslint-config-internal": "workspace:*", "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.1.1", "turbo": "latest" diff --git a/packages/core/.eslintrc.js b/packages/core/.eslintrc.js index c8df607..76202ac 100644 --- a/packages/core/.eslintrc.js +++ b/packages/core/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { root: true, - extends: ["custom"], + extends: ["@iniz/eslint-config-internal"], }; diff --git a/packages/core/package.json b/packages/core/package.json index c8abc4f..a45a554 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -29,7 +29,7 @@ "@vitest/coverage-istanbul": "^0.24.0", "@vitest/ui": "^0.23.4", "eslint": "7.32.0", - "eslint-config-custom": "workspace:*", + "@iniz/eslint-config-internal": "workspace:*", "typescript": "^4.8.3", "tsconfig": "workspace:*", "vite": "^2.9.9", diff --git a/packages/eslint-config-custom/index.js b/packages/eslint-config-internal/index.js similarity index 100% rename from packages/eslint-config-custom/index.js rename to packages/eslint-config-internal/index.js diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-internal/package.json similarity index 88% rename from packages/eslint-config-custom/package.json rename to packages/eslint-config-internal/package.json index 93bbe28..ef36d53 100644 --- a/packages/eslint-config-custom/package.json +++ b/packages/eslint-config-internal/package.json @@ -1,5 +1,5 @@ { - "name": "eslint-config-custom", + "name": "@iniz/eslint-config-internal", "version": "0.0.0", "license": "MIT", "main": "index.js", diff --git a/packages/preact/.eslintrc.js b/packages/preact/.eslintrc.js index c8df607..76202ac 100644 --- a/packages/preact/.eslintrc.js +++ b/packages/preact/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { root: true, - extends: ["custom"], + extends: ["@iniz/eslint-config-internal"], }; diff --git a/packages/preact/package.json b/packages/preact/package.json index d36f778..82df9f4 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -43,9 +43,9 @@ "@vitest/coverage-istanbul": "^0.24.0", "@vitest/ui": "^0.23.4", "eslint": "7.32.0", - "eslint-config-custom": "workspace:*", + "@iniz/eslint-config-internal": "workspace:*", "happy-dom": "^7.4.0", - "preact": "^0.0.1", + "preact": "^10.11.2", "tsconfig": "workspace:*", "tsup": "^6.2.3", "vite": "^3.1.7", diff --git a/packages/react/.eslintrc.js b/packages/react/.eslintrc.js index c8df607..76202ac 100644 --- a/packages/react/.eslintrc.js +++ b/packages/react/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { root: true, - extends: ["custom"], + extends: ["@iniz/eslint-config-internal"], }; diff --git a/packages/react/package.json b/packages/react/package.json index 6e12b85..b11ea8d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -53,7 +53,7 @@ "@vitest/coverage-istanbul": "^0.24.0", "@vitest/ui": "^0.23.4", "eslint": "7.32.0", - "eslint-config-custom": "workspace:*", + "@iniz/eslint-config-internal": "workspace:*", "happy-dom": "^7.4.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0684cea..16f8316 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,14 +6,14 @@ importers: specifiers: '@changesets/changelog-github': ^0.4.7 '@changesets/cli': ^2.24.4 - eslint-config-custom: workspace:* + '@iniz/eslint-config-internal': workspace:* prettier: ^2.7.1 prettier-plugin-organize-imports: ^3.1.1 turbo: latest devDependencies: '@changesets/changelog-github': 0.4.7 '@changesets/cli': 2.25.2 - eslint-config-custom: link:packages/eslint-config-custom + '@iniz/eslint-config-internal': link:packages/eslint-config-internal prettier: 2.7.1 prettier-plugin-organize-imports: 3.1.1_prettier@2.7.1 turbo: 1.6.3 @@ -36,11 +36,11 @@ importers: examples/react: specifiers: '@babel/core': ^7.0.0 + '@iniz/eslint-config-internal': workspace:* '@iniz/react': workspace:* '@types/node': ^17.0.12 '@types/react': ^18.0.21 eslint: 7.32.0 - eslint-config-custom: workspace:* next: 12.3.0 next-transpile-modules: 9.0.0 react: 18.2.0 @@ -53,11 +53,11 @@ importers: react-dom: 18.2.0_react@18.2.0 devDependencies: '@babel/core': 7.20.2 + '@iniz/eslint-config-internal': link:../../packages/eslint-config-internal '@iniz/react': link:../../packages/react '@types/node': 17.0.45 '@types/react': 18.0.25 eslint: 7.32.0 - eslint-config-custom: link:../../packages/eslint-config-custom next-transpile-modules: 9.0.0 tsconfig: link:../../packages/tsconfig typescript: 4.8.4 @@ -85,27 +85,27 @@ importers: packages/core: specifiers: + '@iniz/eslint-config-internal': workspace:* '@vitest/coverage-istanbul': ^0.24.0 '@vitest/ui': ^0.23.4 eslint: 7.32.0 - eslint-config-custom: workspace:* tsconfig: workspace:* typescript: ^4.8.3 vite: ^2.9.9 vite-plugin-dts: ^1.2.0 vitest: ^0.23.4 devDependencies: + '@iniz/eslint-config-internal': link:../eslint-config-internal '@vitest/coverage-istanbul': 0.24.5_@vitest+ui@0.23.4 '@vitest/ui': 0.23.4 eslint: 7.32.0 - eslint-config-custom: link:../eslint-config-custom tsconfig: link:../tsconfig typescript: 4.8.4 vite: 2.9.15 vite-plugin-dts: 1.6.6_vite@2.9.15 vitest: 0.23.4_@vitest+ui@0.23.4 - packages/eslint-config-custom: + packages/eslint-config-internal: specifiers: eslint-config-next: ^12.0.8 eslint-config-prettier: ^8.3.0 @@ -122,13 +122,13 @@ importers: packages/preact: specifiers: '@iniz/core': workspace:* + '@iniz/eslint-config-internal': workspace:* '@testing-library/react': ^13.4.0 '@types/use-sync-external-store': ^0.0.3 '@vitejs/plugin-react': ^2.1.0 '@vitest/coverage-istanbul': ^0.24.0 '@vitest/ui': ^0.23.4 eslint: 7.32.0 - eslint-config-custom: workspace:* happy-dom: ^7.4.0 preact: ^10.11.2 tsconfig: workspace:* @@ -141,13 +141,13 @@ importers: dependencies: '@iniz/core': link:../core devDependencies: + '@iniz/eslint-config-internal': link:../eslint-config-internal '@testing-library/react': 13.4.0 '@types/use-sync-external-store': 0.0.3 '@vitejs/plugin-react': 2.2.0_vite@3.2.2 '@vitest/coverage-istanbul': 0.24.5_qcmhuovbjlnbm5b72rofp25wbi '@vitest/ui': 0.23.4 eslint: 7.32.0 - eslint-config-custom: link:../eslint-config-custom happy-dom: 7.6.6 preact: 10.11.2 tsconfig: link:../tsconfig @@ -161,6 +161,7 @@ importers: packages/react: specifiers: '@iniz/core': workspace:* + '@iniz/eslint-config-internal': workspace:* '@testing-library/react': ^13.4.0 '@types/react': ^18.0.18 '@types/react-dom': ^18.0.6 @@ -169,7 +170,6 @@ importers: '@vitest/coverage-istanbul': ^0.24.0 '@vitest/ui': ^0.23.4 eslint: 7.32.0 - eslint-config-custom: workspace:* happy-dom: ^7.4.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -185,6 +185,7 @@ importers: '@iniz/core': link:../core use-sync-external-store: 1.2.0_react@18.2.0 devDependencies: + '@iniz/eslint-config-internal': link:../eslint-config-internal '@testing-library/react': 13.4.0_biqbaboplfbrettd7655fr4n2y '@types/react': 18.0.25 '@types/react-dom': 18.0.8 @@ -193,7 +194,6 @@ importers: '@vitest/coverage-istanbul': 0.24.5_qcmhuovbjlnbm5b72rofp25wbi '@vitest/ui': 0.23.4 eslint: 7.32.0 - eslint-config-custom: link:../eslint-config-custom happy-dom: 7.6.6 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 diff --git a/website/package.json b/website/package.json index 634dcac..d6dddfc 100644 --- a/website/package.json +++ b/website/package.json @@ -1,5 +1,5 @@ { - "name": "website", + "name": "@iniz/website", "version": "0.0.1", "private": true, "scripts": {