@quilted/create 0.2.43 → 0.2.44

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 (260) hide show
  1. package/CHANGELOG.md +12 -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/index8.mjs +3 -0
  13. package/build/esm/_virtual/index9.mjs +3 -0
  14. package/build/esm/_virtual/minimatch.mjs +12 -0
  15. package/build/esm/app.mjs +2 -2
  16. package/build/esm/cli.mjs +1 -1
  17. package/build/esm/module.mjs +2 -2
  18. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +29 -21
  19. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +24 -18
  20. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +35 -32
  21. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +103 -101
  22. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +19 -13
  23. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +63 -61
  24. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +33 -27
  25. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +25 -19
  26. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +15 -10
  27. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +27 -19
  28. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +35 -32
  29. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +40 -34
  30. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +27 -21
  31. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.mjs +24 -17
  32. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +44 -42
  33. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.mjs +37 -30
  34. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.mjs +41 -34
  35. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.mjs +22 -15
  36. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +104 -99
  37. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +35 -29
  38. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.mjs +19 -12
  39. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +65 -60
  40. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +34 -27
  41. package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +116 -112
  42. package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +54 -47
  43. package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +144 -137
  44. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +173 -166
  45. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +57 -51
  46. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +102 -94
  47. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +89 -83
  48. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +312 -305
  49. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +30 -24
  50. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +116 -108
  51. package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +1 -3
  52. package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +63 -61
  53. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +75 -77
  54. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +28 -22
  55. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +83 -78
  56. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +31 -25
  57. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +66 -60
  58. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +66 -59
  59. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +23 -16
  60. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +55 -48
  61. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +40 -33
  62. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +59 -55
  63. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +38 -32
  64. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +31 -25
  65. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +33 -26
  66. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +43 -38
  67. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +41 -35
  68. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +60 -55
  69. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +48 -43
  70. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +65 -57
  71. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +26 -20
  72. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +14 -8
  73. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +25 -19
  74. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +33 -34
  75. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +39 -33
  76. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +170 -164
  77. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +24 -18
  78. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +18 -12
  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.0.1/node_modules/fill-range/index.mjs +207 -200
  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 +51 -44
  83. package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.mjs +2 -2
  84. package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.mjs +3 -3
  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.5/node_modules/micromatch/index.mjs +457 -451
  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/node_modules/prettier/plugins/babel.mjs +605 -605
  101. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +378 -394
  102. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +15 -15
  103. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.mjs +281 -294
  104. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +155 -155
  105. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.mjs +1 -1
  106. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.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/prompts.mjs +1 -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.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +1 -1
  115. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +1 -1
  116. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.mjs +3 -3
  117. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +2 -2
  118. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +1 -1
  119. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +2 -2
  120. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +1 -1
  121. package/build/esm/package.mjs +2 -2
  122. package/build/esm/packages/cli-kit/build/esnext/prompt.esnext.mjs +1 -1
  123. package/build/esm/server.mjs +5 -9
  124. package/build/esm/shared/package-manager.mjs +1 -1
  125. package/build/esm/shared/prompts.mjs +1 -1
  126. package/build/esnext/_virtual/index.esnext +6 -2
  127. package/build/esnext/_virtual/index10.esnext +3 -0
  128. package/build/esnext/_virtual/index11.esnext +3 -0
  129. package/build/esnext/_virtual/index12.esnext +3 -0
  130. package/build/esnext/_virtual/index13.esnext +3 -0
  131. package/build/esnext/_virtual/index2.esnext +2 -2
  132. package/build/esnext/_virtual/index3.esnext +6 -2
  133. package/build/esnext/_virtual/index4.esnext +6 -2
  134. package/build/esnext/_virtual/index5.esnext +6 -2
  135. package/build/esnext/_virtual/index6.esnext +6 -2
  136. package/build/esnext/_virtual/index8.esnext +3 -0
  137. package/build/esnext/_virtual/index9.esnext +3 -0
  138. package/build/esnext/_virtual/minimatch.esnext +12 -0
  139. package/build/esnext/app.esnext +2 -2
  140. package/build/esnext/module.esnext +2 -2
  141. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +27 -19
  142. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +19 -13
  143. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +33 -30
  144. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +99 -97
  145. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +14 -8
  146. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +59 -57
  147. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +31 -25
  148. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +23 -17
  149. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +13 -8
  150. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +25 -17
  151. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +33 -30
  152. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +38 -32
  153. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +25 -19
  154. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +23 -16
  155. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +42 -40
  156. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.esnext +36 -29
  157. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.esnext +40 -33
  158. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.esnext +21 -14
  159. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +98 -93
  160. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +30 -24
  161. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.esnext +17 -10
  162. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +59 -54
  163. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +33 -26
  164. package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +132 -128
  165. package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +54 -47
  166. package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +137 -130
  167. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +66 -59
  168. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +53 -47
  169. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +102 -95
  170. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +89 -83
  171. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +217 -210
  172. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +30 -24
  173. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +75 -67
  174. package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +1 -3
  175. package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +63 -61
  176. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +68 -70
  177. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +17 -11
  178. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +81 -76
  179. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +29 -23
  180. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +61 -55
  181. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +61 -54
  182. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +21 -14
  183. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +49 -42
  184. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +31 -24
  185. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +57 -53
  186. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +34 -28
  187. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +29 -23
  188. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +29 -22
  189. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +40 -35
  190. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +39 -33
  191. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +56 -51
  192. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +46 -41
  193. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +59 -51
  194. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +24 -18
  195. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +12 -6
  196. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +23 -17
  197. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +31 -32
  198. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +32 -26
  199. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +135 -129
  200. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +23 -17
  201. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +16 -10
  202. package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +220 -215
  203. package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +193 -186
  204. package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +1 -6
  205. package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +31 -24
  206. package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.esnext +2 -2
  207. package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.esnext +3 -3
  208. package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +357 -353
  209. package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +18 -11
  210. package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +111 -104
  211. package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +17 -10
  212. package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +103 -96
  213. package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +147 -141
  214. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +10 -3
  215. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +495 -491
  216. package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +38 -32
  217. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +10 -3
  218. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +198 -191
  219. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +683 -677
  220. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +137 -131
  221. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +279 -273
  222. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +65 -57
  223. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +9 -9
  224. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +20 -20
  225. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +15 -15
  226. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +64 -64
  227. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +19 -19
  228. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.esnext +1 -1
  229. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.esnext +1 -1
  230. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +16 -11
  231. package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +12 -5
  232. package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +29 -22
  233. package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +47 -40
  234. package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +196 -189
  235. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +2 -0
  236. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +2 -0
  237. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-props.esnext +1 -0
  238. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +1 -1
  239. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +1 -1
  240. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/lexer.esnext +5 -0
  241. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/parser.esnext +4 -0
  242. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.esnext +3 -3
  243. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +2 -2
  244. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +1 -1
  245. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +2 -2
  246. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +1 -1
  247. package/build/esnext/package.esnext +2 -2
  248. package/build/esnext/packages/cli-kit/build/esnext/prompt.esnext.esnext +1 -1
  249. package/build/esnext/server.esnext +5 -9
  250. package/build/esnext/shared/package-manager.esnext +1 -1
  251. package/build/esnext/shared/prompts.esnext +1 -1
  252. package/build/tsconfig.tsbuildinfo +1 -1
  253. package/package.json +3 -3
  254. package/source/shared/prompts.ts +1 -1
  255. package/templates/app-basic/package.json +4 -4
  256. package/templates/app-empty/package.json +3 -3
  257. package/templates/app-graphql/package.json +4 -4
  258. package/templates/app-trpc/package.json +4 -4
  259. package/templates/package/package.json +3 -3
  260. package/templates/workspace/package.json +4 -4
