@quilted/create 0.2.43 → 0.2.45

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 (476) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/build/esm/_virtual/index.mjs +6 -2
  3. package/build/esm/_virtual/index10.mjs +3 -0
  4. package/build/esm/_virtual/index11.mjs +3 -0
  5. package/build/esm/_virtual/index12.mjs +3 -0
  6. package/build/esm/_virtual/index13.mjs +3 -0
  7. package/build/esm/_virtual/index2.mjs +2 -2
  8. package/build/esm/_virtual/index3.mjs +6 -2
  9. package/build/esm/_virtual/index4.mjs +6 -2
  10. package/build/esm/_virtual/index5.mjs +6 -2
  11. package/build/esm/_virtual/index6.mjs +6 -2
  12. package/build/esm/_virtual/index7.mjs +2 -2
  13. package/build/esm/_virtual/index8.mjs +3 -0
  14. package/build/esm/_virtual/index9.mjs +3 -0
  15. package/build/esm/_virtual/minimatch.mjs +12 -0
  16. package/build/esm/app.mjs +2 -2
  17. package/build/esm/cli.mjs +1 -1
  18. package/build/esm/module.mjs +2 -2
  19. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +29 -21
  20. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +24 -18
  21. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +35 -32
  22. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +103 -101
  23. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +19 -13
  24. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +63 -61
  25. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +33 -27
  26. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +25 -19
  27. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +15 -10
  28. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +27 -19
  29. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +35 -32
  30. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +40 -34
  31. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +27 -21
  32. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.mjs +24 -17
  33. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +44 -42
  34. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.mjs +37 -30
  35. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.mjs +41 -34
  36. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.mjs +22 -15
  37. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +104 -99
  38. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +35 -29
  39. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.mjs +19 -12
  40. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +65 -60
  41. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +34 -27
  42. package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +116 -112
  43. package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +54 -47
  44. package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +144 -137
  45. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.mjs +175 -0
  46. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.mjs +62 -0
  47. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.mjs +106 -0
  48. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.mjs +100 -0
  49. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.mjs +374 -0
  50. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.mjs +35 -0
  51. package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.mjs +128 -0
  52. package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +1 -3
  53. package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +63 -63
  54. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.mjs +115 -0
  55. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.mjs +120 -0
  56. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.mjs +36 -0
  57. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.mjs +75 -0
  58. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.mjs +101 -0
  59. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.mjs +27 -0
  60. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.mjs +57 -0
  61. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.mjs +50 -0
  62. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.mjs +64 -0
  63. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.mjs +44 -0
  64. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.mjs +36 -0
  65. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.mjs +40 -0
  66. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.mjs +48 -0
  67. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.mjs +47 -0
  68. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.mjs +68 -0
  69. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.mjs +56 -0
  70. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.mjs +75 -0
  71. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.mjs +32 -0
  72. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.mjs +18 -0
  73. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.mjs +30 -0
  74. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.mjs +35 -0
  75. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.mjs +79 -0
  76. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.mjs +229 -0
  77. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.mjs +29 -0
  78. package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.mjs +22 -0
  79. package/build/esm/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.mjs +227 -221
  80. package/build/esm/node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.mjs +223 -0
  81. package/build/esm/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.mjs +1 -6
  82. package/build/esm/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.mjs +53 -46
  83. package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/ignore.mjs +11 -5
  84. package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/index.mjs +6 -8
  85. package/build/esm/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.mjs +443 -439
  86. package/build/esm/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.mjs +18 -11
  87. package/build/esm/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.mjs +116 -109
  88. package/build/esm/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.mjs +17 -10
  89. package/build/esm/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.mjs +117 -110
  90. package/build/esm/node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.mjs +479 -0
  91. package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.mjs +14 -7
  92. package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.mjs +770 -770
  93. package/build/esm/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.mjs +40 -34
  94. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.mjs +10 -3
  95. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.mjs +227 -220
  96. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.mjs +941 -935
  97. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.mjs +331 -325
  98. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.mjs +303 -297
  99. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.mjs +65 -57
  100. package/build/esm/node_modules/.pnpm/{prettier@3.0.0 → prettier@3.5.1}/node_modules/prettier/plugins/babel.mjs +2810 -3362
  101. package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/estree.mjs +6611 -0
  102. package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.mjs +22 -0
  103. package/build/esm/node_modules/.pnpm/{prettier@3.0.0 → prettier@3.5.1}/node_modules/prettier/plugins/yaml.mjs +1259 -1271
  104. package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/standalone.mjs +3878 -0
  105. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.mjs +0 -1
  106. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.mjs +1 -1
  107. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.mjs +1 -1
  108. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.mjs +17 -12
  109. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.mjs +0 -1
  110. package/build/esm/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.mjs +14 -7
  111. package/build/esm/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.mjs +29 -22
  112. package/build/esm/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.mjs +49 -42
  113. package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs +231 -224
  114. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/compose/compose-collection.mjs +67 -0
  115. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-doc.mjs +3 -0
  116. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-node.mjs +13 -3
  117. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-scalar.mjs +8 -4
  118. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/composer.mjs +1 -1
  119. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-map.mjs +12 -5
  120. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-scalar.mjs +6 -2
  121. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-seq.mjs +10 -7
  122. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-collection.mjs +11 -3
  123. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.mjs +14 -1
  124. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-props.mjs +20 -7
  125. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-map-includes.mjs +2 -2
  126. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/Document.mjs +13 -10
  127. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/anchors.mjs +1 -1
  128. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/applyReviver.mjs +1 -0
  129. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/createNode.mjs +4 -4
  130. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/directives.mjs +10 -3
  131. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/errors.mjs +1 -1
  132. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/log.mjs +7 -0
  133. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Alias.mjs +9 -2
  134. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Collection.mjs +2 -2
  135. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/Node.mjs +44 -0
  136. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Pair.mjs +1 -1
  137. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Scalar.mjs +2 -1
  138. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +28 -4
  139. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLSeq.mjs +22 -4
  140. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +53 -0
  141. package/build/esm/node_modules/.pnpm/{yaml@2.1.1/node_modules/yaml/browser/dist/nodes/Node.mjs → yaml@2.7.0/node_modules/yaml/browser/dist/nodes/identity.mjs} +1 -14
  142. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/toJS.mjs +1 -1
  143. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/cst.mjs +1 -0
  144. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/lexer.mjs +34 -21
  145. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/parser.mjs +16 -9
  146. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/public-api.mjs +2 -0
  147. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/Schema.mjs +2 -3
  148. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/map.mjs +16 -0
  149. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/seq.mjs +16 -0
  150. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/float.mjs +1 -1
  151. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/json/schema.mjs +1 -1
  152. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/tags.mjs +23 -12
  153. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.mjs +3 -6
  154. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.mjs +1 -1
  155. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/float.mjs +1 -1
  156. package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.mjs +48 -0
  157. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +9 -8
  158. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +5 -3
  159. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.mjs +2 -1
  160. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +14 -13
  161. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.mjs +2 -4
  162. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/foldFlowLines.mjs +19 -10
  163. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringify.mjs +8 -2
  164. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyCollection.mjs +9 -17
  165. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyDocument.mjs +1 -1
  166. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyPair.mjs +40 -17
  167. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +41 -21
  168. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/visit.mjs +1 -1
  169. package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/index.mjs +2 -1
  170. package/build/esm/package.mjs +3 -3
  171. package/build/esm/packages/cli-kit/build/esnext/prompt.esnext.mjs +1 -1
  172. package/build/esm/server.mjs +5 -9
  173. package/build/esm/shared/package-manager.mjs +2 -3
  174. package/build/esm/shared/prompts.mjs +1 -1
  175. package/build/esm/shared.mjs +1 -3
  176. package/build/esnext/_virtual/index.esnext +6 -2
  177. package/build/esnext/_virtual/index10.esnext +3 -0
  178. package/build/esnext/_virtual/index11.esnext +3 -0
  179. package/build/esnext/_virtual/index12.esnext +3 -0
  180. package/build/esnext/_virtual/index13.esnext +3 -0
  181. package/build/esnext/_virtual/index2.esnext +2 -2
  182. package/build/esnext/_virtual/index3.esnext +6 -2
  183. package/build/esnext/_virtual/index4.esnext +6 -2
  184. package/build/esnext/_virtual/index5.esnext +6 -2
  185. package/build/esnext/_virtual/index6.esnext +6 -2
  186. package/build/esnext/_virtual/index8.esnext +3 -0
  187. package/build/esnext/_virtual/index9.esnext +3 -0
  188. package/build/esnext/_virtual/minimatch.esnext +12 -0
  189. package/build/esnext/app.esnext +2 -2
  190. package/build/esnext/module.esnext +2 -2
  191. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +27 -19
  192. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +19 -13
  193. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +33 -30
  194. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +99 -97
  195. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +14 -8
  196. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +59 -57
  197. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +31 -25
  198. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +23 -17
  199. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +13 -8
  200. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +25 -17
  201. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +33 -30
  202. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +37 -31
  203. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +24 -18
  204. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +22 -15
  205. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +42 -40
  206. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.esnext +35 -28
  207. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.esnext +40 -33
  208. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.esnext +20 -13
  209. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +98 -93
  210. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +30 -24
  211. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.esnext +17 -10
  212. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +59 -54
  213. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +32 -25
  214. package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +132 -128
  215. package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +54 -47
  216. package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +137 -130
  217. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.esnext +70 -0
  218. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.esnext +57 -0
  219. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.esnext +103 -0
  220. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.esnext +100 -0
  221. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.esnext +243 -0
  222. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.esnext +35 -0
  223. package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.esnext +87 -0
  224. package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +1 -3
  225. package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +63 -61
  226. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.esnext +108 -0
  227. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.esnext +100 -0
  228. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.esnext +34 -0
  229. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.esnext +70 -0
  230. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.esnext +92 -0
  231. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.esnext +25 -0
  232. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.esnext +55 -0
  233. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.esnext +41 -0
  234. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.esnext +62 -0
  235. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.esnext +40 -0
  236. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.esnext +34 -0
  237. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.esnext +36 -0
  238. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.esnext +45 -0
  239. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.esnext +45 -0
  240. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.esnext +64 -0
  241. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.esnext +54 -0
  242. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.esnext +67 -0
  243. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.esnext +30 -0
  244. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.esnext +16 -0
  245. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.esnext +28 -0
  246. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.esnext +33 -0
  247. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.esnext +58 -0
  248. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.esnext +171 -0
  249. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.esnext +27 -0
  250. package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.esnext +20 -0
  251. package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +220 -215
  252. package/build/esnext/node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.esnext +199 -0
  253. package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +1 -6
  254. package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +32 -25
  255. package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/ignore.esnext +8 -6
  256. package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/index.esnext +6 -6
  257. package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +357 -353
  258. package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +18 -11
  259. package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +111 -104
  260. package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +17 -10
  261. package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +103 -96
  262. package/build/esnext/node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.esnext +168 -0
  263. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +10 -3
  264. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +495 -491
  265. package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +38 -32
  266. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +10 -3
  267. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +198 -191
  268. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +683 -677
  269. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +137 -131
  270. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +279 -273
  271. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +65 -57
  272. package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/babel.esnext +6956 -0
  273. package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/estree.esnext +4320 -0
  274. package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.esnext +12888 -0
  275. package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/yaml.esnext +4156 -0
  276. package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/standalone.esnext +2369 -0
  277. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.esnext +1 -1
  278. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.esnext +1 -1
  279. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +16 -11
  280. package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +12 -5
  281. package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +29 -22
  282. package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +47 -40
  283. package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +196 -189
  284. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/compose/compose-collection.esnext +60 -0
  285. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-doc.esnext +2 -0
  286. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-node.esnext +11 -3
  287. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-scalar.esnext +13 -5
  288. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/composer.esnext +1 -1
  289. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-map.esnext +13 -4
  290. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +8 -2
  291. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-seq.esnext +11 -6
  292. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-collection.esnext +12 -3
  293. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +16 -1
  294. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-props.esnext +21 -9
  295. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-map-includes.esnext +2 -2
  296. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/Document.esnext +8 -13
  297. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/anchors.esnext +1 -1
  298. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/createNode.esnext +5 -3
  299. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/directives.esnext +10 -4
  300. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/errors.esnext +1 -1
  301. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/log.esnext +7 -0
  302. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Alias.esnext +8 -2
  303. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Collection.esnext +2 -2
  304. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/Node.esnext +36 -0
  305. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Pair.esnext +1 -1
  306. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Scalar.esnext +2 -1
  307. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +31 -4
  308. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLSeq.esnext +20 -4
  309. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +8 -38
  310. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1/node_modules/yaml/browser/dist/nodes/Node.esnext → yaml@2.7.0/node_modules/yaml/browser/dist/nodes/identity.esnext} +1 -13
  311. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/toJS.esnext +1 -1
  312. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/cst.esnext +1 -0
  313. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/lexer.esnext +50 -33
  314. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/parser.esnext +16 -9
  315. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/public-api.esnext +3 -0
  316. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/Schema.esnext +2 -3
  317. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/map.esnext +17 -0
  318. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/seq.esnext +17 -0
  319. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/float.esnext +1 -1
  320. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/json/schema.esnext +1 -1
  321. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/tags.esnext +25 -14
  322. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.esnext +3 -6
  323. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.esnext +1 -1
  324. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/float.esnext +1 -1
  325. package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.esnext +50 -0
  326. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +9 -8
  327. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +5 -4
  328. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.esnext +2 -0
  329. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +14 -13
  330. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.esnext +2 -2
  331. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/foldFlowLines.esnext +20 -10
  332. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringify.esnext +9 -2
  333. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyCollection.esnext +20 -28
  334. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyDocument.esnext +1 -1
  335. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyPair.esnext +44 -23
  336. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +39 -21
  337. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/visit.esnext +1 -1
  338. package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/index.esnext +2 -1
  339. package/build/esnext/package.esnext +3 -3
  340. package/build/esnext/packages/cli-kit/build/esnext/prompt.esnext.esnext +1 -1
  341. package/build/esnext/server.esnext +5 -9
  342. package/build/esnext/shared/package-manager.esnext +2 -2
  343. package/build/esnext/shared/prompts.esnext +1 -1
  344. package/build/esnext/shared.esnext +5 -6
  345. package/build/tsconfig.tsbuildinfo +1 -1
  346. package/build/typescript/shared/package-manager.d.ts.map +1 -1
  347. package/build/typescript/shared.d.ts.map +1 -1
  348. package/package.json +8 -8
  349. package/source/shared/package-manager.ts +0 -1
  350. package/source/shared/prompts.ts +1 -1
  351. package/source/shared.ts +1 -2
  352. package/templates/app-basic/package.json +4 -4
  353. package/templates/app-empty/package.json +3 -3
  354. package/templates/app-graphql/package.json +4 -4
  355. package/templates/app-trpc/package.json +4 -4
  356. package/templates/package/package.json +3 -3
  357. package/templates/workspace/_nvmrc +1 -1
  358. package/templates/workspace/package.json +4 -4
  359. package/build/esm/_virtual/patterns.mjs +0 -3
  360. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +0 -168
  361. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +0 -54
  362. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +0 -99
  363. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +0 -94
  364. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +0 -367
  365. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +0 -29
  366. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +0 -114
  367. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +0 -86
  368. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +0 -26
  369. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +0 -85
  370. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +0 -30
  371. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +0 -69
  372. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +0 -69
  373. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +0 -20
  374. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +0 -55
  375. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +0 -43
  376. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +0 -60
  377. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +0 -38
  378. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +0 -30
  379. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +0 -33
  380. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +0 -43
  381. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +0 -41
  382. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +0 -63
  383. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +0 -51
  384. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +0 -65
  385. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +0 -26
  386. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +0 -12
  387. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +0 -24
  388. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +0 -36
  389. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +0 -39
  390. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +0 -183
  391. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +0 -23
  392. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +0 -16
  393. package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +0 -216
  394. package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +0 -467
  395. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +0 -6188
  396. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +0 -29
  397. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +0 -4076
  398. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/compose-collection.mjs +0 -58
  399. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/log.mjs +0 -7
  400. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +0 -83
  401. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/map.mjs +0 -37
  402. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/seq.mjs +0 -34
  403. package/build/esnext/_virtual/patterns.esnext +0 -3
  404. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +0 -63
  405. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +0 -50
  406. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +0 -96
  407. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +0 -94
  408. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +0 -236
  409. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +0 -29
  410. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +0 -73
  411. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +0 -79
  412. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +0 -15
  413. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +0 -83
  414. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +0 -28
  415. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +0 -64
  416. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +0 -64
  417. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +0 -18
  418. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +0 -49
  419. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +0 -34
  420. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +0 -58
  421. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +0 -34
  422. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +0 -28
  423. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +0 -29
  424. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +0 -40
  425. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +0 -39
  426. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +0 -59
  427. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +0 -49
  428. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +0 -58
  429. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +0 -24
  430. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +0 -10
  431. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +0 -22
  432. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +0 -34
  433. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +0 -32
  434. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +0 -144
  435. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +0 -21
  436. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +0 -14
  437. package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +0 -192
  438. package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +0 -157
  439. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +0 -18
  440. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +0 -37
  441. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +0 -29
  442. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +0 -163
  443. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +0 -36
  444. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/compose-collection.esnext +0 -55
  445. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/log.esnext +0 -10
  446. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/map.esnext +0 -41
  447. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/seq.esnext +0 -33
  448. /package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/utilities.mjs +0 -0
  449. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-end.mjs +0 -0
  450. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-contains-newline.mjs +0 -0
  451. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.mjs +0 -0
  452. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-flow-indent-check.mjs +0 -0
  453. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/line-counter.mjs +0 -0
  454. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/null.mjs +0 -0
  455. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/string.mjs +0 -0
  456. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/bool.mjs +0 -0
  457. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/int.mjs +0 -0
  458. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/schema.mjs +0 -0
  459. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/int.mjs +0 -0
  460. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyComment.mjs +0 -0
  461. /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyNumber.mjs +0 -0
  462. /package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/utilities.esnext +0 -0
  463. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-end.esnext +0 -0
  464. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-contains-newline.esnext +0 -0
  465. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.esnext +0 -0
  466. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-flow-indent-check.esnext +0 -0
  467. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/applyReviver.esnext +0 -0
  468. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/line-counter.esnext +0 -0
  469. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/null.esnext +0 -0
  470. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/string.esnext +0 -0
  471. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/bool.esnext +0 -0
  472. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/int.esnext +0 -0
  473. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/schema.esnext +0 -0
  474. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/int.esnext +0 -0
  475. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyComment.esnext +0 -0
  476. /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyNumber.esnext +0 -0
