@donotdev/cli 0.0.12 → 0.0.14
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/dependencies-matrix.json +32 -118
- package/dist/bin/commands/agent-setup.d.ts +6 -0
- package/dist/bin/commands/agent-setup.d.ts.map +1 -0
- package/dist/bin/commands/agent-setup.js +623 -0
- package/dist/bin/commands/agent-setup.js.map +1 -0
- package/dist/bin/commands/build.js +13 -12
- package/dist/bin/commands/bump.js +103 -35
- package/dist/bin/commands/cacheout.js +13 -12
- package/dist/bin/commands/create-app.js +53 -151
- package/dist/bin/commands/create-project.js +109 -167
- package/dist/bin/commands/deploy.js +7620 -30
- package/dist/bin/commands/dev.js +13 -12
- package/dist/bin/commands/emu.js +13 -12
- package/dist/bin/commands/firebase-setup.d.ts +6 -0
- package/dist/bin/commands/firebase-setup.d.ts.map +1 -0
- package/dist/bin/commands/firebase-setup.js +7 -0
- package/dist/bin/commands/firebase-setup.js.map +1 -0
- package/dist/bin/commands/format.js +13 -12
- package/dist/bin/commands/lint.js +13 -12
- package/dist/bin/commands/preview.js +13 -12
- package/dist/bin/commands/staging.d.ts +11 -0
- package/dist/bin/commands/staging.d.ts.map +1 -0
- package/dist/bin/commands/staging.js +12 -0
- package/dist/bin/commands/staging.js.map +1 -0
- package/dist/bin/commands/sync-secrets.js +13 -12
- package/dist/bin/commands/wai.js +7397 -11
- package/dist/bin/dndev.js +28 -3
- package/dist/bin/donotdev.js +28 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7760 -109
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/app-demo/src/pages/DetailPage.tsx.example +1 -1
- package/templates/app-demo/src/pages/FullPage.tsx.example +3 -3
- package/templates/app-demo/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +5 -5
- package/templates/app-demo/src/pages/components/DemoLayout.tsx.example +3 -3
- package/templates/app-next/.env.example +2 -0
- package/templates/app-next/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/.env.example +2 -0
- package/templates/app-vite/src/pages/HomePage.tsx.example +163 -73
- package/templates/functions-firebase/build.mjs.example +26 -10
- package/templates/functions-firebase/functions-firebase/build.mjs.example +26 -10
- package/templates/functions-firebase/functions.config.js.example +11 -15
- package/templates/github-consumer/.github/workflows/ci.yml.example +36 -0
- package/templates/root-consumer/.claude/agents/architect.md.example +2 -2
- package/templates/root-consumer/.claude/agents/builder.md.example +2 -2
- package/templates/root-consumer/.claude/agents/coder.md.example +2 -2
- package/templates/root-consumer/.claude/agents/extractor.md.example +2 -3
- package/templates/root-consumer/.claude/agents/polisher.md.example +67 -291
- package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +4 -4
- package/templates/root-consumer/.claude/commands/brainstorm.md.example +1 -1
- package/templates/root-consumer/.claude/commands/build.md.example +3 -3
- package/templates/root-consumer/.claude/commands/design.md.example +1 -1
- package/templates/root-consumer/.claude/commands/polish.md.example +66 -82
- package/templates/root-consumer/.dndev/args.json.example +6 -0
- package/templates/root-consumer/.env.example +13 -13
- package/templates/root-consumer/.gemini/settings.json.example +9 -0
- package/templates/root-consumer/.gitignore.example +3 -1
- package/templates/root-consumer/AI.md.example +150 -0
- package/templates/root-consumer/CLAUDE.md.example +19 -104
- package/templates/root-consumer/README.md.example +81 -255
- package/templates/root-consumer/entities/Contact.ts.example +126 -0
- package/templates/root-consumer/entities/index.ts.example +6 -3
- package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +59 -326
- package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +2 -1
- package/templates/root-consumer/guides/dndev/ENV_SETUP.md.example +144 -9
- package/templates/root-consumer/guides/dndev/GOTCHAS.md.example +186 -0
- package/templates/root-consumer/guides/dndev/INDEX.md.example +10 -0
- package/templates/root-consumer/guides/dndev/SETUP_APP_CONFIG.md.example +13 -16
- package/templates/root-consumer/guides/dndev/SETUP_BLOG.md.example +263 -0
- package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +1 -1
- package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +168 -0
- package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +17 -19
- package/templates/root-consumer/guides/dndev/SETUP_TESTING.md.example +184 -0
- package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +134 -69
- package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +66 -44
- package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +18 -1
- package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +1 -0
- package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +2 -1
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +2 -1
- package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +180 -108
- package/templates/root-consumer/guides/wai-way/context_map.json.example +8 -7
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +4 -4
package/dist/bin/commands/dev.js
CHANGED
|
@@ -1892,7 +1892,7 @@ var require_parse = __commonJS({
|
|
|
1892
1892
|
CHAR_NO_BREAK_SPACE,
|
|
1893
1893
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
1894
1894
|
} = require_constants();
|
|
1895
|
-
var
|
|
1895
|
+
var parse2 = (input, options = {}) => {
|
|
1896
1896
|
if (typeof input !== "string") {
|
|
1897
1897
|
throw new TypeError("Expected a string");
|
|
1898
1898
|
}
|
|
@@ -2092,7 +2092,7 @@ var require_parse = __commonJS({
|
|
|
2092
2092
|
push({ type: "eos" });
|
|
2093
2093
|
return ast;
|
|
2094
2094
|
};
|
|
2095
|
-
module.exports =
|
|
2095
|
+
module.exports = parse2;
|
|
2096
2096
|
}
|
|
2097
2097
|
});
|
|
2098
2098
|
|
|
@@ -2104,7 +2104,7 @@ var require_braces = __commonJS({
|
|
|
2104
2104
|
var stringify2 = require_stringify();
|
|
2105
2105
|
var compile = require_compile();
|
|
2106
2106
|
var expand = require_expand();
|
|
2107
|
-
var
|
|
2107
|
+
var parse2 = require_parse();
|
|
2108
2108
|
var braces = (input, options = {}) => {
|
|
2109
2109
|
let output = [];
|
|
2110
2110
|
if (Array.isArray(input)) {
|
|
@@ -2124,7 +2124,7 @@ var require_braces = __commonJS({
|
|
|
2124
2124
|
}
|
|
2125
2125
|
return output;
|
|
2126
2126
|
};
|
|
2127
|
-
braces.parse = (input, options = {}) =>
|
|
2127
|
+
braces.parse = (input, options = {}) => parse2(input, options);
|
|
2128
2128
|
braces.stringify = (input, options = {}) => {
|
|
2129
2129
|
if (typeof input === "string") {
|
|
2130
2130
|
return stringify2(braces.parse(input, options), options);
|
|
@@ -2781,7 +2781,7 @@ var require_parse2 = __commonJS({
|
|
|
2781
2781
|
var syntaxError = (type, char) => {
|
|
2782
2782
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2783
2783
|
};
|
|
2784
|
-
var
|
|
2784
|
+
var parse2 = (input, options) => {
|
|
2785
2785
|
if (typeof input !== "string") {
|
|
2786
2786
|
throw new TypeError("Expected a string");
|
|
2787
2787
|
}
|
|
@@ -2930,7 +2930,7 @@ var require_parse2 = __commonJS({
|
|
|
2930
2930
|
output = token.close = `)$))${extglobStar}`;
|
|
2931
2931
|
}
|
|
2932
2932
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2933
|
-
const expression =
|
|
2933
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
2934
2934
|
output = token.close = `)${expression})${extglobStar})`;
|
|
2935
2935
|
}
|
|
2936
2936
|
if (token.prev.type === "bos") {
|
|
@@ -3455,7 +3455,7 @@ var require_parse2 = __commonJS({
|
|
|
3455
3455
|
}
|
|
3456
3456
|
return state;
|
|
3457
3457
|
};
|
|
3458
|
-
|
|
3458
|
+
parse2.fastpaths = (input, options) => {
|
|
3459
3459
|
const opts = { ...options };
|
|
3460
3460
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
3461
3461
|
const len = input.length;
|
|
@@ -3521,7 +3521,7 @@ var require_parse2 = __commonJS({
|
|
|
3521
3521
|
}
|
|
3522
3522
|
return source;
|
|
3523
3523
|
};
|
|
3524
|
-
module.exports =
|
|
3524
|
+
module.exports = parse2;
|
|
3525
3525
|
}
|
|
3526
3526
|
});
|
|
3527
3527
|
|
|
@@ -3532,7 +3532,7 @@ var require_picomatch = __commonJS({
|
|
|
3532
3532
|
init_utils();
|
|
3533
3533
|
var path = __require("path");
|
|
3534
3534
|
var scan = require_scan();
|
|
3535
|
-
var
|
|
3535
|
+
var parse2 = require_parse2();
|
|
3536
3536
|
var utils = require_utils2();
|
|
3537
3537
|
var constants2 = require_constants2();
|
|
3538
3538
|
var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -3620,7 +3620,7 @@ var require_picomatch = __commonJS({
|
|
|
3620
3620
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
3621
3621
|
picomatch.parse = (pattern, options) => {
|
|
3622
3622
|
if (Array.isArray(pattern)) return pattern.map((p2) => picomatch.parse(p2, options));
|
|
3623
|
-
return
|
|
3623
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
3624
3624
|
};
|
|
3625
3625
|
picomatch.scan = (input, options) => scan(input, options);
|
|
3626
3626
|
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -3646,10 +3646,10 @@ var require_picomatch = __commonJS({
|
|
|
3646
3646
|
}
|
|
3647
3647
|
let parsed = { negated: false, fastpaths: true };
|
|
3648
3648
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
3649
|
-
parsed.output =
|
|
3649
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
3650
3650
|
}
|
|
3651
3651
|
if (!parsed.output) {
|
|
3652
|
-
parsed =
|
|
3652
|
+
parsed = parse2(input, options);
|
|
3653
3653
|
}
|
|
3654
3654
|
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
3655
3655
|
};
|
|
@@ -7632,6 +7632,7 @@ import {
|
|
|
7632
7632
|
extname as extname2,
|
|
7633
7633
|
relative as relative2,
|
|
7634
7634
|
resolve as resolve2,
|
|
7635
|
+
parse,
|
|
7635
7636
|
isAbsolute as pathIsAbsolute
|
|
7636
7637
|
} from "node:path";
|
|
7637
7638
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
package/dist/bin/commands/emu.js
CHANGED
|
@@ -1975,7 +1975,7 @@ var require_parse = __commonJS({
|
|
|
1975
1975
|
CHAR_NO_BREAK_SPACE,
|
|
1976
1976
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
1977
1977
|
} = require_constants();
|
|
1978
|
-
var
|
|
1978
|
+
var parse2 = (input, options = {}) => {
|
|
1979
1979
|
if (typeof input !== "string") {
|
|
1980
1980
|
throw new TypeError("Expected a string");
|
|
1981
1981
|
}
|
|
@@ -2175,7 +2175,7 @@ var require_parse = __commonJS({
|
|
|
2175
2175
|
push({ type: "eos" });
|
|
2176
2176
|
return ast;
|
|
2177
2177
|
};
|
|
2178
|
-
module.exports =
|
|
2178
|
+
module.exports = parse2;
|
|
2179
2179
|
}
|
|
2180
2180
|
});
|
|
2181
2181
|
|
|
@@ -2187,7 +2187,7 @@ var require_braces = __commonJS({
|
|
|
2187
2187
|
var stringify2 = require_stringify();
|
|
2188
2188
|
var compile = require_compile();
|
|
2189
2189
|
var expand = require_expand();
|
|
2190
|
-
var
|
|
2190
|
+
var parse2 = require_parse();
|
|
2191
2191
|
var braces = (input, options = {}) => {
|
|
2192
2192
|
let output = [];
|
|
2193
2193
|
if (Array.isArray(input)) {
|
|
@@ -2207,7 +2207,7 @@ var require_braces = __commonJS({
|
|
|
2207
2207
|
}
|
|
2208
2208
|
return output;
|
|
2209
2209
|
};
|
|
2210
|
-
braces.parse = (input, options = {}) =>
|
|
2210
|
+
braces.parse = (input, options = {}) => parse2(input, options);
|
|
2211
2211
|
braces.stringify = (input, options = {}) => {
|
|
2212
2212
|
if (typeof input === "string") {
|
|
2213
2213
|
return stringify2(braces.parse(input, options), options);
|
|
@@ -2864,7 +2864,7 @@ var require_parse2 = __commonJS({
|
|
|
2864
2864
|
var syntaxError = (type, char) => {
|
|
2865
2865
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2866
2866
|
};
|
|
2867
|
-
var
|
|
2867
|
+
var parse2 = (input, options) => {
|
|
2868
2868
|
if (typeof input !== "string") {
|
|
2869
2869
|
throw new TypeError("Expected a string");
|
|
2870
2870
|
}
|
|
@@ -3013,7 +3013,7 @@ var require_parse2 = __commonJS({
|
|
|
3013
3013
|
output = token.close = `)$))${extglobStar}`;
|
|
3014
3014
|
}
|
|
3015
3015
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
3016
|
-
const expression =
|
|
3016
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
3017
3017
|
output = token.close = `)${expression})${extglobStar})`;
|
|
3018
3018
|
}
|
|
3019
3019
|
if (token.prev.type === "bos") {
|
|
@@ -3538,7 +3538,7 @@ var require_parse2 = __commonJS({
|
|
|
3538
3538
|
}
|
|
3539
3539
|
return state;
|
|
3540
3540
|
};
|
|
3541
|
-
|
|
3541
|
+
parse2.fastpaths = (input, options) => {
|
|
3542
3542
|
const opts = { ...options };
|
|
3543
3543
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
3544
3544
|
const len = input.length;
|
|
@@ -3604,7 +3604,7 @@ var require_parse2 = __commonJS({
|
|
|
3604
3604
|
}
|
|
3605
3605
|
return source;
|
|
3606
3606
|
};
|
|
3607
|
-
module.exports =
|
|
3607
|
+
module.exports = parse2;
|
|
3608
3608
|
}
|
|
3609
3609
|
});
|
|
3610
3610
|
|
|
@@ -3615,7 +3615,7 @@ var require_picomatch = __commonJS({
|
|
|
3615
3615
|
init_utils();
|
|
3616
3616
|
var path = __require("path");
|
|
3617
3617
|
var scan = require_scan();
|
|
3618
|
-
var
|
|
3618
|
+
var parse2 = require_parse2();
|
|
3619
3619
|
var utils = require_utils2();
|
|
3620
3620
|
var constants2 = require_constants2();
|
|
3621
3621
|
var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -3703,7 +3703,7 @@ var require_picomatch = __commonJS({
|
|
|
3703
3703
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
3704
3704
|
picomatch.parse = (pattern, options) => {
|
|
3705
3705
|
if (Array.isArray(pattern)) return pattern.map((p2) => picomatch.parse(p2, options));
|
|
3706
|
-
return
|
|
3706
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
3707
3707
|
};
|
|
3708
3708
|
picomatch.scan = (input, options) => scan(input, options);
|
|
3709
3709
|
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -3729,10 +3729,10 @@ var require_picomatch = __commonJS({
|
|
|
3729
3729
|
}
|
|
3730
3730
|
let parsed = { negated: false, fastpaths: true };
|
|
3731
3731
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
3732
|
-
parsed.output =
|
|
3732
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
3733
3733
|
}
|
|
3734
3734
|
if (!parsed.output) {
|
|
3735
|
-
parsed =
|
|
3735
|
+
parsed = parse2(input, options);
|
|
3736
3736
|
}
|
|
3737
3737
|
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
3738
3738
|
};
|
|
@@ -7715,6 +7715,7 @@ import {
|
|
|
7715
7715
|
extname as extname2,
|
|
7716
7716
|
relative as relative2,
|
|
7717
7717
|
resolve as resolve2,
|
|
7718
|
+
parse,
|
|
7718
7719
|
isAbsolute as pathIsAbsolute
|
|
7719
7720
|
} from "node:path";
|
|
7720
7721
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firebase-setup.d.ts","sourceRoot":"","sources":["../../../src/bin/commands/firebase-setup.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,OAAO,EAAE,aAAa,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// packages/cli/src/bin/commands/firebase-setup.ts
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview Firebase Setup Command Wrapper
|
|
4
|
+
* @description Re-exports firebaseSetup from tooling for CLI bundling.
|
|
5
|
+
*/
|
|
6
|
+
export { firebaseSetup as main } from '@donotdev/tooling';
|
|
7
|
+
//# sourceMappingURL=firebase-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firebase-setup.js","sourceRoot":"","sources":["../../../src/bin/commands/firebase-setup.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD;;;GAGG;AAEH,OAAO,EAAE,aAAa,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1596,7 +1596,7 @@ var require_parse = __commonJS({
|
|
|
1596
1596
|
CHAR_NO_BREAK_SPACE,
|
|
1597
1597
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
1598
1598
|
} = require_constants();
|
|
1599
|
-
var
|
|
1599
|
+
var parse2 = (input, options = {}) => {
|
|
1600
1600
|
if (typeof input !== "string") {
|
|
1601
1601
|
throw new TypeError("Expected a string");
|
|
1602
1602
|
}
|
|
@@ -1796,7 +1796,7 @@ var require_parse = __commonJS({
|
|
|
1796
1796
|
push({ type: "eos" });
|
|
1797
1797
|
return ast;
|
|
1798
1798
|
};
|
|
1799
|
-
module.exports =
|
|
1799
|
+
module.exports = parse2;
|
|
1800
1800
|
}
|
|
1801
1801
|
});
|
|
1802
1802
|
|
|
@@ -1808,7 +1808,7 @@ var require_braces = __commonJS({
|
|
|
1808
1808
|
var stringify2 = require_stringify();
|
|
1809
1809
|
var compile = require_compile();
|
|
1810
1810
|
var expand = require_expand();
|
|
1811
|
-
var
|
|
1811
|
+
var parse2 = require_parse();
|
|
1812
1812
|
var braces = (input, options = {}) => {
|
|
1813
1813
|
let output = [];
|
|
1814
1814
|
if (Array.isArray(input)) {
|
|
@@ -1828,7 +1828,7 @@ var require_braces = __commonJS({
|
|
|
1828
1828
|
}
|
|
1829
1829
|
return output;
|
|
1830
1830
|
};
|
|
1831
|
-
braces.parse = (input, options = {}) =>
|
|
1831
|
+
braces.parse = (input, options = {}) => parse2(input, options);
|
|
1832
1832
|
braces.stringify = (input, options = {}) => {
|
|
1833
1833
|
if (typeof input === "string") {
|
|
1834
1834
|
return stringify2(braces.parse(input, options), options);
|
|
@@ -2485,7 +2485,7 @@ var require_parse2 = __commonJS({
|
|
|
2485
2485
|
var syntaxError = (type, char) => {
|
|
2486
2486
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2487
2487
|
};
|
|
2488
|
-
var
|
|
2488
|
+
var parse2 = (input, options) => {
|
|
2489
2489
|
if (typeof input !== "string") {
|
|
2490
2490
|
throw new TypeError("Expected a string");
|
|
2491
2491
|
}
|
|
@@ -2634,7 +2634,7 @@ var require_parse2 = __commonJS({
|
|
|
2634
2634
|
output = token.close = `)$))${extglobStar}`;
|
|
2635
2635
|
}
|
|
2636
2636
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2637
|
-
const expression =
|
|
2637
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
2638
2638
|
output = token.close = `)${expression})${extglobStar})`;
|
|
2639
2639
|
}
|
|
2640
2640
|
if (token.prev.type === "bos") {
|
|
@@ -3159,7 +3159,7 @@ var require_parse2 = __commonJS({
|
|
|
3159
3159
|
}
|
|
3160
3160
|
return state;
|
|
3161
3161
|
};
|
|
3162
|
-
|
|
3162
|
+
parse2.fastpaths = (input, options) => {
|
|
3163
3163
|
const opts = { ...options };
|
|
3164
3164
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
3165
3165
|
const len = input.length;
|
|
@@ -3225,7 +3225,7 @@ var require_parse2 = __commonJS({
|
|
|
3225
3225
|
}
|
|
3226
3226
|
return source;
|
|
3227
3227
|
};
|
|
3228
|
-
module.exports =
|
|
3228
|
+
module.exports = parse2;
|
|
3229
3229
|
}
|
|
3230
3230
|
});
|
|
3231
3231
|
|
|
@@ -3236,7 +3236,7 @@ var require_picomatch = __commonJS({
|
|
|
3236
3236
|
init_utils();
|
|
3237
3237
|
var path = __require("path");
|
|
3238
3238
|
var scan = require_scan();
|
|
3239
|
-
var
|
|
3239
|
+
var parse2 = require_parse2();
|
|
3240
3240
|
var utils = require_utils2();
|
|
3241
3241
|
var constants2 = require_constants2();
|
|
3242
3242
|
var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -3324,7 +3324,7 @@ var require_picomatch = __commonJS({
|
|
|
3324
3324
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
3325
3325
|
picomatch.parse = (pattern, options) => {
|
|
3326
3326
|
if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
|
|
3327
|
-
return
|
|
3327
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
3328
3328
|
};
|
|
3329
3329
|
picomatch.scan = (input, options) => scan(input, options);
|
|
3330
3330
|
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -3350,10 +3350,10 @@ var require_picomatch = __commonJS({
|
|
|
3350
3350
|
}
|
|
3351
3351
|
let parsed = { negated: false, fastpaths: true };
|
|
3352
3352
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
3353
|
-
parsed.output =
|
|
3353
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
3354
3354
|
}
|
|
3355
3355
|
if (!parsed.output) {
|
|
3356
|
-
parsed =
|
|
3356
|
+
parsed = parse2(input, options);
|
|
3357
3357
|
}
|
|
3358
3358
|
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
3359
3359
|
};
|
|
@@ -7336,6 +7336,7 @@ import {
|
|
|
7336
7336
|
extname as extname2,
|
|
7337
7337
|
relative as relative2,
|
|
7338
7338
|
resolve as resolve2,
|
|
7339
|
+
parse,
|
|
7339
7340
|
isAbsolute as pathIsAbsolute
|
|
7340
7341
|
} from "node:path";
|
|
7341
7342
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -1596,7 +1596,7 @@ var require_parse = __commonJS({
|
|
|
1596
1596
|
CHAR_NO_BREAK_SPACE,
|
|
1597
1597
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
1598
1598
|
} = require_constants();
|
|
1599
|
-
var
|
|
1599
|
+
var parse2 = (input, options = {}) => {
|
|
1600
1600
|
if (typeof input !== "string") {
|
|
1601
1601
|
throw new TypeError("Expected a string");
|
|
1602
1602
|
}
|
|
@@ -1796,7 +1796,7 @@ var require_parse = __commonJS({
|
|
|
1796
1796
|
push({ type: "eos" });
|
|
1797
1797
|
return ast;
|
|
1798
1798
|
};
|
|
1799
|
-
module.exports =
|
|
1799
|
+
module.exports = parse2;
|
|
1800
1800
|
}
|
|
1801
1801
|
});
|
|
1802
1802
|
|
|
@@ -1808,7 +1808,7 @@ var require_braces = __commonJS({
|
|
|
1808
1808
|
var stringify2 = require_stringify();
|
|
1809
1809
|
var compile = require_compile();
|
|
1810
1810
|
var expand = require_expand();
|
|
1811
|
-
var
|
|
1811
|
+
var parse2 = require_parse();
|
|
1812
1812
|
var braces = (input, options = {}) => {
|
|
1813
1813
|
let output = [];
|
|
1814
1814
|
if (Array.isArray(input)) {
|
|
@@ -1828,7 +1828,7 @@ var require_braces = __commonJS({
|
|
|
1828
1828
|
}
|
|
1829
1829
|
return output;
|
|
1830
1830
|
};
|
|
1831
|
-
braces.parse = (input, options = {}) =>
|
|
1831
|
+
braces.parse = (input, options = {}) => parse2(input, options);
|
|
1832
1832
|
braces.stringify = (input, options = {}) => {
|
|
1833
1833
|
if (typeof input === "string") {
|
|
1834
1834
|
return stringify2(braces.parse(input, options), options);
|
|
@@ -2485,7 +2485,7 @@ var require_parse2 = __commonJS({
|
|
|
2485
2485
|
var syntaxError = (type, char) => {
|
|
2486
2486
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2487
2487
|
};
|
|
2488
|
-
var
|
|
2488
|
+
var parse2 = (input, options) => {
|
|
2489
2489
|
if (typeof input !== "string") {
|
|
2490
2490
|
throw new TypeError("Expected a string");
|
|
2491
2491
|
}
|
|
@@ -2634,7 +2634,7 @@ var require_parse2 = __commonJS({
|
|
|
2634
2634
|
output = token.close = `)$))${extglobStar}`;
|
|
2635
2635
|
}
|
|
2636
2636
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2637
|
-
const expression =
|
|
2637
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
2638
2638
|
output = token.close = `)${expression})${extglobStar})`;
|
|
2639
2639
|
}
|
|
2640
2640
|
if (token.prev.type === "bos") {
|
|
@@ -3159,7 +3159,7 @@ var require_parse2 = __commonJS({
|
|
|
3159
3159
|
}
|
|
3160
3160
|
return state;
|
|
3161
3161
|
};
|
|
3162
|
-
|
|
3162
|
+
parse2.fastpaths = (input, options) => {
|
|
3163
3163
|
const opts = { ...options };
|
|
3164
3164
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
3165
3165
|
const len = input.length;
|
|
@@ -3225,7 +3225,7 @@ var require_parse2 = __commonJS({
|
|
|
3225
3225
|
}
|
|
3226
3226
|
return source;
|
|
3227
3227
|
};
|
|
3228
|
-
module.exports =
|
|
3228
|
+
module.exports = parse2;
|
|
3229
3229
|
}
|
|
3230
3230
|
});
|
|
3231
3231
|
|
|
@@ -3236,7 +3236,7 @@ var require_picomatch = __commonJS({
|
|
|
3236
3236
|
init_utils();
|
|
3237
3237
|
var path = __require("path");
|
|
3238
3238
|
var scan = require_scan();
|
|
3239
|
-
var
|
|
3239
|
+
var parse2 = require_parse2();
|
|
3240
3240
|
var utils = require_utils2();
|
|
3241
3241
|
var constants2 = require_constants2();
|
|
3242
3242
|
var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -3324,7 +3324,7 @@ var require_picomatch = __commonJS({
|
|
|
3324
3324
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
3325
3325
|
picomatch.parse = (pattern, options) => {
|
|
3326
3326
|
if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
|
|
3327
|
-
return
|
|
3327
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
3328
3328
|
};
|
|
3329
3329
|
picomatch.scan = (input, options) => scan(input, options);
|
|
3330
3330
|
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -3350,10 +3350,10 @@ var require_picomatch = __commonJS({
|
|
|
3350
3350
|
}
|
|
3351
3351
|
let parsed = { negated: false, fastpaths: true };
|
|
3352
3352
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
3353
|
-
parsed.output =
|
|
3353
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
3354
3354
|
}
|
|
3355
3355
|
if (!parsed.output) {
|
|
3356
|
-
parsed =
|
|
3356
|
+
parsed = parse2(input, options);
|
|
3357
3357
|
}
|
|
3358
3358
|
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
3359
3359
|
};
|
|
@@ -7336,6 +7336,7 @@ import {
|
|
|
7336
7336
|
extname as extname2,
|
|
7337
7337
|
relative as relative2,
|
|
7338
7338
|
resolve as resolve2,
|
|
7339
|
+
parse,
|
|
7339
7340
|
isAbsolute as pathIsAbsolute
|
|
7340
7341
|
} from "node:path";
|
|
7341
7342
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -1892,7 +1892,7 @@ var require_parse = __commonJS({
|
|
|
1892
1892
|
CHAR_NO_BREAK_SPACE,
|
|
1893
1893
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
1894
1894
|
} = require_constants();
|
|
1895
|
-
var
|
|
1895
|
+
var parse2 = (input, options = {}) => {
|
|
1896
1896
|
if (typeof input !== "string") {
|
|
1897
1897
|
throw new TypeError("Expected a string");
|
|
1898
1898
|
}
|
|
@@ -2092,7 +2092,7 @@ var require_parse = __commonJS({
|
|
|
2092
2092
|
push({ type: "eos" });
|
|
2093
2093
|
return ast;
|
|
2094
2094
|
};
|
|
2095
|
-
module.exports =
|
|
2095
|
+
module.exports = parse2;
|
|
2096
2096
|
}
|
|
2097
2097
|
});
|
|
2098
2098
|
|
|
@@ -2104,7 +2104,7 @@ var require_braces = __commonJS({
|
|
|
2104
2104
|
var stringify2 = require_stringify();
|
|
2105
2105
|
var compile = require_compile();
|
|
2106
2106
|
var expand = require_expand();
|
|
2107
|
-
var
|
|
2107
|
+
var parse2 = require_parse();
|
|
2108
2108
|
var braces = (input, options = {}) => {
|
|
2109
2109
|
let output = [];
|
|
2110
2110
|
if (Array.isArray(input)) {
|
|
@@ -2124,7 +2124,7 @@ var require_braces = __commonJS({
|
|
|
2124
2124
|
}
|
|
2125
2125
|
return output;
|
|
2126
2126
|
};
|
|
2127
|
-
braces.parse = (input, options = {}) =>
|
|
2127
|
+
braces.parse = (input, options = {}) => parse2(input, options);
|
|
2128
2128
|
braces.stringify = (input, options = {}) => {
|
|
2129
2129
|
if (typeof input === "string") {
|
|
2130
2130
|
return stringify2(braces.parse(input, options), options);
|
|
@@ -2781,7 +2781,7 @@ var require_parse2 = __commonJS({
|
|
|
2781
2781
|
var syntaxError = (type, char) => {
|
|
2782
2782
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2783
2783
|
};
|
|
2784
|
-
var
|
|
2784
|
+
var parse2 = (input, options) => {
|
|
2785
2785
|
if (typeof input !== "string") {
|
|
2786
2786
|
throw new TypeError("Expected a string");
|
|
2787
2787
|
}
|
|
@@ -2930,7 +2930,7 @@ var require_parse2 = __commonJS({
|
|
|
2930
2930
|
output = token.close = `)$))${extglobStar}`;
|
|
2931
2931
|
}
|
|
2932
2932
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2933
|
-
const expression =
|
|
2933
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
2934
2934
|
output = token.close = `)${expression})${extglobStar})`;
|
|
2935
2935
|
}
|
|
2936
2936
|
if (token.prev.type === "bos") {
|
|
@@ -3455,7 +3455,7 @@ var require_parse2 = __commonJS({
|
|
|
3455
3455
|
}
|
|
3456
3456
|
return state;
|
|
3457
3457
|
};
|
|
3458
|
-
|
|
3458
|
+
parse2.fastpaths = (input, options) => {
|
|
3459
3459
|
const opts = { ...options };
|
|
3460
3460
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
3461
3461
|
const len = input.length;
|
|
@@ -3521,7 +3521,7 @@ var require_parse2 = __commonJS({
|
|
|
3521
3521
|
}
|
|
3522
3522
|
return source;
|
|
3523
3523
|
};
|
|
3524
|
-
module.exports =
|
|
3524
|
+
module.exports = parse2;
|
|
3525
3525
|
}
|
|
3526
3526
|
});
|
|
3527
3527
|
|
|
@@ -3532,7 +3532,7 @@ var require_picomatch = __commonJS({
|
|
|
3532
3532
|
init_utils();
|
|
3533
3533
|
var path = __require("path");
|
|
3534
3534
|
var scan = require_scan();
|
|
3535
|
-
var
|
|
3535
|
+
var parse2 = require_parse2();
|
|
3536
3536
|
var utils = require_utils2();
|
|
3537
3537
|
var constants2 = require_constants2();
|
|
3538
3538
|
var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -3620,7 +3620,7 @@ var require_picomatch = __commonJS({
|
|
|
3620
3620
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
3621
3621
|
picomatch.parse = (pattern, options) => {
|
|
3622
3622
|
if (Array.isArray(pattern)) return pattern.map((p2) => picomatch.parse(p2, options));
|
|
3623
|
-
return
|
|
3623
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
3624
3624
|
};
|
|
3625
3625
|
picomatch.scan = (input, options) => scan(input, options);
|
|
3626
3626
|
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -3646,10 +3646,10 @@ var require_picomatch = __commonJS({
|
|
|
3646
3646
|
}
|
|
3647
3647
|
let parsed = { negated: false, fastpaths: true };
|
|
3648
3648
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
3649
|
-
parsed.output =
|
|
3649
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
3650
3650
|
}
|
|
3651
3651
|
if (!parsed.output) {
|
|
3652
|
-
parsed =
|
|
3652
|
+
parsed = parse2(input, options);
|
|
3653
3653
|
}
|
|
3654
3654
|
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
3655
3655
|
};
|
|
@@ -7632,6 +7632,7 @@ import {
|
|
|
7632
7632
|
extname as extname2,
|
|
7633
7633
|
relative as relative2,
|
|
7634
7634
|
resolve as resolve2,
|
|
7635
|
+
parse,
|
|
7635
7636
|
isAbsolute as pathIsAbsolute
|
|
7636
7637
|
} from "node:path";
|
|
7637
7638
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Staging Command Wrapper
|
|
3
|
+
* @description Staging is a thin wrapper around deploy with --staging flag.
|
|
4
|
+
* Re-exports deploy from tooling — the staging flag is set by the CLI entry point.
|
|
5
|
+
*
|
|
6
|
+
* @version 0.0.1
|
|
7
|
+
* @since 0.0.1
|
|
8
|
+
* @author AMBROISE PARK Consulting
|
|
9
|
+
*/
|
|
10
|
+
export { deploy as main } from '@donotdev/tooling';
|
|
11
|
+
//# sourceMappingURL=staging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staging.d.ts","sourceRoot":"","sources":["../../../src/bin/commands/staging.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// packages/cli/src/bin/commands/staging.ts
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview Staging Command Wrapper
|
|
4
|
+
* @description Staging is a thin wrapper around deploy with --staging flag.
|
|
5
|
+
* Re-exports deploy from tooling — the staging flag is set by the CLI entry point.
|
|
6
|
+
*
|
|
7
|
+
* @version 0.0.1
|
|
8
|
+
* @since 0.0.1
|
|
9
|
+
* @author AMBROISE PARK Consulting
|
|
10
|
+
*/
|
|
11
|
+
export { deploy as main } from '@donotdev/tooling';
|
|
12
|
+
//# sourceMappingURL=staging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staging.js","sourceRoot":"","sources":["../../../src/bin/commands/staging.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|