vite-plugin-vanjs 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![typescript version](https://img.shields.io/badge/typescript-5.6.2-brightgreen)](https://www.typescriptlang.org/)
8
8
  [![vanjs-core version](https://img.shields.io/badge/vanjs--core-1.5.3-brightgreen)](https://github.com/vanjs-org/van)
9
9
  [![mini-van-plate version](https://img.shields.io/badge/mini--van--plate-0.6.3-brightgreen)](https://github.com/vanjs-org/mini-van-plate)
10
- [![vitest version](https://img.shields.io/badge/vitest-3.0.8-brightgreen)](https://www.vitest.dev/)
10
+ [![vitest version](https://img.shields.io/badge/vitest-3.0.9-brightgreen)](https://www.vitest.dev/)
11
11
  [![vite version](https://img.shields.io/badge/vite-6.2.2-brightgreen)](https://vite.dev)
12
12
 
13
13
  A mini meta-framework for [VanJS](https://vanjs.org/) developed around the awesome [Vite](https://vite.dev). The plugin comes with a set of modules to simplify your workflow:
@@ -23,9 +23,7 @@ The plugin will automatically load the appropriate Van or VanX objects depending
23
23
  ### Notes
24
24
  * The plugin uses `van-ext` along with `mini-van-plate` so you can have everything ready from the start.
25
25
 
26
- * The recommended starter templates for you are the [vite-starter-vanjs-ssr](https://github.com/thednp/vite-starter-vanjs-ssr) and [vite-starter-vanjs-ssr-jsx](https://github.com/thednp/vite-starter-vanjs-ssr-jsx) which already include this plugin.
27
-
28
- * In the near future we're going to have a `npm create-vanjs` CLI so stick around!
26
+ * Kickstart your VanJS project with `npm create vanjs@latest`. Some starter templates feature this plugin and most essential tools.
29
27
 
30
28
 
31
29
  ### Install
@@ -48,9 +46,6 @@ deno add npm:vite-plugin-vanjs
48
46
  bun install vite-plugin-vanjs
49
47
  ```
50
48
 
51
- ```bash
52
- yarn add vite-plugin-vanjs
53
- ```
54
49
 
55
50
  2) To add Typescript support, edit your `src/vite-env.d.ts` (or any global types you have set in your app) as follows:
56
51
 
File without changes
package/client/index.mjs CHANGED
File without changes
File without changes
package/client/types.d.ts CHANGED
File without changes
package/jsx/fragment.d.ts CHANGED
File without changes
package/jsx/fragment.mjs CHANGED
File without changes
package/jsx/global.d.ts CHANGED
File without changes
package/jsx/index.mjs CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/jsx/jsx.d.ts CHANGED
File without changes
package/jsx/jsx.mjs CHANGED
File without changes
package/jsx/package.json CHANGED
File without changes
package/jsx/types.d.ts CHANGED
File without changes
File without changes
package/jsx-runtime.d.ts CHANGED
File without changes
package/meta/package.json CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-vanjs",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "author": "thednp",
5
5
  "license": "MIT",
6
6
  "description": "A mini meta-framework for VanJS powered by Vite",
@@ -74,17 +74,6 @@
74
74
  "import": "./jsx/jsx-dev-runtime.mjs"
75
75
  }
76
76
  },
77
- "scripts": {
78
- "test": "vitest --config vitest.config.mts",
79
- "test-ui": "vitest --config vitest.config.mts --ui=true",
80
- "prepublishOnly": "pnpm up && pnpm lint && pnpm format && pnpm badges",
81
- "badges": "npx -p dependency-version-badge update-badge vanjs-core mini-van-plate typescript vitest vite",
82
- "format": "deno fmt src meta router setup client server jsx",
83
- "lint": "pnpm lint:ts && pnpm check:ts",
84
- "lint:ts": "deno lint src meta router setup client server jsx",
85
- "fix:ts": "deno lint src meta router setup client server jsx --fix",
86
- "check:ts": "tsc -noEmit"
87
- },
88
77
  "peerDependencies": {
89
78
  "csstype": "*",
90
79
  "mini-van-plate": "*",
@@ -98,17 +87,27 @@
98
87
  "vanjs-ext": "^0.6.2"
99
88
  },
100
89
  "devDependencies": {
101
- "@vitest/browser": "^3.0.8",
102
- "@vitest/coverage-istanbul": "^3.0.8",
103
- "@vitest/ui": "^3.0.8",
90
+ "@types/node": "^22.13.10",
91
+ "@vitest/browser": "^3.0.9",
92
+ "@vitest/coverage-istanbul": "^3.0.9",
93
+ "@vitest/ui": "^3.0.9",
104
94
  "happy-dom": "^16.8.1",
105
95
  "typescript": "5.6.2",
106
96
  "vite": "^6.2.2",
107
- "vitest": "^3.0.8"
97
+ "vitest": "^3.0.9"
108
98
  },
109
- "packageManager": "pnpm@8.6.12",
110
99
  "engines": {
111
100
  "node": ">=20",
112
101
  "pnpm": ">=8.6.0"
102
+ },
103
+ "scripts": {
104
+ "test": "vitest --config vitest.config.mts",
105
+ "test-ui": "vitest --config vitest.config.mts --ui=true",
106
+ "badges": "npx -p dependency-version-badge update-badge vanjs-core mini-van-plate typescript vitest vite",
107
+ "format": "deno fmt src meta router setup client server jsx",
108
+ "lint": "pnpm lint:ts && pnpm check:ts",
109
+ "lint:ts": "deno lint src meta router setup client server jsx",
110
+ "fix:ts": "deno lint src meta router setup client server jsx --fix",
111
+ "check:ts": "tsc -noEmit"
113
112
  }
114
- }
113
+ }
package/router/a.mjs CHANGED
File without changes
File without changes
package/router/index.mjs CHANGED
File without changes
File without changes
package/router/router.mjs CHANGED
File without changes
package/router/routes.mjs CHANGED
File without changes
package/router/types.d.ts CHANGED
File without changes
File without changes
package/server/index.mjs CHANGED
File without changes
File without changes
package/server/types.d.ts CHANGED
File without changes
package/setup/global.d.ts CHANGED
File without changes
File without changes
package/setup/index.mjs CHANGED
File without changes
File without changes
package/setup/types.d.ts CHANGED
File without changes
File without changes
package/setup/van.d.ts CHANGED
File without changes
package/setup/van.mjs CHANGED
File without changes
package/setup/vanX.d.ts CHANGED
File without changes
package/setup/vanX.mjs CHANGED
File without changes
package/src/index.mjs CHANGED
File without changes
package/src/types.d.ts CHANGED
File without changes
package/tsconfig.json CHANGED
File without changes