@donotdev/cli 0.0.6 → 0.0.8

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 (87) hide show
  1. package/README.md +3 -18
  2. package/dependencies-matrix.json +64 -121
  3. package/dist/bin/commands/build.js +173 -161
  4. package/dist/bin/commands/bump.js +181 -156
  5. package/dist/bin/commands/cacheout.js +188 -171
  6. package/dist/bin/commands/create-app.js +213 -156
  7. package/dist/bin/commands/create-project.js +183 -154
  8. package/dist/bin/commands/deploy.js +491 -477
  9. package/dist/bin/commands/dev.js +176 -160
  10. package/dist/bin/commands/emu.js +181 -165
  11. package/dist/bin/commands/format.js +191 -174
  12. package/dist/bin/commands/lint.js +191 -171
  13. package/dist/bin/commands/preview.js +177 -161
  14. package/dist/bin/commands/sync-secrets.js +172 -158
  15. package/dist/bin/commands/wai.d.ts +11 -0
  16. package/dist/bin/commands/wai.d.ts.map +1 -0
  17. package/dist/bin/commands/wai.js +12 -0
  18. package/dist/bin/commands/wai.js.map +1 -0
  19. package/dist/bin/dndev.js +24 -24
  20. package/dist/bin/donotdev.js +24 -24
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +661 -669
  24. package/dist/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/templates/app-demo/src/config/app.ts.example +12 -0
  27. package/templates/app-next/src/config/app.ts.example +75 -48
  28. package/templates/app-vite/index.html.example +71 -37
  29. package/templates/app-vite/src/config/app.ts.example +75 -47
  30. package/templates/app-vite/src/pages/FormPageExample.tsx.example +152 -0
  31. package/templates/app-vite/src/pages/HomePage.tsx.example +81 -134
  32. package/templates/app-vite/src/pages/ListPageExample.tsx.example +88 -0
  33. package/templates/functions-firebase/build.mjs.example +8 -1
  34. package/templates/functions-firebase/functions-firebase/build.mjs.example +8 -1
  35. package/templates/functions-firebase/functions-firebase/src/index.ts.example +19 -25
  36. package/templates/functions-firebase/functions.config.js.example +35 -0
  37. package/templates/root-consumer/entities/ExampleEntity.ts.example +223 -0
  38. package/templates/root-consumer/entities/demo.ts.example +576 -0
  39. package/templates/root-consumer/entities/index.ts.example +15 -0
  40. package/templates/root-consumer/eslint.config.js.example +2 -80
  41. package/templates/root-consumer/guides/{AGENT_START_HERE.md.example → dndev/AGENT_START_HERE.md.example} +22 -0
  42. package/templates/root-consumer/guides/dndev/COMPONENTS_CRUD.md.example +231 -0
  43. package/templates/root-consumer/guides/{SETUP_AUTH.md.example → dndev/SETUP_AUTH.md.example} +30 -0
  44. package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +539 -0
  45. package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +116 -0
  46. package/templates/root-consumer/guides/{SETUP_I18N.md.example → dndev/SETUP_I18N.md.example} +46 -0
  47. package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +404 -0
  48. package/templates/root-consumer/guides/wai-way/agents/architect.md.example +78 -0
  49. package/templates/root-consumer/guides/wai-way/agents/builder.md.example +87 -0
  50. package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +325 -0
  51. package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +100 -0
  52. package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +281 -0
  53. package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +77 -0
  54. package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +104 -0
  55. package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +124 -0
  56. package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +165 -0
  57. package/templates/root-consumer/guides/wai-way/context_map.json.example +95 -0
  58. package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +840 -0
  59. package/templates/root-consumer/guides/wai-way/page_patterns.md.example +686 -0
  60. package/templates/root-consumer/guides/wai-way/presets_guide.md.example +217 -0
  61. package/templates/root-consumer/guides/wai-way/spec_template.md.example +312 -0
  62. package/templates/functions-firebase/functions-firebase/src/crud/createEntity.ts.example +0 -19
  63. package/templates/functions-firebase/functions-firebase/src/crud/deleteEntity.ts.example +0 -14
  64. package/templates/functions-firebase/functions-firebase/src/crud/getEntity.ts.example +0 -14
  65. package/templates/functions-firebase/functions-firebase/src/crud/index.ts.example +0 -12
  66. package/templates/functions-firebase/functions-firebase/src/crud/listEntities.ts.example +0 -14
  67. package/templates/functions-firebase/functions-firebase/src/crud/updateEntity.ts.example +0 -14
  68. package/templates/root-consumer/guides/COMPONENTS_CRUD.md.example +0 -70
  69. package/templates/root-consumer/guides/SETUP_CRUD.md.example +0 -1244
  70. package/templates/root-consumer/guides/SETUP_FUNCTIONS.md.example +0 -114
  71. /package/templates/root-consumer/guides/{COMPONENTS_ADV.md.example → dndev/COMPONENTS_ADV.md.example} +0 -0
  72. /package/templates/root-consumer/guides/{COMPONENTS_ATOMIC.md.example → dndev/COMPONENTS_ATOMIC.md.example} +0 -0
  73. /package/templates/root-consumer/guides/{COMPONENTS_UI.md.example → dndev/COMPONENTS_UI.md.example} +0 -0
  74. /package/templates/root-consumer/guides/{ENV_SETUP.md.example → dndev/ENV_SETUP.md.example} +0 -0
  75. /package/templates/root-consumer/guides/{INDEX.md.example → dndev/INDEX.md.example} +0 -0
  76. /package/templates/root-consumer/guides/{SETUP_APP_CONFIG.md.example → dndev/SETUP_APP_CONFIG.md.example} +0 -0
  77. /package/templates/root-consumer/guides/{SETUP_BILLING.md.example → dndev/SETUP_BILLING.md.example} +0 -0
  78. /package/templates/root-consumer/guides/{SETUP_LAYOUTS.md.example → dndev/SETUP_LAYOUTS.md.example} +0 -0
  79. /package/templates/root-consumer/guides/{SETUP_OAUTH.md.example → dndev/SETUP_OAUTH.md.example} +0 -0
  80. /package/templates/root-consumer/guides/{SETUP_PAGES.md.example → dndev/SETUP_PAGES.md.example} +0 -0
  81. /package/templates/root-consumer/guides/{SETUP_PWA.md.example → dndev/SETUP_PWA.md.example} +0 -0
  82. /package/templates/root-consumer/guides/{SETUP_THEMES.md.example → dndev/SETUP_THEMES.md.example} +0 -0
  83. /package/templates/root-consumer/guides/{USE_ROUTING.md.example → dndev/USE_ROUTING.md.example} +0 -0
  84. /package/templates/root-consumer/guides/{advanced → dndev/advanced}/APP_CHECK.md.example +0 -0
  85. /package/templates/root-consumer/guides/{advanced → dndev/advanced}/COOKIE_REFERENCE.md.example +0 -0
  86. /package/templates/root-consumer/guides/{advanced → dndev/advanced}/EMULATORS.md.example +0 -0
  87. /package/templates/root-consumer/guides/{advanced → dndev/advanced}/VERSION_CONTROL.md.example +0 -0
