@donotdev/cli 0.0.37 → 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.
Files changed (119) hide show
  1. package/LICENSE.md +21 -48
  2. package/dependencies-matrix.json +108 -58
  3. package/dist/bin/commands/agent-setup.js +7196 -123
  4. package/dist/bin/commands/build.js +3341 -207
  5. package/dist/bin/commands/bump.js +268 -24
  6. package/dist/bin/commands/cacheout.js +262 -13
  7. package/dist/bin/commands/coach.js +365 -61
  8. package/dist/bin/commands/create-app.js +261 -14
  9. package/dist/bin/commands/create-project.js +270 -15
  10. package/dist/bin/commands/db.js +10743 -2346
  11. package/dist/bin/commands/deploy.js +4202 -776
  12. package/dist/bin/commands/dev.js +353 -38
  13. package/dist/bin/commands/doctor.js +412 -108
  14. package/dist/bin/commands/emu.js +392 -57
  15. package/dist/bin/commands/format.js +250 -15
  16. package/dist/bin/commands/get-demo.js +261 -14
  17. package/dist/bin/commands/make-admin.js +10022 -1552
  18. package/dist/bin/commands/preview.js +353 -38
  19. package/dist/bin/commands/seed.js +10743 -2346
  20. package/dist/bin/commands/setup-cicd.js +456 -133
  21. package/dist/bin/commands/setup.js +428 -125
  22. package/dist/bin/commands/staging.js +4202 -776
  23. package/dist/bin/commands/sync-secrets.js +250 -14
  24. package/dist/bin/commands/type-check.js +249 -13
  25. package/dist/bin/commands/wai.js +249 -13
  26. package/dist/bin/dndev.js +33 -4
  27. package/dist/bin/donotdev.js +33 -4
  28. package/dist/index.js +4278 -856
  29. package/{templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example → guidelines/VERSION_CONTROL.md} +7 -11
  30. package/package.json +3 -2
  31. package/templates/app-demo/src/themes.css.example +21 -0
  32. package/templates/app-dndev/index.html.example +0 -3
  33. package/templates/app-dndev/src/themes.css.example +21 -0
  34. package/templates/app-next/src/app/layout.tsx.example +13 -4
  35. package/templates/app-next/src/themes.css.example +21 -0
  36. package/templates/app-vite/csp.example.json +44 -0
  37. package/templates/app-vite/index.html.example +0 -3
  38. package/templates/app-vite/src/themes.css.example +21 -0
  39. package/templates/functions-supabase/supabase/functions/.env.example +12 -0
  40. package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +7 -0
  41. package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +7 -0
  42. package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +7 -0
  43. package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +7 -0
  44. package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +3 -0
  45. package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +3 -0
  46. package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +3 -0
  47. package/templates/preset-admin/src/pages/DashboardPage.tsx.example +189 -0
  48. package/templates/preset-admin/src/pages/EntityPage.tsx.example +84 -0
  49. package/templates/preset-admin/src/pages/ReportsPage.tsx.example +243 -0
  50. package/templates/preset-admin/src/pages/SettingsPage.tsx.example +283 -0
  51. package/templates/preset-admin/src/pages/UsersPage.tsx.example +128 -0
  52. package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +167 -0
  53. package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +187 -0
  54. package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +244 -0
  55. package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +268 -0
  56. package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +228 -0
  57. package/templates/preset-landing/src/pages/AboutPage.tsx.example +237 -0
  58. package/templates/preset-landing/src/pages/ContactPage.tsx.example +192 -0
  59. package/templates/preset-landing/src/pages/HomePage.tsx.example +399 -0
  60. package/templates/preset-saas/src/pages/DashboardPage.tsx.example +195 -0
  61. package/templates/preset-saas/src/pages/HomePage.tsx.example +270 -0
  62. package/templates/preset-saas/src/pages/PricingPage.tsx.example +204 -0
  63. package/templates/preset-saas/src/pages/ProfilePage.tsx.example +191 -0
  64. package/templates/preset-saas/src/pages/SettingsPage.tsx.example +292 -0
  65. package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +56 -0
  66. package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +61 -0
  67. package/templates/root-consumer/.claude/hooks/guard-files.sh.example +46 -0
  68. package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +91 -0
  69. package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +67 -0
  70. package/templates/root-consumer/.claude/hooks/guard-write.sh.example +89 -0
  71. package/templates/root-consumer/.claude/hooks/session-start.sh.example +50 -0
  72. package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +20 -0
  73. package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +18 -0
  74. package/templates/root-consumer/.claude/rules/consumer-ux.md.example +32 -0
  75. package/templates/root-consumer/.claude/rules/definition-of-done.md.example +32 -0
  76. package/templates/root-consumer/.claude/rules/framework.md.example +39 -0
  77. package/templates/root-consumer/.claude/rules/git.md.example +14 -0
  78. package/templates/root-consumer/.claude/rules/security.md.example +13 -0
  79. package/templates/root-consumer/.claude/settings.json.example +123 -1
  80. package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +16 -0
  81. package/templates/root-consumer/.claude/skills/build/SKILL.md.example +103 -25
  82. package/templates/root-consumer/.claude/skills/design/SKILL.md.example +17 -0
  83. package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +33 -16
  84. package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +50 -37
  85. package/templates/root-consumer/AI.md.example +2 -2
  86. package/templates/root-consumer/CLAUDE.md.example +33 -1
  87. package/templates/root-consumer/guides/dndev/INDEX.md.example +23 -27
  88. package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +3 -2
  89. package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +12 -6
  90. package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +50 -3
  91. package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +13 -15
  92. package/templates/app-demo/public/manifest.json.example +0 -10
  93. package/templates/app-dndev/public/manifest.json.example +0 -10
  94. package/templates/root-consumer/.claude/commands/brainstorm.md.example +0 -147
  95. package/templates/root-consumer/.claude/commands/build.md.example +0 -131
  96. package/templates/root-consumer/.claude/commands/design.md.example +0 -153
  97. package/templates/root-consumer/.claude/commands/grill.md.example +0 -108
  98. package/templates/root-consumer/.claude/commands/polish.md.example +0 -146
  99. package/templates/root-consumer/.claude/commands/techdebt.md.example +0 -28
  100. package/templates/root-consumer/guides/dndev/COMPONENTS_ATOMIC.md.example +0 -180
  101. package/templates/root-consumer/guides/dndev/COMPONENTS_CRUD.md.example +0 -234
  102. package/templates/root-consumer/guides/dndev/COMPONENTS_UI.md.example +0 -136
  103. package/templates/root-consumer/guides/dndev/COMPONENT_API.md.example +0 -195
  104. package/templates/root-consumer/guides/dndev/ENV_SETUP.md.example +0 -219
  105. package/templates/root-consumer/guides/dndev/GOTCHAS.md.example +0 -197
  106. package/templates/root-consumer/guides/dndev/SETUP_APP_CONFIG.md.example +0 -132
  107. package/templates/root-consumer/guides/dndev/SETUP_BLOG.md.example +0 -280
  108. package/templates/root-consumer/guides/dndev/SETUP_CICD.md.example +0 -115
  109. package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +0 -334
  110. package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +0 -9
  111. package/templates/root-consumer/guides/dndev/SETUP_I18N.md.example +0 -233
  112. package/templates/root-consumer/guides/dndev/SETUP_LAYOUTS.md.example +0 -158
  113. package/templates/root-consumer/guides/dndev/SETUP_PAGES.md.example +0 -205
  114. package/templates/root-consumer/guides/dndev/SETUP_PWA.md.example +0 -213
  115. package/templates/root-consumer/guides/dndev/SETUP_TESTING.md.example +0 -184
  116. package/templates/root-consumer/guides/dndev/SETUP_THEMES.md.example +0 -111
  117. package/templates/root-consumer/guides/dndev/SETUP_VERCEL.md.example +0 -260
  118. package/templates/root-consumer/guides/dndev/USE_ROUTING.md.example +0 -499
  119. package/templates/root-consumer/guides/dndev/essences_reference.css.example +0 -288
