@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.
- package/CHANGELOG.md +12 -0
- package/build/esm/_virtual/index.mjs +6 -2
- package/build/esm/_virtual/index10.mjs +3 -0
- package/build/esm/_virtual/index11.mjs +3 -0
- package/build/esm/_virtual/index12.mjs +3 -0
- package/build/esm/_virtual/index13.mjs +3 -0
- package/build/esm/_virtual/index2.mjs +2 -2
- package/build/esm/_virtual/index3.mjs +6 -2
- package/build/esm/_virtual/index4.mjs +6 -2
- package/build/esm/_virtual/index5.mjs +6 -2
- package/build/esm/_virtual/index6.mjs +6 -2
- package/build/esm/_virtual/index8.mjs +3 -0
- package/build/esm/_virtual/index9.mjs +3 -0
- package/build/esm/_virtual/minimatch.mjs +12 -0
- package/build/esm/app.mjs +2 -2
- package/build/esm/cli.mjs +1 -1
- package/build/esm/module.mjs +2 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +29 -21
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +24 -18
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +35 -32
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +103 -101
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +19 -13
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +63 -61
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +33 -27
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +25 -19
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +15 -10
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +27 -19
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +35 -32
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +40 -34
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +27 -21
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.mjs +24 -17
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +44 -42
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.mjs +37 -30
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.mjs +41 -34
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.mjs +22 -15
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +104 -99
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +35 -29
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.mjs +19 -12
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +65 -60
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +34 -27
- package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +116 -112
- package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +54 -47
- package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +144 -137
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +173 -166
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +57 -51
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +102 -94
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +89 -83
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +312 -305
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +30 -24
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +116 -108
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +1 -3
- package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +63 -61
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +75 -77
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +28 -22
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +83 -78
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +31 -25
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +66 -60
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +66 -59
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +23 -16
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +55 -48
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +40 -33
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +59 -55
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +38 -32
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +31 -25
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +33 -26
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +43 -38
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +41 -35
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +60 -55
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +48 -43
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +65 -57
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +26 -20
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +14 -8
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +25 -19
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +33 -34
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +39 -33
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +170 -164
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +24 -18
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +18 -12
- package/build/esm/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.mjs +227 -221
- package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +207 -200
- package/build/esm/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.mjs +1 -6
- package/build/esm/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.mjs +51 -44
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.mjs +2 -2
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.mjs +3 -3
- package/build/esm/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.mjs +443 -439
- package/build/esm/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.mjs +18 -11
- package/build/esm/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.mjs +116 -109
- package/build/esm/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.mjs +17 -10
- package/build/esm/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.mjs +117 -110
- package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +457 -451
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.mjs +14 -7
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.mjs +770 -770
- package/build/esm/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.mjs +40 -34
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.mjs +10 -3
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.mjs +227 -220
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.mjs +941 -935
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.mjs +331 -325
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.mjs +303 -297
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.mjs +65 -57
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.mjs +605 -605
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +378 -394
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +15 -15
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.mjs +281 -294
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +155 -155
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.mjs +17 -12
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.mjs +1 -1
- package/build/esm/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.mjs +14 -7
- package/build/esm/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.mjs +29 -22
- package/build/esm/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.mjs +49 -42
- package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs +231 -224
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.mjs +3 -3
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +1 -1
- package/build/esm/package.mjs +2 -2
- package/build/esm/packages/cli-kit/build/esnext/prompt.esnext.mjs +1 -1
- package/build/esm/server.mjs +5 -9
- package/build/esm/shared/package-manager.mjs +1 -1
- package/build/esm/shared/prompts.mjs +1 -1
- package/build/esnext/_virtual/index.esnext +6 -2
- package/build/esnext/_virtual/index10.esnext +3 -0
- package/build/esnext/_virtual/index11.esnext +3 -0
- package/build/esnext/_virtual/index12.esnext +3 -0
- package/build/esnext/_virtual/index13.esnext +3 -0
- package/build/esnext/_virtual/index2.esnext +2 -2
- package/build/esnext/_virtual/index3.esnext +6 -2
- package/build/esnext/_virtual/index4.esnext +6 -2
- package/build/esnext/_virtual/index5.esnext +6 -2
- package/build/esnext/_virtual/index6.esnext +6 -2
- package/build/esnext/_virtual/index8.esnext +3 -0
- package/build/esnext/_virtual/index9.esnext +3 -0
- package/build/esnext/_virtual/minimatch.esnext +12 -0
- package/build/esnext/app.esnext +2 -2
- package/build/esnext/module.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +27 -19
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +19 -13
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +33 -30
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +99 -97
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +14 -8
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +59 -57
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +31 -25
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +13 -8
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +25 -17
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +33 -30
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +38 -32
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +25 -19
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +23 -16
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +42 -40
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.esnext +36 -29
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.esnext +40 -33
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.esnext +21 -14
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +98 -93
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +30 -24
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.esnext +17 -10
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +59 -54
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +33 -26
- package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +132 -128
- package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +54 -47
- package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +137 -130
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +66 -59
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +53 -47
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +102 -95
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +89 -83
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +217 -210
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +30 -24
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +75 -67
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +1 -3
- package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +63 -61
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +68 -70
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +17 -11
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +81 -76
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +29 -23
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +61 -55
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +61 -54
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +21 -14
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +49 -42
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +31 -24
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +57 -53
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +34 -28
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +29 -23
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +29 -22
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +40 -35
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +39 -33
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +56 -51
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +46 -41
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +59 -51
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +24 -18
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +12 -6
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +31 -32
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +32 -26
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +135 -129
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +16 -10
- package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +220 -215
- package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +193 -186
- package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +1 -6
- package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +31 -24
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +357 -353
- package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +18 -11
- package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +111 -104
- package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +17 -10
- package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +103 -96
- package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +147 -141
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +10 -3
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +495 -491
- package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +38 -32
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +10 -3
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +198 -191
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +683 -677
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +137 -131
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +279 -273
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +65 -57
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +9 -9
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +20 -20
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +15 -15
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +64 -64
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +19 -19
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +16 -11
- package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +12 -5
- package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +29 -22
- package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +47 -40
- package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +196 -189
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-props.esnext +1 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/lexer.esnext +5 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/parser.esnext +4 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +1 -1
- package/build/esnext/package.esnext +2 -2
- package/build/esnext/packages/cli-kit/build/esnext/prompt.esnext.esnext +1 -1
- package/build/esnext/server.esnext +5 -9
- package/build/esnext/shared/package-manager.esnext +1 -1
- package/build/esnext/shared/prompts.esnext +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/source/shared/prompts.ts +1 -1
- package/templates/app-basic/package.json +4 -4
- package/templates/app-empty/package.json +3 -3
- package/templates/app-graphql/package.json +4 -4
- package/templates/app-trpc/package.json +4 -4
- package/templates/package/package.json +3 -3
- package/templates/workspace/package.json +4 -4
|
@@ -1,64 +1,70 @@
|
|
|
1
1
|
import { __exports as deep } from '../../../../../../../../_virtual/deep.esnext';
|
|
2
|
-
import '../../utils/index.esnext';
|
|
3
|
-
import '../matchers/partial.esnext';
|
|
4
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.esnext';
|
|
5
|
-
import { __exports as partial } from '../../../../../../../../_virtual/partial.esnext';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.esnext';
|
|
3
|
+
import { __require as requirePartial } from '../matchers/partial.esnext';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return (entry) => this._filter(basePath, entry, matcher, negativeRe);
|
|
19
|
-
}
|
|
20
|
-
_getMatcher(patterns) {
|
|
21
|
-
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
22
|
-
}
|
|
23
|
-
_getNegativePatternsRe(patterns) {
|
|
24
|
-
const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
|
|
25
|
-
return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
26
|
-
}
|
|
27
|
-
_filter(basePath, entry, matcher, negativeRe) {
|
|
28
|
-
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
29
|
-
return false;
|
|
5
|
+
var hasRequiredDeep;
|
|
6
|
+
function requireDeep() {
|
|
7
|
+
if (hasRequiredDeep) return deep;
|
|
8
|
+
hasRequiredDeep = 1;
|
|
9
|
+
Object.defineProperty(deep, "__esModule", { value: true });
|
|
10
|
+
const utils = requireUtils();
|
|
11
|
+
const partial_1 = requirePartial();
|
|
12
|
+
class DeepFilter {
|
|
13
|
+
constructor(_settings, _micromatchOptions) {
|
|
14
|
+
this._settings = _settings;
|
|
15
|
+
this._micromatchOptions = _micromatchOptions;
|
|
30
16
|
}
|
|
31
|
-
|
|
32
|
-
|
|
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);
|
|
33
21
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return false;
|
|
22
|
+
_getMatcher(patterns) {
|
|
23
|
+
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
37
24
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
if (this._settings.deep === Infinity) {
|
|
42
|
-
return false;
|
|
25
|
+
_getNegativePatternsRe(patterns) {
|
|
26
|
+
const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
|
|
27
|
+
return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
43
28
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
29
|
+
_filter(basePath, entry, matcher, negativeRe) {
|
|
30
|
+
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
if (this._isSkippedSymbolicLink(entry)) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
const filepath = utils.path.removeLeadingDotSegment(entry.path);
|
|
37
|
+
if (this._isSkippedByPositivePatterns(filepath, matcher)) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return this._isSkippedByNegativePatterns(filepath, negativeRe);
|
|
41
|
+
}
|
|
42
|
+
_isSkippedByDeep(basePath, entryPath) {
|
|
43
|
+
if (this._settings.deep === Infinity) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;
|
|
47
|
+
}
|
|
48
|
+
_getEntryLevel(basePath, entryPath) {
|
|
49
|
+
const entryPathDepth = entryPath.split("/").length;
|
|
50
|
+
if (basePath === "") {
|
|
51
|
+
return entryPathDepth;
|
|
52
|
+
}
|
|
53
|
+
const basePathDepth = basePath.split("/").length;
|
|
54
|
+
return entryPathDepth - basePathDepth;
|
|
55
|
+
}
|
|
56
|
+
_isSkippedSymbolicLink(entry) {
|
|
57
|
+
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
58
|
+
}
|
|
59
|
+
_isSkippedByPositivePatterns(entryPath, matcher) {
|
|
60
|
+
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
61
|
+
}
|
|
62
|
+
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
63
|
+
return !utils.pattern.matchAny(entryPath, patternsRe);
|
|
50
64
|
}
|
|
51
|
-
const basePathDepth = basePath.split("/").length;
|
|
52
|
-
return entryPathDepth - basePathDepth;
|
|
53
|
-
}
|
|
54
|
-
_isSkippedSymbolicLink(entry) {
|
|
55
|
-
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
56
|
-
}
|
|
57
|
-
_isSkippedByPositivePatterns(entryPath, matcher) {
|
|
58
|
-
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
59
|
-
}
|
|
60
|
-
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
61
|
-
return !utils.pattern.matchAny(entryPath, patternsRe);
|
|
62
65
|
}
|
|
66
|
+
deep.default = DeepFilter;
|
|
67
|
+
return deep;
|
|
63
68
|
}
|
|
64
|
-
|
|
69
|
+
|
|
70
|
+
export { requireDeep as __require };
|
|
@@ -1,64 +1,71 @@
|
|
|
1
1
|
import { __exports as entry } from '../../../../../../../../_virtual/entry.esnext';
|
|
2
|
-
import '../../utils/index.esnext';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.esnext';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.esnext';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return (entry2) => this._filter(entry2, positiveRe, negativeRe);
|
|
17
|
-
}
|
|
18
|
-
_filter(entry2, positiveRe, negativeRe) {
|
|
19
|
-
if (this._settings.unique && this._isDuplicateEntry(entry2)) {
|
|
20
|
-
return false;
|
|
4
|
+
var hasRequiredEntry;
|
|
5
|
+
function requireEntry() {
|
|
6
|
+
if (hasRequiredEntry) return entry;
|
|
7
|
+
hasRequiredEntry = 1;
|
|
8
|
+
Object.defineProperty(entry, "__esModule", { value: true });
|
|
9
|
+
const utils = requireUtils();
|
|
10
|
+
class EntryFilter {
|
|
11
|
+
constructor(_settings, _micromatchOptions) {
|
|
12
|
+
this._settings = _settings;
|
|
13
|
+
this._micromatchOptions = _micromatchOptions;
|
|
14
|
+
this.index = /* @__PURE__ */ new Map();
|
|
21
15
|
}
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
getFilter(positive, negative) {
|
|
17
|
+
const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
|
|
18
|
+
const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions);
|
|
19
|
+
return (entry2) => this._filter(entry2, positiveRe, negativeRe);
|
|
24
20
|
}
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
_filter(entry2, positiveRe, negativeRe) {
|
|
22
|
+
if (this._settings.unique && this._isDuplicateEntry(entry2)) {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
if (this._onlyFileFilter(entry2) || this._onlyDirectoryFilter(entry2)) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
if (this._isSkippedByAbsoluteNegativePatterns(entry2.path, negativeRe)) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
const filepath = this._settings.baseNameMatch ? entry2.name : entry2.path;
|
|
32
|
+
const isDirectory = entry2.dirent.isDirectory();
|
|
33
|
+
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry2.path, negativeRe, isDirectory);
|
|
34
|
+
if (this._settings.unique && isMatched) {
|
|
35
|
+
this._createIndexRecord(entry2);
|
|
36
|
+
}
|
|
37
|
+
return isMatched;
|
|
27
38
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry2.path, negativeRe, isDirectory);
|
|
31
|
-
if (this._settings.unique && isMatched) {
|
|
32
|
-
this._createIndexRecord(entry2);
|
|
39
|
+
_isDuplicateEntry(entry2) {
|
|
40
|
+
return this.index.has(entry2.path);
|
|
33
41
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
_isDuplicateEntry(entry2) {
|
|
37
|
-
return this.index.has(entry2.path);
|
|
38
|
-
}
|
|
39
|
-
_createIndexRecord(entry2) {
|
|
40
|
-
this.index.set(entry2.path, void 0);
|
|
41
|
-
}
|
|
42
|
-
_onlyFileFilter(entry2) {
|
|
43
|
-
return this._settings.onlyFiles && !entry2.dirent.isFile();
|
|
44
|
-
}
|
|
45
|
-
_onlyDirectoryFilter(entry2) {
|
|
46
|
-
return this._settings.onlyDirectories && !entry2.dirent.isDirectory();
|
|
47
|
-
}
|
|
48
|
-
_isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
|
|
49
|
-
if (!this._settings.absolute) {
|
|
50
|
-
return false;
|
|
42
|
+
_createIndexRecord(entry2) {
|
|
43
|
+
this.index.set(entry2.path, void 0);
|
|
51
44
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
45
|
+
_onlyFileFilter(entry2) {
|
|
46
|
+
return this._settings.onlyFiles && !entry2.dirent.isFile();
|
|
47
|
+
}
|
|
48
|
+
_onlyDirectoryFilter(entry2) {
|
|
49
|
+
return this._settings.onlyDirectories && !entry2.dirent.isDirectory();
|
|
50
|
+
}
|
|
51
|
+
_isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
|
|
52
|
+
if (!this._settings.absolute) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
|
|
56
|
+
return utils.pattern.matchAny(fullpath, patternsRe);
|
|
57
|
+
}
|
|
58
|
+
_isMatchToPatterns(entryPath, patternsRe, isDirectory) {
|
|
59
|
+
const filepath = utils.path.removeLeadingDotSegment(entryPath);
|
|
60
|
+
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
|
61
|
+
if (!isMatched && isDirectory) {
|
|
62
|
+
return utils.pattern.matchAny(filepath + "/", patternsRe);
|
|
63
|
+
}
|
|
64
|
+
return isMatched;
|
|
60
65
|
}
|
|
61
|
-
return isMatched;
|
|
62
66
|
}
|
|
67
|
+
entry.default = EntryFilter;
|
|
68
|
+
return entry;
|
|
63
69
|
}
|
|
64
|
-
|
|
70
|
+
|
|
71
|
+
export { requireEntry as __require };
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import { __exports as error } from '../../../../../../../../_virtual/error.esnext';
|
|
2
|
-
import '../../utils/index.esnext';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.esnext';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.esnext';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
var hasRequiredError;
|
|
5
|
+
function requireError() {
|
|
6
|
+
if (hasRequiredError) return error;
|
|
7
|
+
hasRequiredError = 1;
|
|
8
|
+
Object.defineProperty(error, "__esModule", { value: true });
|
|
9
|
+
const utils = requireUtils();
|
|
10
|
+
class ErrorFilter {
|
|
11
|
+
constructor(_settings) {
|
|
12
|
+
this._settings = _settings;
|
|
13
|
+
}
|
|
14
|
+
getFilter() {
|
|
15
|
+
return (error2) => this._isNonFatalError(error2);
|
|
16
|
+
}
|
|
17
|
+
_isNonFatalError(error2) {
|
|
18
|
+
return utils.errno.isEnoentCodeError(error2) || this._settings.suppressErrors;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
21
|
+
error.default = ErrorFilter;
|
|
22
|
+
return error;
|
|
17
23
|
}
|
|
18
|
-
|
|
24
|
+
|
|
25
|
+
export { requireError as __require };
|
|
@@ -1,49 +1,56 @@
|
|
|
1
1
|
import { __exports as matcher } from '../../../../../../../../_virtual/matcher.esnext';
|
|
2
|
-
import '../../utils/index.esnext';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.esnext';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.esnext';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const segments = this._getPatternSegments(pattern);
|
|
19
|
-
const sections = this._splitSegmentsIntoSections(segments);
|
|
20
|
-
this._storage.push({
|
|
21
|
-
complete: sections.length <= 1,
|
|
22
|
-
pattern,
|
|
23
|
-
segments,
|
|
24
|
-
sections
|
|
25
|
-
});
|
|
4
|
+
var hasRequiredMatcher;
|
|
5
|
+
function requireMatcher() {
|
|
6
|
+
if (hasRequiredMatcher) return matcher;
|
|
7
|
+
hasRequiredMatcher = 1;
|
|
8
|
+
Object.defineProperty(matcher, "__esModule", { value: true });
|
|
9
|
+
const utils = requireUtils();
|
|
10
|
+
class Matcher {
|
|
11
|
+
constructor(_patterns, _settings, _micromatchOptions) {
|
|
12
|
+
this._patterns = _patterns;
|
|
13
|
+
this._settings = _settings;
|
|
14
|
+
this._micromatchOptions = _micromatchOptions;
|
|
15
|
+
this._storage = [];
|
|
16
|
+
this._fillStorage();
|
|
26
17
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
_fillStorage() {
|
|
19
|
+
const patterns = utils.pattern.expandPatternsWithBraceExpansion(this._patterns);
|
|
20
|
+
for (const pattern of patterns) {
|
|
21
|
+
const segments = this._getPatternSegments(pattern);
|
|
22
|
+
const sections = this._splitSegmentsIntoSections(segments);
|
|
23
|
+
this._storage.push({
|
|
24
|
+
complete: sections.length <= 1,
|
|
25
|
+
pattern,
|
|
26
|
+
segments,
|
|
27
|
+
sections
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
_getPatternSegments(pattern) {
|
|
32
|
+
const parts = utils.pattern.getPatternParts(pattern, this._micromatchOptions);
|
|
33
|
+
return parts.map((part) => {
|
|
34
|
+
const dynamic = utils.pattern.isDynamicPattern(part, this._settings);
|
|
35
|
+
if (!dynamic) {
|
|
36
|
+
return {
|
|
37
|
+
dynamic: false,
|
|
38
|
+
pattern: part
|
|
39
|
+
};
|
|
40
|
+
}
|
|
33
41
|
return {
|
|
34
|
-
dynamic:
|
|
35
|
-
pattern: part
|
|
42
|
+
dynamic: true,
|
|
43
|
+
pattern: part,
|
|
44
|
+
patternRe: utils.pattern.makeRe(part, this._micromatchOptions)
|
|
36
45
|
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
};
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
_splitSegmentsIntoSections(segments) {
|
|
46
|
-
return utils.array.splitWhen(segments, (segment) => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
_splitSegmentsIntoSections(segments) {
|
|
49
|
+
return utils.array.splitWhen(segments, (segment) => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));
|
|
50
|
+
}
|
|
47
51
|
}
|
|
52
|
+
matcher.default = Matcher;
|
|
53
|
+
return matcher;
|
|
48
54
|
}
|
|
49
|
-
|
|
55
|
+
|
|
56
|
+
export { requireMatcher as __require };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
1
|
import { __exports as partial } from '../../../../../../../../_virtual/partial.esnext';
|
|
2
|
-
import './matcher.esnext';
|
|
3
|
-
import { __exports as matcher } from '../../../../../../../../_virtual/matcher.esnext';
|
|
2
|
+
import { __require as requireMatcher } from './matcher.esnext';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if (segment.dynamic && segment.patternRe.test(part)) {
|
|
4
|
+
var hasRequiredPartial;
|
|
5
|
+
function requirePartial() {
|
|
6
|
+
if (hasRequiredPartial) return partial;
|
|
7
|
+
hasRequiredPartial = 1;
|
|
8
|
+
Object.defineProperty(partial, "__esModule", { value: true });
|
|
9
|
+
const matcher_1 = requireMatcher();
|
|
10
|
+
class PartialMatcher extends matcher_1.default {
|
|
11
|
+
match(filepath) {
|
|
12
|
+
const parts = filepath.split("/");
|
|
13
|
+
const levels = parts.length;
|
|
14
|
+
const patterns = this._storage.filter((info) => !info.complete || info.segments.length > levels);
|
|
15
|
+
for (const pattern of patterns) {
|
|
16
|
+
const section = pattern.sections[0];
|
|
17
|
+
if (!pattern.complete && levels > section.length) {
|
|
20
18
|
return true;
|
|
21
19
|
}
|
|
22
|
-
|
|
20
|
+
const match = parts.every((part, index) => {
|
|
21
|
+
const segment = pattern.segments[index];
|
|
22
|
+
if (segment.dynamic && segment.patternRe.test(part)) {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
if (!segment.dynamic && segment.pattern === part) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
});
|
|
30
|
+
if (match) {
|
|
23
31
|
return true;
|
|
24
32
|
}
|
|
25
|
-
return false;
|
|
26
|
-
});
|
|
27
|
-
if (match) {
|
|
28
|
-
return true;
|
|
29
33
|
}
|
|
34
|
+
return false;
|
|
30
35
|
}
|
|
31
|
-
return false;
|
|
32
36
|
}
|
|
37
|
+
partial.default = PartialMatcher;
|
|
38
|
+
return partial;
|
|
33
39
|
}
|
|
34
|
-
|
|
40
|
+
|
|
41
|
+
export { requirePartial as __require };
|
|
@@ -1,58 +1,62 @@
|
|
|
1
1
|
import { __exports as provider } from '../../../../../../../_virtual/provider.esnext';
|
|
2
2
|
import path__default from 'node:path';
|
|
3
|
-
import './filters/deep.esnext';
|
|
4
|
-
import './filters/entry.esnext';
|
|
5
|
-
import './filters/error.esnext';
|
|
6
|
-
import './transformers/entry.esnext';
|
|
7
|
-
import { __exports as deep } from '../../../../../../../_virtual/deep.esnext';
|
|
8
|
-
import { __exports as entry } from '../../../../../../../_virtual/entry.esnext';
|
|
9
|
-
import { __exports as error } from '../../../../../../../_virtual/error.esnext';
|
|
10
|
-
import { __exports as entry$1 } from '../../../../../../../_virtual/entry2.esnext';
|
|
3
|
+
import { __require as requireDeep } from './filters/deep.esnext';
|
|
4
|
+
import { __require as requireEntry } from './filters/entry.esnext';
|
|
5
|
+
import { __require as requireError } from './filters/error.esnext';
|
|
6
|
+
import { __require as requireEntry$1 } from './transformers/entry.esnext';
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
8
|
+
var hasRequiredProvider;
|
|
9
|
+
function requireProvider() {
|
|
10
|
+
if (hasRequiredProvider) return provider;
|
|
11
|
+
hasRequiredProvider = 1;
|
|
12
|
+
Object.defineProperty(provider, "__esModule", { value: true });
|
|
13
|
+
const path = path__default;
|
|
14
|
+
const deep_1 = requireDeep();
|
|
15
|
+
const entry_1 = requireEntry();
|
|
16
|
+
const error_1 = requireError();
|
|
17
|
+
const entry_2 = requireEntry$1();
|
|
18
|
+
class Provider {
|
|
19
|
+
constructor(_settings) {
|
|
20
|
+
this._settings = _settings;
|
|
21
|
+
this.errorFilter = new error_1.default(this._settings);
|
|
22
|
+
this.entryFilter = new entry_1.default(this._settings, this._getMicromatchOptions());
|
|
23
|
+
this.deepFilter = new deep_1.default(this._settings, this._getMicromatchOptions());
|
|
24
|
+
this.entryTransformer = new entry_2.default(this._settings);
|
|
25
|
+
}
|
|
26
|
+
_getRootDirectory(task) {
|
|
27
|
+
return path.resolve(this._settings.cwd, task.base);
|
|
28
|
+
}
|
|
29
|
+
_getReaderOptions(task) {
|
|
30
|
+
const basePath = task.base === "." ? "" : task.base;
|
|
31
|
+
return {
|
|
32
|
+
basePath,
|
|
33
|
+
pathSegmentSeparator: "/",
|
|
34
|
+
concurrency: this._settings.concurrency,
|
|
35
|
+
deepFilter: this.deepFilter.getFilter(basePath, task.positive, task.negative),
|
|
36
|
+
entryFilter: this.entryFilter.getFilter(task.positive, task.negative),
|
|
37
|
+
errorFilter: this.errorFilter.getFilter(),
|
|
38
|
+
followSymbolicLinks: this._settings.followSymbolicLinks,
|
|
39
|
+
fs: this._settings.fs,
|
|
40
|
+
stats: this._settings.stats,
|
|
41
|
+
throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,
|
|
42
|
+
transform: this.entryTransformer.getTransformer()
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
_getMicromatchOptions() {
|
|
46
|
+
return {
|
|
47
|
+
dot: this._settings.dot,
|
|
48
|
+
matchBase: this._settings.baseNameMatch,
|
|
49
|
+
nobrace: !this._settings.braceExpansion,
|
|
50
|
+
nocase: !this._settings.caseSensitiveMatch,
|
|
51
|
+
noext: !this._settings.extglob,
|
|
52
|
+
noglobstar: !this._settings.globstar,
|
|
53
|
+
posix: true,
|
|
54
|
+
strictSlashes: false
|
|
55
|
+
};
|
|
56
|
+
}
|
|
56
57
|
}
|
|
58
|
+
provider.default = Provider;
|
|
59
|
+
return provider;
|
|
57
60
|
}
|
|
58
|
-
|
|
61
|
+
|
|
62
|
+
export { requireProvider as __require };
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
import { __exports as stream } from '../../../../../../../_virtual/stream.esnext';
|
|
2
2
|
import require$$0 from 'node:stream';
|
|
3
|
-
import '../readers/stream.esnext';
|
|
4
|
-
import './provider.esnext';
|
|
5
|
-
import { __exports as stream$1 } from '../../../../../../../_virtual/stream2.esnext';
|
|
6
|
-
import { __exports as provider } from '../../../../../../../_virtual/provider.esnext';
|
|
3
|
+
import { __require as requireStream$1 } from '../readers/stream.esnext';
|
|
4
|
+
import { __require as requireProvider } from './provider.esnext';
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return
|
|
6
|
+
var hasRequiredStream;
|
|
7
|
+
function requireStream() {
|
|
8
|
+
if (hasRequiredStream) return stream;
|
|
9
|
+
hasRequiredStream = 1;
|
|
10
|
+
Object.defineProperty(stream, "__esModule", { value: true });
|
|
11
|
+
const stream_1 = require$$0;
|
|
12
|
+
const stream_2 = requireStream$1();
|
|
13
|
+
const provider_1 = requireProvider();
|
|
14
|
+
class ProviderStream extends provider_1.default {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this._reader = new stream_2.default(this._settings);
|
|
18
|
+
}
|
|
19
|
+
read(task) {
|
|
20
|
+
const root = this._getRootDirectory(task);
|
|
21
|
+
const options = this._getReaderOptions(task);
|
|
22
|
+
const source = this.api(root, task, options);
|
|
23
|
+
const destination = new stream_1.Readable({ objectMode: true, read: () => {
|
|
24
|
+
} });
|
|
25
|
+
source.once("error", (error) => destination.emit("error", error)).on("data", (entry) => destination.emit("data", options.transform(entry))).once("end", () => destination.emit("end"));
|
|
26
|
+
destination.once("close", () => source.destroy());
|
|
27
|
+
return destination;
|
|
28
|
+
}
|
|
29
|
+
api(root, task, options) {
|
|
30
|
+
if (task.dynamic) {
|
|
31
|
+
return this._reader.dynamic(root, options);
|
|
32
|
+
}
|
|
33
|
+
return this._reader.static(task.patterns, options);
|
|
30
34
|
}
|
|
31
|
-
return this._reader.static(task.patterns, options);
|
|
32
35
|
}
|
|
36
|
+
stream.default = ProviderStream;
|
|
37
|
+
return stream;
|
|
33
38
|
}
|
|
34
|
-
|
|
39
|
+
|
|
40
|
+
export { requireStream as __require };
|