@@ -1,85 +1,90 @@
1
1
  import { __exports as tasks } from '../../../../../../../_virtual/tasks.mjs';
2
- import '../utils/index.mjs';
3
- import { __exports as utils$1 } from '../../../../../../../_virtual/index.mjs';
2
+ import { __require as requireUtils } from '../utils/index.mjs';
4
3
 
5
- Object.defineProperty(tasks, "__esModule", {
6
- value: true
7
- });
8
- tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
9
- const utils = utils$1;
10
- function generate(patterns, settings) {
11
- const positivePatterns = getPositivePatterns(patterns);
12
- const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
13
- const staticPatterns = positivePatterns.filter(pattern => utils.pattern.isStaticPattern(pattern, settings));
14
- const dynamicPatterns = positivePatterns.filter(pattern => utils.pattern.isDynamicPattern(pattern, settings));
15
- const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */false);
16
- const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */true);
17
- return staticTasks.concat(dynamicTasks);
18
- }
19
- tasks.generate = generate;
20
- /**
21
- * Returns tasks grouped by basic pattern directories.
22
- *
23
- * Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
24
- * This is necessary because directory traversal starts at the base directory and goes deeper.
25
- */
26
- function convertPatternsToTasks(positive, negative, dynamic) {
27
- const tasks = [];
28
- const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
29
- const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
30
- const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
31
- const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
32
- tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
33
- /*
34
- * For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
35
- * into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
36
- */
37
- if ('.' in insideCurrentDirectoryGroup) {
38
- tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
39
- } else {
40
- tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
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(patterns, settings) {
14
+ const positivePatterns = getPositivePatterns(patterns);
15
+ const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
16
+ const staticPatterns = positivePatterns.filter(pattern => utils.pattern.isStaticPattern(pattern, settings));
17
+ const dynamicPatterns = positivePatterns.filter(pattern => utils.pattern.isDynamicPattern(pattern, settings));
18
+ const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */false);
19
+ const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */true);
20
+ return staticTasks.concat(dynamicTasks);
41
21
  }
