@t3q-ui/design-system 1.56.0 → 1.56.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ <!-- release: v1.56.1 -->
4
+ ## 1.56.1 (2026-11-02)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **cli:** :bug: doctor 가 GitLab npm 형식이 아닌 @t3q-ui:registry 값(npmjs·미러)에는 사내 토큰 점검을 하지 않음 (275ef86)
10
+
3
11
  <!-- release: v1.56.0 -->
4
12
  # 1.56.0 (2026-11-02)
5
13
 
package/cli/doctor.mjs CHANGED
@@ -35,6 +35,8 @@ import {
35
35
  } from './lib.mjs'
36
36
 
37
37
  const SETUP = 't3q-design setup'
38
+ /** 사내 점검(GITLAB_TOKEN·Bearer 확인)은 GitLab npm 레지스트리 주소(`…/api/v4/…/packages/npm/`)에만 맞다 — npmjs·미러 값은 건너뛴다 */
39
+ const GITLAB_NPM_RE = /\/api\/v4\/.+\/packages\/npm\/?$/
38
40
 
39
41
  /** @returns {Promise<Array<{ status: 'ok'|'warn'|'fail'|'info', msg: string, fix?: string }>>} */
40
42
  export async function doctor(cwd, { env = process.env, fetch: fetchImpl = globalThis.fetch } = {}) {
@@ -63,6 +65,8 @@ export async function doctor(cwd, { env = process.env, fetch: fetchImpl = global
63
65
  const npmrc = parseNpmrc(readText(file('.npmrc')))
64
66
  let latest = null
65
67
  if (npmrc.registry == null) add('info', '.npmrc 에 @t3q-ui:registry 없음 — 기본 레지스트리(npmjs)에서 설치')
68
+ else if (!GITLAB_NPM_RE.test(npmrc.registry))
69
+ add('info', '.npmrc 의 @t3q-ui:registry 가 GitLab npm 레지스트리가 아님 — 토큰·레지스트리 점검 생략')
66
70
  else {
67
71
  if (npmrc.auth) add('ok', '.npmrc 레지스트리 2줄')
68
72
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t3q-ui/design-system",
3
- "version": "1.56.0",
3
+ "version": "1.56.1",
4
4
  "description": "T3Q Design System - React Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",