@simplysm/sd-cli 13.0.75 → 13.0.77
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 +341 -16
- package/dist/builders/DtsBuilder.js +2 -2
- package/dist/builders/DtsBuilder.js.map +1 -1
- package/dist/builders/LibraryBuilder.d.ts +3 -3
- package/dist/builders/LibraryBuilder.d.ts.map +1 -1
- package/dist/builders/LibraryBuilder.js +2 -2
- package/dist/builders/LibraryBuilder.js.map +1 -1
- package/dist/builders/types.d.ts +7 -1
- package/dist/builders/types.d.ts.map +1 -1
- package/dist/capacitor/capacitor.d.ts +5 -0
- package/dist/capacitor/capacitor.d.ts.map +1 -1
- package/dist/capacitor/capacitor.js +59 -59
- package/dist/capacitor/capacitor.js.map +1 -1
- package/dist/commands/check.js +4 -4
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/device.js +3 -3
- package/dist/commands/device.js.map +1 -1
- package/dist/commands/lint.d.ts +2 -2
- package/dist/commands/lint.d.ts.map +1 -1
- package/dist/commands/lint.js +4 -98
- package/dist/commands/lint.js.map +1 -1
- package/dist/commands/publish.js +20 -20
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/replace-deps.js +1 -1
- package/dist/commands/replace-deps.js.map +1 -1
- package/dist/commands/typecheck.js +9 -9
- package/dist/commands/typecheck.js.map +1 -1
- package/dist/electron/electron.js +16 -16
- package/dist/electron/electron.js.map +1 -1
- package/dist/orchestrators/BuildOrchestrator.js +6 -6
- package/dist/orchestrators/BuildOrchestrator.js.map +1 -1
- package/dist/orchestrators/DevOrchestrator.d.ts +7 -6
- package/dist/orchestrators/DevOrchestrator.d.ts.map +1 -1
- package/dist/orchestrators/DevOrchestrator.js +157 -203
- package/dist/orchestrators/DevOrchestrator.js.map +1 -1
- package/dist/orchestrators/WatchOrchestrator.d.ts.map +1 -1
- package/dist/orchestrators/WatchOrchestrator.js +3 -4
- package/dist/orchestrators/WatchOrchestrator.js.map +1 -1
- package/dist/sd-cli.js +1 -1
- package/dist/sd-cli.js.map +1 -1
- package/dist/sd-config.types.d.ts +9 -3
- package/dist/sd-config.types.d.ts.map +1 -1
- package/dist/utils/copy-public.d.ts.map +1 -1
- package/dist/utils/copy-public.js +23 -27
- package/dist/utils/copy-public.js.map +1 -1
- package/dist/utils/copy-src.d.ts.map +1 -1
- package/dist/utils/copy-src.js +7 -7
- package/dist/utils/copy-src.js.map +1 -1
- package/dist/utils/esbuild-config.d.ts.map +1 -1
- package/dist/utils/esbuild-config.js +36 -42
- package/dist/utils/esbuild-config.js.map +1 -1
- package/dist/utils/replace-deps.js +7 -7
- package/dist/utils/replace-deps.js.map +1 -1
- package/dist/utils/sd-config.js +2 -2
- package/dist/utils/sd-config.js.map +1 -1
- package/dist/utils/template.js +7 -7
- package/dist/utils/template.js.map +1 -1
- package/dist/utils/tsconfig.d.ts +1 -2
- package/dist/utils/tsconfig.d.ts.map +1 -1
- package/dist/utils/tsconfig.js +5 -8
- package/dist/utils/tsconfig.js.map +1 -1
- package/dist/utils/typecheck-serialization.js +2 -2
- package/dist/utils/typecheck-serialization.js.map +1 -1
- package/dist/utils/vite-config.d.ts +2 -0
- package/dist/utils/vite-config.d.ts.map +1 -1
- package/dist/utils/vite-config.js +36 -3
- package/dist/utils/vite-config.js.map +1 -1
- package/dist/utils/worker-events.d.ts +11 -1
- package/dist/utils/worker-events.d.ts.map +1 -1
- package/dist/utils/worker-events.js +3 -5
- package/dist/utils/worker-events.js.map +1 -1
- package/dist/utils/worker-utils.d.ts +2 -2
- package/dist/utils/worker-utils.d.ts.map +1 -1
- package/dist/utils/worker-utils.js +1 -1
- package/dist/utils/worker-utils.js.map +1 -1
- package/dist/workers/client.worker.d.ts +1 -1
- package/dist/workers/client.worker.js +3 -3
- package/dist/workers/client.worker.js.map +1 -1
- package/dist/workers/dts.worker.d.ts +1 -1
- package/dist/workers/dts.worker.d.ts.map +1 -1
- package/dist/workers/dts.worker.js +13 -28
- package/dist/workers/dts.worker.js.map +1 -1
- package/dist/workers/library.worker.d.ts +1 -1
- package/dist/workers/library.worker.js +4 -4
- package/dist/workers/library.worker.js.map +1 -1
- package/dist/workers/lint.worker.d.ts +1 -1
- package/dist/workers/server-runtime.worker.d.ts +1 -1
- package/dist/workers/server-runtime.worker.js +4 -4
- package/dist/workers/server-runtime.worker.js.map +1 -1
- package/dist/workers/server.worker.d.ts +1 -1
- package/dist/workers/server.worker.js +6 -6
- package/dist/workers/server.worker.js.map +1 -1
- package/package.json +4 -5
- package/src/builders/DtsBuilder.ts +2 -2
- package/src/builders/LibraryBuilder.ts +7 -10
- package/src/builders/types.ts +6 -1
- package/src/capacitor/capacitor.ts +61 -60
- package/src/commands/check.ts +4 -4
- package/src/commands/device.ts +3 -3
- package/src/commands/lint.ts +6 -117
- package/src/commands/publish.ts +20 -20
- package/src/commands/replace-deps.ts +1 -1
- package/src/commands/typecheck.ts +9 -9
- package/src/electron/electron.ts +16 -16
- package/src/orchestrators/BuildOrchestrator.ts +6 -6
- package/src/orchestrators/DevOrchestrator.ts +210 -256
- package/src/orchestrators/WatchOrchestrator.ts +8 -10
- package/src/sd-cli.ts +1 -1
- package/src/sd-config.types.ts +10 -3
- package/src/utils/copy-public.ts +22 -26
- package/src/utils/copy-src.ts +7 -7
- package/src/utils/esbuild-config.ts +51 -63
- package/src/utils/replace-deps.ts +7 -7
- package/src/utils/sd-config.ts +2 -2
- package/src/utils/template.ts +7 -7
- package/src/utils/tsconfig.ts +6 -10
- package/src/utils/typecheck-serialization.ts +2 -2
- package/src/utils/vite-config.ts +376 -341
- package/src/utils/worker-events.ts +13 -10
- package/src/utils/worker-utils.ts +45 -45
- package/src/workers/client.worker.ts +3 -3
- package/src/workers/dts.worker.ts +451 -467
- package/src/workers/library.worker.ts +4 -4
- package/src/workers/server-runtime.worker.ts +4 -4
- package/src/workers/server.worker.ts +572 -572
- package/templates/init/package.json.hbs +2 -3
- package/templates/init/packages/client-admin/package.json.hbs +5 -5
- package/templates/init/packages/client-admin/src/views/auth/LoginView.tsx +2 -2
- package/templates/init/packages/client-admin/src/views/home/base/employee/EmployeeDetail.tsx.hbs +86 -105
- package/templates/init/packages/client-admin/src/views/home/base/employee/EmployeeSheet.tsx.hbs +1 -1
- package/templates/init/packages/client-admin/src/views/home/base/role-permission/RoleDetail.tsx.hbs +4 -12
- package/templates/init/packages/client-admin/src/views/home/base/role-permission/RolePermissionDetail.tsx.hbs +0 -2
- package/templates/init/packages/client-admin/src/views/home/base/role-permission/RolePermissionView.tsx +1 -1
- package/templates/init/packages/client-admin/src/views/home/base/role-permission/RoleSheet.tsx.hbs +1 -1
- package/templates/init/packages/client-admin/src/views/home/my-info/MyInfoDetail.tsx.hbs +36 -43
- package/templates/init/packages/db-main/package.json.hbs +2 -2
- package/templates/init/packages/server/package.json.hbs +4 -4
- package/templates/init/tests/e2e/package.json.hbs +1 -1
- package/tests/get-compiler-options-for-package.spec.ts +13 -72
- package/tests/get-package-source-files.spec.ts +0 -42
- package/tests/get-types-from-package-json.spec.ts +15 -30
- package/tests/infra/ResultCollector.spec.ts +0 -9
- package/tests/infra/WorkerManager.spec.ts +0 -34
- package/tests/load-ignore-patterns.spec.ts +15 -40
- package/tests/load-sd-config.spec.ts +16 -53
- package/tests/publish-config-narrowing.spec.ts +20 -0
- package/tests/run-lint.spec.ts +38 -87
- package/tests/run-typecheck.spec.ts +194 -303
- package/tests/run-watch.spec.ts +0 -34
- package/tests/sd-cli.spec.ts +0 -88
- package/tests/sd-public-dev-plugin-mime.spec.ts +19 -0
- package/dist/builders/index.d.ts +0 -5
- package/dist/builders/index.d.ts.map +0 -1
- package/dist/builders/index.js +0 -5
- package/dist/builders/index.js.map +0 -6
- package/dist/infra/index.d.ts +0 -4
- package/dist/infra/index.d.ts.map +0 -1
- package/dist/infra/index.js +0 -4
- package/dist/infra/index.js.map +0 -6
- package/dist/orchestrators/index.d.ts +0 -4
- package/dist/orchestrators/index.d.ts.map +0 -1
- package/dist/orchestrators/index.js +0 -4
- package/dist/orchestrators/index.js.map +0 -6
- package/src/builders/index.ts +0 -4
- package/src/infra/index.ts +0 -3
- package/src/orchestrators/index.ts +0 -3
- package/templates/init/stylelint.config.ts +0 -1
package/README.md
CHANGED
|
@@ -29,13 +29,15 @@ All commands accept a global `--debug` flag for verbose logging.
|
|
|
29
29
|
| `sd-cli publish [targets..]` | Publish packages to npm, a local directory, or FTP/SFTP. |
|
|
30
30
|
| `sd-cli replace-deps` | Replace `node_modules` packages with symlinks to local source directories. |
|
|
31
31
|
|
|
32
|
-
For full option details see [docs/commands.md](./docs/commands.md).
|
|
33
|
-
|
|
34
32
|
---
|
|
35
33
|
|
|
36
|
-
##
|
|
34
|
+
## Config Types
|
|
35
|
+
|
|
36
|
+
All types below are re-exported from `@simplysm/sd-cli` and used to type `sd.config.ts`.
|
|
37
|
+
|
|
38
|
+
### `SdConfigFn`
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
The type that `sd.config.ts` must default-export. Receives `SdConfigParams` and returns `SdConfig` (or a `Promise<SdConfig>`).
|
|
39
41
|
|
|
40
42
|
```typescript
|
|
41
43
|
import type { SdConfigFn } from "@simplysm/sd-cli";
|
|
@@ -56,21 +58,344 @@ const config: SdConfigFn = (params) => ({
|
|
|
56
58
|
export default config;
|
|
57
59
|
```
|
|
58
60
|
|
|
59
|
-
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
### `SdConfigParams`
|
|
64
|
+
|
|
65
|
+
Parameters passed to the `SdConfigFn` by the CLI at startup.
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
import type { SdConfigParams } from "@simplysm/sd-cli";
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
| Property | Type | Description |
|
|
72
|
+
|----------|------|-------------|
|
|
73
|
+
| `cwd` | `string` | Current working directory. |
|
|
74
|
+
| `dev` | `boolean` | `true` when running in development mode. |
|
|
75
|
+
| `options` | `string[]` | Additional options passed via the CLI `-o` flag. |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### `SdConfig`
|
|
80
|
+
|
|
81
|
+
Top-level configuration object returned by `SdConfigFn`.
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import type { SdConfig } from "@simplysm/sd-cli";
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
| Property | Type | Description |
|
|
88
|
+
|----------|------|-------------|
|
|
89
|
+
| `packages` | `Record<string, SdPackageConfig \| undefined>` | Per-package configuration. Key is the subdirectory name under `packages/` (e.g. `"core-common"`). |
|
|
90
|
+
| `replaceDeps?` | `Record<string, string>` | Dependency replacement map — replaces `node_modules` packages with local source symlinks. Key is a package glob (e.g. `"@simplysm/*"`); value is the source path (e.g. `"../simplysm/packages/*"`). |
|
|
91
|
+
| `postPublish?` | `SdPostPublishScriptConfig[]` | Scripts to execute after deployment completes. |
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
### `SdPackageConfig`
|
|
96
|
+
|
|
97
|
+
Union of all per-package configuration types.
|
|
98
|
+
|
|
99
|
+
```typescript
|
|
100
|
+
import type { SdPackageConfig } from "@simplysm/sd-cli";
|
|
101
|
+
|
|
102
|
+
type SdPackageConfig =
|
|
103
|
+
| SdBuildPackageConfig
|
|
104
|
+
| SdClientPackageConfig
|
|
105
|
+
| SdServerPackageConfig
|
|
106
|
+
| SdScriptsPackageConfig;
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
### `SdBuildPackageConfig`
|
|
112
|
+
|
|
113
|
+
Configuration for library packages built with esbuild (`target: "node" | "browser" | "neutral"`).
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
import type { SdBuildPackageConfig } from "@simplysm/sd-cli";
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
| Property | Type | Description |
|
|
120
|
+
|----------|------|-------------|
|
|
121
|
+
| `target` | `BuildTarget` | Build target: `"node"`, `"browser"`, or `"neutral"`. |
|
|
122
|
+
| `publish?` | `SdPublishConfig` | Publish configuration. |
|
|
123
|
+
| `copySrc?` | `string[]` | Glob patterns for files to copy from `src/` to `dist/` (relative to `src/`). |
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
### `SdClientPackageConfig`
|
|
128
|
+
|
|
129
|
+
Configuration for Vite client packages (`target: "client"`).
|
|
130
|
+
|
|
131
|
+
```typescript
|
|
132
|
+
import type { SdClientPackageConfig } from "@simplysm/sd-cli";
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
| Property | Type | Description |
|
|
136
|
+
|----------|------|-------------|
|
|
137
|
+
| `target` | `"client"` | Must be `"client"`. |
|
|
138
|
+
| `server` | `string \| number` | Server package name to connect to (e.g. `"solid-demo-server"`), or a Vite port number (backward compatibility). |
|
|
139
|
+
| `env?` | `Record<string, string>` | Environment variables substituted during build (replaces `process.env` with the object). |
|
|
140
|
+
| `publish?` | `SdPublishConfig` | Publish configuration. |
|
|
141
|
+
| `capacitor?` | `SdCapacitorConfig` | Capacitor configuration for Android builds. |
|
|
142
|
+
| `electron?` | `SdElectronConfig` | Electron configuration for desktop builds. |
|
|
143
|
+
| `configs?` | `Record<string, unknown>` | Runtime config written to `dist/.config.json` during build. |
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
### `SdServerPackageConfig`
|
|
148
|
+
|
|
149
|
+
Configuration for Fastify server packages (`target: "server"`).
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
import type { SdServerPackageConfig } from "@simplysm/sd-cli";
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
| Property | Type | Description |
|
|
156
|
+
|----------|------|-------------|
|
|
157
|
+
| `target` | `"server"` | Must be `"server"`. |
|
|
158
|
+
| `env?` | `Record<string, string>` | Environment variables substituted during build (replaces `process.env.KEY` with a constant). |
|
|
159
|
+
| `publish?` | `SdPublishConfig` | Publish configuration. |
|
|
160
|
+
| `configs?` | `Record<string, unknown>` | Runtime config written to `dist/.config.json` during build. |
|
|
161
|
+
| `externals?` | `string[]` | External modules excluded from the esbuild bundle (in addition to automatic `binding.gyp` detection). |
|
|
162
|
+
| `pm2?` | `{ name?: string; ignoreWatchPaths?: string[] }` | PM2 configuration — generates `dist/pm2.config.cjs` when specified. |
|
|
163
|
+
| `packageManager?` | `"volta" \| "mise"` | Package manager to use (affects `mise.toml` or `volta` settings generation). |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
### `SdScriptsPackageConfig`
|
|
168
|
+
|
|
169
|
+
Configuration for scripts-only packages that are excluded from watch and typecheck (`target: "scripts"`).
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
import type { SdScriptsPackageConfig } from "@simplysm/sd-cli";
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
| Property | Type | Description |
|
|
176
|
+
|----------|------|-------------|
|
|
177
|
+
| `target` | `"scripts"` | Must be `"scripts"`. |
|
|
60
178
|
|
|
61
179
|
---
|
|
62
180
|
|
|
63
|
-
##
|
|
181
|
+
## Publish Configuration Types
|
|
64
182
|
|
|
65
|
-
|
|
183
|
+
### `SdPublishConfig`
|
|
66
184
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
185
|
+
```typescript
|
|
186
|
+
import type { SdPublishConfig } from "@simplysm/sd-cli";
|
|
187
|
+
|
|
188
|
+
type SdPublishConfig = "npm" | SdLocalDirectoryPublishConfig | SdStoragePublishConfig;
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
- `"npm"` — publish to the npm registry.
|
|
192
|
+
- `SdLocalDirectoryPublishConfig` — copy to a local directory.
|
|
193
|
+
- `SdStoragePublishConfig` — upload via FTP/FTPS/SFTP.
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
### `SdLocalDirectoryPublishConfig`
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
import type { SdLocalDirectoryPublishConfig } from "@simplysm/sd-cli";
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
| Property | Type | Description |
|
|
204
|
+
|----------|------|-------------|
|
|
205
|
+
| `type` | `"local-directory"` | Must be `"local-directory"`. |
|
|
206
|
+
| `path` | `string` | Deployment target path. Supports variable substitution: `%VER%`, `%PROJECT%`. |
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
### `SdStoragePublishConfig`
|
|
211
|
+
|
|
212
|
+
```typescript
|
|
213
|
+
import type { SdStoragePublishConfig } from "@simplysm/sd-cli";
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
| Property | Type | Description |
|
|
217
|
+
|----------|------|-------------|
|
|
218
|
+
| `type` | `"ftp" \| "ftps" \| "sftp"` | Protocol type. |
|
|
219
|
+
| `host` | `string` | Remote host. |
|
|
220
|
+
| `port?` | `number` | Remote port. |
|
|
221
|
+
| `path?` | `string` | Remote path. |
|
|
222
|
+
| `user?` | `string` | Username. |
|
|
223
|
+
| `pass?` | `string` | Password. |
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### `SdPostPublishScriptConfig`
|
|
228
|
+
|
|
229
|
+
Script to run after deployment.
|
|
230
|
+
|
|
231
|
+
```typescript
|
|
232
|
+
import type { SdPostPublishScriptConfig } from "@simplysm/sd-cli";
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
| Property | Type | Description |
|
|
236
|
+
|----------|------|-------------|
|
|
237
|
+
| `type` | `"script"` | Must be `"script"`. |
|
|
238
|
+
| `cmd` | `string` | Command to execute. |
|
|
239
|
+
| `args` | `string[]` | Command arguments. Supports variable substitution: `%VER%`, `%PROJECT%`. |
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Capacitor / Electron Types
|
|
244
|
+
|
|
245
|
+
### `SdCapacitorConfig`
|
|
246
|
+
|
|
247
|
+
Capacitor configuration for building Android apps.
|
|
248
|
+
|
|
249
|
+
```typescript
|
|
250
|
+
import type { SdCapacitorConfig } from "@simplysm/sd-cli";
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
| Property | Type | Description |
|
|
254
|
+
|----------|------|-------------|
|
|
255
|
+
| `appId` | `string` | App ID (e.g. `"com.example.app"`). |
|
|
256
|
+
| `appName` | `string` | App display name. |
|
|
257
|
+
| `plugins?` | `Record<string, Record<string, unknown> \| true>` | Capacitor plugin configuration (key: package name, value: `true` or plugin options). |
|
|
258
|
+
| `icon?` | `string` | App icon path, relative to the package directory. |
|
|
259
|
+
| `debug?` | `boolean` | Debug build flag. |
|
|
260
|
+
| `platform?` | `{ android?: SdCapacitorAndroidConfig }` | Per-platform configuration. |
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
### `SdCapacitorAndroidConfig`
|
|
265
|
+
|
|
266
|
+
```typescript
|
|
267
|
+
import type { SdCapacitorAndroidConfig } from "@simplysm/sd-cli";
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
| Property | Type | Description |
|
|
271
|
+
|----------|------|-------------|
|
|
272
|
+
| `config?` | `Record<string, string>` | `AndroidManifest.xml` application tag attributes (e.g. `{ requestLegacyExternalStorage: "true" }`). |
|
|
273
|
+
| `bundle?` | `boolean` | `true` to build an AAB bundle; `false` (default) for APK. |
|
|
274
|
+
| `intentFilters?` | `SdCapacitorIntentFilter[]` | Intent filter configuration. |
|
|
275
|
+
| `sign?` | `SdCapacitorSignConfig` | APK/AAB signing configuration. |
|
|
276
|
+
| `sdkVersion?` | `number` | Android SDK version (`minSdk` and `targetSdk`). |
|
|
277
|
+
| `permissions?` | `SdCapacitorPermission[]` | Additional permission configuration. |
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
### `SdCapacitorSignConfig`
|
|
282
|
+
|
|
283
|
+
```typescript
|
|
284
|
+
import type { SdCapacitorSignConfig } from "@simplysm/sd-cli";
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
| Property | Type | Description |
|
|
288
|
+
|----------|------|-------------|
|
|
289
|
+
| `keystore` | `string` | Keystore file path, relative to the package directory. |
|
|
290
|
+
| `storePassword` | `string` | Keystore password. |
|
|
291
|
+
| `alias` | `string` | Key alias. |
|
|
292
|
+
| `password` | `string` | Key password. |
|
|
293
|
+
| `keystoreType?` | `string` | Keystore type (default: `"jks"`). |
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
### `SdCapacitorPermission`
|
|
298
|
+
|
|
299
|
+
```typescript
|
|
300
|
+
import type { SdCapacitorPermission } from "@simplysm/sd-cli";
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
| Property | Type | Description |
|
|
304
|
+
|----------|------|-------------|
|
|
305
|
+
| `name` | `string` | Permission name (e.g. `"CAMERA"`, `"WRITE_EXTERNAL_STORAGE"`). |
|
|
306
|
+
| `maxSdkVersion?` | `number` | Maximum SDK version. |
|
|
307
|
+
| `ignore?` | `string` | `tools:ignore` attribute value. |
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
### `SdCapacitorIntentFilter`
|
|
312
|
+
|
|
313
|
+
```typescript
|
|
314
|
+
import type { SdCapacitorIntentFilter } from "@simplysm/sd-cli";
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
| Property | Type | Description |
|
|
318
|
+
|----------|------|-------------|
|
|
319
|
+
| `action?` | `string` | Intent action (e.g. `"android.intent.action.VIEW"`). |
|
|
320
|
+
| `category?` | `string` | Intent category (e.g. `"android.intent.category.DEFAULT"`). |
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
### `SdElectronConfig`
|
|
325
|
+
|
|
326
|
+
Electron configuration for building desktop apps.
|
|
327
|
+
|
|
328
|
+
```typescript
|
|
329
|
+
import type { SdElectronConfig } from "@simplysm/sd-cli";
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
| Property | Type | Description |
|
|
333
|
+
|----------|------|-------------|
|
|
334
|
+
| `appId` | `string` | Electron app ID (e.g. `"com.example.myapp"`). |
|
|
335
|
+
| `portable?` | `boolean` | `true` for a portable `.exe`; `false` (default) for an NSIS installer. |
|
|
336
|
+
| `installerIcon?` | `string` | Installer icon path (`.ico`), relative to the package directory. |
|
|
337
|
+
| `reinstallDependencies?` | `string[]` | npm packages to include in the Electron bundle (native modules, etc.). |
|
|
338
|
+
| `postInstallScript?` | `string` | npm postinstall script. |
|
|
339
|
+
| `nsisOptions?` | `Record<string, unknown>` | NSIS options (when `portable` is `false`). |
|
|
340
|
+
| `env?` | `Record<string, string>` | Environment variables accessible via `process.env` in `electron-main.ts`. |
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## Vite Config
|
|
345
|
+
|
|
346
|
+
### `createViteConfig(options)`
|
|
347
|
+
|
|
348
|
+
Creates a `ViteUserConfig` for building or serving SolidJS + TailwindCSS client packages.
|
|
349
|
+
|
|
350
|
+
- **Build mode** (`mode: "build"`): production build with `logLevel: "silent"`.
|
|
351
|
+
- **Dev mode** (`mode: "dev"`): dev server with env substitution, scope-package HMR, and `public-dev/` priority serving.
|
|
352
|
+
|
|
353
|
+
```typescript
|
|
354
|
+
import { createViteConfig } from "@simplysm/sd-cli";
|
|
355
|
+
|
|
356
|
+
const viteConfig = createViteConfig({
|
|
357
|
+
pkgDir: "/path/to/packages/my-client",
|
|
358
|
+
name: "my-client",
|
|
359
|
+
tsconfigPath: "/path/to/packages/my-client/tsconfig.json",
|
|
360
|
+
compilerOptions: {},
|
|
361
|
+
mode: "dev",
|
|
362
|
+
serverPort: 4200,
|
|
363
|
+
replaceDeps: ["@simplysm/solid"],
|
|
364
|
+
});
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
---
|
|
368
|
+
|
|
369
|
+
### `ViteConfigOptions`
|
|
370
|
+
|
|
371
|
+
```typescript
|
|
372
|
+
import type { ViteConfigOptions } from "@simplysm/sd-cli";
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
| Property | Type | Description |
|
|
376
|
+
|----------|------|-------------|
|
|
377
|
+
| `pkgDir` | `string` | Absolute path to the client package directory. |
|
|
378
|
+
| `name` | `string` | Package name used as the Vite `base` path (`/<name>/`). |
|
|
379
|
+
| `tsconfigPath` | `string` | Absolute path to the package's `tsconfig.json`. |
|
|
380
|
+
| `compilerOptions` | `Record<string, unknown>` | TypeScript compiler options forwarded to esbuild. |
|
|
381
|
+
| `env?` | `Record<string, string>` | Environment variables substituted via `define` (replaces `process.env`). |
|
|
382
|
+
| `mode` | `"build" \| "dev"` | `"build"` for production output; `"dev"` for the dev server. |
|
|
383
|
+
| `serverPort?` | `number` | Dev server port. `0` binds to `127.0.0.1` for proxy-connected clients; omit for auto-assign. |
|
|
384
|
+
| `replaceDeps?` | `string[]` | Resolved package names whose `dist/` directories are watched for HMR in dev mode. |
|
|
385
|
+
| `onScopeRebuild?` | `() => void` | Callback invoked when a `replaceDeps` package dist changes. |
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## Types Reference
|
|
390
|
+
|
|
391
|
+
### `BuildTarget`
|
|
392
|
+
|
|
393
|
+
```typescript
|
|
394
|
+
import type { BuildTarget } from "@simplysm/sd-cli";
|
|
395
|
+
|
|
396
|
+
type BuildTarget = "node" | "browser" | "neutral";
|
|
397
|
+
```
|
|
75
398
|
|
|
76
|
-
|
|
399
|
+
- `"node"` — Node.js-only package.
|
|
400
|
+
- `"browser"` — browser-only package.
|
|
401
|
+
- `"neutral"` — shared package usable in both Node.js and browser.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { err as errNs } from "@simplysm/core-common";
|
|
2
2
|
import { BaseBuilder } from "./BaseBuilder.js";
|
|
3
3
|
class DtsBuilder extends BaseBuilder {
|
|
4
4
|
_workerPath;
|
|
@@ -59,7 +59,7 @@ class DtsBuilder extends BaseBuilder {
|
|
|
59
59
|
target: pkg.config.target,
|
|
60
60
|
type: "dts",
|
|
61
61
|
status: "error",
|
|
62
|
-
message:
|
|
62
|
+
message: errNs.message(err)
|
|
63
63
|
};
|
|
64
64
|
this.resultCollector.add(result);
|
|
65
65
|
this.completeBuild(pkg);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/builders/DtsBuilder.ts"],
|
|
4
|
-
"mappings": "AAEA,SAAS,
|
|
4
|
+
"mappings": "AAEA,SAAS,OAAO,aAAa;AAE7B,SAAS,mBAAmB;AASrB,MAAM,mBAAmB,YAAY;AAAA,EACzB;AAAA,EAEjB,YAAY,SAAuD;AACjE,UAAM,OAAO;AACb,SAAK,cAAc,YAAY,QAAQ,uBAAuB;AAAA,EAChE;AAAA,EAEU,iBAAyB;AACjC,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA,EAKQ,QAAQ,KAAgC;AAC9C,UAAM,SAAS,IAAI,OAAO;AAC1B,QAAI,WAAW,OAAQ,QAAO;AAC9B,WAAO;AAAA,EACT;AAAA,EAEU,gBAAsB;AAC9B,eAAW,OAAO,KAAK,UAAU;AAC/B,WAAK,cAAc,OAA+B,GAAG,IAAI,IAAI,QAAQ,KAAK,WAAW;AAAA,IACvF;AAAA,EACF;AAAA,EAEU,wBAA8B;AACtC,eAAW,OAAO,KAAK,UAAU;AAC/B,YAAM,YAAY,GAAG,IAAI,IAAI;AAC7B,YAAM,aAAa,GAAG,IAAI,IAAI;AAC9B,WAAK,+BAA+B,KAAK,WAAW,OAAO,UAAU;AAAA,IACvE;AAAA,EACF;AAAA,EAEA,MAAgB,aAAa,KAAiC;AAC5D,UAAM,SAAS,KAAK,cAAc,IAA4B,GAAG,IAAI,IAAI,MAAM;AAE/E,UAAM,eAAe,IAAI,QAAc,CAAC,YAAY;AAClD,YAAM,mBAAmB,KAAK,eAAe,IAAI,GAAG,IAAI,IAAI,MAAM;AAClE,WAAK,eAAe,IAAI,GAAG,IAAI,IAAI,QAAQ,MAAM;AAC/C,2BAAmB;AACnB,gBAAQ;AAAA,MACV,CAAC;AAAA,IACH,CAAC;AAED,SAAK,OAAO,WAAW;AAAA,MACrB,MAAM,IAAI;AAAA,MACV,KAAK,KAAK;AAAA,MACV,QAAQ,IAAI;AAAA,MACZ,KAAK,KAAK,QAAQ,GAAG;AAAA,IACvB,CAAC;AAED,UAAM;AAAA,EACR;AAAA,EAEU,kBAAkB,KAAwB;AAClD,UAAM,SAAS,KAAK,cAAc,IAA4B,GAAG,IAAI,IAAI,MAAM;AAE/E,WACG,WAAW;AAAA,MACV,MAAM,IAAI;AAAA,MACV,KAAK,KAAK;AAAA,MACV,QAAQ,IAAI;AAAA,MACZ,KAAK,KAAK,QAAQ,GAAG;AAAA,IACvB,CAAC,EACA,MAAM,CAAC,QAAiB;AACvB,YAAM,SAAsB;AAAA,QAC1B,MAAM,IAAI;AAAA,QACV,QAAQ,IAAI,OAAO;AAAA,QACnB,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,GAAG;AAAA,MAC5B;AACA,WAAK,gBAAgB,IAAI,MAAM;AAC/B,WAAK,cAAc,GAAG;AAAA,IACxB,CAAC;AAAA,EACL;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseBuilder } from "./BaseBuilder";
|
|
2
|
-
import type {
|
|
2
|
+
import type { BuildPackageInfo } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* Builder responsible for Library package builds
|
|
5
5
|
*
|
|
@@ -12,8 +12,8 @@ export declare class LibraryBuilder extends BaseBuilder {
|
|
|
12
12
|
protected getBuilderType(): string;
|
|
13
13
|
protected createWorkers(): void;
|
|
14
14
|
protected registerEventHandlers(): void;
|
|
15
|
-
protected buildPackage(pkg:
|
|
16
|
-
protected startWatchPackage(pkg:
|
|
15
|
+
protected buildPackage(pkg: BuildPackageInfo): Promise<void>;
|
|
16
|
+
protected startWatchPackage(pkg: BuildPackageInfo): void;
|
|
17
17
|
/**
|
|
18
18
|
* Graceful shutdown (esbuild context dispose)
|
|
19
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibraryBuilder.d.ts","sourceRoot":"","sources":["..\\..\\src\\builders\\LibraryBuilder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LibraryBuilder.d.ts","sourceRoot":"","sources":["..\\..\\src\\builders\\LibraryBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,OAAO,EAAE,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;IAKjE,SAAS,CAAC,cAAc,IAAI,MAAM;IAIlC,SAAS,CAAC,aAAa,IAAI,IAAI;IAM/B,SAAS,CAAC,qBAAqB,IAAI,IAAI;cAQvB,YAAY,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBlE,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAuBxD;;OAEG;IACY,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAsBzC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { err as errNs } from "@simplysm/core-common";
|
|
2
2
|
import { BaseBuilder } from "./BaseBuilder.js";
|
|
3
3
|
class LibraryBuilder extends BaseBuilder {
|
|
4
4
|
_workerPath;
|
|
@@ -51,7 +51,7 @@ class LibraryBuilder extends BaseBuilder {
|
|
|
51
51
|
target: pkg.config.target,
|
|
52
52
|
type: "build",
|
|
53
53
|
status: "error",
|
|
54
|
-
message:
|
|
54
|
+
message: errNs.message(err)
|
|
55
55
|
};
|
|
56
56
|
this.resultCollector.add(result);
|
|
57
57
|
this.completeBuild(pkg);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/builders/LibraryBuilder.ts"],
|
|
4
|
-
"mappings": "AAEA,SAAS,
|
|
4
|
+
"mappings": "AAEA,SAAS,OAAO,aAAa;AAC7B,SAAS,mBAAmB;AASrB,MAAM,uBAAuB,YAAY;AAAA,EAC7B;AAAA,EAEjB,YAAY,SAAuD;AACjE,UAAM,OAAO;AACb,SAAK,cAAc,YAAY,QAAQ,2BAA2B;AAAA,EACpE;AAAA,EAEU,iBAAyB;AACjC,WAAO;AAAA,EACT;AAAA,EAEU,gBAAsB;AAC9B,eAAW,OAAO,KAAK,UAAU;AAC/B,WAAK,cAAc,OAAmC,GAAG,IAAI,IAAI,UAAU,KAAK,WAAW;AAAA,IAC7F;AAAA,EACF;AAAA,EAEU,wBAA8B;AACtC,eAAW,OAAO,KAAK,UAAU;AAC/B,YAAM,YAAY,GAAG,IAAI,IAAI;AAC7B,YAAM,aAAa,GAAG,IAAI,IAAI,KAAK,IAAI,OAAO,MAAM;AACpD,WAAK,+BAA+B,KAAK,WAAW,SAAS,UAAU;AAAA,IACzE;AAAA,EACF;AAAA,EAEA,MAAgB,aAAa,KAAsC;AACjE,UAAM,SAAS,KAAK,cAAc,IAAgC,GAAG,IAAI,IAAI,QAAQ;AAGrF,UAAM,eAAe,IAAI,QAAc,CAAC,YAAY;AAClD,YAAM,mBAAmB,KAAK,eAAe,IAAI,GAAG,IAAI,IAAI,QAAQ;AACpE,WAAK,eAAe,IAAI,GAAG,IAAI,IAAI,UAAU,MAAM;AACjD,2BAAmB;AACnB,gBAAQ;AAAA,MACV,CAAC;AAAA,IACH,CAAC;AAGD,SAAK,OAAO,WAAW;AAAA,MACrB,MAAM,IAAI;AAAA,MACV,QAAQ,IAAI;AAAA,MACZ,KAAK,KAAK;AAAA,MACV,QAAQ,IAAI;AAAA,IACd,CAAC;AAED,UAAM;AAAA,EACR;AAAA,EAEU,kBAAkB,KAA6B;AACvD,UAAM,SAAS,KAAK,cAAc,IAAgC,GAAG,IAAI,IAAI,QAAQ;AAErF,WACG,WAAW;AAAA,MACV,MAAM,IAAI;AAAA,MACV,QAAQ,IAAI;AAAA,MACZ,KAAK,KAAK;AAAA,MACV,QAAQ,IAAI;AAAA,IACd,CAAC,EACA,MAAM,CAAC,QAAiB;AACvB,YAAM,SAAsB;AAAA,QAC1B,MAAM,IAAI;AAAA,QACV,QAAQ,IAAI,OAAO;AAAA,QACnB,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,GAAG;AAAA,MAC5B;AACA,WAAK,gBAAgB,IAAI,MAAM;AAC/B,WAAK,cAAc,GAAG;AAAA,IACxB,CAAC;AAAA,EACL;AAAA;AAAA;AAAA;AAAA,EAKA,MAAe,WAA0B;AACvC,UAAM,kBAAkB;AAGxB,UAAM,QAAQ;AAAA,MACZ,KAAK,cAAc,IAAI,IAAI,OAAO,OAAO;AACvC,cAAM,SAAS,KAAK,cAAc,IAAgC,EAAE;AACpE,YAAI,UAAU,MAAM;AAClB,cAAI;AACF,kBAAM,QAAQ,KAAK;AAAA,cACjB,OAAO,UAAU;AAAA,cACjB,IAAI,QAAc,CAAC,YAAY,WAAW,SAAS,eAAe,CAAC;AAAA,YACrE,CAAC;AAAA,UACH,QAAQ;AAAA,UAER;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH;AAEA,UAAM,MAAM,SAAS;AAAA,EACvB;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/builders/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SdPackageConfig } from "../sd-config.types";
|
|
1
|
+
import type { SdBuildPackageConfig, SdPackageConfig } from "../sd-config.types";
|
|
2
2
|
import type { ResultCollector } from "../infra/ResultCollector";
|
|
3
3
|
import type { RebuildManager } from "../utils/rebuild-manager";
|
|
4
4
|
/**
|
|
@@ -9,6 +9,12 @@ export interface PackageInfo {
|
|
|
9
9
|
dir: string;
|
|
10
10
|
config: SdPackageConfig;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* PackageInfo narrowed for build packages (node/browser/neutral)
|
|
14
|
+
*/
|
|
15
|
+
export type BuildPackageInfo = PackageInfo & {
|
|
16
|
+
config: SdBuildPackageConfig;
|
|
17
|
+
};
|
|
12
18
|
/**
|
|
13
19
|
* Common Builder options
|
|
14
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["..\\..\\src\\builders\\types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["..\\..\\src\\builders\\types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,eAAe,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAAE,MAAM,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5B;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B;;OAEG;IACH,uBAAuB,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;CACvD"}
|
|
@@ -111,6 +111,11 @@ export declare class Capacitor {
|
|
|
111
111
|
* Modify build.gradle (F3: add error handling)
|
|
112
112
|
*/
|
|
113
113
|
private _configureAndroidBuildGradle;
|
|
114
|
+
/**
|
|
115
|
+
* Escape single quotes in Groovy string (for use in single-quoted strings)
|
|
116
|
+
* Groovy: 'string with \'single quote\' inside'
|
|
117
|
+
*/
|
|
118
|
+
private static _escapeGroovyString;
|
|
114
119
|
/**
|
|
115
120
|
* Build Android
|
|
116
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capacitor.d.ts","sourceRoot":"","sources":["..\\..\\src\\capacitor\\capacitor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capacitor.d.ts","sourceRoot":"","sources":["..\\..\\src\\capacitor\\capacitor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAyB5D;;;;;;GAMG;AACH,qBAAa,SAAS;IAUlB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAV1B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,2BAA2B,CAAsB;IACzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAqB;IAC5D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAW;IACtC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IAEvC,OAAO;IAUP;;OAEG;WACU,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC;IAQnF;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAuB9B;;OAEG;YACW,KAAK;IAOnB;;OAEG;YACW,YAAY;IAa1B;;OAEG;YACW,YAAY;IAK1B;;OAEG;YACW,cAAc;IAsB5B;;;;;;;;;OASG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAmCjC;;OAEG;IACG,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoB3C;;OAEG;IACG,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyB9C;;OAEG;IACH,OAAO,CAAC,YAAY;IAgBpB;;OAEG;YACW,QAAQ;IA6BtB;;OAEG;YACW,aAAa;IAgF3B;;OAEG;YACW,aAAa;IAoC3B;;OAEG;YACW,aAAa;IAY3B;;OAEG;YACW,UAAU;IAiExB;;OAEG;YACW,iBAAiB;IAc/B;;OAEG;YACW,6BAA6B;IAoB3C;;OAEG;YACW,WAAW;IAoBzB;;OAEG;YACW,wBAAwB;IAgBtC;;OAEG;YACW,eAAe;IAsB7B;;OAEG;YACW,yBAAyB;IAsEvC;;OAEG;YACW,4BAA4B;IAgF1C;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAQlC;;OAEG;YACW,aAAa;IAoB3B;;OAEG;YACW,uBAAuB;IAkDrC;;OAEG;YACW,gBAAgB;IAoB9B;;OAEG;IACH,OAAO,CAAC,aAAa;CAOtB"}
|