42
- return tasks;
43
- }
44
- tasks.convertPatternsToTasks = convertPatternsToTasks;
45
- function getPositivePatterns(patterns) {
46
- return utils.pattern.getPositivePatterns(patterns);
47
- }
48
- tasks.getPositivePatterns = getPositivePatterns;
49
- function getNegativePatternsAsPositive(patterns, ignore) {
50
- const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
51
- const positive = negative.map(utils.pattern.convertToPositivePattern);
52
- return positive;
53
- }
54
- tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
55
- function groupPatternsByBaseDirectory(patterns) {
56
- const group = {};
57
- return patterns.reduce((collection, pattern) => {
58
- const base = utils.pattern.getBaseDirectory(pattern);
59
- if (base in collection) {
60
- collection[base].push(pattern);
22
+ tasks.generate = generate;
23
+ /**
24
+ * Returns tasks grouped by basic pattern directories.
25
+ *
26
+ * Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
27
+ * This is necessary because directory traversal starts at the base directory and goes deeper.
28
+ */
29
+ function convertPatternsToTasks(positive, negative, dynamic) {
30
+ const tasks = [];
31
+ const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
32
+ const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
33
+ const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
34
+ const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
35
+ tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
36
+ /*
37
+ * For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
38
+ * into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
39
+ */
40
+ if ('.' in insideCurrentDirectoryGroup) {
41
+ tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
61
42
  } else {
62
- collection[base] = [pattern];
43
+ tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
63
44
  }
64
- return collection;
65
- }, group);
66
- }
67
- tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
68
- function convertPatternGroupsToTasks(positive, negative, dynamic) {
69
- return Object.keys(positive).map(base => {
70
- return convertPatternGroupToTask(base, positive[base], negative, dynamic);
71
- });
72
- }
73
- tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
74
- function convertPatternGroupToTask(base, positive, negative, dynamic) {
75
- return {
76
- dynamic,
77
- positive,
78
- negative,
79
- base,
80
- patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
81
- };
45
+ return tasks;
46
+ }
47
+ tasks.convertPatternsToTasks = convertPatternsToTasks;
48
+ function getPositivePatterns(patterns) {
49
+ return utils.pattern.getPositivePatterns(patterns);
50
+ }
51
+ tasks.getPositivePatterns = getPositivePatterns;
52
+ function getNegativePatternsAsPositive(patterns, ignore) {
53
+ const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
54
+ const positive = negative.map(utils.pattern.convertToPositivePattern);
55
+ return positive;
56
+ }
57
+ tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
58
+ function groupPatternsByBaseDirectory(patterns) {
59
+ const group = {};
60
+ return patterns.reduce((collection, pattern) => {
61
+ const base = utils.pattern.getBaseDirectory(pattern);
62
+ if (base in collection) {
63
+ collection[base].push(pattern);
64
+ } else {
65
+ collection[base] = [pattern];
66
+ }
67
+ return collection;
68
+ }, group);
69
+ }
70
+ tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
71
+ function convertPatternGroupsToTasks(positive, negative, dynamic) {
72
+ return Object.keys(positive).map(base => {
73
+ return convertPatternGroupToTask(base, positive[base], negative, dynamic);
74
+ });
75
+ }
76
+ tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
77
+ function convertPatternGroupToTask(base, positive, negative, dynamic) {
78
+ return {
79
+ dynamic,
80
+ positive,
81
+ negative,
82
+ base,
83
+ patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
84
+ };
85
+ }
86
+ tasks.convertPatternGroupToTask = convertPatternGroupToTask;
87
+ return tasks;
82
88
  }
83
- tasks.convertPatternGroupToTask = convertPatternGroupToTask;
84
89
 
85
- export { tasks as default };
90
+ export { requireTasks as __require };
@@ -1,30 +1,36 @@
1
1
  import { __exports as async } from '../../../../../../../_virtual/async.mjs';
2
- import '../readers/async.mjs';
3
- import './provider.mjs';
4
- import { __exports as async$1 } from '../../../../../../../_virtual/async2.mjs';
5
- import { __exports as provider } from '../../../../../../../_virtual/provider.mjs';
2
+ import { __require as requireAsync$1 } from '../readers/async.mjs';
3
+ import { __require as requireProvider } from './provider.mjs';
6
4
 
7
- Object.defineProperty(async, "__esModule", {
8
- value: true
9
- });
10
- const async_1 = async$1;
11
- const provider_1 = provider;
12
- class ProviderAsync extends provider_1.default {
13
- constructor() {
14
- super(...arguments);
15
- this._reader = new async_1.default(this._settings);
16
- }
17
- async read(task) {
18
- const root = this._getRootDirectory(task);
19
- const options = this._getReaderOptions(task);
20
- const entries = await this.api(root, task, options);
21
- return entries.map(entry => options.transform(entry));
22
- }
23
- api(root, task, options) {
24
- if (task.dynamic) {
25
- return this._reader.dynamic(root, options);
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);
26
30
  }
27
- return this._reader.static(task.patterns, options);
28
31
  }
32
+ async.default = ProviderAsync;
33
+ return async;
29
34
  }
