@samkwang/ui-kit 0.1.0 → 0.2.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.
- package/README.md +8 -6
- package/dist/index.cjs +31 -2
- package/dist/index.css +2 -2
- package/dist/index.js +31 -2
- package/dist/tailwind-preset.cjs +0 -1
- package/dist/tailwind-preset.js +0 -1
- package/package.json +3 -5
- package/dist/index.cjs.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tailwind-preset.cjs.map +0 -1
- package/dist/tailwind-preset.js.map +0 -1
package/README.md
CHANGED
|
@@ -124,21 +124,23 @@ npm run lint
|
|
|
124
124
|
|
|
125
125
|
### 사전 준비
|
|
126
126
|
|
|
127
|
-
1. [npmjs.com](https://www.npmjs.com/)에서 `samkwang`
|
|
128
|
-
2. npm
|
|
127
|
+
1. [npmjs.com](https://www.npmjs.com/)에서 `samkwang` 조직이 존재하는지 확인합니다.
|
|
128
|
+
2. 프로젝트 루트에 `.env` 파일을 생성하고 npm 토큰을 설정합니다.
|
|
129
129
|
|
|
130
130
|
```bash
|
|
131
|
-
|
|
131
|
+
# .env
|
|
132
|
+
NPM_TOKEN=your_npm_token_here
|
|
132
133
|
```
|
|
133
134
|
|
|
135
|
+
> `.env` 파일은 `.gitignore`에 포함되어 Git에 커밋되지 않습니다. npm 토큰은 npmjs.com → Access Tokens에서 발급할 수 있습니다.
|
|
136
|
+
|
|
134
137
|
### 배포
|
|
135
138
|
|
|
136
139
|
```bash
|
|
137
|
-
|
|
138
|
-
npm publish
|
|
140
|
+
npm run publish:npm
|
|
139
141
|
```
|
|
140
142
|
|
|
141
|
-
|
|
143
|
+
이 스크립트는 `.env`에서 `NPM_TOKEN`을 읽어 자동으로 인증 후 공개 배포합니다. 빌드(`tsup`)도 자동 실행됩니다.
|
|
142
144
|
|
|
143
145
|
### 버전 업데이트
|
|
144
146
|
|