@simplysm/sd-cli 12.16.31 → 12.16.35
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
|
@@ -6,348 +6,214 @@ Build, check, publish, and deploy tool for Simplysm monorepo projects. Provides
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @simplysm/sd-cli
|
|
9
|
-
# or
|
|
10
|
-
yarn add @simplysm/sd-cli
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
sd-cli reads a JavaScript config file (default: `simplysm.js`) at the project root. The file must export a default function that returns an `ISdProjectConfig` object.
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
// simplysm.js
|
|
19
|
-
export default (isDev, options) => ({
|
|
20
|
-
packages: {
|
|
21
|
-
"my-core": {
|
|
22
|
-
type: "library",
|
|
23
|
-
publish: "npm",
|
|
24
|
-
},
|
|
25
|
-
"my-server": {
|
|
26
|
-
type: "server",
|
|
27
|
-
publish: {
|
|
28
|
-
type: "sftp",
|
|
29
|
-
host: "example.com",
|
|
30
|
-
user: "deploy",
|
|
31
|
-
pass: process.env.DEPLOY_PASS,
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
"my-client": {
|
|
35
|
-
type: "client",
|
|
36
|
-
server: "my-server",
|
|
37
|
-
builder: {
|
|
38
|
-
web: {},
|
|
39
|
-
electron: {
|
|
40
|
-
appId: "com.example.myapp",
|
|
41
|
-
},
|
|
42
|
-
capacitor: {
|
|
43
|
-
appId: "com.example.myapp",
|
|
44
|
-
appName: "My App",
|
|
45
|
-
platform: { android: {} },
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
localUpdates: {
|
|
51
|
-
"@someorg/*": "C:/libs/someorg/*/dist",
|
|
52
|
-
},
|
|
53
|
-
postPublish: [
|
|
54
|
-
{ type: "script", cmd: "echo", args: ["done"] },
|
|
55
|
-
],
|
|
56
|
-
});
|
|
57
|
-
```
|
|
11
|
+
This is a CLI-only package with no library API exports. All functionality is accessed through the `sd-cli` command.
|
|
58
12
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
| Property | Type | Description |
|
|
62
|
-
|---|---|---|
|
|
63
|
-
| `packages` | `Record<string, TSdPackageConfig>` | Package name to config mapping. Keys must match workspace directory names. |
|
|
64
|
-
| `localUpdates` | `Record<string, string>` | Glob-to-path mapping for syncing local library builds into `node_modules`. |
|
|
65
|
-
| `postPublish` | `TSdPostPublishConfig[]` | Scripts to run after all packages are published. Supports `%SD_VERSION%` and `%SD_PROJECT_PATH%` placeholders. |
|
|
66
|
-
|
|
67
|
-
### Package Types
|
|
68
|
-
|
|
69
|
-
#### Library (`type: "library"`)
|
|
70
|
-
|
|
71
|
-
| Property | Type | Default | Description |
|
|
72
|
-
|---|---|---|---|
|
|
73
|
-
| `type` | `"library"` | | Package type identifier. |
|
|
74
|
-
| `publish` | `"npm"` | | Publish to npm registry. |
|
|
75
|
-
| `polyfills` | `string[]` | | Modules to include as polyfills. |
|
|
76
|
-
| `index` | `{ excludes?: string[] } \| false` | | Auto-generated `index.ts` config. Set `false` to disable. |
|
|
77
|
-
| `dbContext` | `string` | | Database context class name for auto-generated DB context file. |
|
|
78
|
-
| `forceProductionMode` | `boolean` | | Force production mode regardless of dev/prod flag. |
|
|
79
|
-
|
|
80
|
-
#### Server (`type: "server"`)
|
|
81
|
-
|
|
82
|
-
| Property | Type | Default | Description |
|
|
83
|
-
|---|---|---|---|
|
|
84
|
-
| `type` | `"server"` | | Package type identifier. |
|
|
85
|
-
| `publish` | `ISdLocalDirectoryPublishConfig \| ISdFtpPublishConfig` | | Deploy target configuration. |
|
|
86
|
-
| `externals` | `string[]` | | Modules to exclude from the server bundle. |
|
|
87
|
-
| `configs` | `Record<string, any>` | | Arbitrary config values injected at build time. |
|
|
88
|
-
| `env` | `Record<string, string>` | | Environment variables set during build. |
|
|
89
|
-
| `forceProductionMode` | `boolean` | | Force production mode. |
|
|
90
|
-
| `pm2` | `object` | | PM2 process manager settings (`name`, `ignoreWatchPaths`, `noInterpreter`, `noStartScript`). |
|
|
91
|
-
| `iis` | `object` | | IIS hosting settings (`nodeExeFilePath`). |
|
|
92
|
-
|
|
93
|
-
#### Client (`type: "client"`)
|
|
94
|
-
|
|
95
|
-
| Property | Type | Default | Description |
|
|
96
|
-
|---|---|---|---|
|
|
97
|
-
| `type` | `"client"` | | Package type identifier. |
|
|
98
|
-
| `server` | `string \| { port: number }` | | Server package name to proxy to, or a fixed port. |
|
|
99
|
-
| `publish` | `ISdLocalDirectoryPublishConfig \| ISdFtpPublishConfig` | | Deploy target configuration. |
|
|
100
|
-
| `env` | `Record<string, string>` | | Environment variables set during build. |
|
|
101
|
-
| `configs` | `Record<string, any>` | | Arbitrary config values injected at build time. |
|
|
102
|
-
| `noLazyRoute` | `boolean` | | Disable automatic lazy route generation. |
|
|
103
|
-
| `forceProductionMode` | `boolean` | | Force production mode. |
|
|
104
|
-
| `builder.web` | `ISdClientBuilderWebConfig` | | Web build options (environment variables). |
|
|
105
|
-
| `builder.electron` | `ISdClientBuilderElectronConfig` | | Electron desktop build options. |
|
|
106
|
-
| `builder.capacitor` | `ISdClientBuilderCapacitorConfig` | | Capacitor mobile build options. |
|
|
107
|
-
| `builder.cordova` | `ISdClientBuilderCordovaConfig` | | **(Deprecated)** Cordova mobile build options. |
|
|
108
|
-
|
|
109
|
-
### Publish Targets
|
|
110
|
-
|
|
111
|
-
**Local Directory**
|
|
112
|
-
```js
|
|
113
|
-
{ type: "local-directory", path: "C:/deploy/%SD_VERSION%" }
|
|
114
|
-
```
|
|
13
|
+
## CLI Overview
|
|
115
14
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
15
|
+
| Command | Description |
|
|
16
|
+
|---------|-------------|
|
|
17
|
+
| `local-update` | Performs local library update |
|
|
18
|
+
| `watch` | Watch-builds packages in development mode |
|
|
19
|
+
| `build` | Production build for packages |
|
|
20
|
+
| `check [path]` | Runs typecheck and/or lint |
|
|
21
|
+
| `publish` | Builds and publishes packages to npm |
|
|
22
|
+
| `run-electron <package>` | Launches a watch-built platform as an Electron app |
|
|
23
|
+
| `build-electron-for-dev <package>` | Builds an Electron app for dev testing |
|
|
24
|
+
| `run-cordova <platform> <package> [url]` | Deploys to a Cordova device |
|
|
25
|
+
| `run-capacitor <platform> <package> [url]` | Deploys to a Capacitor device |
|
|
26
|
+
| `commit` | AI-assisted commit message generation, commit, and push |
|
|
27
|
+
| `postinstall` | Runs post-install tasks automatically |
|
|
120
28
|
|
|
121
|
-
|
|
122
|
-
```js
|
|
123
|
-
"npm"
|
|
124
|
-
```
|
|
29
|
+
## Global Options
|
|
125
30
|
|
|
126
|
-
|
|
31
|
+
| Option | Type | Default | Description |
|
|
32
|
+
|--------|------|---------|-------------|
|
|
33
|
+
| `--help`, `-h` | boolean | -- | Show help |
|
|
34
|
+
| `--debug` | boolean | `false` | Enable debug-level logging |
|
|
127
35
|
|
|
128
|
-
|
|
36
|
+
## CLI Reference
|
|
129
37
|
|
|
130
|
-
###
|
|
38
|
+
### `local-update`
|
|
131
39
|
|
|
132
|
-
|
|
40
|
+
Performs local library update using linked packages.
|
|
133
41
|
|
|
134
42
|
```bash
|
|
135
|
-
sd-cli
|
|
43
|
+
sd-cli local-update [--config <path>] [--options <values...>]
|
|
136
44
|
```
|
|
137
45
|
|
|
138
46
|
| Option | Type | Default | Description |
|
|
139
|
-
|
|
140
|
-
| `--config` |
|
|
141
|
-
| `--options` |
|
|
142
|
-
| `--packages` | `string[]` | | Filter to specific packages by name. |
|
|
143
|
-
| `--emitOnly` | `boolean` | `false` | Emit output only (skip type checking). |
|
|
144
|
-
| `--noEmit` | `boolean` | `false` | Type check only (skip output emission). |
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
# Watch all packages
|
|
148
|
-
sd-cli watch
|
|
47
|
+
|--------|------|---------|-------------|
|
|
48
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
49
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
149
50
|
|
|
150
|
-
|
|
151
|
-
sd-cli watch --packages sd-angular
|
|
51
|
+
### `watch`
|
|
152
52
|
|
|
153
|
-
|
|
154
|
-
sd-cli watch --emitOnly
|
|
53
|
+
Watch-builds all or selected packages for development.
|
|
155
54
|
|
|
156
|
-
|
|
157
|
-
sd-cli watch --noEmit
|
|
55
|
+
```bash
|
|
56
|
+
sd-cli watch [--config <path>] [--packages <names...>] [--emitOnly] [--noEmit] [--options <values...>]
|
|
158
57
|
```
|
|
159
58
|
|
|
160
|
-
|
|
59
|
+
| Option | Type | Default | Description |
|
|
60
|
+
|--------|------|---------|-------------|
|
|
61
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
62
|
+
| `--packages` | string[] | -- | Specific packages to watch |
|
|
63
|
+
| `--emitOnly` | boolean | `false` | Only emit output (skip checks) |
|
|
64
|
+
| `--noEmit` | boolean | `false` | Only check (skip emit) |
|
|
65
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
161
66
|
|
|
162
|
-
|
|
67
|
+
### `build`
|
|
68
|
+
|
|
69
|
+
Production build for all or selected packages.
|
|
163
70
|
|
|
164
71
|
```bash
|
|
165
|
-
sd-cli build [options]
|
|
72
|
+
sd-cli build [--config <path>] [--packages <names...>] [--options <values...>]
|
|
166
73
|
```
|
|
167
74
|
|
|
168
75
|
| Option | Type | Default | Description |
|
|
169
|
-
|
|
170
|
-
| `--config` |
|
|
171
|
-
| `--
|
|
172
|
-
| `--
|
|
76
|
+
|--------|------|---------|-------------|
|
|
77
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
78
|
+
| `--packages` | string[] | -- | Specific packages to build |
|
|
79
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
173
80
|
|
|
174
|
-
### check
|
|
81
|
+
### `check [path]`
|
|
175
82
|
|
|
176
|
-
|
|
83
|
+
Runs typecheck and/or lint on the project or a specific package path.
|
|
177
84
|
|
|
178
85
|
```bash
|
|
179
|
-
sd-cli check [path] [options]
|
|
86
|
+
sd-cli check [path] [--config <path>] [--type <lint|typecheck>] [--options <values...>]
|
|
180
87
|
```
|
|
181
88
|
|
|
182
89
|
| Option | Type | Default | Description |
|
|
183
|
-
|
|
184
|
-
| `
|
|
185
|
-
| `--config` |
|
|
186
|
-
| `--
|
|
187
|
-
| `--
|
|
188
|
-
|
|
189
|
-
```bash
|
|
190
|
-
# Check all packages (typecheck + lint)
|
|
191
|
-
sd-cli check
|
|
90
|
+
|--------|------|---------|-------------|
|
|
91
|
+
| `path` | string | -- | Package path or file path (positional) |
|
|
92
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
93
|
+
| `--type` | `"lint"` \| `"typecheck"` | -- | Check type (omit for both) |
|
|
94
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
192
95
|
|
|
193
|
-
|
|
194
|
-
sd-cli check packages/sd-core-common
|
|
96
|
+
### `publish`
|
|
195
97
|
|
|
196
|
-
|
|
197
|
-
sd-cli check --type lint
|
|
98
|
+
Builds and publishes packages to npm.
|
|
198
99
|
|
|
199
|
-
|
|
200
|
-
sd-cli
|
|
100
|
+
```bash
|
|
101
|
+
sd-cli publish [--noBuild] [--config <path>] [--packages <names...>] [--options <values...>]
|
|
201
102
|
```
|
|
202
103
|
|
|
203
|
-
|
|
104
|
+
| Option | Type | Default | Description |
|
|
105
|
+
|--------|------|---------|-------------|
|
|
106
|
+
| `--noBuild` | boolean | `false` | Publish without rebuilding |
|
|
107
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
108
|
+
| `--packages` | string[] | -- | Specific packages to publish |
|
|
109
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
204
110
|
|
|
205
|
-
|
|
111
|
+
### `run-electron <package>`
|
|
112
|
+
|
|
113
|
+
Launches a watch-built platform as an Electron desktop application.
|
|
206
114
|
|
|
207
115
|
```bash
|
|
208
|
-
sd-cli
|
|
116
|
+
sd-cli run-electron <package> [--config <path>] [--options <values...>]
|
|
209
117
|
```
|
|
210
118
|
|
|
211
119
|
| Option | Type | Default | Description |
|
|
212
|
-
|
|
213
|
-
|
|
|
214
|
-
| `--
|
|
215
|
-
| `--
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
2. Checks for uncommitted git changes.
|
|
221
|
-
3. Increments the patch version across all workspace packages.
|
|
222
|
-
4. Builds all packages.
|
|
223
|
-
5. Creates a git commit and tag for the new version.
|
|
224
|
-
6. Pushes to the remote repository.
|
|
225
|
-
7. Publishes each package to its configured target.
|
|
226
|
-
8. Runs `postPublish` scripts if configured.
|
|
227
|
-
|
|
228
|
-
### local-update
|
|
229
|
-
|
|
230
|
-
Copy local library builds into `node_modules` based on the `localUpdates` config.
|
|
120
|
+
|--------|------|---------|-------------|
|
|
121
|
+
| `package` | string | -- | Package name (required) |
|
|
122
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
123
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
124
|
+
|
|
125
|
+
### `build-electron-for-dev <package>`
|
|
126
|
+
|
|
127
|
+
Builds an Electron app from a watch-built platform for dev testing.
|
|
231
128
|
|
|
232
129
|
```bash
|
|
233
|
-
sd-cli
|
|
130
|
+
sd-cli build-electron-for-dev <package> [--config <path>] [--options <values...>]
|
|
234
131
|
```
|
|
235
132
|
|
|
236
133
|
| Option | Type | Default | Description |
|
|
237
|
-
|
|
238
|
-
|
|
|
239
|
-
| `--
|
|
134
|
+
|--------|------|---------|-------------|
|
|
135
|
+
| `package` | string | -- | Package name (required) |
|
|
136
|
+
| `--config` | string | `simplysm.js` | Configuration file path |
|
|
137
|
+
| `--options` | string[] | -- | Additional option settings |
|
|
240
138
|
|
|
241
|
-
### run-
|
|
139
|
+
### `run-cordova <platform> <package> [url]`
|
|
242
140
|
|
|
243
|
-
|
|
141
|
+
Deploys a watch-built platform to a Cordova device as a webview app.
|
|
244
142
|
|
|
245
143
|
```bash
|
|
246
|
-
sd-cli run-
|
|
144
|
+
sd-cli run-cordova <platform> <package> [url]
|
|
247
145
|
```
|
|
248
146
|
|
|
249
147
|
| Option | Type | Description |
|
|
250
|
-
|
|
251
|
-
|
|
|
252
|
-
|
|
|
253
|
-
|
|
|
148
|
+
|--------|------|-------------|
|
|
149
|
+
| `platform` | string | Build platform (e.g., `android`) (required) |
|
|
150
|
+
| `package` | string | Package name (required) |
|
|
151
|
+
| `url` | string | URL to open in webview (required) |
|
|
254
152
|
|
|
255
|
-
###
|
|
153
|
+
### `run-capacitor <platform> <package> [url]`
|
|
256
154
|
|
|
257
|
-
|
|
155
|
+
Deploys a watch-built platform to a Capacitor device as a webview app.
|
|
258
156
|
|
|
259
157
|
```bash
|
|
260
|
-
sd-cli
|
|
158
|
+
sd-cli run-capacitor <platform> <package> [url]
|
|
261
159
|
```
|
|
262
160
|
|
|
263
161
|
| Option | Type | Description |
|
|
264
|
-
|
|
265
|
-
|
|
|
266
|
-
|
|
|
267
|
-
|
|
|
162
|
+
|--------|------|-------------|
|
|
163
|
+
| `platform` | string | Build platform (e.g., `android`) (required) |
|
|
164
|
+
| `package` | string | Package name (required) |
|
|
165
|
+
| `url` | string | URL to open in webview (required) |
|
|
268
166
|
|
|
269
|
-
###
|
|
167
|
+
### `commit`
|
|
270
168
|
|
|
271
|
-
|
|
169
|
+
Uses AI to generate a commit message from current changes, then commits and pushes.
|
|
272
170
|
|
|
273
171
|
```bash
|
|
274
|
-
sd-cli
|
|
172
|
+
sd-cli commit
|
|
275
173
|
```
|
|
276
174
|
|
|
277
|
-
|
|
278
|
-
|---|---|---|
|
|
279
|
-
| `<platform>` | `string` | Target platform (e.g., `android`). |
|
|
280
|
-
| `<package>` | `string` | Package name. |
|
|
281
|
-
| `[url]` | `string` | URL to open in the webview. |
|
|
282
|
-
|
|
283
|
-
### run-capacitor
|
|
175
|
+
### `postinstall`
|
|
284
176
|
|
|
285
|
-
|
|
177
|
+
Runs automated post-install tasks. Typically called from `package.json` scripts.
|
|
286
178
|
|
|
287
179
|
```bash
|
|
288
|
-
sd-cli
|
|
180
|
+
sd-cli postinstall
|
|
289
181
|
```
|
|
290
182
|
|
|
291
|
-
|
|
292
|
-
|---|---|---|
|
|
293
|
-
| `<platform>` | `string` | Target platform (e.g., `android`). |
|
|
294
|
-
| `<package>` | `string` | Package name. |
|
|
295
|
-
| `[url]` | `string` | URL to open in the webview. |
|
|
296
|
-
|
|
297
|
-
### commit
|
|
183
|
+
## Usage Examples
|
|
298
184
|
|
|
299
|
-
|
|
185
|
+
### Development workflow
|
|
300
186
|
|
|
301
187
|
```bash
|
|
302
|
-
|
|
303
|
-
|
|
188
|
+
# Watch all packages
|
|
189
|
+
sd-cli watch
|
|
304
190
|
|
|
305
|
-
|
|
191
|
+
# Watch a specific package with debug logging
|
|
192
|
+
sd-cli watch --packages sd-angular --debug
|
|
306
193
|
|
|
307
|
-
|
|
194
|
+
# Check only (no output emit)
|
|
195
|
+
sd-cli watch --noEmit
|
|
196
|
+
```
|
|
308
197
|
|
|
309
|
-
|
|
198
|
+
### Build and publish
|
|
310
199
|
|
|
311
200
|
```bash
|
|
312
|
-
|
|
201
|
+
# Full production build
|
|
202
|
+
sd-cli build
|
|
203
|
+
|
|
204
|
+
# Build specific packages
|
|
205
|
+
sd-cli build --packages sd-core-common sd-core-node
|
|
206
|
+
|
|
207
|
+
# Publish without rebuilding
|
|
208
|
+
sd-cli publish --noBuild
|
|
313
209
|
```
|
|
314
210
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
| `postInstallScript` | `string` | Script to run after npm install in the Electron context. |
|
|
325
|
-
| `nsisOptions` | `electronBuilder.NsisOptions` | NSIS installer options (pass-through to electron-builder). |
|
|
326
|
-
| `reinstallDependencies` | `string[]` | Dependencies to reinstall with native rebuild in the Electron context. |
|
|
327
|
-
| `env` | `Record<string, string>` | Environment variables for the Electron build. |
|
|
328
|
-
|
|
329
|
-
## Capacitor Builder Configuration
|
|
330
|
-
|
|
331
|
-
The `builder.capacitor` config for client packages supports:
|
|
332
|
-
|
|
333
|
-
| Property | Type | Description |
|
|
334
|
-
|---|---|---|
|
|
335
|
-
| `appId` | `string` | Application identifier (e.g., `com.example.app`). |
|
|
336
|
-
| `appName` | `string` | Display name of the application. |
|
|
337
|
-
| `plugins` | `Record<string, Record<string, unknown> \| true>` | Capacitor plugins with their configuration. Use `true` for no-config plugins. |
|
|
338
|
-
| `icon` | `string` | Path to the app icon (relative to the package). |
|
|
339
|
-
| `debug` | `boolean` | Build in debug mode. |
|
|
340
|
-
| `platform.android.config` | `Record<string, string>` | Additional Android application manifest attributes. |
|
|
341
|
-
| `platform.android.bundle` | `boolean` | Build an AAB bundle instead of APK. |
|
|
342
|
-
| `platform.android.sign` | `object` | Signing configuration (`keystore`, `storePassword`, `alias`, `password`, `keystoreType`). |
|
|
343
|
-
| `platform.android.sdkVersion` | `number` | Target Android SDK version. |
|
|
344
|
-
| `platform.android.permissions` | `array` | Android permissions (`name`, `maxSdkVersion`, `ignore`). |
|
|
345
|
-
| `platform.android.intentFilters` | `array` | Android intent filters (`action`, `category`). |
|
|
346
|
-
| `env` | `Record<string, string>` | Environment variables. |
|
|
347
|
-
| `browserslist` | `string[]` | Browserslist targets. |
|
|
348
|
-
|
|
349
|
-
## Process Behavior
|
|
350
|
-
|
|
351
|
-
- On Windows, sd-cli automatically configures processor affinity (reserves 1 out of every 4 cores for the OS) and sets process priority to BelowNormal to avoid monopolizing system resources.
|
|
352
|
-
- Node.js is launched with `--max-old-space-size=8192` for large project builds.
|
|
353
|
-
- The `local-update` command runs automatically before other commands in production builds.
|
|
211
|
+
### Code quality
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
# Run both typecheck and lint
|
|
215
|
+
sd-cli check
|
|
216
|
+
|
|
217
|
+
# Lint only on a specific package
|
|
218
|
+
sd-cli check packages/sd-core-common --type lint
|
|
219
|
+
```
|
|
@@ -38,7 +38,7 @@ export class SdNgBundler {
|
|
|
38
38
|
this._mainFilePath = path.resolve(this._opt.pkgPath, "src/main.ts");
|
|
39
39
|
this._tsConfigFilePath = path.resolve(this._opt.pkgPath, "tsconfig.json");
|
|
40
40
|
this._swConfFilePath = path.resolve(this._opt.pkgPath, "ngsw-config.json");
|
|
41
|
-
this._browserTarget = transformSupportedBrowsersToTargets(browserslist(["Chrome
|
|
41
|
+
this._browserTarget = transformSupportedBrowsersToTargets(browserslist(["Chrome >= 61"]));
|
|
42
42
|
this._indexHtmlFilePath = path.resolve(this._opt.pkgPath, "src/index.html");
|
|
43
43
|
this._pkgName = path.basename(this._opt.pkgPath);
|
|
44
44
|
this._baseHref =
|
|
@@ -23,7 +23,7 @@ export class SdStyleBundler {
|
|
|
23
23
|
futureDeprecations: undefined,
|
|
24
24
|
},
|
|
25
25
|
externalDependencies: [],
|
|
26
|
-
target: transformSupportedBrowsersToTargets(browserslist(["Chrome
|
|
26
|
+
target: transformSupportedBrowsersToTargets(browserslist(["Chrome >= 61"])),
|
|
27
27
|
preserveSymlinks: false,
|
|
28
28
|
tailwindConfiguration: undefined,
|
|
29
29
|
postcssConfiguration: undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/sd-cli",
|
|
3
|
-
"version": "12.16.
|
|
3
|
+
"version": "12.16.35",
|
|
4
4
|
"description": "심플리즘 패키지 - CLI",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"bin": "./dist/sd-cli.js",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@angular/build": "^20.3.
|
|
15
|
+
"@angular/build": "^20.3.21",
|
|
16
16
|
"@angular/compiler": "^20.3.18",
|
|
17
17
|
"@angular/compiler-cli": "^20.3.18",
|
|
18
18
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
19
19
|
"@electron/rebuild": "^4.0.3",
|
|
20
|
-
"@simplysm/sd-core-common": "12.16.
|
|
21
|
-
"@simplysm/sd-core-node": "12.16.
|
|
22
|
-
"@simplysm/sd-service-server": "12.16.
|
|
23
|
-
"@simplysm/sd-storage": "12.16.
|
|
20
|
+
"@simplysm/sd-core-common": "12.16.35",
|
|
21
|
+
"@simplysm/sd-core-node": "12.16.35",
|
|
22
|
+
"@simplysm/sd-service-server": "12.16.35",
|
|
23
|
+
"@simplysm/sd-storage": "12.16.35",
|
|
24
24
|
"browserslist": "^4.28.1",
|
|
25
25
|
"cordova": "^13.0.0",
|
|
26
26
|
"electron": "^33.4.11",
|
|
@@ -74,7 +74,7 @@ export class SdNgBundler {
|
|
|
74
74
|
this._mainFilePath = path.resolve(this._opt.pkgPath, "src/main.ts");
|
|
75
75
|
this._tsConfigFilePath = path.resolve(this._opt.pkgPath, "tsconfig.json");
|
|
76
76
|
this._swConfFilePath = path.resolve(this._opt.pkgPath, "ngsw-config.json");
|
|
77
|
-
this._browserTarget = transformSupportedBrowsersToTargets(browserslist(["Chrome
|
|
77
|
+
this._browserTarget = transformSupportedBrowsersToTargets(browserslist(["Chrome >= 61"]));
|
|
78
78
|
this._indexHtmlFilePath = path.resolve(this._opt.pkgPath, "src/index.html");
|
|
79
79
|
this._pkgName = path.basename(this._opt.pkgPath);
|
|
80
80
|
this._baseHref =
|
|
@@ -34,7 +34,7 @@ export class SdStyleBundler {
|
|
|
34
34
|
futureDeprecations: undefined,
|
|
35
35
|
},
|
|
36
36
|
externalDependencies: [],
|
|
37
|
-
target: transformSupportedBrowsersToTargets(browserslist(["Chrome
|
|
37
|
+
target: transformSupportedBrowsersToTargets(browserslist(["Chrome >= 61"])),
|
|
38
38
|
preserveSymlinks: false,
|
|
39
39
|
tailwindConfiguration: undefined,
|
|
40
40
|
postcssConfiguration: undefined,
|