30
- async.default = ProviderAsync;
35
+
36
+ export { requireAsync as __require };
@@ -1,69 +1,75 @@
1
1
  import { __exports as deep } from '../../../../../../../../_virtual/deep.mjs';
2
- import '../../utils/index.mjs';
3
- import '../matchers/partial.mjs';
4
- import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
5
- import { __exports as partial } from '../../../../../../../../_virtual/partial.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
3
+ import { __require as requirePartial } from '../matchers/partial.mjs';
6
4
 
7
- Object.defineProperty(deep, "__esModule", {
8
- value: true
9
- });
10
- const utils = utils$1;
11
- const partial_1 = partial;
12
- class DeepFilter {
13
- constructor(_settings, _micromatchOptions) {
14
- this._settings = _settings;
15
- this._micromatchOptions = _micromatchOptions;
16
- }
17
- getFilter(basePath, positive, negative) {
18
- const matcher = this._getMatcher(positive);
19
- const negativeRe = this._getNegativePatternsRe(negative);
20
- return entry => this._filter(basePath, entry, matcher, negativeRe);
21
- }
22
- _getMatcher(patterns) {
23
- return new partial_1.default(patterns, this._settings, this._micromatchOptions);
24
- }
25
- _getNegativePatternsRe(patterns) {
26
- const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
27
- return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
28
- }
29
- _filter(basePath, entry, matcher, negativeRe) {
30
- if (this._isSkippedByDeep(basePath, entry.path)) {
31
- return false;
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;
32
18
  }
33
- if (this._isSkippedSymbolicLink(entry)) {
34
- return false;
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);
35
23
  }
36
- const filepath = utils.path.removeLeadingDotSegment(entry.path);
37
- if (this._isSkippedByPositivePatterns(filepath, matcher)) {
38
- return false;
24
+ _getMatcher(patterns) {
25
+ return new partial_1.default(patterns, this._settings, this._micromatchOptions);
39
26
  }
40
- return this._isSkippedByNegativePatterns(filepath, negativeRe);
41
- }
42
- _isSkippedByDeep(basePath, entryPath) {
43
- /**
44
- * Avoid unnecessary depth calculations when it doesn't matter.
45
- */
46
- if (this._settings.deep === Infinity) {
47
- return false;
27
+ _getNegativePatternsRe(patterns) {
28
+ const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
29
+ return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
48
30
  }
49
- return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;
50
- }
51
- _getEntryLevel(basePath, entryPath) {
52
- const entryPathDepth = entryPath.split('/').length;
53
- if (basePath === '') {
54
- return entryPathDepth;
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);
55
69
  }
56
- const basePathDepth = basePath.split('/').length;
57
- return entryPathDepth - basePathDepth;
58
- }
59
- _isSkippedSymbolicLink(entry) {
60
- return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
61
- }
62
- _isSkippedByPositivePatterns(entryPath, matcher) {
63
- return !this._settings.baseNameMatch && !matcher.match(entryPath);
64
- }
65
- _isSkippedByNegativePatterns(entryPath, patternsRe) {
66
- return !utils.pattern.matchAny(entryPath, patternsRe);
67
70
  }
71
+ deep.default = DeepFilter;
72
+ return deep;
68
73
  }