@@ -1,68 +1,68 @@
1
- import { getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as dirGlob$1 } from '../../../../../_virtual/index2.mjs';
1
+ import { __module as dirGlob } from '../../../../../_virtual/index7.mjs';
3
2
  import path__default from 'node:path';
4
- import '../../../path-type@4.0.0/node_modules/path-type/index.mjs';
5
- import { __exports as pathType$1 } from '../../../../../_virtual/index3.mjs';
3
+ import { __require as requirePathType } from '../../../path-type@4.0.0/node_modules/path-type/index.mjs';
6
4
 
7
- const path = path__default;
8
- const pathType = pathType$1;
9
- const getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];
10
- const getPath = (filepath, cwd) => {
11
- const pth = filepath[0] === '!' ? filepath.slice(1) : filepath;
12
- return path.isAbsolute(pth) ? pth : path.join(cwd, pth);
13
- };
14
- const addExtensions = (file, extensions) => {
15
- if (path.extname(file)) {
16
- return `**/${file}`;
17
- }
18
- return `**/${file}.${getExtensions(extensions)}`;
19
- };
20
- const getGlob = (directory, options) => {
21
- if (options.files && !Array.isArray(options.files)) {
22
- throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``);
23
- }
24
- if (options.extensions && !Array.isArray(options.extensions)) {
25
- throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);
26
- }
27
- if (options.files && options.extensions) {
28
- return options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));
29
- }
30
- if (options.files) {
31
- return options.files.map(x => path.posix.join(directory, `**/${x}`));
32
- }
33
- if (options.extensions) {
34
- return [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
35
- }
36
- return [path.posix.join(directory, '**')];
37
- };
38
- dirGlob$1.exports = async (input, options) => {
39
- options = {
40
- cwd: process.cwd(),
41
- ...options
5
+ var hasRequiredDirGlob;
6
+ function requireDirGlob() {
7
+ if (hasRequiredDirGlob) return dirGlob.exports;
8
+ hasRequiredDirGlob = 1;
9
+ const path = path__default;
10
+ const pathType = requirePathType();
11
+ const getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];
12
+ const getPath = (filepath, cwd) => {
13
+ const pth = filepath[0] === '!' ? filepath.slice(1) : filepath;
14
+ return path.isAbsolute(pth) ? pth : path.join(cwd, pth);
42
15
  };
43
- if (typeof options.cwd !== 'string') {
44
- throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
45
- }
46
- const globs = await Promise.all([].concat(input).map(async x => {
47
- const isDirectory = await pathType.isDirectory(getPath(x, options.cwd));
48
- return isDirectory ? getGlob(x, options) : x;
49
- }));
50
- return [].concat.apply([], globs); // eslint-disable-line prefer-spread
51
- };
52
-
53
- dirGlob$1.exports.sync = (input, options) => {
54
- options = {
55
- cwd: process.cwd(),
56
- ...options
16
+ const addExtensions = (file, extensions) => {
17
+ if (path.extname(file)) {
18
+ return `**/${file}`;
19
+ }
20
+ return `**/${file}.${getExtensions(extensions)}`;
57
21
  };
58
- if (typeof options.cwd !== 'string') {
59
- throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
60
- }
61
- const globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);
62
- return [].concat.apply([], globs); // eslint-disable-line prefer-spread
63
- };
64
-
65
- var dirGlobExports = dirGlob$1.exports;
66
- const dirGlob = /*@__PURE__*/getDefaultExportFromCjs(dirGlobExports);
22
+ const getGlob = (directory, options) => {
23
+ if (options.files && !Array.isArray(options.files)) {
24
+ throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``);
25
+ }
26
+ if (options.extensions && !Array.isArray(options.extensions)) {
27
+ throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);
28
+ }
29
+ if (options.files && options.extensions) {
30
+ return options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));
31
+ }
32
+ if (options.files) {
33
+ return options.files.map(x => path.posix.join(directory, `**/${x}`));
34
+ }
35
+ if (options.extensions) {
36
+ return [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
37
+ }
38
+ return [path.posix.join(directory, '**')];
39
+ };
40
+ dirGlob.exports = async (input, options) => {
41
+ options = {
42
+ cwd: process.cwd(),
43
+ ...options
44
+ };
45
+ if (typeof options.cwd !== 'string') {
46
+ throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
47
+ }
48
+ const globs = await Promise.all([].concat(input).map(async x => {
49
+ const isDirectory = await pathType.isDirectory(getPath(x, options.cwd));
50
+ return isDirectory ? getGlob(x, options) : x;
51
+ }));
52
+ return [].concat.apply([], globs); // eslint-disable-line prefer-spread
53
+ };
54
+ dirGlob.exports.sync = (input, options) => {
55
+ options = {
56
+ cwd: process.cwd(),
57
+ ...options
58
+ };
59
+ if (typeof options.cwd !== 'string') {
60
+ throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
61
+ }
62
+ const globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);
63
+ return [].concat.apply([], globs); // eslint-disable-line prefer-spread
64
+ };
65
+ return dirGlob.exports;
66
+ }
67
67
 
