Skip to content

Commit

Permalink
feat: template update (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyinws authored Dec 4, 2023
1 parent 8f6a303 commit dfe56c4
Show file tree
Hide file tree
Showing 10 changed files with 1,154 additions and 948 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.experimental.useFlatConfig": true
}
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import antfu from '@antfu/eslint-config'

export default antfu()
42 changes: 26 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./astro": {
"types": "./dist/astro.d.ts",
"import": "./dist/astro.js",
"require": "./dist/astro.cjs"
},
"./rspack": {
"types": "./dist/rspack.d.ts",
"import": "./dist/rspack.js",
"require": "./dist/rspack.cjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"import": "./dist/vite.js",
Expand Down Expand Up @@ -112,25 +122,25 @@
}
},
"dependencies": {
"unplugin": "^1.4.0"
"unplugin": "^1.5.1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.40.2",
"@nuxt/kit": "^3.6.5",
"@nuxt/schema": "^3.6.5",
"@types/node": "^20.5.2",
"@antfu/eslint-config": "^2.2.2",
"@nuxt/kit": "^3.8.2",
"@nuxt/schema": "^3.8.2",
"@types/node": "^20.10.3",
"bumpp": "^9.2.0",
"chalk": "^5.3.0",
"eslint": "^8.47.0",
"esno": "^0.17.0",
"fast-glob": "^3.3.1",
"nodemon": "^3.0.1",
"rimraf": "^5.0.1",
"rollup": "^3.28.1",
"tsup": "^7.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vitest": "^0.34.2",
"webpack": "^5.88.2"
"eslint": "^8.55.0",
"esno": "^4.0.0",
"fast-glob": "^3.3.2",
"nodemon": "^3.0.2",
"rimraf": "^5.0.5",
"rollup": "^4.6.1",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.6",
"webpack": "^5.89.0"
}
}
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dev": "nodemon -w '../src/**/*.ts' -e .ts -x vite"
},
"devDependencies": {
"vite": "^4.4.9",
"vite-plugin-inspect": "^0.7.38"
"vite": "^5.0.4",
"vite-plugin-inspect": "^0.8.1"
}
}
Loading

0 comments on commit dfe56c4

Please sign in to comment.