@pantoia/ui 0.4.0 → 0.5.0

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/README.md +46 -0
  2. package/dist/index.js +0 -0
  3. package/package.json +18 -6
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Pantoia UI
2
+
3
+ React 디자인 시스템 패키지. 문서는 `design.pantoia.com`
4
+
5
+ ## 사용
6
+
7
+ ```
8
+ npx @pantoia/ui init components.json을 만든다
9
+ npx @pantoia/ui add button components/ui/button/에 소스를 복사한다
10
+ npx @pantoia/ui list 컴포넌트 목록
11
+ npx @pantoia/ui diff 복사한 소스와 배포본의 차이
12
+ ```
13
+
14
+ `init`이 전역 CSS에 아래 줄을 추가한다.
15
+
16
+ ```css
17
+ @import "@pantoia/ui/tailwind.css";
18
+ ```
19
+
20
+ ## 개발
21
+
22
+ 호스트에는 Docker만 있으면 된다.
23
+
24
+ ```
25
+ git clone git@github.com:pantoia/pantoia-ui.git
26
+ cd pantoia-ui
27
+ docker compose up -d dev
28
+ ```
29
+
30
+ 편집기는 `.devcontainer/devcontainer.json`으로 컨테이너 안에서 연다.
31
+
32
+ ```
33
+ docker compose up -d dev 실행
34
+ docker compose down 종료
35
+ docker compose exec dev npm run verify typecheck, check, lint, test
36
+ docker compose exec dev npm pack tarball
37
+ ```
38
+
39
+ ## 구조
40
+
41
+ ```
42
+ <이름>/ 컴포넌트
43
+ cli/ CLI
44
+ docs/decisions/ 결정 기록
45
+ .claude/rules/ 일하는 규칙
46
+ ```
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@pantoia/ui",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Pantoia Design System",
5
5
  "homepage": "https://design.pantoia.com",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/pantoia/pantoia-design.git",
9
- "directory": "packages/registry"
8
+ "url": "git+https://github.com/pantoia/pantoia-ui.git"
10
9
  },
11
10
  "license": "MIT",
12
11
  "type": "module",
@@ -44,7 +43,13 @@
44
43
  },
45
44
  "scripts": {
46
45
  "prepack": "tsc cli/index.ts --ignoreConfig --outDir dist --target es2022 --module esnext --moduleResolution bundler --skipLibCheck --types node",
47
- "typecheck": "tsc --noEmit"
46
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.node.json",
47
+ "check": "tsx scripts/check.ts",
48
+ "lint": "oxlint --deny-warnings",
49
+ "test": "vitest run",
50
+ "verify": "npm run typecheck && npm run check && npm run lint && npm run test",
51
+ "dev:up": "docker compose up -d dev",
52
+ "dev:down": "docker compose down"
48
53
  },
49
54
  "dependencies": {
50
55
  "@base-ui/react": "^1.8.0",
@@ -56,12 +61,19 @@
56
61
  "tailwindcss": "^4.0.0"
57
62
  },
58
63
  "devDependencies": {
59
- "@pantoia/typescript-config": "*",
64
+ "@testing-library/dom": "^10.4.1",
65
+ "@testing-library/react": "^16.3.3",
66
+ "@testing-library/user-event": "^14.6.6",
60
67
  "@types/node": "26.4.0",
61
68
  "@types/react": "19.2.18",
62
69
  "@types/react-dom": "19.2.5",
70
+ "happy-dom": "^20.12.0",
71
+ "oxlint": "1.81.0",
63
72
  "react": "19.2.8",
64
73
  "react-dom": "19.2.8",
65
- "typescript": "7.0.2"
74
+ "tailwindcss": "4.3.3",
75
+ "tsx": "4.23.12",
76
+ "typescript": "7.0.2",
77
+ "vitest": "^4.1.11"
66
78
  }
67
79
  }