@simplysm/sd-cli 13.0.0-beta.48 → 13.0.0-beta.49

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysm/sd-cli",
3
3
  "sideEffects": false,
4
- "version": "13.0.0-beta.48",
4
+ "version": "13.0.0-beta.49",
5
5
  "description": "심플리즘 패키지 - CLI 도구",
6
6
  "author": "김석래",
7
7
  "repository": {
@@ -44,9 +44,9 @@
44
44
  "vite-plugin-solid": "^2.11.10",
45
45
  "vite-tsconfig-paths": "^6.1.0",
46
46
  "yargs": "^18.0.0",
47
- "@simplysm/core-common": "13.0.0-beta.48",
48
- "@simplysm/core-node": "13.0.0-beta.48",
49
- "@simplysm/storage": "13.0.0-beta.48"
47
+ "@simplysm/core-common": "13.0.0-beta.49",
48
+ "@simplysm/core-node": "13.0.0-beta.49",
49
+ "@simplysm/storage": "13.0.0-beta.49"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/semver": "^7.7.1",
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
7
- "@simplysm/solid": "~13.0.0-beta.48",
7
+ "@simplysm/solid": "~13.0.0-beta.49",
8
8
  {{#if router}}
9
9
  "@solidjs/router": "^0.15.4",
10
10
  {{/if}}
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
7
- "@simplysm/core-common": "~13.0.0-beta.48",
8
- "@simplysm/service-server": "~13.0.0-beta.48"
7
+ "@simplysm/core-common": "~13.0.0-beta.49",
8
+ "@simplysm/service-server": "~13.0.0-beta.49"
9
9
  }
10
10
  }
@@ -15,9 +15,9 @@
15
15
  "vitest": "vitest"
16
16
  },
17
17
  "devDependencies": {
18
- "@simplysm/sd-cli": "~13.0.0-beta.48",
19
- "@simplysm/claude": "~13.0.0-beta.48",
20
- "@simplysm/eslint-plugin": "~13.0.0-beta.48",
18
+ "@simplysm/sd-cli": "~13.0.0-beta.49",
19
+ "@simplysm/claude": "~13.0.0-beta.49",
20
+ "@simplysm/eslint-plugin": "~13.0.0-beta.49",
21
21
  "@types/node": "^20.19.33",
22
22
  "eslint": "^9.39.2",
23
23
  "prettier": "^3.8.1",
@@ -1,5 +1,6 @@
1
1
  packages:
2
2
  - packages/*
3
+ - tests/*
3
4
 
4
5
  onlyBuiltDependencies:
5
6
  - '@simplysm/claude'
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ // 출력
3
4
  "target": "ESNext",
4
5
  "module": "ESNext",
5
- "lib": ["ESNext", "DOM", "DOM.Iterable"],
6
+ "lib": ["ESNext", "DOM", "DOM.Iterable", "WebWorker"],
6
7
  "moduleResolution": "bundler",
8
+
9
+ // JSX (SolidJS)
7
10
  "jsx": "preserve",
8
11
  "jsxImportSource": "solid-js",
12
+
13
+ // Strict
9
14
  "strict": true,
10
15
  "noImplicitOverride": true,
11
16
  "noImplicitReturns": true,
@@ -15,13 +20,19 @@
15
20
  "noPropertyAccessFromIndexSignature": true,
16
21
  "forceConsistentCasingInFileNames": true,
17
22
  "useDefineForClassFields": true,
23
+
24
+ // 모듈
18
25
  "esModuleInterop": true,
19
26
  "verbatimModuleSyntax": true,
27
+
28
+ // 빌드
20
29
  "declaration": true,
21
30
  "declarationMap": true,
22
31
  "sourceMap": true,
23
32
  "skipLibCheck": true,
24
33
  "importHelpers": true,
34
+
35
+ // 경로
25
36
  "baseUrl": ".",
26
37
  "paths": {
27
38
  "@{{projectName}}/*": ["packages/*/src/index.ts"]
@@ -31,6 +42,9 @@
31
42
  "*.ts",
32
43
  "packages/*/*.ts",
33
44
  "packages/*/src/**/*.ts",
34
- "packages/*/src/**/*.tsx"
45
+ "packages/*/src/**/*.tsx",
46
+ "packages/*/tests/**/*.ts",
47
+ "packages/*/tests/**/*.tsx",
48
+ "tests/**/*.ts"
35
49
  ]
36
50
  }
@@ -2,17 +2,44 @@ import { defineConfig } from "vitest/config";
2
2
  import tsconfigPaths from "vite-tsconfig-paths";
3
3
 
4
4
  export default defineConfig({
5
+ plugins: [
6
+ tsconfigPaths({
7
+ root: __dirname,
8
+ projects: ["./tsconfig.json"],
9
+ }),
10
+ ],
5
11
  define: {
6
12
  "process.env.DEV": JSON.stringify("true"),
7
13
  "process.env.VER": JSON.stringify("1.0.0-test"),
8
14
  },
9
- plugins: [tsconfigPaths()],
10
15
  test: {
11
16
  globals: true,
12
17
  environment: "node",
13
- include: ["packages/*/tests/**/*.spec.{ts,tsx,js}"],
14
18
  coverage: {
15
19
  reportsDirectory: "./.coverage",
16
20
  },
21
+ // 여기에 projects 배열로 정의
22
+ projects: [
23
+ // 단위 테스트 (packages 내 테스트)
24
+ {
25
+ extends: true,
26
+ test: {
27
+ name: "unit",
28
+ include: ["packages/*/tests/**/*.spec.{ts,tsx}"],
29
+ testTimeout: 30000,
30
+ },
31
+ },
32
+ // E2E 테스트 (Docker + dev 서버 필요)
33
+ // {
34
+ // extends: true,
35
+ // test: {
36
+ // name: "e2e",
37
+ // include: ["tests/e2e/src/**/*.spec.ts"],
38
+ // globalSetup: "./tests/e2e/vitest.setup.ts",
39
+ // fileParallelism: false,
40
+ // testTimeout: 30000,
41
+ // },
42
+ // },
43
+ ],
17
44
  },
18
45
  });