@simplysm/sd-cli 13.0.70 → 13.0.71

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/sd-cli",
3
- "version": "13.0.70",
3
+ "version": "13.0.71",
4
4
  "description": "Simplysm package - CLI tool",
5
5
  "author": "simplysm",
6
6
  "license": "Apache-2.0",
@@ -43,9 +43,9 @@
43
43
  "vite-plugin-solid": "^2.11.10",
44
44
  "vite-tsconfig-paths": "^6.1.1",
45
45
  "yargs": "^18.0.0",
46
- "@simplysm/core-common": "13.0.70",
47
- "@simplysm/core-node": "13.0.70",
48
- "@simplysm/storage": "13.0.70"
46
+ "@simplysm/core-node": "13.0.71",
47
+ "@simplysm/core-common": "13.0.71",
48
+ "@simplysm/storage": "13.0.71"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@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.70",
7
+ "@simplysm/solid": "~13.0.71",
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.70",
8
- "@simplysm/service-server": "~13.0.70"
7
+ "@simplysm/core-common": "~13.0.71",
8
+ "@simplysm/service-server": "~13.0.71"
9
9
  }
10
10
  }
@@ -15,9 +15,9 @@
15
15
  "vitest": "vitest"
16
16
  },
17
17
  "devDependencies": {
18
- "@simplysm/sd-cli": "~13.0.70",
19
- "@simplysm/sd-claude": "~13.0.70",
20
- "@simplysm/lint": "~13.0.70",
18
+ "@simplysm/sd-cli": "~13.0.71",
19
+ "@simplysm/sd-claude": "~13.0.71",
20
+ "@simplysm/lint": "~13.0.71",
21
21
  "@types/node": "^20.19.33",
22
22
  "eslint": "^9.39.2",
23
23
  "prettier": "^3.8.1",
@@ -1,7 +1,7 @@
1
1
  import { describe, it, expect, vi, beforeEach } from "vitest";
2
2
  import { WorkerManager } from "../../src/infra/WorkerManager";
3
3
 
4
- // Worker 모킹
4
+ // Mock Worker
5
5
  vi.mock("@simplysm/core-node", () => ({
6
6
  Worker: {
7
7
  create: vi.fn(() => ({
@@ -258,12 +258,12 @@ describe("watchReplaceDeps", () => {
258
258
  beforeEach(async () => {
259
259
  tmpDir = await fs.promises.mkdtemp(path.join(os.tmpdir(), "sd-watch-replace-"));
260
260
 
261
- // 소스 패키지 (simplysm/packages/solid)
261
+ // Source package (simplysm/packages/solid)
262
262
  const sourceDir = path.join(tmpDir, "simplysm", "packages", "solid");
263
263
  await fs.promises.mkdir(sourceDir, { recursive: true });
264
264
  await fs.promises.writeFile(path.join(sourceDir, "index.js"), "export default 1;");
265
265
 
266
- // 대상 프로젝트 (.pnpm 스토어 방식)
266
+ // Target project (.pnpm store style)
267
267
  const appRoot = path.join(tmpDir, "app");
268
268
  const pnpmStoreTarget = path.join(
269
269
  appRoot,
@@ -11,7 +11,7 @@ const { mockState, mockJitiImportFn } = vi.hoisted(() => ({
11
11
  mockJitiImportFn: vi.fn(),
12
12
  }));
13
13
 
14
- // 외부 의존성 모킹
14
+ // Mock external dependencies
15
15
 
16
16
  vi.mock("eslint", () => {
17
17
  class MockESLint {
@@ -94,7 +94,7 @@ describe("runLint", () => {
94
94
  originalCwd = process.cwd;
95
95
  process.cwd = vi.fn().mockReturnValue("/project");
96
96
 
97
- // 상태 초기화
97
+ // Reset state
98
98
  mockState.lintResults = [];
99
99
  mockState.lintedFiles = [];
100
100
  mockState.outputFixesCalled = false;
@@ -237,7 +237,7 @@ describe("runLint", () => {
237
237
 
238
238
  await runLint({ targets: [], fix: false, timing: false });
239
239
 
240
- // ESLint 호출되지 않으므로 lintedFiles 배열 유지
240
+ // ESLint is not called, so lintedFiles stays empty
241
241
  expect(mockState.lintedFiles).toHaveLength(0);
242
242
  expect(process.exitCode).toBeUndefined();
243
243
  });
@@ -293,7 +293,7 @@ describe("runLint", () => {
293
293
 
294
294
  await runLint({ targets: [], fix: false, timing: true });
295
295
 
296
- // TIMING 설정되었는지 확인 (함수 내에서 설정됨)
296
+ // Verify TIMING is set (set inside the function)
297
297
  expect(process.env["TIMING"]).toBe("1");
298
298
 
299
299
  // cleanup
@@ -350,12 +350,12 @@ describe("executeLint", () => {
350
350
  originalCwd = process.cwd;
351
351
  process.cwd = vi.fn().mockReturnValue("/project");
352
352
 
353
- // 상태 초기화
353
+ // Reset state
354
354
  mockState.lintResults = [];
355
355
  mockState.lintedFiles = [];
356
356
  mockState.outputFixesCalled = false;
357
357
 
358
- // 기본 ESLint 설정 mock
358
+ // Default ESLint config mock
359
359
  const cwd = "/project";
360
360
  vi.mocked(fsExists).mockImplementation((filePath: string) => {
361
361
  return Promise.resolve(filePath === path.join(cwd, "eslint.config.ts"));
@@ -1,7 +1,7 @@
1
1
  import { describe, expect, it, vi, beforeEach, afterEach } from "vitest";
2
2
  import "@simplysm/core-common"; // Import to use Map.getOrCreate extension method
3
3
 
4
- // 외부 의존성 모킹
4
+ // Mock external dependencies
5
5
  vi.mock("typescript", () => {
6
6
  const DiagnosticCategory = {
7
7
  Error: 1,
@@ -194,7 +194,7 @@ describe("runTypecheck", () => {
194
194
  options: [],
195
195
  });
196
196
 
197
- // Worker 통해 실행되므로 exitCode 설정되지 않아야
197
+ // Runs via Worker, so exitCode should not be set
198
198
  expect(process.exitCode).toBeUndefined();
199
199
  });
200
200
 
@@ -393,7 +393,7 @@ describe("runTypecheck", () => {
393
393
  vi.mocked(fsExists).mockResolvedValue(false);
394
394
  vi.mocked(fsReadJson).mockResolvedValue({ devDependencies: {} });
395
395
 
396
- // Worker 에러 결과를 반환하도록 모킹
396
+ // Mock Worker to return error results
397
397
  const { Worker } = await import("@simplysm/core-node");
398
398
  vi.mocked(Worker.create).mockReturnValue({
399
399
  build: vi.fn(() =>
@@ -1,7 +1,7 @@
1
1
  import { describe, expect, it, vi, beforeEach, afterEach } from "vitest";
2
2
  import { consola, LogLevels } from "consola";
3
3
 
4
- // runLint, runTypecheck, runWatch, runCheck를 모킹
4
+ // Mock runLint, runTypecheck, runWatch, runCheck
5
5
  vi.mock("../src/commands/lint", () => ({
6
6
  runLint: vi.fn(),
7
7
  }));