Skip to content

Commit

Permalink
fix: update package.json files (#367)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
DamianGlowala and antfu authored Mar 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 018b785 commit c56d164
Showing 3 changed files with 22 additions and 3 deletions.
12 changes: 11 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -2,9 +2,15 @@
"name": "@nuxt/eslint-config",
"version": "0.3.0-beta.5",
"description": "ESLint config for Nuxt projects",
"repository": "nuxt/eslint",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt/eslint.git",
"directory": "packages/eslint-config"
},
"license": "MIT",
"main": "./dist/legacy.cjs",
"module": "./dist/legacy.mjs",
"types": "./dist/legacy.d.ts",
"exports": {
".": {
"import": "./dist/legacy.mjs",
@@ -13,6 +19,10 @@
"./flat": {
"import": "./dist/flat.mjs",
"require": "./dist/flat.cjs"
},
"./legacy": {
"import": "./dist/legacy.mjs",
"require": "./dist/legacy.cjs"
}
},
"files": [
6 changes: 5 additions & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,11 @@
"version": "0.3.0-beta.5",
"description": "ESLint plugin for Nuxt",
"license": "MIT",
"repository": "nuxt/eslint",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt/eslint.git",
"directory": "packages/eslint-plugin"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
7 changes: 6 additions & 1 deletion packages/module/package.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,11 @@
"version": "0.3.0-beta.5",
"description": "Generate ESLint config from current Nuxt settings",
"license": "MIT",
"repository": "nuxt/eslint",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt/eslint.git",
"directory": "packages/module"
},
"exports": {
".": {
"types": "./dist/types.d.ts",
@@ -13,6 +17,7 @@
}
},
"main": "./dist/module.cjs",
"module": "./dist/module.mjs",
"types": "./dist/types.d.ts",
"files": [
"dist"

0 comments on commit c56d164

Please sign in to comment.