69
- deep.default = DeepFilter;
74
+
75
+ export { requireDeep as __require };
@@ -1,69 +1,76 @@
1
1
  import { __exports as entry } from '../../../../../../../../_virtual/entry.mjs';
2
- import '../../utils/index.mjs';
3
- import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
4
3
 
5
- Object.defineProperty(entry, "__esModule", {
6
- value: true
7
- });
8
- const utils = utils$1;
9
- class EntryFilter {
10
- constructor(_settings, _micromatchOptions) {
11
- this._settings = _settings;
12
- this._micromatchOptions = _micromatchOptions;
13
- this.index = new Map();
14
- }
15
- getFilter(positive, negative) {
16
- const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
17
- const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions);
18
- return entry => this._filter(entry, positiveRe, negativeRe);
19
- }
20
- _filter(entry, positiveRe, negativeRe) {
21
- if (this._settings.unique && this._isDuplicateEntry(entry)) {
22
- return false;
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();
23
17
  }
24
- if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
25
- return false;
18
+ getFilter(positive, negative) {
19
+ const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
20
+ const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions);
21
+ return entry => this._filter(entry, positiveRe, negativeRe);
26
22
  }
27
- if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) {
28
- return false;
23
+ _filter(entry, positiveRe, negativeRe) {
24
+ if (this._settings.unique && this._isDuplicateEntry(entry)) {
25
+ return false;
26
+ }
27
+ if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
28
+ return false;
29
+ }
30
+ if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) {
31
+ return false;
32
+ }
33
+ const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
34
+ const isDirectory = entry.dirent.isDirectory();
35
+ const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
36
+ if (this._settings.unique && isMatched) {
37
+ this._createIndexRecord(entry);
38
+ }
39
+ return isMatched;
29
40
  }
