aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages/vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/packages/vue')
-rw-r--r--src/packages/vue/README.md2
-rw-r--r--src/packages/vue/eslint.config.mjs4
-rw-r--r--src/packages/vue/package.json6
-rw-r--r--src/packages/vue/tsconfig.json9
4 files changed, 8 insertions, 13 deletions
diff --git a/src/packages/vue/README.md b/src/packages/vue/README.md
index bd675a1..4d41eb3 100644
--- a/src/packages/vue/README.md
+++ b/src/packages/vue/README.md
@@ -12,7 +12,7 @@ Why would you want to do that? I don't know.
## Installation
```bash
-npm install @locusts/vue
+npm install -D @locusts/vue
```
## Usage
diff --git a/src/packages/vue/eslint.config.mjs b/src/packages/vue/eslint.config.mjs
index 439d403..eb0d6d0 100644
--- a/src/packages/vue/eslint.config.mjs
+++ b/src/packages/vue/eslint.config.mjs
@@ -1,10 +1,10 @@
import library from "@repo/eslint-config/eslint.library.config.js";
-import pluginVue from "eslint-plugin-vue";
+import vue from "eslint-plugin-vue";
/** @type {import("eslint").Linter.Config[]} */
export default [
...library,
- ...pluginVue.configs["flat/recommended"],
+ ...vue.configs["flat/recommended"],
{
ignores: ["dist/"],
},
diff --git a/src/packages/vue/package.json b/src/packages/vue/package.json
index 41a56c6..4932a01 100644
--- a/src/packages/vue/package.json
+++ b/src/packages/vue/package.json
@@ -28,8 +28,8 @@
"dev": "vite dev",
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly && publint",
"check": "vue-tsc --noEmit",
- "format": "prettier --write .",
- "lint": "prettier --check . && eslint --fix .",
+ "format": "prettier --write . && eslint --fix .",
+ "lint": "prettier --check . && eslint .",
"preview": "vite preview"
},
"keywords": [
@@ -40,7 +40,7 @@
"joke"
],
"peerDependencies": {
- "vue": "^3.0.0"
+ "vue": ">=3.0.0"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
diff --git a/src/packages/vue/tsconfig.json b/src/packages/vue/tsconfig.json
index b8e300a..23ddef4 100644
--- a/src/packages/vue/tsconfig.json
+++ b/src/packages/vue/tsconfig.json
@@ -9,11 +9,6 @@
"moduleResolution": "Bundler",
"useDefineForClassFields": true
},
- "exclude": [
- "node_modules",
- "dist",
- "src/main.ts",
- "src/components/Locusts.vue"
- ],
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
+ "exclude": ["node_modules", "dist"],
+ "include": ["src"]
}