@@ -2006,14 +2006,15 @@ var require_braces = __commonJS({
2006
2006
  }
2007
2007
  });
2008
2008
 
2009
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
2009
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
2010
2010
  var require_constants2 = __commonJS({
2011
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module) {
2011
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
2012
2012
  "use strict";
2013
2013
  init_utils();
2014
2014
  var path = __require("path");
2015
2015
  var WIN_SLASH = "\\\\/";
2016
2016
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
2017
+ var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
2017
2018
  var DOT_LITERAL = "\\.";
2018
2019
  var PLUS_LITERAL = "\\+";
2019
2020
  var QMARK_LITERAL = "\\?";
@@ -2061,6 +2062,7 @@ var require_constants2 = __commonJS({
2061
2062
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
2062
2063
  };
2063
2064
  var POSIX_REGEX_SOURCE = {
2065
+ __proto__: null,
2064
2066
  alnum: "a-zA-Z0-9",
2065
2067
  alpha: "a-zA-Z",
2066
2068
  ascii: "\\x00-\\x7F",
@@ -2077,6 +2079,7 @@ var require_constants2 = __commonJS({
2077
2079
  xdigit: "A-Fa-f0-9"
2078
2080
  };
2079
2081
  module.exports = {
2082
+ DEFAULT_MAX_EXTGLOB_RECURSION,
2080
2083
  MAX_LENGTH: 1024 * 64,
2081
2084
  POSIX_REGEX_SOURCE,
2082
2085
  // regular expressions
@@ -2088,6 +2091,7 @@ var require_constants2 = __commonJS({
2088
2091
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
2089
2092
  // Replace globs with equivalent patterns to reduce parsing time.
2090
2093
  REPLACEMENTS: {
2094
+ __proto__: null,
2091
2095
  "***": "*",
2092
2096
  "**/**": "**",
2093
2097
  "**/**/**": "**"
@@ -2204,9 +2208,9 @@ var require_constants2 = __commonJS({
2204
2208
  }
2205
2209
  });
2206
2210
 
2207
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
2211
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
2208
2212
  var require_utils2 = __commonJS({
2209
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
2213
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
2210
2214
  "use strict";
2211
2215
  init_utils();
2212
2216
  var path = __require("path");
@@ -2266,9 +2270,9 @@ var require_utils2 = __commonJS({
2266
2270
  }
2267
2271
  });
2268
2272
 
2269
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
2273
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
2270
2274
  var require_scan = __commonJS({
2271
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module) {
2275
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
2272
2276
  "use strict";
2273
2277
  init_utils();
2274
2278
  var utils = require_utils2();
@@ -2597,9 +2601,9 @@ var require_scan = __commonJS({
2597
2601
  }
2598
2602
  });
2599
2603
 
2600
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
2604
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
2601
2605
  var require_parse2 = __commonJS({
2602
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module) {
2606
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
2603
2607
  "use strict";
2604
2608
  init_utils();
2605
2609
  var constants2 = require_constants2();
@@ -2627,6 +2631,213 @@ var require_parse2 = __commonJS({
2627
2631
  var syntaxError = (type, char) => {
2628
2632
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
2629
2633
  };
2634
+ var splitTopLevel = (input) => {
2635
+ const parts = [];
2636
+ let bracket = 0;
2637
+ let paren = 0;
2638
+ let quote = 0;
2639
+ let value = "";
2640
+ let escaped = false;
2641
+ for (const ch of input) {
2642
+ if (escaped === true) {
2643
+ value += ch;
2644
+ escaped = false;
2645
+ continue;
2646
+ }
2647
+ if (ch === "\\") {
2648
+ value += ch;
2649
+ escaped = true;
2650
+ continue;
2651
+ }
2652
+ if (ch === '"') {
2653
+ quote = quote === 1 ? 0 : 1;
2654
+ value += ch;
2655
+ continue;
2656
+ }
2657
+ if (quote === 0) {
2658
+ if (ch === "[") {
2659
+ bracket++;
2660
+ } else if (ch === "]" && bracket > 0) {
2661
+ bracket--;
2662
+ } else if (bracket === 0) {
2663
+ if (ch === "(") {
2664
+ paren++;
2665
+ } else if (ch === ")" && paren > 0) {
2666
+ paren--;
2667
+ } else if (ch === "|" && paren === 0) {
2668
+ parts.push(value);
2669
+ value = "";
2670
+ continue;
2671
+ }
2672
+ }
2673
+ }
2674
+ value += ch;
2675
+ }
2676
+ parts.push(value);
2677
+ return parts;
2678
+ };
2679
+ var isPlainBranch = (branch) => {
2680
+ let escaped = false;
2681
+ for (const ch of branch) {
2682
+ if (escaped === true) {
2683
+ escaped = false;
2684
+ continue;
2685
+ }
2686
+ if (ch === "\\") {
2687
+ escaped = true;
2688
+ continue;
2689
+ }
2690
+ if (/[?*+@!()[\]{}]/.test(ch)) {
2691
+ return false;
2692
+ }
2693
+ }
2694
+ return true;
2695
+ };
2696
+ var normalizeSimpleBranch = (branch) => {
2697
+ let value = branch.trim();
2698
+ let changed = true;
2699
+ while (changed === true) {
2700
+ changed = false;
2701
+ if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
2702
+ value = value.slice(2, -1);
2703
+ changed = true;
2704
+ }
2705
+ }
2706
+ if (!isPlainBranch(value)) {
2707
+ return;
2708
+ }
2709
+ return value.replace(/\\(.)/g, "$1");
2710
+ };
2711
+ var hasRepeatedCharPrefixOverlap = (branches) => {
2712
+ const values = branches.map(normalizeSimpleBranch).filter(Boolean);
2713
+ for (let i = 0; i < values.length; i++) {
2714
+ for (let j2 = i + 1; j2 < values.length; j2++) {
2715
+ const a = values[i];
2716
+ const b2 = values[j2];
2717
+ const char = a[0];
2718
+ if (!char || a !== char.repeat(a.length) || b2 !== char.repeat(b2.length)) {
2719
+ continue;
2720
+ }
2721
+ if (a === b2 || a.startsWith(b2) || b2.startsWith(a)) {
2722
+ return true;
2723
+ }
2724
+ }
2725
+ }
2726
+ return false;
2727
+ };
2728
+ var parseRepeatedExtglob = (pattern, requireEnd = true) => {
2729
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
2730
+ return;
2731
+ }
2732
+ let bracket = 0;
2733
+ let paren = 0;
2734
+ let quote = 0;
2735
+ let escaped = false;
2736
+ for (let i = 1; i < pattern.length; i++) {
2737
+ const ch = pattern[i];
2738
+ if (escaped === true) {
2739
+ escaped = false;
2740
+ continue;
2741
+ }
2742
+ if (ch === "\\") {
2743
+ escaped = true;
2744
+ continue;
2745
+ }
2746
+ if (ch === '"') {
2747
+ quote = quote === 1 ? 0 : 1;
2748
+ continue;
2749
+ }
2750
+ if (quote === 1) {
2751
+ continue;
2752
+ }
2753
+ if (ch === "[") {
2754
+ bracket++;
2755
+ continue;
2756
+ }
2757
+ if (ch === "]" && bracket > 0) {
2758
+ bracket--;
2759
+ continue;
2760
+ }
2761
+ if (bracket > 0) {
2762
+ continue;
2763
+ }
2764
+ if (ch === "(") {
2765
+ paren++;
2766
+ continue;
2767
+ }
2768
+ if (ch === ")") {
2769
+ paren--;
2770
+ if (paren === 0) {
2771
+ if (requireEnd === true && i !== pattern.length - 1) {
2772
+ return;
2773
+ }
2774
+ return {
2775
+ type: pattern[0],
2776
+ body: pattern.slice(2, i),
2777
+ end: i
2778
+ };
2779
+ }
2780
+ }
2781
+ }
2782
+ };
2783
+ var getStarExtglobSequenceOutput = (pattern) => {
2784
+ let index = 0;
2785
+ const chars = [];
2786
+ while (index < pattern.length) {
2787
+ const match = parseRepeatedExtglob(pattern.slice(index), false);
2788
+ if (!match || match.type !== "*") {
2789
+ return;
2790
+ }
2791
+ const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
2792
+ if (branches.length !== 1) {
2793
+ return;
2794
+ }
2795
+ const branch = normalizeSimpleBranch(branches[0]);
2796
+ if (!branch || branch.length !== 1) {
2797
+ return;
2798
+ }
2799
+ chars.push(branch);
2800
+ index += match.end + 1;
2801
+ }
2802
+ if (chars.length < 1) {
2803
+ return;
2804
+ }
2805
+ const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
2806
+ return `${source}*`;
2807
+ };
2808
+ var repeatedExtglobRecursion = (pattern) => {
2809
+ let depth = 0;
2810
+ let value = pattern.trim();
2811
+ let match = parseRepeatedExtglob(value);
2812
+ while (match) {
2813
+ depth++;
2814
+ value = match.body.trim();
2815
+ match = parseRepeatedExtglob(value);
2816
+ }
2817
+ return depth;
2818
+ };
2819
+ var analyzeRepeatedExtglob = (body, options) => {
2820
+ if (options.maxExtglobRecursion === false) {
2821
+ return { risky: false };
2822
+ }
2823
+ const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants2.DEFAULT_MAX_EXTGLOB_RECURSION;
2824
+ const branches = splitTopLevel(body).map((branch) => branch.trim());
2825
+ if (branches.length > 1) {
2826
+ if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
2827
+ return { risky: true };
2828
+ }
2829
+ }
2830
+ for (const branch of branches) {
2831
+ const safeOutput = getStarExtglobSequenceOutput(branch);
2832
+ if (safeOutput) {
2833
+ return { risky: true, safeOutput };
2834
+ }
2835
+ if (repeatedExtglobRecursion(branch) > max) {
2836
+ return { risky: true };
2837
+ }
2838
+ }
2839
+ return { risky: false };
2840
+ };
2630
2841
  var parse2 = (input, options) => {
2631
2842
  if (typeof input !== "string") {
2632
2843
  throw new TypeError("Expected a string");
@@ -2758,6 +2969,8 @@ var require_parse2 = __commonJS({
2758
2969
  token.prev = prev;
2759
2970
  token.parens = state.parens;
2760
2971
  token.output = state.output;
2972
+ token.startIndex = state.index;
2973
+ token.tokensIndex = tokens.length;
2761
2974
  const output = (opts.capture ? "(" : "") + token.open;
2762
2975
  increment("parens");
2763
2976
  push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
@@ -2765,6 +2978,26 @@ var require_parse2 = __commonJS({
2765
2978
  extglobs.push(token);
2766
2979
  };
2767
2980
  const extglobClose = (token) => {
2981
+ const literal = input.slice(token.startIndex, state.index + 1);
2982
+ const body = input.slice(token.startIndex + 2, state.index);
2983
+ const analysis = analyzeRepeatedExtglob(body, opts);
2984
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
2985
+ const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
2986
+ const open = tokens[token.tokensIndex];
2987
+ open.type = "text";
2988
+ open.value = literal;
2989
+ open.output = safeOutput || utils.escapeRegex(literal);
2990
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
2991
+ tokens[i].value = "";
2992
+ tokens[i].output = "";
2993
+ delete tokens[i].suffix;
2994
+ }
2995
+ state.output = token.output + open.output;
2996
+ state.backtrack = true;
2997
+ push({ type: "paren", extglob: true, value, output: "" });
2998
+ decrement("parens");
2999
+ return;
3000
+ }
2768
3001
  let output = token.close + (opts.capture ? ")" : "");
2769
3002
  let rest;
2770
3003
  if (token.type === "negate") {
@@ -3371,9 +3604,9 @@ var require_parse2 = __commonJS({
3371
3604
  }
3372
3605
  });
3373
3606
 
3374
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
3607
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
3375
3608
  var require_picomatch = __commonJS({
3376
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3609
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3377
3610
  "use strict";
3378
3611
  init_utils();
3379
3612
  var path = __require("path");
@@ -3513,9 +3746,9 @@ var require_picomatch = __commonJS({
3513
3746
  }
3514
3747
  });
3515
3748
 
3516
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js
3749
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js
3517
3750
  var require_picomatch2 = __commonJS({
3518
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module) {
3751
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
3519
3752
  "use strict";
3520
3753
  init_utils();
3521
3754
  module.exports = require_picomatch();
@@ -7311,7 +7544,10 @@ var init_PathResolver = __esm({
7311
7544
  */
7312
7545
  getEmptyCjsModulePath() {
7313
7546
  const resolved = this.resolvePackage("@donotdev/core/empty");
7314
- if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
7547
+ if (!resolved)
7548
+ throw new Error(
7549
+ "Cannot resolve @donotdev/core/empty \u2014 package setup is broken"
7550
+ );
7315
7551
  return resolved;
7316
7552
  }
7317
7553
  // === PRIVATE METHODS ===
@@ -7924,10 +8160,9 @@ async function runPrettier(rootDir, dryRun, verbose) {
7924
8160
  log.info("DRY RUN: Would run Prettier");
7925
8161
  return stats;
7926
8162
  }
7927
- const result = spawnSync(`bunx ${prettierArgs.join(" ")}`, {
8163
+ const result = spawnSync("bunx", prettierArgs, {
7928
8164
  cwd: rootDir,
7929
8165
  stdio: "pipe",
7930
- shell: true,
7931
8166
  encoding: "utf-8",
7932
8167
  env: { ...process.env }
7933
8168
  });