68
- export { dirGlob as default };
68
+ export { requireDirGlob as __require };
@@ -0,0 +1,115 @@
1
+ import { __require as requireTasks } from './managers/tasks.mjs';
2
+ import { __require as requireAsync } from './providers/async.mjs';
3
+ import { __require as requireStream } from './providers/stream.mjs';
4
+ import { __require as requireSync } from './providers/sync.mjs';
5
+ import { __require as requireSettings } from './settings.mjs';
6
+ import { __require as requireUtils } from './utils/index.mjs';
7
+
8
+ var out;
9
+ var hasRequiredOut;
10
+ function requireOut() {
11
+ if (hasRequiredOut) return out;
12
+ hasRequiredOut = 1;
13
+ const taskManager = requireTasks();
14
+ const async_1 = requireAsync();
15
+ const stream_1 = requireStream();
16
+ const sync_1 = requireSync();
17
+ const settings_1 = requireSettings();
18
+ const utils = requireUtils();
19
+ async function FastGlob(source, options) {
20
+ assertPatternsInput(source);
21
+ const works = getWorks(source, async_1.default, options);
22
+ const result = await Promise.all(works);
23
+ return utils.array.flatten(result);
24
+ }
25
+ // https://github.com/typescript-eslint/typescript-eslint/issues/60
26
+ // eslint-disable-next-line no-redeclare
27
+ (function (FastGlob) {
28
+ FastGlob.glob = FastGlob;
29
+ FastGlob.globSync = sync;
30
+ FastGlob.globStream = stream;
31
+ FastGlob.async = FastGlob;
32
+ function sync(source, options) {
33
+ assertPatternsInput(source);
34
+ const works = getWorks(source, sync_1.default, options);
35
+ return utils.array.flatten(works);
36
+ }
37
+ FastGlob.sync = sync;
38
+ function stream(source, options) {
39
+ assertPatternsInput(source);
40
+ const works = getWorks(source, stream_1.default, options);
41
+ /**
42
+ * The stream returned by the provider cannot work with an asynchronous iterator.
43
+ * To support asynchronous iterators, regardless of the number of tasks, we always multiplex streams.
44
+ * This affects performance (+25%). I don't see best solution right now.
45
+ */
46
+ return utils.stream.merge(works);
47
+ }
48
+ FastGlob.stream = stream;
49
+ function generateTasks(source, options) {
50
+ assertPatternsInput(source);
51
+ const patterns = [].concat(source);
52
+ const settings = new settings_1.default(options);
53
+ return taskManager.generate(patterns, settings);
54
+ }
55
+ FastGlob.generateTasks = generateTasks;
56
+ function isDynamicPattern(source, options) {
57
+ assertPatternsInput(source);
58
+ const settings = new settings_1.default(options);
59
+ return utils.pattern.isDynamicPattern(source, settings);
60
+ }
61
+ FastGlob.isDynamicPattern = isDynamicPattern;
62
+ function escapePath(source) {
63
+ assertPatternsInput(source);
64
+ return utils.path.escape(source);
65
+ }
66
+ FastGlob.escapePath = escapePath;
67
+ function convertPathToPattern(source) {
68
+ assertPatternsInput(source);
69
+ return utils.path.convertPathToPattern(source);
70
+ }
71
+ FastGlob.convertPathToPattern = convertPathToPattern;
72
+ (function (posix) {
73
+ function escapePath(source) {
74
+ assertPatternsInput(source);
75
+ return utils.path.escapePosixPath(source);
76
+ }
77
+ posix.escapePath = escapePath;
78
+ function convertPathToPattern(source) {
79
+ assertPatternsInput(source);
80
+ return utils.path.convertPosixPathToPattern(source);
81
+ }
82
+ posix.convertPathToPattern = convertPathToPattern;
83
+ })(FastGlob.posix || (FastGlob.posix = {}));
84
+ (function (win32) {
85
+ function escapePath(source) {
86
+ assertPatternsInput(source);
87
+ return utils.path.escapeWindowsPath(source);
88
+ }
89
+ win32.escapePath = escapePath;
90
+ function convertPathToPattern(source) {
91
+ assertPatternsInput(source);
92
+ return utils.path.convertWindowsPathToPattern(source);
93
+ }
94
+ win32.convertPathToPattern = convertPathToPattern;
95
+ })(FastGlob.win32 || (FastGlob.win32 = {}));
96
+ })(FastGlob || (FastGlob = {}));
97
+ function getWorks(source, _Provider, options) {
98
+ const patterns = [].concat(source);
99
+ const settings = new settings_1.default(options);
100
+ const tasks = taskManager.generate(patterns, settings);
101
+ const provider = new _Provider(settings);
102
+ return tasks.map(provider.read, provider);
103
+ }
104
+ function assertPatternsInput(input) {
105
+ const source = [].concat(input);
106
+ const isValidSource = source.every(item => utils.string.isString(item) && !utils.string.isEmpty(item));
107
+ if (!isValidSource) {
108
+ throw new TypeError('Patterns must be a string (non empty) or an array of strings');
109
+ }
110
+ }
111
+ out = FastGlob;
112
+ return out;
113
+ }
114
+
115
+ export { requireOut as __require };
@@ -0,0 +1,120 @@
1
+ import { __exports as tasks } from '../../../../../../../_virtual/tasks.mjs';
2
+ import { __require as requireUtils } from '../utils/index.mjs';
3
+
4
+ var hasRequiredTasks;
5
+ function requireTasks() {
6
+ if (hasRequiredTasks) return tasks;
7
+ hasRequiredTasks = 1;
8
+ Object.defineProperty(tasks, "__esModule", {
9
+ value: true
10
+ });
11
+ tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
12
+ const utils = requireUtils();
13
+ function generate(input, settings) {
14
+ const patterns = processPatterns(input, settings);
15
+ const ignore = processPatterns(settings.ignore, settings);
16
+ const positivePatterns = getPositivePatterns(patterns);
17
+ const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);
18
+ const staticPatterns = positivePatterns.filter(pattern => utils.pattern.isStaticPattern(pattern, settings));
19
+ const dynamicPatterns = positivePatterns.filter(pattern => utils.pattern.isDynamicPattern(pattern, settings));
20
+ const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */false);
21
+ const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */true);
22
+ return staticTasks.concat(dynamicTasks);
23
+ }
24
+ tasks.generate = generate;
25
+ function processPatterns(input, settings) {
26
+ let patterns = input;
27
+ /**
28
+ * The original pattern like `{,*,**,a/*}` can lead to problems checking the depth when matching entry
29
+ * and some problems with the micromatch package (see fast-glob issues: #365, #394).
30
+ *
31
+ * To solve this problem, we expand all patterns containing brace expansion. This can lead to a slight slowdown
32
+ * in matching in the case of a large set of patterns after expansion.
33
+ */
34
+ if (settings.braceExpansion) {
35
+ patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns);
36
+ }
37
+ /**
38
+ * If the `baseNameMatch` option is enabled, we must add globstar to patterns, so that they can be used
39
+ * at any nesting level.
40
+ *
41
+ * We do this here, because otherwise we have to complicate the filtering logic. For example, we need to change
42
+ * the pattern in the filter before creating a regular expression. There is no need to change the patterns
43
+ * in the application. Only on the input.
44
+ */
45
+ if (settings.baseNameMatch) {
46
+ patterns = patterns.map(pattern => pattern.includes('/') ? pattern : `**/${pattern}`);
47
+ }
48
+ /**
49
+ * This method also removes duplicate slashes that may have been in the pattern or formed as a result of expansion.
50
+ */
51
+ return patterns.map(pattern => utils.pattern.removeDuplicateSlashes(pattern));
52
+ }
53
+ /**
54
+ * Returns tasks grouped by basic pattern directories.
55
+ *
56
+ * Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
57
+ * This is necessary because directory traversal starts at the base directory and goes deeper.
58
+ */
59
+ function convertPatternsToTasks(positive, negative, dynamic) {
60
+ const tasks = [];
61
+ const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
62
+ const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
63
+ const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
64
+ const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
65
+ tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
66
+ /*
67
+ * For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
68
+ * into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
69
+ */
70
+ if ('.' in insideCurrentDirectoryGroup) {
71
+ tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
72
+ } else {
73
+ tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
74
+ }
75
+ return tasks;
76
+ }
77
+ tasks.convertPatternsToTasks = convertPatternsToTasks;
78
+ function getPositivePatterns(patterns) {
79
+ return utils.pattern.getPositivePatterns(patterns);
80
+ }
81
+ tasks.getPositivePatterns = getPositivePatterns;
82
+ function getNegativePatternsAsPositive(patterns, ignore) {
83
+ const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
84
+ const positive = negative.map(utils.pattern.convertToPositivePattern);
85
+ return positive;
86
+ }
87
+ tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
88
+ function groupPatternsByBaseDirectory(patterns) {
89
+ const group = {};
90
+ return patterns.reduce((collection, pattern) => {
91
+ const base = utils.pattern.getBaseDirectory(pattern);
92
+ if (base in collection) {
93
+ collection[base].push(pattern);
94
+ } else {
95
+ collection[base] = [pattern];
96
+ }
97
+ return collection;
98
+ }, group);
99
+ }
100
+ tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
101
+ function convertPatternGroupsToTasks(positive, negative, dynamic) {
102
+ return Object.keys(positive).map(base => {
103
+ return convertPatternGroupToTask(base, positive[base], negative, dynamic);
104
+ });
105
+ }
106
+ tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
107
+ function convertPatternGroupToTask(base, positive, negative, dynamic) {
108
+ return {
109
+ dynamic,
110
+ positive,
111
+ negative,
112
+ base,
113
+ patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
114
+ };
115
+ }
116
+ tasks.convertPatternGroupToTask = convertPatternGroupToTask;
117
+ return tasks;
118
+ }
119
+
120
+ export { requireTasks as __require };
@@ -0,0 +1,36 @@
1
+ import { __exports as async } from '../../../../../../../_virtual/async.mjs';
2
+ import { __require as requireAsync$1 } from '../readers/async.mjs';
3
+ import { __require as requireProvider } from './provider.mjs';
4
+
5
+ var hasRequiredAsync;
6
+ function requireAsync() {
7
+ if (hasRequiredAsync) return async;
8
+ hasRequiredAsync = 1;
9
+ Object.defineProperty(async, "__esModule", {
10
+ value: true
11
+ });
12
+ const async_1 = requireAsync$1();
13
+ const provider_1 = requireProvider();
14
+ class ProviderAsync extends provider_1.default {
15
+ constructor() {
16
+ super(...arguments);
17
+ this._reader = new async_1.default(this._settings);
18
+ }
19
+ async read(task) {
20
+ const root = this._getRootDirectory(task);
21
+ const options = this._getReaderOptions(task);
22
+ const entries = await this.api(root, task, options);
23
+ return entries.map(entry => options.transform(entry));
24
+ }
25
+ api(root, task, options) {
26
+ if (task.dynamic) {
27
+ return this._reader.dynamic(root, options);
28
+ }
29
+ return this._reader.static(task.patterns, options);
30
+ }
31
+ }
32
+ async.default = ProviderAsync;
33
+ return async;
34
+ }
35
+
36
+ export { requireAsync as __require };
@@ -0,0 +1,75 @@
1
+ import { __exports as deep } from '../../../../../../../../_virtual/deep.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
3
+ import { __require as requirePartial } from '../matchers/partial.mjs';
4
+
5
+ var hasRequiredDeep;
6
+ function requireDeep() {
7
+ if (hasRequiredDeep) return deep;
8
+ hasRequiredDeep = 1;
9
+ Object.defineProperty(deep, "__esModule", {
10
+ value: true
11
+ });
12
+ const utils = requireUtils();
13
+ const partial_1 = requirePartial();
14
+ class DeepFilter {
15
+ constructor(_settings, _micromatchOptions) {
16
+ this._settings = _settings;
17
+ this._micromatchOptions = _micromatchOptions;
18
+ }
19
+ getFilter(basePath, positive, negative) {
20
+ const matcher = this._getMatcher(positive);
21
+ const negativeRe = this._getNegativePatternsRe(negative);
22
+ return entry => this._filter(basePath, entry, matcher, negativeRe);
23
+ }
24
+ _getMatcher(patterns) {
25
+ return new partial_1.default(patterns, this._settings, this._micromatchOptions);
26
+ }
27
+ _getNegativePatternsRe(patterns) {
28
+ const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
29
+ return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
30
+ }
31
+ _filter(basePath, entry, matcher, negativeRe) {
32
+ if (this._isSkippedByDeep(basePath, entry.path)) {
33
+ return false;
34
+ }
35
+ if (this._isSkippedSymbolicLink(entry)) {
36
+ return false;
37
+ }
38
+ const filepath = utils.path.removeLeadingDotSegment(entry.path);
39
+ if (this._isSkippedByPositivePatterns(filepath, matcher)) {
40
+ return false;
41
+ }
42
+ return this._isSkippedByNegativePatterns(filepath, negativeRe);
43
+ }
44
+ _isSkippedByDeep(basePath, entryPath) {
45
+ /**
46
+ * Avoid unnecessary depth calculations when it doesn't matter.
47
+ */
48
+ if (this._settings.deep === Infinity) {
49
+ return false;
50
+ }
51
+ return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;
52
+ }
53
+ _getEntryLevel(basePath, entryPath) {
54
+ const entryPathDepth = entryPath.split('/').length;
55
+ if (basePath === '') {
56
+ return entryPathDepth;
57
+ }
58
+ const basePathDepth = basePath.split('/').length;
59
+ return entryPathDepth - basePathDepth;
60
+ }
61
+ _isSkippedSymbolicLink(entry) {
62
+ return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
63
+ }
64
+ _isSkippedByPositivePatterns(entryPath, matcher) {
65
+ return !this._settings.baseNameMatch && !matcher.match(entryPath);
66
+ }
67
+ _isSkippedByNegativePatterns(entryPath, patternsRe) {
68
+ return !utils.pattern.matchAny(entryPath, patternsRe);
69
+ }
70
+ }
71
+ deep.default = DeepFilter;
72
+ return deep;
73
+ }
74
+
75
+ export { requireDeep as __require };
@@ -0,0 +1,101 @@
1
+ import { __exports as entry } from '../../../../../../../../_virtual/entry.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
3
+
4
+ var hasRequiredEntry;
5
+ function requireEntry() {
6
+ if (hasRequiredEntry) return entry;
7
+ hasRequiredEntry = 1;
8
+ Object.defineProperty(entry, "__esModule", {
9
+ value: true
10
+ });
11
+ const utils = requireUtils();
12
+ class EntryFilter {
13
+ constructor(_settings, _micromatchOptions) {
14
+ this._settings = _settings;
15
+ this._micromatchOptions = _micromatchOptions;
16
+ this.index = new Map();
17
+ }
18
+ getFilter(positive, negative) {
19
+ const [absoluteNegative, relativeNegative] = utils.pattern.partitionAbsoluteAndRelative(negative);
20
+ const patterns = {
21
+ positive: {
22
+ all: utils.pattern.convertPatternsToRe(positive, this._micromatchOptions)
23
+ },
24
+ negative: {
25
+ absolute: utils.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), {
26
+ dot: true
27
+ })),
28
+ relative: utils.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), {
29
+ dot: true
30
+ }))
31
+ }
32
+ };
33
+ return entry => this._filter(entry, patterns);
34
+ }
35
+ _filter(entry, patterns) {
36
+ const filepath = utils.path.removeLeadingDotSegment(entry.path);
37
+ if (this._settings.unique && this._isDuplicateEntry(filepath)) {
38
+ return false;
39
+ }
40
+ if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
41
+ return false;
42
+ }
43
+ const isMatched = this._isMatchToPatternsSet(filepath, patterns, entry.dirent.isDirectory());
44
+ if (this._settings.unique && isMatched) {
45
+ this._createIndexRecord(filepath);
46
+ }
47
+ return isMatched;
48
+ }
49
+ _isDuplicateEntry(filepath) {
50
+ return this.index.has(filepath);
51
+ }
52
+ _createIndexRecord(filepath) {
53
+ this.index.set(filepath, undefined);
54
+ }
55
+ _onlyFileFilter(entry) {
56
+ return this._settings.onlyFiles && !entry.dirent.isFile();
57
+ }
58
+ _onlyDirectoryFilter(entry) {
59
+ return this._settings.onlyDirectories && !entry.dirent.isDirectory();
60
+ }
61
+ _isMatchToPatternsSet(filepath, patterns, isDirectory) {
62
+ const isMatched = this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory);
63
+ if (!isMatched) {
64
+ return false;
65
+ }
66
+ const isMatchedByRelativeNegative = this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory);
67
+ if (isMatchedByRelativeNegative) {
68
+ return false;
69
+ }
70
+ const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory);
71
+ if (isMatchedByAbsoluteNegative) {
72
+ return false;
73
+ }
74
+ return true;
75
+ }
76
+ _isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory) {
77
+ if (patternsRe.length === 0) {
78
+ return false;
79
+ }
80
+ const fullpath = utils.path.makeAbsolute(this._settings.cwd, filepath);
81
+ return this._isMatchToPatterns(fullpath, patternsRe, isDirectory);
82
+ }
83
+ _isMatchToPatterns(filepath, patternsRe, isDirectory) {
84
+ if (patternsRe.length === 0) {
85
+ return false;
86
+ }
87
+ // Trying to match files and directories by patterns.
88
+ const isMatched = utils.pattern.matchAny(filepath, patternsRe);
89
+ // A pattern with a trailling slash can be used for directory matching.
90
+ // To apply such pattern, we need to add a tralling slash to the path.
91
+ if (!isMatched && isDirectory) {
92
+ return utils.pattern.matchAny(filepath + '/', patternsRe);
93
+ }
94
+ return isMatched;
95
+ }
96
+ }
97
+ entry.default = EntryFilter;
98
+ return entry;
99
+ }
100
+
101
+ export { requireEntry as __require };
@@ -0,0 +1,27 @@
1
+ import { __exports as error } from '../../../../../../../../_virtual/error.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
3
+
4
+ var hasRequiredError;
5
+ function requireError() {
6
+ if (hasRequiredError) return error;
7
+ hasRequiredError = 1;
8
+ Object.defineProperty(error, "__esModule", {
9
+ value: true
10
+ });
11
+ const utils = requireUtils();
12
+ class ErrorFilter {
13
+ constructor(_settings) {
14
+ this._settings = _settings;
15
+ }
16
+ getFilter() {
17
+ return error => this._isNonFatalError(error);
18
+ }
19
+ _isNonFatalError(error) {
20
+ return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;
21
+ }
22
+ }
23
+ error.default = ErrorFilter;
24
+ return error;
25
+ }
26
+
27
+ export { requireError as __require };
@@ -0,0 +1,57 @@
1
+ import { __exports as matcher } from '../../../../../../../../_virtual/matcher.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
3
+
4
+ var hasRequiredMatcher;
5
+ function requireMatcher() {
6
+ if (hasRequiredMatcher) return matcher;
7
+ hasRequiredMatcher = 1;
8
+ Object.defineProperty(matcher, "__esModule", {
9
+ value: true
10
+ });
11
+ const utils = requireUtils();
12
+ class Matcher {
13
+ constructor(_patterns, _settings, _micromatchOptions) {
14
+ this._patterns = _patterns;
15
+ this._settings = _settings;
16
+ this._micromatchOptions = _micromatchOptions;
17
+ this._storage = [];
18
+ this._fillStorage();
19
+ }
20
+ _fillStorage() {
21
+ for (const pattern of this._patterns) {
22
+ const segments = this._getPatternSegments(pattern);
23
+ const sections = this._splitSegmentsIntoSections(segments);
24
+ this._storage.push({
25
+ complete: sections.length <= 1,
26
+ pattern,
27
+ segments,
28
+ sections
29
+ });
30
+ }
31
+ }
32
+ _getPatternSegments(pattern) {
33
+ const parts = utils.pattern.getPatternParts(pattern, this._micromatchOptions);
34
+ return parts.map(part => {
35
+ const dynamic = utils.pattern.isDynamicPattern(part, this._settings);
36
+ if (!dynamic) {
37
+ return {
38
+ dynamic: false,
39
+ pattern: part
40
+ };
41
+ }
42
+ return {
43
+ dynamic: true,
44
+ pattern: part,
45
+ patternRe: utils.pattern.makeRe(part, this._micromatchOptions)
46
+ };
47
+ });
48
+ }
49
+ _splitSegmentsIntoSections(segments) {
50
+ return utils.array.splitWhen(segments, segment => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));
51
+ }
52
+ }
53
+ matcher.default = Matcher;
54
+ return matcher;
55
+ }
56
+
57
+ export { requireMatcher as __require };