vue-formless 0.0.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Xu Yiming
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.en.md ADDED
@@ -0,0 +1,32 @@
1
+ # vue-formless
2
+
3
+ English | [简体中文](./README.md)
4
+
5
+ > Vue 3 form composable hooks (scaffold placeholder — public API not published yet).
6
+
7
+ ## Features
8
+
9
+ - Vue 3.3+ Composition API hooks
10
+ - Written in TypeScript with full type definitions
11
+ - Zero runtime dependencies (aside from Vue peer)
12
+
13
+ ## Install
14
+
15
+ ```bash
16
+ pnpm add vue-formless
17
+ # or
18
+ npm install vue-formless
19
+ ```
20
+
21
+ ## Development
22
+
23
+ ```bash
24
+ pnpm i
25
+ pnpm build
26
+ pnpm test
27
+ pnpm typecheck
28
+ ```
29
+
30
+ ## License
31
+
32
+ [MIT](./LICENSE)
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # vue-formless
2
+
3
+ 简体中文 | [English](./README.en.md)
4
+
5
+ > Vue 3 表单组合式 hooks(脚手架占位,尚未发布 API)。
6
+
7
+ ## 特性
8
+
9
+ - Vue 3.3+ Composition API hooks
10
+ - TypeScript 编写:提供完整类型定义
11
+ - 零运行时依赖目标:不依赖第三方 npm 包(除 Vue peer)
12
+
13
+ ## 安装
14
+
15
+ ```bash
16
+ pnpm add vue-formless
17
+ # or
18
+ npm install vue-formless
19
+ ```
20
+
21
+ ## 开发
22
+
23
+ ```bash
24
+ pnpm i
25
+ pnpm build
26
+ pnpm test
27
+ pnpm typecheck
28
+ ```
29
+
30
+ ## License
31
+
32
+ [MIT](./LICENSE)
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ export { }
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "vue-formless",
3
+ "version": "0.0.1",
4
+ "description": "Vue 3 表单组合式 hooks",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.cjs"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "build": "vite build",
22
+ "dev": "vite build --watch",
23
+ "test": "vitest run",
24
+ "test:watch": "vitest",
25
+ "typecheck": "tsc --noEmit",
26
+ "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/xuyimingwork/vue-formless.git"
31
+ },
32
+ "homepage": "https://github.com/xuyimingwork/vue-formless#readme",
33
+ "bugs": {
34
+ "url": "https://github.com/xuyimingwork/vue-formless/issues"
35
+ },
36
+ "keywords": [
37
+ "vue",
38
+ "vue3",
39
+ "form",
40
+ "composable",
41
+ "hooks"
42
+ ],
43
+ "author": "Xu Yiming",
44
+ "license": "MIT",
45
+ "publishConfig": {
46
+ "registry": "https://registry.npmjs.org/",
47
+ "provenance": true
48
+ },
49
+ "peerDependencies": {
50
+ "vue": "^3.3.0"
51
+ },
52
+ "devDependencies": {
53
+ "typescript": "^5.8.3",
54
+ "vite": "^6.3.5",
55
+ "vite-plugin-dts": "^4.5.4",
56
+ "vitest": "^3.2.4",
57
+ "vue": "^3.5.16"
58
+ }
59
+ }