@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,359 +1,365 @@
1
1
  import path__default from 'node:path';
2
- import { scan_1 } from './scan.mjs';
3
- import { parse_1 } from './parse.mjs';
4
- import './utils.mjs';
5
- import { constants as constants$1 } from './constants.mjs';
6
- import { __exports as utils$1 } from '../../../../../../_virtual/utils.mjs';
2
+ import { __require as requireScan } from './scan.mjs';
3
+ import { __require as requireParse } from './parse.mjs';
4
+ import { __require as requireUtils } from './utils.mjs';
5
+ import { __require as requireConstants } from './constants.mjs';
7
6
 
8
- const path = path__default;
9
- const scan = scan_1;
10
- const parse = parse_1;
11
- const utils = utils$1;
12
- const constants = constants$1;
13
- const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
7
+ var picomatch_1;
8
+ var hasRequiredPicomatch;
9
+ function requirePicomatch() {
10
+ if (hasRequiredPicomatch) return picomatch_1;
11
+ hasRequiredPicomatch = 1;
12
+ const path = path__default;
13
+ const scan = requireScan();
14
+ const parse = requireParse();
15
+ const utils = requireUtils();
16
+ const constants = requireConstants();
17
+ const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
14
18
 
15
- /**
16
- * Creates a matcher function from one or more glob patterns. The
17
- * returned function takes a string to match as its first argument,
18
- * and returns true if the string is a match. The returned matcher
19
- * function also takes a boolean as the second argument that, when true,
20
- * returns an object with additional information.
21
- *
22
- * ```js
23
- * const picomatch = require('picomatch');
24
- * // picomatch(glob[, options]);
25
- *
26
- * const isMatch = picomatch('*.!(*a)');
27
- * console.log(isMatch('a.a')); //=> false
28
- * console.log(isMatch('a.b')); //=> true
29
- * ```
30
- * @name picomatch
31
- * @param {String|Array} `globs` One or more glob patterns.
32
- * @param {Object=} `options`
33
- * @return {Function=} Returns a matcher function.
34
- * @api public
35
- */
19
+ /**
20
+ * Creates a matcher function from one or more glob patterns. The
21
+ * returned function takes a string to match as its first argument,
22
+ * and returns true if the string is a match. The returned matcher
23
+ * function also takes a boolean as the second argument that, when true,
24
+ * returns an object with additional information.
25
+ *
26
+ * ```js
27
+ * const picomatch = require('picomatch');
28
+ * // picomatch(glob[, options]);
29
+ *
30
+ * const isMatch = picomatch('*.!(*a)');
31
+ * console.log(isMatch('a.a')); //=> false
32
+ * console.log(isMatch('a.b')); //=> true
33
+ * ```
34
+ * @name picomatch
35
+ * @param {String|Array} `globs` One or more glob patterns.
36
+ * @param {Object=} `options`
37
+ * @return {Function=} Returns a matcher function.
38
+ * @api public
39
+ */
36
40
 
37
- const picomatch = (glob, options, returnState = false) => {
38
- if (Array.isArray(glob)) {
39
- const fns = glob.map(input => picomatch(input, options, returnState));
40
- const arrayMatcher = str => {
41
- for (const isMatch of fns) {
42
- const state = isMatch(str);
43
- if (state) return state;
44
- }
45
- return false;
46
- };
47
- return arrayMatcher;
48
- }
49
- const isState = isObject(glob) && glob.tokens && glob.input;
50
- if (glob === '' || typeof glob !== 'string' && !isState) {
51
- throw new TypeError('Expected pattern to be a non-empty string');
52
- }
53
- const opts = options || {};
54
- const posix = utils.isWindows(options);
55
- const regex = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true);
56
- const state = regex.state;
57
- delete regex.state;
58
- let isIgnored = () => false;
59
- if (opts.ignore) {
60
- const ignoreOpts = {
61
- ...options,
62
- ignore: null,
63
- onMatch: null,
64
- onResult: null
65
- };
66
- isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
67
- }
68
- const matcher = (input, returnObject = false) => {
69
- const {
70
- isMatch,
71
- match,
72
- output
73
- } = picomatch.test(input, regex, options, {
74
- glob,
75
- posix
76
- });
77
- const result = {
78
- glob,
79
- state,
80
- regex,
81
- posix,
82
- input,
83
- output,
84
- match,
85
- isMatch
86
- };
87
- if (typeof opts.onResult === 'function') {
88
- opts.onResult(result);
41
+ const picomatch = (glob, options, returnState = false) => {
42
+ if (Array.isArray(glob)) {
43
+ const fns = glob.map(input => picomatch(input, options, returnState));
44
+ const arrayMatcher = str => {
45
+ for (const isMatch of fns) {
46
+ const state = isMatch(str);
47
+ if (state) return state;
48
+ }
49
+ return false;
50
+ };
51
+ return arrayMatcher;
89
52
  }
90
- if (isMatch === false) {
91
- result.isMatch = false;
92
- return returnObject ? result : false;
53
+ const isState = isObject(glob) && glob.tokens && glob.input;
54
+ if (glob === '' || typeof glob !== 'string' && !isState) {
55
+ throw new TypeError('Expected pattern to be a non-empty string');
93
56
  }
94
- if (isIgnored(input)) {
95
- if (typeof opts.onIgnore === 'function') {
96
- opts.onIgnore(result);
97
- }
98
- result.isMatch = false;
99
- return returnObject ? result : false;
57
+ const opts = options || {};
58
+ const posix = utils.isWindows(options);
59
+ const regex = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true);
60
+ const state = regex.state;
61
+ delete regex.state;
62
+ let isIgnored = () => false;
63
+ if (opts.ignore) {
64
+ const ignoreOpts = {
65
+ ...options,
66
+ ignore: null,
67
+ onMatch: null,
68
+ onResult: null
69
+ };
70
+ isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
100
71
  }
101
- if (typeof opts.onMatch === 'function') {
102
- opts.onMatch(result);
72
+ const matcher = (input, returnObject = false) => {
73
+ const {
74
+ isMatch,
75
+ match,
76
+ output
77
+ } = picomatch.test(input, regex, options, {
78
+ glob,
79
+ posix
80
+ });
81
+ const result = {
82
+ glob,
83
+ state,
84
+ regex,
85
+ posix,
86
+ input,
87
+ output,
88
+ match,
89
+ isMatch
90
+ };
91
+ if (typeof opts.onResult === 'function') {
92
+ opts.onResult(result);
93
+ }
94
+ if (isMatch === false) {
95
+ result.isMatch = false;
96
+ return returnObject ? result : false;
97
+ }
98
+ if (isIgnored(input)) {
99
+ if (typeof opts.onIgnore === 'function') {
100
+ opts.onIgnore(result);
101
+ }
102
+ result.isMatch = false;
103
+ return returnObject ? result : false;
104
+ }
105
+ if (typeof opts.onMatch === 'function') {
106
+ opts.onMatch(result);
107
+ }
108
+ return returnObject ? result : true;
109
+ };
110
+ if (returnState) {
111
+ matcher.state = state;
103
112
  }
104
- return returnObject ? result : true;
113
+ return matcher;
105
114
  };
106
- if (returnState) {
107
- matcher.state = state;
108
- }
109
- return matcher;
110
- };
111
115
 
112
- /**
113
- * Test `input` with the given `regex`. This is used by the main
114
- * `picomatch()` function to test the input string.
115
- *
116
- * ```js
117
- * const picomatch = require('picomatch');
118
- * // picomatch.test(input, regex[, options]);
119
- *
120
- * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
121
- * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
122
- * ```
123
- * @param {String} `input` String to test.
124
- * @param {RegExp} `regex`
125
- * @return {Object} Returns an object with matching info.
126
- * @api public
127
- */
116
+ /**
117
+ * Test `input` with the given `regex`. This is used by the main
118
+ * `picomatch()` function to test the input string.
119
+ *
120
+ * ```js
121
+ * const picomatch = require('picomatch');
122
+ * // picomatch.test(input, regex[, options]);
123
+ *
124
+ * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
125
+ * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
126
+ * ```
127
+ * @param {String} `input` String to test.
128
+ * @param {RegExp} `regex`
129
+ * @return {Object} Returns an object with matching info.
130
+ * @api public
131
+ */
128
132
 
129
- picomatch.test = (input, regex, options, {
130
- glob,
131
- posix
132
- } = {}) => {
133
- if (typeof input !== 'string') {
134
- throw new TypeError('Expected input to be a string');
135
- }
136
- if (input === '') {
133
+ picomatch.test = (input, regex, options, {
134
+ glob,
135
+ posix
136
+ } = {}) => {
137
+ if (typeof input !== 'string') {
138
+ throw new TypeError('Expected input to be a string');
139
+ }
140
+ if (input === '') {
141
+ return {
142
+ isMatch: false,
143
+ output: ''
144
+ };
145
+ }
146
+ const opts = options || {};
147
+ const format = opts.format || (posix ? utils.toPosixSlashes : null);
148
+ let match = input === glob;
149
+ let output = match && format ? format(input) : input;
150
+ if (match === false) {
151
+ output = format ? format(input) : input;
152
+ match = output === glob;
153
+ }
154
+ if (match === false || opts.capture === true) {
155
+ if (opts.matchBase === true || opts.basename === true) {
156
+ match = picomatch.matchBase(input, regex, options, posix);
157
+ } else {
158
+ match = regex.exec(output);
159
+ }
160
+ }
137
161
  return {
138
- isMatch: false,
139
- output: ''
162
+ isMatch: Boolean(match),
163
+ match,
164
+ output
140
165
  };
141
- }
142
- const opts = options || {};
143
- const format = opts.format || (posix ? utils.toPosixSlashes : null);
144
- let match = input === glob;
145
- let output = match && format ? format(input) : input;
146
- if (match === false) {
147
- output = format ? format(input) : input;
148
- match = output === glob;
149
- }
150
- if (match === false || opts.capture === true) {
151
- if (opts.matchBase === true || opts.basename === true) {
152
- match = picomatch.matchBase(input, regex, options, posix);
153
- } else {
154
- match = regex.exec(output);
155
- }
156
- }
157
- return {
158
- isMatch: Boolean(match),
159
- match,
160
- output
161
166
  };
162
- };
163
167
 
164
- /**
165
- * Match the basename of a filepath.
166
- *
167
- * ```js
168
- * const picomatch = require('picomatch');
169
- * // picomatch.matchBase(input, glob[, options]);
170
- * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
171
- * ```
172
- * @param {String} `input` String to test.
173
- * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).
174
- * @return {Boolean}
175
- * @api public
176
- */
168
+ /**
169
+ * Match the basename of a filepath.
170
+ *
171
+ * ```js
172
+ * const picomatch = require('picomatch');
173
+ * // picomatch.matchBase(input, glob[, options]);
174
+ * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
175
+ * ```
176
+ * @param {String} `input` String to test.
177
+ * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).
178
+ * @return {Boolean}
179
+ * @api public
180
+ */
177
181
 
178
- picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
179
- const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
180
- return regex.test(path.basename(input));
181
- };
182
+ picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
183
+ const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
184
+ return regex.test(path.basename(input));
185
+ };
182
186
 
183
- /**
184
- * Returns true if **any** of the given glob `patterns` match the specified `string`.
185
- *
186
- * ```js
187
- * const picomatch = require('picomatch');
188
- * // picomatch.isMatch(string, patterns[, options]);
189
- *
190
- * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
191
- * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
192
- * ```
193
- * @param {String|Array} str The string to test.
194
- * @param {String|Array} patterns One or more glob patterns to use for matching.
195
- * @param {Object} [options] See available [options](#options).
196
- * @return {Boolean} Returns true if any patterns match `str`
197
- * @api public
198
- */
187
+ /**
188
+ * Returns true if **any** of the given glob `patterns` match the specified `string`.
189
+ *
190
+ * ```js
191
+ * const picomatch = require('picomatch');
192
+ * // picomatch.isMatch(string, patterns[, options]);
193
+ *
194
+ * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
195
+ * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
196
+ * ```
197
+ * @param {String|Array} str The string to test.
198
+ * @param {String|Array} patterns One or more glob patterns to use for matching.
199
+ * @param {Object} [options] See available [options](#options).
200
+ * @return {Boolean} Returns true if any patterns match `str`
201
+ * @api public
202
+ */
199
203
 
200
- picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
204
+ picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
201
205
 
202
- /**
203
- * Parse a glob pattern to create the source string for a regular
204
- * expression.
205
- *
206
- * ```js
207
- * const picomatch = require('picomatch');
208
- * const result = picomatch.parse(pattern[, options]);
209
- * ```
210
- * @param {String} `pattern`
211
- * @param {Object} `options`
212
- * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
213
- * @api public
214
- */
206
+ /**
207
+ * Parse a glob pattern to create the source string for a regular
208
+ * expression.
209
+ *
210
+ * ```js
211
+ * const picomatch = require('picomatch');
212
+ * const result = picomatch.parse(pattern[, options]);
213
+ * ```
214
+ * @param {String} `pattern`
215
+ * @param {Object} `options`
216
+ * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
217
+ * @api public
218
+ */
215
219
 
216
- picomatch.parse = (pattern, options) => {
217
- if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
218
- return parse(pattern, {
219
- ...options,
220
- fastpaths: false
221
- });
222
- };
220
+ picomatch.parse = (pattern, options) => {
221
+ if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
222
+ return parse(pattern, {
223
+ ...options,
224
+ fastpaths: false
225
+ });
226
+ };
223
227
 
224
- /**
225
- * Scan a glob pattern to separate the pattern into segments.
226
- *
227
- * ```js
228
- * const picomatch = require('picomatch');
229
- * // picomatch.scan(input[, options]);
230
- *
231
- * const result = picomatch.scan('!./foo/*.js');
232
- * console.log(result);
233
- * { prefix: '!./',
234
- * input: '!./foo/*.js',
235
- * start: 3,
236
- * base: 'foo',
237
- * glob: '*.js',
238
- * isBrace: false,
239
- * isBracket: false,
240
- * isGlob: true,
241
- * isExtglob: false,
242
- * isGlobstar: false,
243
- * negated: true }
244
- * ```
245
- * @param {String} `input` Glob pattern to scan.
246
- * @param {Object} `options`
247
- * @return {Object} Returns an object with
248
- * @api public
249
- */
228
+ /**
229
+ * Scan a glob pattern to separate the pattern into segments.
230
+ *
231
+ * ```js
232
+ * const picomatch = require('picomatch');
233
+ * // picomatch.scan(input[, options]);
234
+ *
235
+ * const result = picomatch.scan('!./foo/*.js');
236
+ * console.log(result);
237
+ * { prefix: '!./',
238
+ * input: '!./foo/*.js',
239
+ * start: 3,
240
+ * base: 'foo',
241
+ * glob: '*.js',
242
+ * isBrace: false,
243
+ * isBracket: false,
244
+ * isGlob: true,
245
+ * isExtglob: false,
246
+ * isGlobstar: false,
247
+ * negated: true }
248
+ * ```
249
+ * @param {String} `input` Glob pattern to scan.
250
+ * @param {Object} `options`
251
+ * @return {Object} Returns an object with
252
+ * @api public
253
+ */
250
254
 
251
- picomatch.scan = (input, options) => scan(input, options);
255
+ picomatch.scan = (input, options) => scan(input, options);
252
256
 
253
- /**
254
- * Compile a regular expression from the `state` object returned by the
255
- * [parse()](#parse) method.
256
- *
257
- * @param {Object} `state`
258
- * @param {Object} `options`
259
- * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.
260
- * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
261
- * @return {RegExp}
262
- * @api public
263
- */
257
+ /**
258
+ * Compile a regular expression from the `state` object returned by the
259
+ * [parse()](#parse) method.
260
+ *
261
+ * @param {Object} `state`
262
+ * @param {Object} `options`
263
+ * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.
264
+ * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
265
+ * @return {RegExp}
266
+ * @api public
267
+ */
264
268
 
265
- picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
266
- if (returnOutput === true) {
267
- return state.output;
268
- }
269
- const opts = options || {};
270
- const prepend = opts.contains ? '' : '^';
271
- const append = opts.contains ? '' : '$';
272
- let source = `${prepend}(?:${state.output})${append}`;
273
- if (state && state.negated === true) {
274
- source = `^(?!${source}).*$`;
275
- }
276
- const regex = picomatch.toRegex(source, options);
277
- if (returnState === true) {
278
- regex.state = state;
279
- }
280
- return regex;
281
- };
269
+ picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
270
+ if (returnOutput === true) {
271
+ return state.output;
272
+ }
273
+ const opts = options || {};
274
+ const prepend = opts.contains ? '' : '^';
275
+ const append = opts.contains ? '' : '$';
276
+ let source = `${prepend}(?:${state.output})${append}`;
277
+ if (state && state.negated === true) {
278
+ source = `^(?!${source}).*$`;
279
+ }
280
+ const regex = picomatch.toRegex(source, options);
281
+ if (returnState === true) {
282
+ regex.state = state;
283
+ }
284
+ return regex;
285
+ };
282
286
 
283
- /**
284
- * Create a regular expression from a parsed glob pattern.
285
- *
286
- * ```js
287
- * const picomatch = require('picomatch');
288
- * const state = picomatch.parse('*.js');
289
- * // picomatch.compileRe(state[, options]);
290
- *
291
- * console.log(picomatch.compileRe(state));
292
- * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
293
- * ```
294
- * @param {String} `state` The object returned from the `.parse` method.
295
- * @param {Object} `options`
296
- * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
297
- * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
298
- * @return {RegExp} Returns a regex created from the given pattern.
299
- * @api public
300
- */
287
+ /**
288
+ * Create a regular expression from a parsed glob pattern.
289
+ *
290
+ * ```js
291
+ * const picomatch = require('picomatch');
292
+ * const state = picomatch.parse('*.js');
293
+ * // picomatch.compileRe(state[, options]);
294
+ *
295
+ * console.log(picomatch.compileRe(state));
296
+ * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
297
+ * ```
298
+ * @param {String} `state` The object returned from the `.parse` method.
299
+ * @param {Object} `options`
300
+ * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
301
+ * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
302
+ * @return {RegExp} Returns a regex created from the given pattern.
303
+ * @api public
304
+ */
301
305
 
302
- picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
303
- if (!input || typeof input !== 'string') {
304
- throw new TypeError('Expected a non-empty string');
305
- }
306
- let parsed = {
307
- negated: false,
308
- fastpaths: true
306
+ picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
307
+ if (!input || typeof input !== 'string') {
308
+ throw new TypeError('Expected a non-empty string');
309
+ }
310
+ let parsed = {
311
+ negated: false,
312
+ fastpaths: true
313
+ };
314
+ if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {
315
+ parsed.output = parse.fastpaths(input, options);
316
+ }
317
+ if (!parsed.output) {
318
+ parsed = parse(input, options);
319
+ }
320
+ return picomatch.compileRe(parsed, options, returnOutput, returnState);
309
321
  };
310
- if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {
311
- parsed.output = parse.fastpaths(input, options);
312
- }
313
- if (!parsed.output) {
314
- parsed = parse(input, options);
315
- }
316
- return picomatch.compileRe(parsed, options, returnOutput, returnState);
317
- };
318
322
 
