@fluid-app/fluid-cli-themes 0.1.786 → 0.1.787
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/dist/index.mjs +7 -14
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createDomainCommand, declareInputs } from "@fluid-app/fluid-cli";
|
|
2
2
|
import "commander";
|
|
3
|
-
|
|
3
|
+
// src/generated/primary.ts
|
|
4
4
|
function parseBooleanOption$2(value, flag) {
|
|
5
5
|
const normalized = value.trim().toLowerCase();
|
|
6
6
|
if ([
|
|
@@ -154,8 +154,7 @@ function registerPrimary(parent, ctx) {
|
|
|
154
154
|
ctx.output(result);
|
|
155
155
|
}), () => []);
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
//#region src/generated/resources.ts
|
|
157
|
+
// src/generated/resources.ts
|
|
159
158
|
function registerResources(parent, ctx) {
|
|
160
159
|
const resource = parent.command("resources").description("resources");
|
|
161
160
|
declareInputs(resource.command("get <application-theme-id>").description("Lists all theme resources").action(async (applicationThemeId) => {
|
|
@@ -192,8 +191,7 @@ function registerResources(parent, ctx) {
|
|
|
192
191
|
path: String(opts.bodyFile)
|
|
193
192
|
}] : []);
|
|
194
193
|
}
|
|
195
|
-
|
|
196
|
-
//#region src/generated/templates.ts
|
|
194
|
+
// src/generated/templates.ts
|
|
197
195
|
function parseBooleanOption$1(value, flag) {
|
|
198
196
|
const normalized = value.trim().toLowerCase();
|
|
199
197
|
if ([
|
|
@@ -361,8 +359,7 @@ function registerTemplates(parent, ctx) {
|
|
|
361
359
|
ctx.output(result);
|
|
362
360
|
}), () => []);
|
|
363
361
|
}
|
|
364
|
-
|
|
365
|
-
//#region src/generated/root-themes.ts
|
|
362
|
+
// src/generated/root-themes.ts
|
|
366
363
|
function registerRootThemes(parent, ctx) {
|
|
367
364
|
const resource = parent.command("root-themes").description("root-themes");
|
|
368
365
|
declareInputs(resource.command("list").description("List root themes").option("--page <value>", "Page number for pagination").option("--per-page <value>", "Number of records per page").option("--status <value>", "Filter themes by status of their versions (draft, publishing, rejected, published)").option("--search-query <value>", "Search themes by name").action(async (opts) => {
|
|
@@ -432,8 +429,7 @@ function registerRootThemes(parent, ctx) {
|
|
|
432
429
|
path: String(opts.bodyFile)
|
|
433
430
|
}] : []);
|
|
434
431
|
}
|
|
435
|
-
|
|
436
|
-
//#region src/generated/region-rules.ts
|
|
432
|
+
// src/generated/region-rules.ts
|
|
437
433
|
function parseBooleanOption(value, flag) {
|
|
438
434
|
const normalized = value.trim().toLowerCase();
|
|
439
435
|
if ([
|
|
@@ -506,8 +502,7 @@ function registerRegionRules(parent, ctx) {
|
|
|
506
502
|
ctx.output(result);
|
|
507
503
|
}), () => []);
|
|
508
504
|
}
|
|
509
|
-
|
|
510
|
-
//#region src/generated/index.ts
|
|
505
|
+
// src/generated/index.ts
|
|
511
506
|
function registerAllCommands(parent, ctx) {
|
|
512
507
|
registerPrimary(parent, ctx);
|
|
513
508
|
registerResources(parent, ctx);
|
|
@@ -515,8 +510,7 @@ function registerAllCommands(parent, ctx) {
|
|
|
515
510
|
registerRootThemes(parent, ctx);
|
|
516
511
|
registerRegionRules(parent, ctx);
|
|
517
512
|
}
|
|
518
|
-
|
|
519
|
-
//#region src/index.ts
|
|
513
|
+
// src/index.ts
|
|
520
514
|
const plugin = {
|
|
521
515
|
name: "@fluid-app/fluid-cli-themes",
|
|
522
516
|
version: "0.1.0",
|
|
@@ -524,7 +518,6 @@ const plugin = {
|
|
|
524
518
|
ctx.program.addCommand(createDomainCommand("themes", "Manage Fluid application themes and templates", registerAllCommands));
|
|
525
519
|
}
|
|
526
520
|
};
|
|
527
|
-
//#endregion
|
|
528
521
|
export { plugin as default };
|
|
529
522
|
|
|
530
523
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-app/fluid-cli-themes",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.787",
|
|
4
4
|
"description": "Fluid CLI commands for theme management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fluid-app/fluid-cli": "0.1.
|
|
21
|
-
"commander": "^12.
|
|
20
|
+
"@fluid-app/fluid-cli": "0.1.810",
|
|
21
|
+
"commander": "^12.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@fluid-app/api-client-scripts": "0.0.0",
|
|
25
25
|
"@fluid-app/typescript-config": "0.0.0",
|
|
26
26
|
"@types/node": "24.10.12",
|
|
27
|
-
"tsdown": "
|
|
27
|
+
"tsdown": "0.23.7",
|
|
28
28
|
"tsx": "^4.21.0",
|
|
29
|
-
"typescript": "
|
|
29
|
+
"typescript": "7.0.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": ">=24.0.0"
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"generate": "tsx scripts/generate.ts",
|
|
66
66
|
"lint": "oxlint",
|
|
67
67
|
"lint:fix": "oxlint --fix",
|
|
68
|
-
"typecheck": "
|
|
68
|
+
"typecheck": "tsc --noEmit"
|
|
69
69
|
}
|
|
70
70
|
}
|