@vrugd/ui 0.1.2 → 0.1.4
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/README.md +6 -6
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* Tailwind Utility を前提とした軽量設計
|
|
29
29
|
* **📦 Monorepo Friendly**
|
|
30
30
|
* Bun + Turborepo 構成
|
|
31
|
-
* `@
|
|
31
|
+
* `@vrugd/ui` パッケージとして分離済み
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ repo-root/
|
|
|
39
39
|
├── apps/
|
|
40
40
|
│ └── web/ # Next.js App Router (Demo App)
|
|
41
41
|
└── packages/
|
|
42
|
-
└── ui/ # @
|
|
42
|
+
└── ui/ # @vrugd/ui (Component Library)
|
|
43
43
|
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -71,7 +71,7 @@ bunx turbo dev --filter=web
|
|
|
71
71
|
|
|
72
72
|
## 📖 Usage
|
|
73
73
|
|
|
74
|
-
Next.js (App Router) アプリケーションで `@
|
|
74
|
+
Next.js (App Router) アプリケーションで `@vrugd/ui` を使用する手順です。
|
|
75
75
|
|
|
76
76
|
### 1. Install Dependency
|
|
77
77
|
|
|
@@ -82,7 +82,7 @@ Next.js (App Router) アプリケーションで `@acme/ui` を使用する手
|
|
|
82
82
|
```json
|
|
83
83
|
{
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@
|
|
85
|
+
"@vrugd/ui": "workspace:*"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -99,7 +99,7 @@ UIキットの基本スタイル(Design Tokens & Base styles)を読み込み
|
|
|
99
99
|
@tailwind components;
|
|
100
100
|
@tailwind utilities;
|
|
101
101
|
|
|
102
|
-
/* @
|
|
102
|
+
/* @vrugd/ui global styles & tokens */
|
|
103
103
|
@import "../../../packages/ui/src/styles/globals.css";
|
|
104
104
|
|
|
105
105
|
```
|
|
@@ -134,7 +134,7 @@ export default config;
|
|
|
134
134
|
|
|
135
135
|
```tsx
|
|
136
136
|
import * as React from "react";
|
|
137
|
-
import { Button, Card, Hero, Navbar, Section, Text } from "@
|
|
137
|
+
import { Button, Card, Hero, Navbar, Section, Text } from "@vrugd/ui";
|
|
138
138
|
|
|
139
139
|
export default function Page() {
|
|
140
140
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vrugd/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"@types/node": "^25.0.10",
|
|
16
16
|
"@types/react": "^19.2.9",
|
|
17
17
|
"@types/react-dom": "^19.2.3",
|
|
18
|
+
"npm-check-updates": "^19.3.1",
|
|
18
19
|
"tsup": "^8.5.1",
|
|
19
20
|
"typescript": "^5.5.0"
|
|
20
21
|
},
|