Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Dec 24, 2024
1 parent 530251b commit 2abc350
Show file tree
Hide file tree
Showing 8 changed files with 702 additions and 167 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publish Any Commit
on: [push, pull_request]
on: [pull_request]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"dev": "pnpm run --filter=\"./packages/*\" --parallel dev",
"build": "pnpm run --filter=\"./packages/*\" build",
"typecheck": "pnpm run --filter=\"./packages/*\" --parallel typecheck",
"typecheck": "tsc --noEmit",
"publish": "pnpm build && changeset publish",
"lint": "eslint .",
"play": "npm -C playground run dev",
Expand Down
1 change: 0 additions & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"scripts": {
"build": "tsup",
"dev": "DEV=true tsup",
"typecheck": "tsc --noEmit",
"release": "bumpp && npm publish",
"test": "vitest"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/unplugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"scripts": {
"build": "tsup",
"dev": "DEV=true tsup",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"play": "npm -C playground run dev",
"release": "bumpp && npm publish",
Expand Down Expand Up @@ -164,7 +163,7 @@
"rollup": "^4.18.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^6.0.0",
"vitest": "^1.6.0",
"webpack": "^5.92.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { CompilerOptions } from '@vue-jsx-vapor/compiler'
import type { FilterPattern } from 'vite'

Check failure on line 1 in packages/unplugin/src/types.ts

View workflow job for this annotation

GitHub Actions / test (18.x, ubuntu-latest)

Module '"../node_modules/vite/index.cjs"' has no exported member 'FilterPattern'.

Check failure on line 1 in packages/unplugin/src/types.ts

View workflow job for this annotation

GitHub Actions / test (18.x, windows-latest)

Module '"../node_modules/vite/index.cjs"' has no exported member 'FilterPattern'.

Check failure on line 1 in packages/unplugin/src/types.ts

View workflow job for this annotation

GitHub Actions / test (18.x, macos-latest)

Module '"../node_modules/vite/index.cjs"' has no exported member 'FilterPattern'.
import type { CompilerOptions } from '@vue-jsx-vapor/compiler'

export interface Options {
// define your plugin options here
Expand Down
5 changes: 2 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"private": true,
"type": "module",
"scripts": {
"dev": "nodemon -w '../../src/**/*.ts' -e .ts -x vite --port 5174"
"dev": "vite --port 5174"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"unplugin-vue-jsx-vapor": "workspace:*",
"unplugin-vue-macros": "https://pkg.pr.new/vue-macros/vue-macros/unplugin-vue-macros@f4ebeab",
"vite": "^5.3.2",
"vite": "^6.0.0",
"vite-plugin-inspect": "^0.8.4",
"vue": "catalog:"
}
Expand Down
Loading

0 comments on commit 2abc350

Please sign in to comment.