diff --git a/packages/eslint-config-browser/package.json b/packages/eslint-config-browser/package.json index c41ab68..b1819c0 100644 --- a/packages/eslint-config-browser/package.json +++ b/packages/eslint-config-browser/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", diff --git a/packages/eslint-config-common/package.json b/packages/eslint-config-common/package.json index 2acb372..fc7d4df 100644 --- a/packages/eslint-config-common/package.json +++ b/packages/eslint-config-common/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index fec45ca..2f86f0b 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", diff --git a/packages/eslint-config-node/package.json b/packages/eslint-config-node/package.json index 9fa8446..3be8207 100644 --- a/packages/eslint-config-node/package.json +++ b/packages/eslint-config-node/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json index 4434a9e..6d7ddc0 100644 --- a/packages/eslint-config-react/package.json +++ b/packages/eslint-config-react/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", diff --git a/packages/eslint-config-storybook/package.json b/packages/eslint-config-storybook/package.json index 13400fa..dfb56cb 100644 --- a/packages/eslint-config-storybook/package.json +++ b/packages/eslint-config-storybook/package.json @@ -3,7 +3,6 @@ "version": "1.0.1", "private": false, "description": "ESLint config for me", - "type": "module", "homepage": "https://github.com/huuyafwww/eslint-config", "bugs": { "url": "https://github.com/huuyafwww/eslint-config/issues" @@ -12,6 +11,7 @@ "type": "git", "url": "git+https://github.com/huuyafwww/eslint-config.git" }, + "type": "module", "exports": { "require": { "types": "./dist/index.d.cts",