@weapp-core/types 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +21 -2
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # @weapp-core/types
2
+
3
+ Shared TypeScript intrinsic element types for WeChat and multi-platform mini-programs.
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ pnpm add @weapp-core/types
9
+ ```
10
+
11
+ ## 使用
12
+
13
+ 请根据包导出的 API 和仓库中的示例使用本包。完整文档与源码位于 [weapp-vite](https://github.com/weapp-vite/weapp-vite)。
package/package.json CHANGED
@@ -1,9 +1,25 @@
1
1
  {
2
2
  "name": "@weapp-core/types",
3
3
  "type": "module",
4
- "version": "1.0.0",
5
- "description": "小程序平台公共类型契约",
4
+ "version": "1.1.1",
5
+ "description": "Shared TypeScript intrinsic element types for WeChat and multi-platform mini-programs.",
6
6
  "license": "MIT",
7
+ "homepage": "https://github.com/weapp-vite/weapp-vite#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/weapp-vite/weapp-vite.git",
11
+ "directory": "@weapp-core/types"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/weapp-vite/weapp-vite/issues"
15
+ },
16
+ "keywords": [
17
+ "weapp-vite",
18
+ "weapp",
19
+ "wechat",
20
+ "mini-program",
21
+ "miniprogram"
22
+ ],
7
23
  "sideEffects": false,
8
24
  "exports": {
9
25
  ".": {
@@ -46,6 +62,9 @@
46
62
  "files": [
47
63
  "dist"
48
64
  ],
65
+ "engines": {
66
+ "node": "^20.19.0 || >=22.12.0"
67
+ },
49
68
  "devDependencies": {
50
69
  "tsd": "^0.33.0",
51
70
  "tsdown": "0.23.0",