frakment 0.0.4 → 0.0.6
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 +21 -190
- package/README.md +17 -1
- package/bin/index.js +0 -0
- package/package.json +12 -6
package/LICENSE
CHANGED
|
@@ -1,190 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"Software" means the source code, components, CLI, MCP server, agent
|
|
24
|
-
skills, documentation, and any associated files in this repository,
|
|
25
|
-
whether used in original or modified form.
|
|
26
|
-
|
|
27
|
-
"Personal Use" means use by an individual for personal projects,
|
|
28
|
-
learning, experimentation, hobby work, or internal tools that do not
|
|
29
|
-
generate revenue.
|
|
30
|
-
|
|
31
|
-
"Educational Use" means use by students, teachers, or institutions
|
|
32
|
-
for teaching, coursework, academic research, or non-commercial
|
|
33
|
-
educational activities.
|
|
34
|
-
|
|
35
|
-
"Commercial Use" means any use that:
|
|
36
|
-
|
|
37
|
-
(a) is part of a product, service, or website that generates revenue
|
|
38
|
-
directly or indirectly (including ads, subscriptions, paid
|
|
39
|
-
features, consulting, or paid support);
|
|
40
|
-
(b) is deployed in production by a for-profit entity; or
|
|
41
|
-
(c) is used to build something that is sold, licensed, or monetized
|
|
42
|
-
in any form.
|
|
43
|
-
|
|
44
|
-
"Qualifying Contribution" means a pull request that has been
|
|
45
|
-
reviewed and merged into the main branch of
|
|
46
|
-
github.com/hanshapd/frakment, where all of the following are true:
|
|
47
|
-
|
|
48
|
-
(a) The commit author is you (your GitHub username or email is
|
|
49
|
-
recorded in the commit metadata).
|
|
50
|
-
(b) The pull request makes at least one substantive change: fixes a
|
|
51
|
-
bug, adds a feature, adds or corrects documentation, adds a
|
|
52
|
-
test, translates content, or fixes a typo.
|
|
53
|
-
(c) The pull request has not been reverted within 30 days of being
|
|
54
|
-
merged.
|
|
55
|
-
|
|
56
|
-
There is no minimum number of lines changed. A single-line typo fix
|
|
57
|
-
qualifies. A documentation clarification qualifies. A test addition
|
|
58
|
-
qualifies.
|
|
59
|
-
|
|
60
|
-
A pull request that was closed without merging does NOT qualify. A
|
|
61
|
-
pull request that was merged and later reverted within 30 days does
|
|
62
|
-
NOT qualify.
|
|
63
|
-
|
|
64
|
-
====================================================================
|
|
65
|
-
2. GRANT OF RIGHTS
|
|
66
|
-
====================================================================
|
|
67
|
-
|
|
68
|
-
Subject to the terms of this license, you are granted permission to:
|
|
69
|
-
|
|
70
|
-
(a) View, read, and study the source code.
|
|
71
|
-
(b) Fork, clone, and copy the repository.
|
|
72
|
-
(c) Modify the source code.
|
|
73
|
-
(d) Distribute the original or modified version.
|
|
74
|
-
|
|
75
|
-
These rights apply without additional conditions for Personal Use and
|
|
76
|
-
Educational Use, provided you satisfy the Attribution Requirements in
|
|
77
|
-
Section 3.
|
|
78
|
-
|
|
79
|
-
These rights apply for Commercial Use only after you have made a
|
|
80
|
-
Qualifying Contribution, in addition to the Attribution Requirements.
|
|
81
|
-
|
|
82
|
-
====================================================================
|
|
83
|
-
3. ATTRIBUTION REQUIREMENTS (ALWAYS)
|
|
84
|
-
====================================================================
|
|
85
|
-
|
|
86
|
-
Any use, copy, modification, or distribution of the Software, in
|
|
87
|
-
whole or in part, for Personal, Educational, or Commercial Use, must:
|
|
88
|
-
|
|
89
|
-
(a) Include the following attribution in the README, documentation,
|
|
90
|
-
footer, or another reasonably visible user-facing location:
|
|
91
|
-
|
|
92
|
-
Based on Frakment by hanshapd
|
|
93
|
-
https://github.com/hanshapd/frakment
|
|
94
|
-
|
|
95
|
-
(b) Include this LICENSE file unmodified in all copies and
|
|
96
|
-
derivative works.
|
|
97
|
-
|
|
98
|
-
(c) Clearly mark any modified versions as modified, with a brief
|
|
99
|
-
description of the changes (e.g., in a CHANGELOG or README).
|
|
100
|
-
|
|
101
|
-
====================================================================
|
|
102
|
-
4. COMMERCIAL USE REQUIREMENT
|
|
103
|
-
====================================================================
|
|
104
|
-
|
|
105
|
-
Before using the Software for any Commercial Use, you (or the legal
|
|
106
|
-
entity you represent) must have made one Qualifying Contribution as
|
|
107
|
-
defined in Section 1. This is the only path to Commercial Use.
|
|
108
|
-
|
|
109
|
-
--------------------------------------------------------------------
|
|
110
|
-
4.1 SCOPE OF SATISFACTION
|
|
111
|
-
--------------------------------------------------------------------
|
|
112
|
-
|
|
113
|
-
Once a Qualifying Contribution has been made, the requirement is
|
|
114
|
-
satisfied permanently for:
|
|
115
|
-
|
|
116
|
-
- the individual who made the contribution, OR
|
|
117
|
-
- the legal entity (company, organization, or team) on whose
|
|
118
|
-
behalf the contribution was made,
|
|
119
|
-
|
|
120
|
-
for all future Commercial Use of the Software by that individual or
|
|
121
|
-
entity. No further contributions are required for future commercial
|
|
122
|
-
use by the same party.
|
|
123
|
-
|
|
124
|
-
--------------------------------------------------------------------
|
|
125
|
-
4.2 EVIDENCE ON REQUEST
|
|
126
|
-
--------------------------------------------------------------------
|
|
127
|
-
|
|
128
|
-
If hanshapd requests proof that the Commercial Use requirement has
|
|
129
|
-
been satisfied, you must provide, within 30 days, a link to the
|
|
130
|
-
merged pull request on GitHub.
|
|
131
|
-
|
|
132
|
-
Refusal or failure to provide evidence on request voids the
|
|
133
|
-
permission for Commercial Use until evidence is provided.
|
|
134
|
-
|
|
135
|
-
--------------------------------------------------------------------
|
|
136
|
-
4.3 NO REQUIREMENT FOR NON-COMMERCIAL USE
|
|
137
|
-
--------------------------------------------------------------------
|
|
138
|
-
|
|
139
|
-
Personal Use and Educational Use do NOT require a Qualifying
|
|
140
|
-
Contribution. Attribution (Section 3) is the only requirement for
|
|
141
|
-
those uses.
|
|
142
|
-
|
|
143
|
-
====================================================================
|
|
144
|
-
5. RESTRICTIONS
|
|
145
|
-
====================================================================
|
|
146
|
-
|
|
147
|
-
You may not:
|
|
148
|
-
|
|
149
|
-
(a) Remove, hide, or alter copyright notices or the attribution
|
|
150
|
-
required by Section 3.
|
|
151
|
-
(b) Claim authorship of this Software or of any derivative work.
|
|
152
|
-
(c) Use the names "Frakment", "frakment", or "hanshapd", or any
|
|
153
|
-
associated logos or branding, to endorse or promote derivative
|
|
154
|
-
works without prior written permission.
|
|
155
|
-
(d) Sublicense this Software under different terms. Any party that
|
|
156
|
-
receives a copy from you does so subject to this same license.
|
|
157
|
-
|
|
158
|
-
====================================================================
|
|
159
|
-
6. NO TRADEMARK LICENSE
|
|
160
|
-
====================================================================
|
|
161
|
-
|
|
162
|
-
This license does not grant any rights to use the names "Frakment",
|
|
163
|
-
"frakment", or "hanshapd", or any associated logos or marks, except
|
|
164
|
-
as strictly necessary for the attribution described in Section 3.
|
|
165
|
-
|
|
166
|
-
====================================================================
|
|
167
|
-
7. WARRANTY
|
|
168
|
-
====================================================================
|
|
169
|
-
|
|
170
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
171
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
172
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
|
|
173
|
-
NON-INFRINGEMENT.
|
|
174
|
-
|
|
175
|
-
IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY
|
|
176
|
-
CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
177
|
-
TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
|
|
178
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
179
|
-
|
|
180
|
-
====================================================================
|
|
181
|
-
8. ACCEPTANCE
|
|
182
|
-
====================================================================
|
|
183
|
-
|
|
184
|
-
By accessing, using, copying, modifying, or distributing this project,
|
|
185
|
-
you agree to be bound by the terms above. If you do not agree, you are
|
|
186
|
-
not granted permission to use this project and must delete all copies
|
|
187
|
-
in your possession.
|
|
188
|
-
|
|
189
|
-
For permission requests or questions about this license, contact
|
|
190
|
-
hanshapd on GitHub: https://github.com/hanshapd
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 The Frakment Authors
|
|
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.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# frakment CLI
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/frakment)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
3
6
|
Monochrome design system and component registry CLI.
|
|
4
7
|
|
|
5
8
|
## Requirements
|
|
@@ -7,6 +10,19 @@ Monochrome design system and component registry CLI.
|
|
|
7
10
|
- Node.js >= 22.12.0
|
|
8
11
|
- Tailwind CSS v4 (`@import "tailwindcss";` in your `globals.css`)
|
|
9
12
|
|
|
13
|
+
## Package managers
|
|
14
|
+
|
|
15
|
+
The commands below use `npx`. Every package manager works.
|
|
16
|
+
|
|
17
|
+
| Package manager | Run |
|
|
18
|
+
| :-- | :-- |
|
|
19
|
+
| npm | `npx frakment@latest <command>` |
|
|
20
|
+
| pnpm | `pnpm dlx frakment@latest <command>` |
|
|
21
|
+
| yarn | `yarn dlx frakment@latest <command>` |
|
|
22
|
+
| bun | `bunx frakment@latest <command>` |
|
|
23
|
+
|
|
24
|
+
The CLI auto-detects your package manager from the project lockfile when installing dependencies.
|
|
25
|
+
|
|
10
26
|
## Usage
|
|
11
27
|
|
|
12
28
|
### `frakment init`
|
|
@@ -85,4 +101,4 @@ If your `globals.css` lives at `src/app/globals.css`, component files are writte
|
|
|
85
101
|
|
|
86
102
|
## License
|
|
87
103
|
|
|
88
|
-
|
|
104
|
+
MIT licensed. See [LICENSE](./LICENSE).
|
package/bin/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frakment",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "CLI and design system for the frakment component registry",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -9,8 +9,13 @@
|
|
|
9
9
|
"registry",
|
|
10
10
|
"tailwindcss"
|
|
11
11
|
],
|
|
12
|
-
"
|
|
13
|
-
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/arrafipd/frakment.git",
|
|
15
|
+
"directory": "packages/cli"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "The Frakment Authors (https://github.com/arrafipd/frakment)",
|
|
14
19
|
"type": "module",
|
|
15
20
|
"bin": {
|
|
16
21
|
"frakment": "./bin/index.js"
|
|
@@ -18,13 +23,14 @@
|
|
|
18
23
|
"files": [
|
|
19
24
|
"bin",
|
|
20
25
|
"src",
|
|
21
|
-
"templates"
|
|
26
|
+
"templates",
|
|
27
|
+
"LICENSE"
|
|
22
28
|
],
|
|
23
29
|
"dependencies": {
|
|
24
|
-
"chalk": "^
|
|
30
|
+
"chalk": "^6.0.1",
|
|
25
31
|
"commander": "^15.0.0",
|
|
26
32
|
"execa": "^10.2.1",
|
|
27
|
-
"ora": "^
|
|
33
|
+
"ora": "^10.0.0",
|
|
28
34
|
"prompts": "^2.4.2"
|
|
29
35
|
},
|
|
30
36
|
"engines": {
|