@dforge-core/dforge-cli 0.1.0-rc.7 → 0.1.0
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/cli.js +17 -14
- package/dist/lib.js +9 -6
- package/dist/lib.mjs +9 -6
- package/package.json +7 -7
package/dist/cli.js
CHANGED
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// node_modules/sisteransi/src/index.js
|
|
36
|
+
// node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
37
37
|
var require_src = __commonJS({
|
|
38
|
-
"node_modules/sisteransi/src/index.js"(exports2, module2) {
|
|
38
|
+
"node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
|
|
39
39
|
"use strict";
|
|
40
40
|
var ESC = "\x1B";
|
|
41
41
|
var CSI = `${ESC}[`;
|
|
@@ -89,9 +89,9 @@ var require_src = __commonJS({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// node_modules/picocolors/picocolors.js
|
|
92
|
+
// node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
93
93
|
var require_picocolors = __commonJS({
|
|
94
|
-
"node_modules/picocolors/picocolors.js"(exports2, module2) {
|
|
94
|
+
"node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports2, module2) {
|
|
95
95
|
"use strict";
|
|
96
96
|
var p2 = process || {};
|
|
97
97
|
var argv2 = p2.argv || [];
|
|
@@ -162,7 +162,7 @@ var require_picocolors = __commonJS({
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
-
// node_modules/@clack/core/dist/index.mjs
|
|
165
|
+
// node_modules/.pnpm/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
166
166
|
function DD({ onlyFirst: e2 = false } = {}) {
|
|
167
167
|
const t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
|
|
168
168
|
return new RegExp(t, e2 ? void 0 : "g");
|
|
@@ -274,7 +274,7 @@ function fD({ input: e2 = import_node_process.stdin, output: u2 = import_node_pr
|
|
|
274
274
|
}
|
|
275
275
|
var import_sisteransi, import_node_process, g, import_node_readline, import_node_stream, import_picocolors, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, d, oD, y, V, nD, G, _, z, K, aD, k, hD, lD, xD, B, AD, S, gD, vD, h, x, dD, A, kD, $D, H, SD, OD, PD, J, LD, RD;
|
|
276
276
|
var init_dist = __esm({
|
|
277
|
-
"node_modules/@clack/core/dist/index.mjs"() {
|
|
277
|
+
"node_modules/.pnpm/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
278
278
|
"use strict";
|
|
279
279
|
import_sisteransi = __toESM(require_src(), 1);
|
|
280
280
|
import_node_process = require("process");
|
|
@@ -594,13 +594,13 @@ var init_dist = __esm({
|
|
|
594
594
|
}
|
|
595
595
|
});
|
|
596
596
|
|
|
597
|
-
// node_modules/@clack/prompts/dist/index.mjs
|
|
597
|
+
// node_modules/.pnpm/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs
|
|
598
598
|
function ce() {
|
|
599
599
|
return import_node_process2.default.platform !== "win32" ? import_node_process2.default.env.TERM !== "linux" : !!import_node_process2.default.env.CI || !!import_node_process2.default.env.WT_SESSION || !!import_node_process2.default.env.TERMINUS_SUBLIME || import_node_process2.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process2.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process2.default.env.TERM_PROGRAM === "vscode" || import_node_process2.default.env.TERM === "xterm-256color" || import_node_process2.default.env.TERM === "alacritty" || import_node_process2.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
600
600
|
}
|
|
601
601
|
var import_node_util, import_node_process2, import_picocolors2, import_sisteransi2, V2, u, le, L2, W2, C, ue, o, d2, k2, P2, A2, T, F, $e, _2, me, de, pe, q, D, U, K2, b2, G2, he, ye, ve, fe, xe, Ie, Se, J2, Y2, Ce;
|
|
602
602
|
var init_dist2 = __esm({
|
|
603
|
-
"node_modules/@clack/prompts/dist/index.mjs"() {
|
|
603
|
+
"node_modules/.pnpm/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs"() {
|
|
604
604
|
"use strict";
|
|
605
605
|
import_node_util = require("util");
|
|
606
606
|
init_dist();
|
|
@@ -951,16 +951,17 @@ function buildFolders(opts) {
|
|
|
951
951
|
}
|
|
952
952
|
function buildMenus(opts) {
|
|
953
953
|
return {
|
|
954
|
-
[opts.code]: {
|
|
954
|
+
[`${opts.code}_menu`]: {
|
|
955
955
|
label: opts.displayName,
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
opts.entities.map((e2) => [
|
|
956
|
+
items: Object.fromEntries(
|
|
957
|
+
opts.entities.map((e2, idx) => [
|
|
959
958
|
e2.name,
|
|
960
959
|
{
|
|
961
960
|
itemType: "V",
|
|
962
961
|
label: e2.label,
|
|
963
|
-
dataViewCode: e2.name
|
|
962
|
+
dataViewCode: e2.name,
|
|
963
|
+
orderNum: idx + 1,
|
|
964
|
+
icon: "table"
|
|
964
965
|
}
|
|
965
966
|
])
|
|
966
967
|
)
|
|
@@ -1040,9 +1041,11 @@ var init_templates = __esm({
|
|
|
1040
1041
|
{ fileMatch: ["ui/data_views.json"], schema: "data-views" },
|
|
1041
1042
|
{ fileMatch: ["ui/folders.json"], schema: "folders" },
|
|
1042
1043
|
{ fileMatch: ["ui/menus.json"], schema: "menus" },
|
|
1044
|
+
{ fileMatch: ["ui/reports.json"], schema: "reports" },
|
|
1043
1045
|
{ fileMatch: ["security/roles.json"], schema: "roles" },
|
|
1044
1046
|
{ fileMatch: ["logic/jobs.json"], schema: "jobs" },
|
|
1045
|
-
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" }
|
|
1047
|
+
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" },
|
|
1048
|
+
{ fileMatch: ["settings.json"], schema: "settings" }
|
|
1046
1049
|
];
|
|
1047
1050
|
}
|
|
1048
1051
|
});
|
package/dist/lib.js
CHANGED
|
@@ -106,16 +106,17 @@ function buildFolders(opts) {
|
|
|
106
106
|
}
|
|
107
107
|
function buildMenus(opts) {
|
|
108
108
|
return {
|
|
109
|
-
[opts.code]: {
|
|
109
|
+
[`${opts.code}_menu`]: {
|
|
110
110
|
label: opts.displayName,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
opts.entities.map((e) => [
|
|
111
|
+
items: Object.fromEntries(
|
|
112
|
+
opts.entities.map((e, idx) => [
|
|
114
113
|
e.name,
|
|
115
114
|
{
|
|
116
115
|
itemType: "V",
|
|
117
116
|
label: e.label,
|
|
118
|
-
dataViewCode: e.name
|
|
117
|
+
dataViewCode: e.name,
|
|
118
|
+
orderNum: idx + 1,
|
|
119
|
+
icon: "table"
|
|
119
120
|
}
|
|
120
121
|
])
|
|
121
122
|
)
|
|
@@ -171,9 +172,11 @@ var SCHEMA_BINDINGS = [
|
|
|
171
172
|
{ fileMatch: ["ui/data_views.json"], schema: "data-views" },
|
|
172
173
|
{ fileMatch: ["ui/folders.json"], schema: "folders" },
|
|
173
174
|
{ fileMatch: ["ui/menus.json"], schema: "menus" },
|
|
175
|
+
{ fileMatch: ["ui/reports.json"], schema: "reports" },
|
|
174
176
|
{ fileMatch: ["security/roles.json"], schema: "roles" },
|
|
175
177
|
{ fileMatch: ["logic/jobs.json"], schema: "jobs" },
|
|
176
|
-
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" }
|
|
178
|
+
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" },
|
|
179
|
+
{ fileMatch: ["settings.json"], schema: "settings" }
|
|
177
180
|
];
|
|
178
181
|
function buildVscodeSettings() {
|
|
179
182
|
return {
|
package/dist/lib.mjs
CHANGED
|
@@ -68,16 +68,17 @@ function buildFolders(opts) {
|
|
|
68
68
|
}
|
|
69
69
|
function buildMenus(opts) {
|
|
70
70
|
return {
|
|
71
|
-
[opts.code]: {
|
|
71
|
+
[`${opts.code}_menu`]: {
|
|
72
72
|
label: opts.displayName,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
opts.entities.map((e) => [
|
|
73
|
+
items: Object.fromEntries(
|
|
74
|
+
opts.entities.map((e, idx) => [
|
|
76
75
|
e.name,
|
|
77
76
|
{
|
|
78
77
|
itemType: "V",
|
|
79
78
|
label: e.label,
|
|
80
|
-
dataViewCode: e.name
|
|
79
|
+
dataViewCode: e.name,
|
|
80
|
+
orderNum: idx + 1,
|
|
81
|
+
icon: "table"
|
|
81
82
|
}
|
|
82
83
|
])
|
|
83
84
|
)
|
|
@@ -133,9 +134,11 @@ var SCHEMA_BINDINGS = [
|
|
|
133
134
|
{ fileMatch: ["ui/data_views.json"], schema: "data-views" },
|
|
134
135
|
{ fileMatch: ["ui/folders.json"], schema: "folders" },
|
|
135
136
|
{ fileMatch: ["ui/menus.json"], schema: "menus" },
|
|
137
|
+
{ fileMatch: ["ui/reports.json"], schema: "reports" },
|
|
136
138
|
{ fileMatch: ["security/roles.json"], schema: "roles" },
|
|
137
139
|
{ fileMatch: ["logic/jobs.json"], schema: "jobs" },
|
|
138
|
-
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" }
|
|
140
|
+
{ fileMatch: ["seed-data/*.json"], schema: "seed-data" },
|
|
141
|
+
{ fileMatch: ["settings.json"], schema: "settings" }
|
|
139
142
|
];
|
|
140
143
|
function buildVscodeSettings() {
|
|
141
144
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dforge-core/dforge-cli",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "dForge CLI - validate, pack, publish, and install dForge modules. Distributes a single-file native binary per platform via optionalDependencies (esbuild-style).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/iash44/dForge-core",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"typescript": "^6.0.3"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@dforge-core/dforge-cli-darwin-arm64": "0.1.0
|
|
45
|
-
"@dforge-core/dforge-cli-darwin-x64": "0.1.0
|
|
46
|
-
"@dforge-core/dforge-cli-linux-arm64": "0.1.0
|
|
47
|
-
"@dforge-core/dforge-cli-linux-x64": "0.1.0
|
|
48
|
-
"@dforge-core/dforge-cli-win32-arm64": "0.1.0
|
|
49
|
-
"@dforge-core/dforge-cli-win32-x64": "0.1.0
|
|
44
|
+
"@dforge-core/dforge-cli-darwin-arm64": "0.1.0",
|
|
45
|
+
"@dforge-core/dforge-cli-darwin-x64": "0.1.0",
|
|
46
|
+
"@dforge-core/dforge-cli-linux-arm64": "0.1.0",
|
|
47
|
+
"@dforge-core/dforge-cli-linux-x64": "0.1.0",
|
|
48
|
+
"@dforge-core/dforge-cli-win32-arm64": "0.1.0",
|
|
49
|
+
"@dforge-core/dforge-cli-win32-x64": "0.1.0"
|
|
50
50
|
}
|
|
51
51
|
}
|