319
- /**
320
- * Create a regular expression from the given regex source string.
321
- *
322
- * ```js
323
- * const picomatch = require('picomatch');
324
- * // picomatch.toRegex(source[, options]);
325
- *
326
- * const { output } = picomatch.parse('*.js');
327
- * console.log(picomatch.toRegex(output));
328
- * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
329
- * ```
330
- * @param {String} `source` Regular expression source string.
331
- * @param {Object} `options`
332
- * @return {RegExp}
333
- * @api public
334
- */
323
+ /**
324
+ * Create a regular expression from the given regex source string.
325
+ *
326
+ * ```js
327
+ * const picomatch = require('picomatch');
328
+ * // picomatch.toRegex(source[, options]);
329
+ *
330
+ * const { output } = picomatch.parse('*.js');
331
+ * console.log(picomatch.toRegex(output));
332
+ * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
333
+ * ```
334
+ * @param {String} `source` Regular expression source string.
335
+ * @param {Object} `options`
336
+ * @return {RegExp}
337
+ * @api public
338
+ */
335
339
 
336
- picomatch.toRegex = (source, options) => {
337
- try {
338
- const opts = options || {};
339
- return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
340
- } catch (err) {
341
- if (options && options.debug === true) throw err;
342
- return /$^/;
343
- }
344
- };
340
+ picomatch.toRegex = (source, options) => {
341
+ try {
342
+ const opts = options || {};
343
+ return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
344
+ } catch (err) {
345
+ if (options && options.debug === true) throw err;
346
+ return /$^/;
347
+ }
348
+ };
345
349
 
346
- /**
347
- * Picomatch constants.
348
- * @return {Object}
349
- */
350
+ /**
351
+ * Picomatch constants.
352
+ * @return {Object}
353
+ */
350
354
 
351
- picomatch.constants = constants;
355
+ picomatch.constants = constants;
352
356
 
353
- /**
354
- * Expose "picomatch"
355
- */
357
+ /**
358
+ * Expose "picomatch"
359
+ */
356
360
 
357
- var picomatch_1 = picomatch;
361
+ picomatch_1 = picomatch;
362
+ return picomatch_1;
363
+ }
358
364
 
359
- export { picomatch_1 };
365
+ export { requirePicomatch as __require };