30
- const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
31
- const isDirectory = entry.dirent.isDirectory();
32
- const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
33
- if (this._settings.unique && isMatched) {
34
- this._createIndexRecord(entry);
41
+ _isDuplicateEntry(entry) {
42
+ return this.index.has(entry.path);
35
43
  }
36
- return isMatched;
37
- }
38
- _isDuplicateEntry(entry) {
39
- return this.index.has(entry.path);
40
- }
41
- _createIndexRecord(entry) {
42
- this.index.set(entry.path, undefined);
43
- }
44
- _onlyFileFilter(entry) {
45
- return this._settings.onlyFiles && !entry.dirent.isFile();
46
- }
47
- _onlyDirectoryFilter(entry) {
48
- return this._settings.onlyDirectories && !entry.dirent.isDirectory();
49
- }
50
- _isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
51
- if (!this._settings.absolute) {
52
- return false;
44
+ _createIndexRecord(entry) {
45
+ this.index.set(entry.path, undefined);
53
46
  }
54
- const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
55
- return utils.pattern.matchAny(fullpath, patternsRe);
56
- }
57
- _isMatchToPatterns(entryPath, patternsRe, isDirectory) {
58
- const filepath = utils.path.removeLeadingDotSegment(entryPath);
59
- // Trying to match files and directories by patterns.
60
- const isMatched = utils.pattern.matchAny(filepath, patternsRe);
61
- // A pattern with a trailling slash can be used for directory matching.
62
- // To apply such pattern, we need to add a tralling slash to the path.
63
- if (!isMatched && isDirectory) {
64
- return utils.pattern.matchAny(filepath + '/', patternsRe);
47
+ _onlyFileFilter(entry) {
48
+ return this._settings.onlyFiles && !entry.dirent.isFile();
49
+ }
50
+ _onlyDirectoryFilter(entry) {
51
+ return this._settings.onlyDirectories && !entry.dirent.isDirectory();
52
+ }
53
+ _isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
54
+ if (!this._settings.absolute) {
55
+ return false;
56
+ }
57
+ const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
58
+ return utils.pattern.matchAny(fullpath, patternsRe);
59
+ }
60
+ _isMatchToPatterns(entryPath, patternsRe, isDirectory) {
61
+ const filepath = utils.path.removeLeadingDotSegment(entryPath);
62
+ // Trying to match files and directories by patterns.
63
+ const isMatched = utils.pattern.matchAny(filepath, patternsRe);
64
+ // A pattern with a trailling slash can be used for directory matching.
65
+ // To apply such pattern, we need to add a tralling slash to the path.
66
+ if (!isMatched && isDirectory) {
67
+ return utils.pattern.matchAny(filepath + '/', patternsRe);
68
+ }
69
+ return isMatched;
65
70
  }
66
- return isMatched;
67
71
  }
72
+ entry.default = EntryFilter;
73
+ return entry;
68
74
  }
69
- entry.default = EntryFilter;
75
+
76
+ export { requireEntry as __require };
@@ -1,20 +1,27 @@
1
1
  import { __exports as error } from '../../../../../../../../_virtual/error.mjs';
2
- import '../../utils/index.mjs';
3
- import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
2
+ import { __require as requireUtils } from '../../utils/index.mjs';
4
3
 
5
- Object.defineProperty(error, "__esModule", {
6
- value: true
7
- });
8
- const utils = utils$1;
9
- class ErrorFilter {
10
- constructor(_settings) {
11
- this._settings = _settings;
12
- }
13
- getFilter() {
14
- return error => this._isNonFatalError(error);
15
- }
16
- _isNonFatalError(error) {
17
- return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;
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
+ }
18
22
  }
23
+ error.default = ErrorFilter;
24
+ return error;
19
25
  }
20
- error.default = ErrorFilter;
26
+
27
+ export { requireError as __require };