@wisdomgarden/torque-icons 0.1.0 → 0.1.2

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 (3) hide show
  1. package/LICENSE +101 -0
  2. package/README.md +2 -1
  3. package/package.json +3 -3
package/LICENSE ADDED
@@ -0,0 +1,101 @@
1
+ WisdomGarden License
2
+ Version 1.0, September 2026
3
+
4
+ Copyright (c) 2026 WisdomGarden. All rights reserved.
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean WisdomGarden, the copyright owner of the Work.
14
+
15
+ "Work" shall mean the software made available under this License,
16
+ including its source code, object code, documentation, design assets,
17
+ and any accompanying files.
18
+
19
+ "You" shall mean an individual or Legal Entity exercising permissions
20
+ granted by this License.
21
+
22
+ "Authorized User" shall mean (a) WisdomGarden and its affiliates, and
23
+ (b) any Legal Entity that has entered into a valid commercial agreement
24
+ with WisdomGarden covering a WisdomGarden product, for the duration of
25
+ that agreement and solely in connection with that product.
26
+
27
+ 2. Grant of Copyright License.
28
+
29
+ Subject to the terms of this License, Licensor grants to each Authorized
30
+ User a non-exclusive, non-transferable, non-sublicensable, revocable,
31
+ royalty-free license to use, reproduce, and modify the Work, and to
32
+ incorporate the Work into products operated by or on behalf of that
33
+ Authorized User, solely for that purpose.
34
+
35
+ 3. Grant of Patent License.
36
+
37
+ Subject to the terms of this License, Licensor grants to each Authorized
38
+ User a non-exclusive, non-transferable, revocable, royalty-free patent
39
+ license to make and use the Work, limited to those patent claims
40
+ licensable by Licensor that are necessarily infringed by the Work alone.
41
+ If You institute patent litigation against any entity alleging that the
42
+ Work constitutes patent infringement, any license granted to You under
43
+ this License terminates as of the date such litigation is filed.
44
+
45
+ 4. Restrictions.
46
+
47
+ Except as expressly permitted by Section 2, You may not:
48
+
49
+ (a) use the Work if You are not an Authorized User;
50
+
51
+ (b) distribute, sublicense, sell, rent, or lease the Work, or any
52
+ derivative of it, to any third party;
53
+
54
+ (c) use the Work to build, operate, or offer a product that competes
55
+ with any WisdomGarden product; or
56
+
57
+ (d) remove or obscure any copyright, trademark, or other proprietary
58
+ notice contained in the Work.
59
+
60
+ The Work may be publicly downloadable from a package registry. Public
61
+ availability does not grant any license beyond what this document
62
+ states.
63
+
64
+ 5. Redistribution.
65
+
66
+ Redistribution of the Work as a standalone library is not permitted. An
67
+ Authorized User may deploy the Work as part of a product it operates,
68
+ provided the Work is not offered to third parties on its own.
69
+
70
+ 6. Trademarks.
71
+
72
+ This License does not grant permission to use the trade names,
73
+ trademarks, service marks, or product names of Licensor, including
74
+ "WisdomGarden" and "Torque Design", except as required for reasonable
75
+ and customary use in describing the origin of the Work.
76
+
77
+ 7. Disclaimer of Warranty.
78
+
79
+ THE WORK IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
80
+ CONDITIONS OF ANY KIND, either express or implied, including, without
81
+ limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
82
+ MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
83
+ responsible for determining the appropriateness of using the Work and
84
+ assume any risks associated with Your exercise of permissions under
85
+ this License.
86
+
87
+ 8. Limitation of Liability.
88
+
89
+ IN NO EVENT AND UNDER NO LEGAL THEORY SHALL LICENSOR BE LIABLE TO YOU
90
+ FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
91
+ CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING AS A RESULT OF THIS
92
+ LICENSE OR OUT OF THE USE OR INABILITY TO USE THE WORK, even if
93
+ Licensor has been advised of the possibility of such damages.
94
+
95
+ 9. Termination.
96
+
97
+ This License terminates automatically if You breach any of its terms,
98
+ or when You cease to be an Authorized User. Upon termination You must
99
+ cease all use of the Work and destroy all copies in Your possession.
100
+
101
+ END OF TERMS AND CONDITIONS
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # @wisdomgarden/torque-icons
2
2
 
3
- Wisdom Garden 图标集。**每个图标是一个独立的、按需加载的 ES 模块**,外加一个按名字解析图标的 React `<Icon>`。
3
+ **Torque Design** 的图标集 —— Wisdom Garden 设计系统的一部分(另两个是
4
+ `@wisdomgarden/torque` 组件库与 `@wisdomgarden/torque-styles` 设计 token)。**每个图标是一个独立的、按需加载的 ES 模块**,外加一个按名字解析图标的 React `<Icon>`。
4
5
 
5
6
  ## 为什么是「一图标一模块」
6
7
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@wisdomgarden/torque-icons",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Torque Design icons — the Wisdom Garden icon set — one lazily loaded ES module per icon, plus a React <Icon> that resolves them by name.",
5
5
  "type": "module",
6
- "license": "UNLICENSED",
6
+ "license": "SEE LICENSE IN LICENSE",
7
7
  "files": [
8
8
  "dist"
9
9
  ],
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "scripts": {
44
44
  "generate": "node scripts/generate.mjs",
45
- "build": "pnpm generate && vite build && tsc -p tsconfig.build.json && node scripts/strip-generated-sourcemaps.mjs",
45
+ "build": "pnpm generate && vite build && tsc -p tsconfig.build.json && node ../../scripts/verify-no-bundled-deps.mjs && node scripts/strip-generated-sourcemaps.mjs",
46
46
  "type:check": "tsc -p tsconfig.json"
47
47
  }
48
48
  }