@squidflare/squidui 0.0.1 → 0.0.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.
- package/LICENSE +21 -0
- package/README.md +58 -0
- package/package.json +24 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SquidFlare
|
|
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
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# `@squidflare/squidui`
|
|
2
|
+
|
|
3
|
+
The SquidUI CLI installs readable, editable component source files into your project. It follows the copy-source model: generated files belong to your application and can be customized with your own Tailwind classes, tokens, and behavior.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save-dev @squidflare/squidui
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
You can also use pnpm, Yarn, or Bun:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm add --save-dev @squidflare/squidui
|
|
15
|
+
yarn add --dev @squidflare/squidui
|
|
16
|
+
bun add --dev @squidflare/squidui
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Initialize a project
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx @squidflare/squidui init
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This creates a `squidui.config.json` file. Set `uiDir` to the folder where generated components should live.
|
|
26
|
+
|
|
27
|
+
## Add components
|
|
28
|
+
|
|
29
|
+
Install one or multiple components in one command:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx @squidflare/squidui add button input card
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The CLI never overwrites an existing file unless you explicitly pass `--force`:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx @squidflare/squidui add button --force
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Available components currently include Button, Input, Label, Card, Badge, Avatar, Checkbox, Switch, Separator, Skeleton, Alert, Tooltip, Tabs, and Dialog.
|
|
42
|
+
|
|
43
|
+
## Tailwind CSS
|
|
44
|
+
|
|
45
|
+
SquidUI components are designed for Tailwind CSS. Add Tailwind to your global stylesheet according to your application setup:
|
|
46
|
+
|
|
47
|
+
```css
|
|
48
|
+
@import "tailwindcss";
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Links
|
|
52
|
+
|
|
53
|
+
- Documentation: https://ui.squidflare.com/
|
|
54
|
+
- Source and issues: https://github.com/SquidFlare/squidui
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
MIT © SquidFlare
|
package/package.json
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidflare/squidui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "The SquidUI copy-source CLI for installing readable, editable React and Tailwind components.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"squidui",
|
|
7
|
+
"ui",
|
|
8
|
+
"react",
|
|
9
|
+
"tailwindcss",
|
|
10
|
+
"components",
|
|
11
|
+
"design-system",
|
|
12
|
+
"copy-source",
|
|
13
|
+
"cli",
|
|
14
|
+
"radix-ui",
|
|
15
|
+
"typescript"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"homepage": "https://ui.squidflare.com/",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/SquidFlare/squidui.git",
|
|
22
|
+
"directory": "packages/cli"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/SquidFlare/squidui/issues"
|
|
26
|
+
},
|
|
5
27
|
"type": "module",
|
|
6
28
|
"publishConfig": {
|
|
7
29
|
"access": "public"
|