@@ -502,6 +502,7 @@ var init_dist = __esm({
502
502
  });
503
503
 
504
504
  // node_modules/.bun/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs
505
+ import { stripVTControlCharacters as S2 } from "node:util";
505
506
  import y2 from "node:process";
506
507
  function ce() {
507
508
  return y2.platform !== "win32" ? y2.env.TERM !== "linux" : !!y2.env.CI || !!y2.env.WT_SESSION || !!y2.env.TERMINUS_SUBLIME || y2.env.ConEmuTask === "{cmd::Cmder}" || y2.env.TERM_PROGRAM === "Terminus-Sublime" || y2.env.TERM_PROGRAM === "vscode" || y2.env.TERM === "xterm-256color" || y2.env.TERM === "alacritty" || y2.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
@@ -620,6 +621,7 @@ ${import_picocolors.default.cyan(d2)}
620
621
  });
621
622
 
622
623
  // packages/tooling/src/utils/cli-output.ts
624
+ import "node:os";
623
625
  function supportsColor() {
624
626
  if (process.env.NO_COLOR) return false;
625
627
  if (process.platform === "win32") {
@@ -765,155 +767,6 @@ var init_cli_output = __esm({
765
767
  }
766
768
  });
767
769
 
768
- // packages/core/config/constants.js
769
- function getPatternsFor(type, repoRoot = null) {
770
- const patterns = SCAN_PATTERNS[type];
771
- if (!patterns) {
772
- throw new Error(`Unknown pattern type: ${type}`);
773
- }
774
- if (repoRoot && patterns.framework) {
775
- return {
776
- ...patterns,
777
- framework: patterns.framework.map((pattern) => `${repoRoot}/${pattern}`)
778
- };
779
- }
780
- return patterns;
781
- }
782
- function getGlobOptionsFor(type) {
783
- return GLOB_OPTIONS[type] || GLOB_OPTIONS.base;
784
- }
785
- var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
786
- var init_constants = __esm({
787
- "packages/core/config/constants.js"() {
788
- "use strict";
789
- init_utils();
790
- I18N_PATHS = {
791
- // Monorepo source structure (locales at root, not in src/)
792
- SOURCE_ROOT: "packages/core/i18n",
793
- SOURCE_LOCALES: "packages/core/i18n/locales",
794
- SOURCE_EAGER: "packages/core/i18n/locales/eager",
795
- SOURCE_LAZY: "packages/core/i18n/locales/lazy",
796
- // Published structure (same as source - no flattening needed)
797
- PUBLISHED_ROOT: "i18n",
798
- PUBLISHED_LOCALES: "i18n/locales",
799
- PUBLISHED_EAGER: "i18n/locales/eager",
800
- PUBLISHED_LAZY: "i18n/locales/lazy"
801
- };
802
- SCAN_PATTERNS = {
803
- routes: {
804
- consumer: ["src/**/*Page.tsx", "src/pages/**/*Page.tsx"],
805
- exclude: [
806
- "**/node_modules/**",
807
- "**/dist/**",
808
- "**/build/**",
809
- "**/*.test.tsx",
810
- "**/*.stories.tsx"
811
- ],
812
- extensions: [".tsx"]
813
- },
814
- css: {
815
- consumer: ["src/**/*.css"],
816
- themes: ["src/**/*.css"],
817
- extensions: [".css", ".scss", ".sass"],
818
- framework: [
819
- "packages/ui/src/**/*.css",
820
- "packages/core/components/src/**/*.css",
821
- "packages/core/templates/src/**/*.css"
822
- ]
823
- },
824
- i18n: {
825
- eager: ["src/locales/*_*.json"],
826
- lazy: ["src/**/locales/*_*.json", "!src/locales/*_*.json"],
827
- framework: {
828
- eager: [`${I18N_PATHS.SOURCE_EAGER}/*_*.json`],
829
- lazy: [`${I18N_PATHS.SOURCE_LAZY}/*_*.json`]
830
- },
831
- extensions: [".json"]
832
- },
833
- assets: {
834
- consumer: ["public/**/*"],
835
- fallback: ["manifest.json"],
836
- modern: [
837
- "logo.svg",
838
- "favicon.svg",
839
- "apple-touch-icon.png",
840
- "android-chrome-192x192.png",
841
- "android-chrome-512x512.png"
842
- ],
843
- patterns: [
844
- "favicon.svg",
845
- "favicon.ico",
846
- "favicon-*.png",
847
- "logo.svg",
848
- "logo.png",
849
- "logo.webp",
850
- "logo.avif",
851
- "apple-touch-icon*.png",
852
- "android-chrome-*.png",
853
- "manifest.json"
854
- ],
855
- fonts: ["fonts/**/*.woff2", "fonts/**/*.woff", "fonts/**/*.ttf"],
856
- framework: ["packages/ui/assets/**/*"]
857
- },
858
- pwa: {
859
- consumer: [
860
- "public/manifest.json",
861
- "public/service-worker.js",
862
- "public/sw.js",
863
- "public/icon-192x192.png",
864
- "public/icon-512x512.png",
865
- "public/favicon.ico",
866
- "public/favicon.svg",
867
- "public/apple-touch-icon.png",
868
- "public/logo.svg"
869
- ],
870
- exclude: ["**/node_modules/**", "**/dist/**", "**/build/**"],
871
- extensions: [".json", ".js", ".png", ".svg", ".ico"],
872
- framework: ["packages/ui/assets/**/*"]
873
- },
874
- globalIgnore: [
875
- "**/node_modules/**",
876
- "**/dist/**",
877
- "**/build/**",
878
- "**/.git/**",
879
- "**/coverage/**",
880
- "**/test/**"
881
- ]
882
- };
883
- GLOB_OPTIONS = {
884
- base: {
885
- absolute: true,
886
- onlyFiles: true,
887
- ignore: SCAN_PATTERNS.globalIgnore
888
- },
889
- css: {
890
- absolute: true,
891
- onlyFiles: true,
892
- ignore: [...SCAN_PATTERNS.globalIgnore, "**/*.test.css"]
893
- },
894
- routes: {
895
- absolute: true,
896
- onlyFiles: true,
897
- ignore: [
898
- ...SCAN_PATTERNS.globalIgnore,
899
- "**/*.test.tsx",
900
- "**/*.stories.tsx"
901
- ]
902
- },
903
- i18n: {
904
- absolute: true,
905
- onlyFiles: true,
906
- ignore: SCAN_PATTERNS.globalIgnore
907
- },
908
- assets: {
909
- absolute: true,
910
- onlyFiles: true,
911
- ignore: SCAN_PATTERNS.globalIgnore
912
- }
913
- };
914
- }
915
- });
916
-
917
770
  // node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
918
771
  var require_array = __commonJS({
919
772
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
@@ -6498,7 +6351,167 @@ var require_out4 = __commonJS({
6498
6351
  }
6499
6352
  });
6500
6353
 
6354
+ // packages/core/config/constants.js
6355
+ function getPatternsFor(type, repoRoot = null) {
6356
+ const patterns = SCAN_PATTERNS[type];
6357
+ if (!patterns) {
6358
+ throw new Error(`Unknown pattern type: ${type}`);
6359
+ }
6360
+ if (repoRoot && patterns.framework) {
6361
+ return {
6362
+ ...patterns,
6363
+ framework: patterns.framework.map((pattern) => `${repoRoot}/${pattern}`)
6364
+ };
6365
+ }
6366
+ return patterns;
6367
+ }
6368
+ function getGlobOptionsFor(type) {
6369
+ return GLOB_OPTIONS[type] || GLOB_OPTIONS.base;
6370
+ }
6371
+ var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
6372
+ var init_constants = __esm({
6373
+ "packages/core/config/constants.js"() {
6374
+ "use strict";
6375
+ init_utils();
6376
+ I18N_PATHS = {
6377
+ // Monorepo source structure (locales at root, not in src/)
6378
+ SOURCE_ROOT: "packages/core/i18n",
6379
+ SOURCE_LOCALES: "packages/core/i18n/locales",
6380
+ SOURCE_EAGER: "packages/core/i18n/locales/eager",
6381
+ SOURCE_LAZY: "packages/core/i18n/locales/lazy",
6382
+ // Published structure (same as source - no flattening needed)
6383
+ PUBLISHED_ROOT: "i18n",
6384
+ PUBLISHED_LOCALES: "i18n/locales",
6385
+ PUBLISHED_EAGER: "i18n/locales/eager",
6386
+ PUBLISHED_LAZY: "i18n/locales/lazy"
6387
+ };
6388
+ SCAN_PATTERNS = {
6389
+ routes: {
6390
+ consumer: ["src/**/*Page.tsx", "src/pages/**/*Page.tsx"],
6391
+ exclude: [
6392
+ "**/node_modules/**",
6393
+ "**/dist/**",
6394
+ "**/build/**",
6395
+ "**/*.test.tsx",
6396
+ "**/*.stories.tsx"
6397
+ ],
6398
+ extensions: [".tsx"]
6399
+ },
6400
+ css: {
6401
+ consumer: ["src/**/*.css"],
6402
+ themes: ["src/**/*.css"],
6403
+ extensions: [".css", ".scss", ".sass"],
6404
+ framework: [
6405
+ "packages/ui/src/**/*.css",
6406
+ "packages/core/components/src/**/*.css",
6407
+ "packages/core/templates/src/**/*.css"
6408
+ ]
6409
+ },
6410
+ i18n: {
6411
+ eager: ["src/locales/*_*.json"],
6412
+ lazy: [
6413
+ "src/**/locales/*_*.json",
6414
+ "!src/locales/*_*.json",
6415
+ // Auto-detect shared entity translations in monorepos (if exists, use it; if not, no problem)
6416
+ "../../entities/locales/*_*.json"
6417
+ ],
6418
+ // Additional paths from workspace packages (e.g., shared entities)
6419
+ // Consumers can still configure via i18n.additionalPaths in dndev/vite config for custom paths
6420
+ // Example: ['../../packages/shared/locales/*_*.json']
6421
+ additional: [],
6422
+ framework: {
6423
+ eager: [`${I18N_PATHS.SOURCE_EAGER}/*_*.json`],
6424
+ lazy: [`${I18N_PATHS.SOURCE_LAZY}/*_*.json`]
6425
+ },
6426
+ extensions: [".json"]
6427
+ },
6428
+ assets: {
6429
+ consumer: ["public/**/*"],
6430
+ fallback: ["manifest.json"],
6431
+ modern: [
6432
+ "logo.svg",
6433
+ "favicon.svg",
6434
+ "apple-touch-icon.png",
6435
+ "android-chrome-192x192.png",
6436
+ "android-chrome-512x512.png"
6437
+ ],
6438
+ patterns: [
6439
+ "favicon.svg",
6440
+ "favicon.ico",
6441
+ "favicon-*.png",
6442
+ "logo.svg",
6443
+ "logo.png",
6444
+ "logo.webp",
6445
+ "logo.avif",
6446
+ "apple-touch-icon*.png",
6447
+ "android-chrome-*.png",
6448
+ "manifest.json"
6449
+ ],
6450
+ fonts: ["fonts/**/*.woff2", "fonts/**/*.woff", "fonts/**/*.ttf"],
6451
+ framework: ["packages/ui/assets/**/*"]
6452
+ },
6453
+ pwa: {
6454
+ consumer: [
6455
+ "public/manifest.json",
6456
+ "public/service-worker.js",
6457
+ "public/sw.js",
6458
+ "public/icon-192x192.png",
6459
+ "public/icon-512x512.png",
6460
+ "public/favicon.ico",
6461
+ "public/favicon.svg",
6462
+ "public/apple-touch-icon.png",
6463
+ "public/logo.svg"
6464
+ ],
6465
+ exclude: ["**/node_modules/**", "**/dist/**", "**/build/**"],
6466
+ extensions: [".json", ".js", ".png", ".svg", ".ico"],
6467
+ framework: ["packages/ui/assets/**/*"]
6468
+ },
6469
+ globalIgnore: [
6470
+ "**/node_modules/**",
6471
+ "**/dist/**",
6472
+ "**/build/**",
6473
+ "**/.git/**",
6474
+ "**/coverage/**",
6475
+ "**/test/**"
6476
+ ]
6477
+ };
6478
+ GLOB_OPTIONS = {
6479
+ base: {
6480
+ absolute: true,
6481
+ onlyFiles: true,
6482
+ ignore: SCAN_PATTERNS.globalIgnore
6483
+ },
6484
+ css: {
6485
+ absolute: true,
6486
+ onlyFiles: true,
6487
+ ignore: [...SCAN_PATTERNS.globalIgnore, "**/*.test.css"]
6488
+ },
6489
+ routes: {
6490
+ absolute: true,
6491
+ onlyFiles: true,
6492
+ ignore: [
6493
+ ...SCAN_PATTERNS.globalIgnore,
6494
+ "**/*.test.tsx",
6495
+ "**/*.stories.tsx"
6496
+ ]
6497
+ },
6498
+ i18n: {
6499
+ absolute: true,
6500
+ onlyFiles: true,
6501
+ ignore: SCAN_PATTERNS.globalIgnore
6502
+ },
6503
+ assets: {
6504
+ absolute: true,
6505
+ onlyFiles: true,
6506
+ ignore: SCAN_PATTERNS.globalIgnore
6507
+ }
6508
+ };
6509
+ }
6510
+ });
6511
+
6501
6512
  // packages/core/config/utils/PathResolver.ts
6513
+ import * as fs from "node:fs";
6514
+ import "node:fs";
6502
6515
  import { createRequire } from "node:module";
6503
6516
  import {
6504
6517
  resolve,
@@ -6510,7 +6523,6 @@ import {
6510
6523
  extname
6511
6524
  } from "node:path";
6512
6525
  import { fileURLToPath } from "node:url";
6513
- import * as fs from "node:fs";
6514
6526
  function safeExecuteAsync(fn, message) {
6515
6527
  return fn().catch((error2) => {
6516
6528
  throw new Error(
@@ -6523,8 +6535,8 @@ var init_PathResolver = __esm({
6523
6535
  "packages/core/config/utils/PathResolver.ts"() {
6524
6536
  "use strict";
6525
6537
  init_utils();
6526
- init_constants();
6527
6538
  import_fast_glob = __toESM(require_out4(), 1);
6539
+ init_constants();
6528
6540
  constants = {
6529
6541
  getGlobOptionsFor: getGlobOptionsFor || void 0,
6530
6542
  SCAN_PATTERNS: SCAN_PATTERNS || void 0,
@@ -7612,6 +7624,7 @@ var init_errors = __esm({
7612
7624
  });
7613
7625
 
7614
7626
  // packages/tooling/src/utils/pathResolver.ts
7627
+ import { createRequire as createRequire2 } from "node:module";
7615
7628
  import {
7616
7629
  join as join2,
7617
7630
  dirname as dirname2,
@@ -7621,6 +7634,7 @@ import {
7621
7634
  resolve as resolve2,
7622
7635
  isAbsolute as pathIsAbsolute
7623
7636
  } from "node:path";
7637
+ import { fileURLToPath as fileURLToPath2 } from "node:url";
7624
7638
  function readdirSync2(dirPath, options) {
7625
7639
  return pathResolverInstance.readdirSync(dirPath, options);
7626
7640
  }
@@ -7645,17 +7659,18 @@ var init_pathResolver = __esm({
7645
7659
  });
7646
7660
 
7647
7661
  // packages/tooling/src/bundler/utils.ts
7648
- import { createRequire as createRequire2 } from "node:module";
7649
- import { fileURLToPath as fileURLToPath2 } from "node:url";
7650
- import { dirname as dirname3, resolve as resolve3 } from "node:path";
7651
7662
  import { Buffer as Buffer2 } from "node:buffer";
7663
+ import { readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
7664
+ import { createRequire as createRequire3 } from "node:module";
7665
+ import { dirname as dirname3, resolve as resolve3 } from "node:path";
7652
7666
  import process from "node:process";
7667
+ import { fileURLToPath as fileURLToPath3 } from "node:url";
7653
7668
  var require2, __filename, __dirname;
7654
7669
  var init_utils = __esm({
7655
7670
  "packages/tooling/src/bundler/utils.ts"() {
7656
7671
  "use strict";
7657
- require2 = createRequire2(import.meta.url);
7658
- __filename = fileURLToPath2(import.meta.url);
7672
+ require2 = createRequire3(import.meta.url);
7673
+ __filename = fileURLToPath3(import.meta.url);
7659
7674
  __dirname = dirname3(__filename);
7660
7675
  if (typeof globalThis !== "undefined") {
7661
7676
  globalThis.require = require2;
@@ -7682,7 +7697,6 @@ init_utils();
7682
7697
  // packages/tooling/src/utils/app-selector.ts
7683
7698
  init_utils();
7684
7699
  init_dist2();
7685
- init_cli_output();
7686
7700
 
7687
7701
  // packages/tooling/src/utils/app-detection.ts
7688
7702
  init_utils();
@@ -7770,6 +7784,7 @@ function analyzeApp(appPath, appName) {
7770
7784
  }
7771
7785
 
7772
7786
  // packages/tooling/src/utils/app-selector.ts
7787
+ init_cli_output();
7773
7788
  async function selectApp(projectRoot, appName) {
7774
7789
  const apps = detectApps(projectRoot);
7775
7790
  if (apps.length === 0) {
@@ -7806,13 +7821,14 @@ async function selectApp(projectRoot, appName) {
7806
7821
 
7807
7822
  // packages/tooling/src/apps/dev.ts
7808
7823
  init_utils();
7809
- import { spawnSync } from "node:child_process";
7810
- init_errors();
7824
+ import { spawnSync as spawnSync2 } from "node:child_process";
7811
7825
  init_cli_output();
7826
+ init_errors();
7812
7827
  init_pathResolver();
7813
7828
 
7814
7829
  // packages/tooling/src/utils/spawn-utils.ts
7815
7830
  init_utils();
7831
+ import { spawnSync, execSync } from "node:child_process";
7816
7832
  function createAppEnv(appPath) {
7817
7833
  return {
7818
7834
  ...process.env,
@@ -7838,7 +7854,7 @@ async function main() {
7838
7854
  log.info(`Starting dev server for ${app.name}...
7839
7855
  `);
7840
7856
  const turboArgs = ["dev", "--filter", app.packageName];
7841
- const result = spawnSync("bunx", ["turbo", ...turboArgs], {
7857
+ const result = spawnSync2("bunx", ["turbo", ...turboArgs], {
7842
7858
  stdio: "inherit",
7843
7859
  env: createAppEnv(app.path),
7844
7860
  cwd: projectRoot