@simplysm/sd-cli 13.0.58 → 13.0.59
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @simplysm/sd-cli
|
|
2
2
|
|
|
3
|
-
The CLI tool for the Simplysm framework. It provides project initialization, ESLint linting, TypeScript type-checking, library/client/server package builds, development mode, deployment, Android device execution, and Electron desktop app build capabilities.
|
|
3
|
+
The CLI tool for the Simplysm framework. It provides project initialization, ESLint/Stylelint linting, TypeScript type-checking, combined check (typecheck + lint + test), library/client/server package builds, development mode, deployment, Android device execution, and Electron desktop app build capabilities.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ The CLI binary name is `sd-cli`. All commands support the `--debug` option to ou
|
|
|
16
16
|
|
|
17
17
|
### lint
|
|
18
18
|
|
|
19
|
-
Runs ESLint.
|
|
19
|
+
Runs ESLint and Stylelint. ESLint lints `.ts`/`.tsx`/`.js`/`.jsx` files; Stylelint lints `.css` files (only when a Stylelint config file is present). Extracts globalIgnores patterns from `eslint.config.ts`. Caches results in `.cache/eslint.cache` and `.cache/stylelint.cache`.
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# Lint all
|
|
@@ -77,6 +77,32 @@ sd-cli typecheck -o key=value
|
|
|
77
77
|
| `neutral` | node + browser environment twice |
|
|
78
78
|
| `scripts` | Excluded from type-check |
|
|
79
79
|
|
|
80
|
+
### check
|
|
81
|
+
|
|
82
|
+
Runs typecheck, lint, and test in parallel and prints a consolidated summary. Lint auto-fix is always enabled when run via `check`. Exits with code `1` if any check fails.
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Run all checks (typecheck + lint + test)
|
|
86
|
+
sd-cli check
|
|
87
|
+
|
|
88
|
+
# Run specific check types
|
|
89
|
+
sd-cli check --type typecheck,lint
|
|
90
|
+
|
|
91
|
+
# Filter paths
|
|
92
|
+
sd-cli check packages/core-common
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Options:**
|
|
96
|
+
|
|
97
|
+
| Option | Description | Default |
|
|
98
|
+
| ---------- | -------------------------------------------------------------------- | ------------------------ |
|
|
99
|
+
| `--type` | Comma-separated list of check types to run: `typecheck`, `lint`, `test` | `typecheck,lint,test` |
|
|
100
|
+
| `--debug` | Output debug logs | `false` |
|
|
101
|
+
|
|
102
|
+
**Output format:**
|
|
103
|
+
|
|
104
|
+
Each check type prints a section header followed by its result summary. A final `SUMMARY` section lists overall pass/fail status and total error/warning counts.
|
|
105
|
+
|
|
80
106
|
### watch
|
|
81
107
|
|
|
82
108
|
Watches **library packages** (`node`/`browser`/`neutral` targets) in watch mode. Automatically rebuilds on file changes and generates `.d.ts` type definition files.
|
|
@@ -925,6 +951,7 @@ pm2 start pm2.config.cjs
|
|
|
925
951
|
| Command | Cache Path | Description |
|
|
926
952
|
| ------------- | ---------------------------------------------------- | ------------------------------------------------------------------ |
|
|
927
953
|
| `lint` | `.cache/eslint.cache` | ESLint cache |
|
|
954
|
+
| `lint` | `.cache/stylelint.cache` | Stylelint cache |
|
|
928
955
|
| `typecheck` | `packages/{pkg}/.cache/typecheck-{env}.tsbuildinfo` | Incremental type-check info (`{env}` is `node` or `browser`) |
|
|
929
956
|
| `watch` (dts) | `packages/{pkg}/.cache/dts.tsbuildinfo` | Incremental .d.ts build info |
|
|
930
957
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/sd-cli",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.59",
|
|
4
4
|
"description": "심플리즘 패키지 - CLI 도구",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"vite-plugin-solid": "^2.11.10",
|
|
42
42
|
"vite-tsconfig-paths": "^6.1.1",
|
|
43
43
|
"yargs": "^18.0.0",
|
|
44
|
-
"@simplysm/core-common": "13.0.
|
|
45
|
-
"@simplysm/storage": "13.0.
|
|
46
|
-
"@simplysm/core-node": "13.0.
|
|
44
|
+
"@simplysm/core-common": "13.0.59",
|
|
45
|
+
"@simplysm/storage": "13.0.59",
|
|
46
|
+
"@simplysm/core-node": "13.0.59"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/semver": "^7.7.1",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"vitest": "vitest"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@simplysm/sd-cli": "~13.0.
|
|
19
|
-
"@simplysm/sd-claude": "~13.0.
|
|
20
|
-
"@simplysm/lint": "~13.0.
|
|
18
|
+
"@simplysm/sd-cli": "~13.0.59",
|
|
19
|
+
"@simplysm/sd-claude": "~13.0.59",
|
|
20
|
+
"@simplysm/lint": "~13.0.59",
|
|
21
21
|
"@types/node": "^20.19.33",
|
|
22
22
|
"eslint": "^9.39.2",
|
|
23
23
|
"prettier": "^3.8.1",
|