@donotdev/cli 0.1.0 → 0.1.1
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 +100 -50
- package/dist/bin/commands/agent-setup.js +245 -12
- package/dist/bin/commands/build.js +3339 -208
- package/dist/bin/commands/bump.js +245 -12
- package/dist/bin/commands/cacheout.js +245 -12
- package/dist/bin/commands/coach.js +361 -60
- package/dist/bin/commands/create-app.js +245 -12
- package/dist/bin/commands/create-project.js +253 -12
- package/dist/bin/commands/db.js +9114 -2327
- package/dist/bin/commands/deploy.js +4074 -694
- package/dist/bin/commands/dev.js +347 -33
- package/dist/bin/commands/doctor.js +408 -107
- package/dist/bin/commands/emu.js +386 -52
- package/dist/bin/commands/format.js +245 -12
- package/dist/bin/commands/get-demo.js +245 -12
- package/dist/bin/commands/make-admin.js +8356 -1516
- package/dist/bin/commands/preview.js +347 -33
- package/dist/bin/commands/seed.js +9114 -2327
- package/dist/bin/commands/setup-cicd.js +452 -132
- package/dist/bin/commands/setup.js +407 -107
- package/dist/bin/commands/staging.js +4074 -694
- package/dist/bin/commands/sync-secrets.js +246 -13
- package/dist/bin/commands/type-check.js +245 -12
- package/dist/bin/commands/wai.js +245 -12
- package/dist/bin/dndev.js +13 -4
- package/dist/bin/donotdev.js +13 -4
- package/dist/index.js +4169 -812
- package/{templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example → guidelines/VERSION_CONTROL.md} +7 -11
- package/package.json +2 -1
- package/templates/app-demo/src/themes.css.example +21 -0
- package/templates/app-dndev/index.html.example +0 -3
- package/templates/app-dndev/src/themes.css.example +21 -0
- package/templates/app-next/src/app/layout.tsx.example +13 -4
- package/templates/app-next/src/themes.css.example +21 -0
- package/templates/app-vite/csp.example.json +44 -0
- package/templates/app-vite/index.html.example +0 -3
- package/templates/app-vite/src/themes.css.example +21 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +3 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +3 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +3 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +56 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +61 -0
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +46 -0
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +91 -0
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +67 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +89 -0
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +50 -0
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +20 -0
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +18 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +32 -0
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +32 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +39 -0
- package/templates/root-consumer/.claude/rules/git.md.example +14 -0
- package/templates/root-consumer/.claude/rules/security.md.example +13 -0
- package/templates/root-consumer/.claude/settings.json.example +123 -1
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +103 -25
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +26 -15
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +50 -37
- package/templates/root-consumer/AI.md.example +2 -2
- package/templates/root-consumer/CLAUDE.md.example +33 -1
- package/templates/root-consumer/guides/dndev/INDEX.md.example +23 -27
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +3 -2
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +10 -5
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +50 -3
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +13 -15
- package/templates/app-demo/public/manifest.json.example +0 -10
- package/templates/app-dndev/public/manifest.json.example +0 -10
- package/templates/root-consumer/.claude/commands/brainstorm.md.example +0 -175
- package/templates/root-consumer/.claude/commands/build.md.example +0 -131
- package/templates/root-consumer/.claude/commands/design.md.example +0 -184
- package/templates/root-consumer/.claude/commands/grill.md.example +0 -135
- package/templates/root-consumer/.claude/commands/polish.md.example +0 -146
- package/templates/root-consumer/.claude/commands/techdebt.md.example +0 -28
- package/templates/root-consumer/guides/dndev/COMPONENTS_ATOMIC.md.example +0 -180
- package/templates/root-consumer/guides/dndev/COMPONENTS_CRUD.md.example +0 -234
- package/templates/root-consumer/guides/dndev/COMPONENTS_UI.md.example +0 -136
- package/templates/root-consumer/guides/dndev/COMPONENT_API.md.example +0 -195
- package/templates/root-consumer/guides/dndev/ENV_SETUP.md.example +0 -219
- package/templates/root-consumer/guides/dndev/GOTCHAS.md.example +0 -197
- package/templates/root-consumer/guides/dndev/SETUP_APP_CONFIG.md.example +0 -132
- package/templates/root-consumer/guides/dndev/SETUP_BLOG.md.example +0 -280
- package/templates/root-consumer/guides/dndev/SETUP_CICD.md.example +0 -115
- package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +0 -334
- package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +0 -9
- package/templates/root-consumer/guides/dndev/SETUP_I18N.md.example +0 -233
- package/templates/root-consumer/guides/dndev/SETUP_LAYOUTS.md.example +0 -158
- package/templates/root-consumer/guides/dndev/SETUP_PAGES.md.example +0 -205
- package/templates/root-consumer/guides/dndev/SETUP_PWA.md.example +0 -213
- package/templates/root-consumer/guides/dndev/SETUP_TESTING.md.example +0 -184
- package/templates/root-consumer/guides/dndev/SETUP_THEMES.md.example +0 -111
- package/templates/root-consumer/guides/dndev/SETUP_VERCEL.md.example +0 -260
- package/templates/root-consumer/guides/dndev/USE_ROUTING.md.example +0 -499
- package/templates/root-consumer/guides/dndev/essences_reference.css.example +0 -288
|
@@ -2407,14 +2407,15 @@ var require_braces = __commonJS({
|
|
|
2407
2407
|
}
|
|
2408
2408
|
});
|
|
2409
2409
|
|
|
2410
|
-
// node_modules/.bun/picomatch@2.3.
|
|
2410
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
|
|
2411
2411
|
var require_constants2 = __commonJS({
|
|
2412
|
-
"node_modules/.bun/picomatch@2.3.
|
|
2412
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
2413
2413
|
"use strict";
|
|
2414
2414
|
init_utils();
|
|
2415
2415
|
var path = __require("path");
|
|
2416
2416
|
var WIN_SLASH = "\\\\/";
|
|
2417
2417
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
2418
|
+
var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
|
|
2418
2419
|
var DOT_LITERAL = "\\.";
|
|
2419
2420
|
var PLUS_LITERAL = "\\+";
|
|
2420
2421
|
var QMARK_LITERAL = "\\?";
|
|
@@ -2462,6 +2463,7 @@ var require_constants2 = __commonJS({
|
|
|
2462
2463
|
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
|
|
2463
2464
|
};
|
|
2464
2465
|
var POSIX_REGEX_SOURCE = {
|
|
2466
|
+
__proto__: null,
|
|
2465
2467
|
alnum: "a-zA-Z0-9",
|
|
2466
2468
|
alpha: "a-zA-Z",
|
|
2467
2469
|
ascii: "\\x00-\\x7F",
|
|
@@ -2478,6 +2480,7 @@ var require_constants2 = __commonJS({
|
|
|
2478
2480
|
xdigit: "A-Fa-f0-9"
|
|
2479
2481
|
};
|
|
2480
2482
|
module.exports = {
|
|
2483
|
+
DEFAULT_MAX_EXTGLOB_RECURSION,
|
|
2481
2484
|
MAX_LENGTH: 1024 * 64,
|
|
2482
2485
|
POSIX_REGEX_SOURCE,
|
|
2483
2486
|
// regular expressions
|
|
@@ -2489,6 +2492,7 @@ var require_constants2 = __commonJS({
|
|
|
2489
2492
|
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
2490
2493
|
// Replace globs with equivalent patterns to reduce parsing time.
|
|
2491
2494
|
REPLACEMENTS: {
|
|
2495
|
+
__proto__: null,
|
|
2492
2496
|
"***": "*",
|
|
2493
2497
|
"**/**": "**",
|
|
2494
2498
|
"**/**/**": "**"
|
|
@@ -2605,9 +2609,9 @@ var require_constants2 = __commonJS({
|
|
|
2605
2609
|
}
|
|
2606
2610
|
});
|
|
2607
2611
|
|
|
2608
|
-
// node_modules/.bun/picomatch@2.3.
|
|
2612
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
|
|
2609
2613
|
var require_utils2 = __commonJS({
|
|
2610
|
-
"node_modules/.bun/picomatch@2.3.
|
|
2614
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
|
|
2611
2615
|
"use strict";
|
|
2612
2616
|
init_utils();
|
|
2613
2617
|
var path = __require("path");
|
|
@@ -2667,9 +2671,9 @@ var require_utils2 = __commonJS({
|
|
|
2667
2671
|
}
|
|
2668
2672
|
});
|
|
2669
2673
|
|
|
2670
|
-
// node_modules/.bun/picomatch@2.3.
|
|
2674
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
|
|
2671
2675
|
var require_scan = __commonJS({
|
|
2672
|
-
"node_modules/.bun/picomatch@2.3.
|
|
2676
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
2673
2677
|
"use strict";
|
|
2674
2678
|
init_utils();
|
|
2675
2679
|
var utils = require_utils2();
|
|
@@ -2998,9 +3002,9 @@ var require_scan = __commonJS({
|
|
|
2998
3002
|
}
|
|
2999
3003
|
});
|
|
3000
3004
|
|
|
3001
|
-
// node_modules/.bun/picomatch@2.3.
|
|
3005
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
|
|
3002
3006
|
var require_parse2 = __commonJS({
|
|
3003
|
-
"node_modules/.bun/picomatch@2.3.
|
|
3007
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
3004
3008
|
"use strict";
|
|
3005
3009
|
init_utils();
|
|
3006
3010
|
var constants2 = require_constants2();
|
|
@@ -3028,6 +3032,213 @@ var require_parse2 = __commonJS({
|
|
|
3028
3032
|
var syntaxError = (type, char) => {
|
|
3029
3033
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
3030
3034
|
};
|
|
3035
|
+
var splitTopLevel = (input) => {
|
|
3036
|
+
const parts = [];
|
|
3037
|
+
let bracket = 0;
|
|
3038
|
+
let paren = 0;
|
|
3039
|
+
let quote = 0;
|
|
3040
|
+
let value = "";
|
|
3041
|
+
let escaped = false;
|
|
3042
|
+
for (const ch of input) {
|
|
3043
|
+
if (escaped === true) {
|
|
3044
|
+
value += ch;
|
|
3045
|
+
escaped = false;
|
|
3046
|
+
continue;
|
|
3047
|
+
}
|
|
3048
|
+
if (ch === "\\") {
|
|
3049
|
+
value += ch;
|
|
3050
|
+
escaped = true;
|
|
3051
|
+
continue;
|
|
3052
|
+
}
|
|
3053
|
+
if (ch === '"') {
|
|
3054
|
+
quote = quote === 1 ? 0 : 1;
|
|
3055
|
+
value += ch;
|
|
3056
|
+
continue;
|
|
3057
|
+
}
|
|
3058
|
+
if (quote === 0) {
|
|
3059
|
+
if (ch === "[") {
|
|
3060
|
+
bracket++;
|
|
3061
|
+
} else if (ch === "]" && bracket > 0) {
|
|
3062
|
+
bracket--;
|
|
3063
|
+
} else if (bracket === 0) {
|
|
3064
|
+
if (ch === "(") {
|
|
3065
|
+
paren++;
|
|
3066
|
+
} else if (ch === ")" && paren > 0) {
|
|
3067
|
+
paren--;
|
|
3068
|
+
} else if (ch === "|" && paren === 0) {
|
|
3069
|
+
parts.push(value);
|
|
3070
|
+
value = "";
|
|
3071
|
+
continue;
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
value += ch;
|
|
3076
|
+
}
|
|
3077
|
+
parts.push(value);
|
|
3078
|
+
return parts;
|
|
3079
|
+
};
|
|
3080
|
+
var isPlainBranch = (branch) => {
|
|
3081
|
+
let escaped = false;
|
|
3082
|
+
for (const ch of branch) {
|
|
3083
|
+
if (escaped === true) {
|
|
3084
|
+
escaped = false;
|
|
3085
|
+
continue;
|
|
3086
|
+
}
|
|
3087
|
+
if (ch === "\\") {
|
|
3088
|
+
escaped = true;
|
|
3089
|
+
continue;
|
|
3090
|
+
}
|
|
3091
|
+
if (/[?*+@!()[\]{}]/.test(ch)) {
|
|
3092
|
+
return false;
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
return true;
|
|
3096
|
+
};
|
|
3097
|
+
var normalizeSimpleBranch = (branch) => {
|
|
3098
|
+
let value = branch.trim();
|
|
3099
|
+
let changed = true;
|
|
3100
|
+
while (changed === true) {
|
|
3101
|
+
changed = false;
|
|
3102
|
+
if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
|
|
3103
|
+
value = value.slice(2, -1);
|
|
3104
|
+
changed = true;
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
if (!isPlainBranch(value)) {
|
|
3108
|
+
return;
|
|
3109
|
+
}
|
|
3110
|
+
return value.replace(/\\(.)/g, "$1");
|
|
3111
|
+
};
|
|
3112
|
+
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
3113
|
+
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
3114
|
+
for (let i = 0; i < values.length; i++) {
|
|
3115
|
+
for (let j2 = i + 1; j2 < values.length; j2++) {
|
|
3116
|
+
const a = values[i];
|
|
3117
|
+
const b3 = values[j2];
|
|
3118
|
+
const char = a[0];
|
|
3119
|
+
if (!char || a !== char.repeat(a.length) || b3 !== char.repeat(b3.length)) {
|
|
3120
|
+
continue;
|
|
3121
|
+
}
|
|
3122
|
+
if (a === b3 || a.startsWith(b3) || b3.startsWith(a)) {
|
|
3123
|
+
return true;
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
return false;
|
|
3128
|
+
};
|
|
3129
|
+
var parseRepeatedExtglob = (pattern, requireEnd = true) => {
|
|
3130
|
+
if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
|
|
3131
|
+
return;
|
|
3132
|
+
}
|
|
3133
|
+
let bracket = 0;
|
|
3134
|
+
let paren = 0;
|
|
3135
|
+
let quote = 0;
|
|
3136
|
+
let escaped = false;
|
|
3137
|
+
for (let i = 1; i < pattern.length; i++) {
|
|
3138
|
+
const ch = pattern[i];
|
|
3139
|
+
if (escaped === true) {
|
|
3140
|
+
escaped = false;
|
|
3141
|
+
continue;
|
|
3142
|
+
}
|
|
3143
|
+
if (ch === "\\") {
|
|
3144
|
+
escaped = true;
|
|
3145
|
+
continue;
|
|
3146
|
+
}
|
|
3147
|
+
if (ch === '"') {
|
|
3148
|
+
quote = quote === 1 ? 0 : 1;
|
|
3149
|
+
continue;
|
|
3150
|
+
}
|
|
3151
|
+
if (quote === 1) {
|
|
3152
|
+
continue;
|
|
3153
|
+
}
|
|
3154
|
+
if (ch === "[") {
|
|
3155
|
+
bracket++;
|
|
3156
|
+
continue;
|
|
3157
|
+
}
|
|
3158
|
+
if (ch === "]" && bracket > 0) {
|
|
3159
|
+
bracket--;
|
|
3160
|
+
continue;
|
|
3161
|
+
}
|
|
3162
|
+
if (bracket > 0) {
|
|
3163
|
+
continue;
|
|
3164
|
+
}
|
|
3165
|
+
if (ch === "(") {
|
|
3166
|
+
paren++;
|
|
3167
|
+
continue;
|
|
3168
|
+
}
|
|
3169
|
+
if (ch === ")") {
|
|
3170
|
+
paren--;
|
|
3171
|
+
if (paren === 0) {
|
|
3172
|
+
if (requireEnd === true && i !== pattern.length - 1) {
|
|
3173
|
+
return;
|
|
3174
|
+
}
|
|
3175
|
+
return {
|
|
3176
|
+
type: pattern[0],
|
|
3177
|
+
body: pattern.slice(2, i),
|
|
3178
|
+
end: i
|
|
3179
|
+
};
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
};
|
|
3184
|
+
var getStarExtglobSequenceOutput = (pattern) => {
|
|
3185
|
+
let index = 0;
|
|
3186
|
+
const chars = [];
|
|
3187
|
+
while (index < pattern.length) {
|
|
3188
|
+
const match = parseRepeatedExtglob(pattern.slice(index), false);
|
|
3189
|
+
if (!match || match.type !== "*") {
|
|
3190
|
+
return;
|
|
3191
|
+
}
|
|
3192
|
+
const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
|
|
3193
|
+
if (branches.length !== 1) {
|
|
3194
|
+
return;
|
|
3195
|
+
}
|
|
3196
|
+
const branch = normalizeSimpleBranch(branches[0]);
|
|
3197
|
+
if (!branch || branch.length !== 1) {
|
|
3198
|
+
return;
|
|
3199
|
+
}
|
|
3200
|
+
chars.push(branch);
|
|
3201
|
+
index += match.end + 1;
|
|
3202
|
+
}
|
|
3203
|
+
if (chars.length < 1) {
|
|
3204
|
+
return;
|
|
3205
|
+
}
|
|
3206
|
+
const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
|
|
3207
|
+
return `${source}*`;
|
|
3208
|
+
};
|
|
3209
|
+
var repeatedExtglobRecursion = (pattern) => {
|
|
3210
|
+
let depth = 0;
|
|
3211
|
+
let value = pattern.trim();
|
|
3212
|
+
let match = parseRepeatedExtglob(value);
|
|
3213
|
+
while (match) {
|
|
3214
|
+
depth++;
|
|
3215
|
+
value = match.body.trim();
|
|
3216
|
+
match = parseRepeatedExtglob(value);
|
|
3217
|
+
}
|
|
3218
|
+
return depth;
|
|
3219
|
+
};
|
|
3220
|
+
var analyzeRepeatedExtglob = (body, options) => {
|
|
3221
|
+
if (options.maxExtglobRecursion === false) {
|
|
3222
|
+
return { risky: false };
|
|
3223
|
+
}
|
|
3224
|
+
const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants2.DEFAULT_MAX_EXTGLOB_RECURSION;
|
|
3225
|
+
const branches = splitTopLevel(body).map((branch) => branch.trim());
|
|
3226
|
+
if (branches.length > 1) {
|
|
3227
|
+
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
|
|
3228
|
+
return { risky: true };
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
for (const branch of branches) {
|
|
3232
|
+
const safeOutput = getStarExtglobSequenceOutput(branch);
|
|
3233
|
+
if (safeOutput) {
|
|
3234
|
+
return { risky: true, safeOutput };
|
|
3235
|
+
}
|
|
3236
|
+
if (repeatedExtglobRecursion(branch) > max) {
|
|
3237
|
+
return { risky: true };
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
return { risky: false };
|
|
3241
|
+
};
|
|
3031
3242
|
var parse2 = (input, options) => {
|
|
3032
3243
|
if (typeof input !== "string") {
|
|
3033
3244
|
throw new TypeError("Expected a string");
|
|
@@ -3159,6 +3370,8 @@ var require_parse2 = __commonJS({
|
|
|
3159
3370
|
token.prev = prev;
|
|
3160
3371
|
token.parens = state.parens;
|
|
3161
3372
|
token.output = state.output;
|
|
3373
|
+
token.startIndex = state.index;
|
|
3374
|
+
token.tokensIndex = tokens.length;
|
|
3162
3375
|
const output = (opts.capture ? "(" : "") + token.open;
|
|
3163
3376
|
increment("parens");
|
|
3164
3377
|
push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
|
|
@@ -3166,6 +3379,26 @@ var require_parse2 = __commonJS({
|
|
|
3166
3379
|
extglobs.push(token);
|
|
3167
3380
|
};
|
|
3168
3381
|
const extglobClose = (token) => {
|
|
3382
|
+
const literal = input.slice(token.startIndex, state.index + 1);
|
|
3383
|
+
const body = input.slice(token.startIndex + 2, state.index);
|
|
3384
|
+
const analysis = analyzeRepeatedExtglob(body, opts);
|
|
3385
|
+
if ((token.type === "plus" || token.type === "star") && analysis.risky) {
|
|
3386
|
+
const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
|
|
3387
|
+
const open = tokens[token.tokensIndex];
|
|
3388
|
+
open.type = "text";
|
|
3389
|
+
open.value = literal;
|
|
3390
|
+
open.output = safeOutput || utils.escapeRegex(literal);
|
|
3391
|
+
for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
|
|
3392
|
+
tokens[i].value = "";
|
|
3393
|
+
tokens[i].output = "";
|
|
3394
|
+
delete tokens[i].suffix;
|
|
3395
|
+
}
|
|
3396
|
+
state.output = token.output + open.output;
|
|
3397
|
+
state.backtrack = true;
|
|
3398
|
+
push({ type: "paren", extglob: true, value, output: "" });
|
|
3399
|
+
decrement("parens");
|
|
3400
|
+
return;
|
|
3401
|
+
}
|
|
3169
3402
|
let output = token.close + (opts.capture ? ")" : "");
|
|
3170
3403
|
let rest;
|
|
3171
3404
|
if (token.type === "negate") {
|
|
@@ -3772,9 +4005,9 @@ var require_parse2 = __commonJS({
|
|
|
3772
4005
|
}
|
|
3773
4006
|
});
|
|
3774
4007
|
|
|
3775
|
-
// node_modules/.bun/picomatch@2.3.
|
|
4008
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
|
|
3776
4009
|
var require_picomatch = __commonJS({
|
|
3777
|
-
"node_modules/.bun/picomatch@2.3.
|
|
4010
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
3778
4011
|
"use strict";
|
|
3779
4012
|
init_utils();
|
|
3780
4013
|
var path = __require("path");
|
|
@@ -3914,9 +4147,9 @@ var require_picomatch = __commonJS({
|
|
|
3914
4147
|
}
|
|
3915
4148
|
});
|
|
3916
4149
|
|
|
3917
|
-
// node_modules/.bun/picomatch@2.3.
|
|
4150
|
+
// node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js
|
|
3918
4151
|
var require_picomatch2 = __commonJS({
|
|
3919
|
-
"node_modules/.bun/picomatch@2.3.
|
|
4152
|
+
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
|
|
3920
4153
|
"use strict";
|
|
3921
4154
|
init_utils();
|
|
3922
4155
|
module.exports = require_picomatch();
|