@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,12 +1,10 @@
|
|
|
1
1
|
var splitStringTransformer = function splitStringTransformer2(splitBy) {
|
|
2
2
|
return {
|
|
3
3
|
onSubstitution: function onSubstitution(substitution, resultSoFar) {
|
|
4
|
-
|
|
4
|
+
{
|
|
5
5
|
if (typeof substitution === "string" && substitution.includes(splitBy)) {
|
|
6
6
|
substitution = substitution.split(splitBy);
|
|
7
7
|
}
|
|
8
|
-
} else {
|
|
9
|
-
throw new Error("You need to specify a string character to split by.");
|
|
10
8
|
}
|
|
11
9
|
return substitution;
|
|
12
10
|
}
|
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { __module as dirGlob$1 } from '../../../../../_virtual/index2.esnext';
|
|
1
|
+
import { __module as dirGlob } from '../../../../../_virtual/index8.esnext';
|
|
3
2
|
import path__default from 'node:path';
|
|
4
|
-
import '../../../path-type@4.0.0/node_modules/path-type/index.esnext';
|
|
5
|
-
import { __exports as pathType$1 } from '../../../../../_virtual/index3.esnext';
|
|
3
|
+
import { __require as requirePathType } from '../../../path-type@4.0.0/node_modules/path-type/index.esnext';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
}
|
|
18
|
-
return `**/${file}.${getExtensions(extensions)}`;
|
|
19
|
-
};
|
|
20
|
-
const getGlob = (directory, options) => {
|
|
21
|
-
if (options.files && !Array.isArray(options.files)) {
|
|
22
|
-
throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``);
|
|
23
|
-
}
|
|
24
|
-
if (options.extensions && !Array.isArray(options.extensions)) {
|
|
25
|
-
throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);
|
|
26
|
-
}
|
|
27
|
-
if (options.files && options.extensions) {
|
|
28
|
-
return options.files.map((x) => path.posix.join(directory, addExtensions(x, options.extensions)));
|
|
29
|
-
}
|
|
30
|
-
if (options.files) {
|
|
31
|
-
return options.files.map((x) => path.posix.join(directory, `**/${x}`));
|
|
32
|
-
}
|
|
33
|
-
if (options.extensions) {
|
|
34
|
-
return [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
|
|
35
|
-
}
|
|
36
|
-
return [path.posix.join(directory, "**")];
|
|
37
|
-
};
|
|
38
|
-
dirGlob$1.exports = async (input, options) => {
|
|
39
|
-
options = {
|
|
40
|
-
cwd: process.cwd(),
|
|
41
|
-
...options
|
|
5
|
+
var hasRequiredDirGlob;
|
|
6
|
+
function requireDirGlob() {
|
|
7
|
+
if (hasRequiredDirGlob) return dirGlob.exports;
|
|
8
|
+
hasRequiredDirGlob = 1;
|
|
9
|
+
const path = path__default;
|
|
10
|
+
const pathType = requirePathType();
|
|
11
|
+
const getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
|
|
12
|
+
const getPath = (filepath, cwd) => {
|
|
13
|
+
const pth = filepath[0] === "!" ? filepath.slice(1) : filepath;
|
|
14
|
+
return path.isAbsolute(pth) ? pth : path.join(cwd, pth);
|
|
42
15
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return isDirectory ? getGlob(x, options) : x;
|
|
49
|
-
}));
|
|
50
|
-
return [].concat.apply([], globs);
|
|
51
|
-
};
|
|
52
|
-
dirGlob$1.exports.sync = (input, options) => {
|
|
53
|
-
options = {
|
|
54
|
-
cwd: process.cwd(),
|
|
55
|
-
...options
|
|
16
|
+
const addExtensions = (file, extensions) => {
|
|
17
|
+
if (path.extname(file)) {
|
|
18
|
+
return `**/${file}`;
|
|
19
|
+
}
|
|
20
|
+
return `**/${file}.${getExtensions(extensions)}`;
|
|
56
21
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
|
|
22
|
+
const getGlob = (directory, options) => {
|
|
23
|
+
if (options.files && !Array.isArray(options.files)) {
|
|
24
|
+
throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``);
|
|
25
|
+
}
|
|
26
|
+
if (options.extensions && !Array.isArray(options.extensions)) {
|
|
27
|
+
throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);
|
|
28
|
+
}
|
|
29
|
+
if (options.files && options.extensions) {
|
|
30
|
+
return options.files.map((x) => path.posix.join(directory, addExtensions(x, options.extensions)));
|
|
31
|
+
}
|
|
32
|
+
if (options.files) {
|
|
33
|
+
return options.files.map((x) => path.posix.join(directory, `**/${x}`));
|
|
34
|
+
}
|
|
35
|
+
if (options.extensions) {
|
|
36
|
+
return [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
|
|
37
|
+
}
|
|
38
|
+
return [path.posix.join(directory, "**")];
|
|
39
|
+
};
|
|
40
|
+
dirGlob.exports = async (input, options) => {
|
|
41
|
+
options = {
|
|
42
|
+
cwd: process.cwd(),
|
|
43
|
+
...options
|
|
44
|
+
};
|
|
45
|
+
if (typeof options.cwd !== "string") {
|
|
46
|
+
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
|
|
47
|
+
}
|
|
48
|
+
const globs = await Promise.all([].concat(input).map(async (x) => {
|
|
49
|
+
const isDirectory = await pathType.isDirectory(getPath(x, options.cwd));
|
|
50
|
+
return isDirectory ? getGlob(x, options) : x;
|
|
51
|
+
}));
|
|
52
|
+
return [].concat.apply([], globs);
|
|
53
|
+
};
|
|
54
|
+
dirGlob.exports.sync = (input, options) => {
|
|
55
|
+
options = {
|
|
56
|
+
cwd: process.cwd(),
|
|
57
|
+
...options
|
|
58
|
+
};
|
|
59
|
+
if (typeof options.cwd !== "string") {
|
|
60
|
+
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);
|
|
61
|
+
}
|
|
62
|
+
const globs = [].concat(input).map((x) => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);
|
|
63
|
+
return [].concat.apply([], globs);
|
|
64
|
+
};
|
|
65
|
+
return dirGlob.exports;
|
|
66
|
+
}
|
|
65
67
|
|
|
66
|
-
export {
|
|
68
|
+
export { requireDirGlob as __require };
|
package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext
CHANGED
|
@@ -1,79 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './managers/
|
|
3
|
-
import './
|
|
4
|
-
import './providers/
|
|
5
|
-
import './providers/
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './utils/index.esnext';
|
|
9
|
-
import { __exports as tasks } from '../../../../../../_virtual/tasks.esnext';
|
|
10
|
-
import { __exports as patterns } from '../../../../../../_virtual/patterns.esnext';
|
|
11
|
-
import { __exports as async } from '../../../../../../_virtual/async.esnext';
|
|
12
|
-
import { __exports as stream } from '../../../../../../_virtual/stream.esnext';
|
|
13
|
-
import { __exports as sync } from '../../../../../../_virtual/sync.esnext';
|
|
14
|
-
import { __exports as settings } from '../../../../../../_virtual/settings.esnext';
|
|
15
|
-
import { __exports as utils$1 } from '../../../../../../_virtual/index.esnext';
|
|
1
|
+
import { __require as requireTasks } from './managers/tasks.esnext';
|
|
2
|
+
import { __require as requirePatterns } from './managers/patterns.esnext';
|
|
3
|
+
import { __require as requireAsync } from './providers/async.esnext';
|
|
4
|
+
import { __require as requireStream } from './providers/stream.esnext';
|
|
5
|
+
import { __require as requireSync } from './providers/sync.esnext';
|
|
6
|
+
import { __require as requireSettings } from './settings.esnext';
|
|
7
|
+
import { __require as requireUtils } from './utils/index.esnext';
|
|
16
8
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(function(FastGlob2) {
|
|
31
|
-
function sync(source, options) {
|
|
32
|
-
assertPatternsInput(source);
|
|
33
|
-
const works = getWorks(source, sync_1.default, options);
|
|
34
|
-
return utils.array.flatten(works);
|
|
35
|
-
}
|
|
36
|
-
FastGlob2.sync = sync;
|
|
37
|
-
function stream(source, options) {
|
|
9
|
+
var out;
|
|
10
|
+
var hasRequiredOut;
|
|
11
|
+
function requireOut() {
|
|
12
|
+
if (hasRequiredOut) return out;
|
|
13
|
+
hasRequiredOut = 1;
|
|
14
|
+
const taskManager = requireTasks();
|
|
15
|
+
const patternManager = requirePatterns();
|
|
16
|
+
const async_1 = requireAsync();
|
|
17
|
+
const stream_1 = requireStream();
|
|
18
|
+
const sync_1 = requireSync();
|
|
19
|
+
const settings_1 = requireSettings();
|
|
20
|
+
const utils = requireUtils();
|
|
21
|
+
async function FastGlob(source, options) {
|
|
38
22
|
assertPatternsInput(source);
|
|
39
|
-
const works = getWorks(source,
|
|
40
|
-
|
|
23
|
+
const works = getWorks(source, async_1.default, options);
|
|
24
|
+
const result = await Promise.all(works);
|
|
25
|
+
return utils.array.flatten(result);
|
|
41
26
|
}
|
|
42
|
-
FastGlob2
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
(function(FastGlob2) {
|
|
28
|
+
function sync(source, options) {
|
|
29
|
+
assertPatternsInput(source);
|
|
30
|
+
const works = getWorks(source, sync_1.default, options);
|
|
31
|
+
return utils.array.flatten(works);
|
|
32
|
+
}
|
|
33
|
+
FastGlob2.sync = sync;
|
|
34
|
+
function stream(source, options) {
|
|
35
|
+
assertPatternsInput(source);
|
|
36
|
+
const works = getWorks(source, stream_1.default, options);
|
|
37
|
+
return utils.stream.merge(works);
|
|
38
|
+
}
|
|
39
|
+
FastGlob2.stream = stream;
|
|
40
|
+
function generateTasks(source, options) {
|
|
41
|
+
assertPatternsInput(source);
|
|
42
|
+
const patterns = patternManager.transform([].concat(source));
|
|
43
|
+
const settings = new settings_1.default(options);
|
|
44
|
+
return taskManager.generate(patterns, settings);
|
|
45
|
+
}
|
|
46
|
+
FastGlob2.generateTasks = generateTasks;
|
|
47
|
+
function isDynamicPattern(source, options) {
|
|
48
|
+
assertPatternsInput(source);
|
|
49
|
+
const settings = new settings_1.default(options);
|
|
50
|
+
return utils.pattern.isDynamicPattern(source, settings);
|
|
51
|
+
}
|
|
52
|
+
FastGlob2.isDynamicPattern = isDynamicPattern;
|
|
53
|
+
function escapePath(source) {
|
|
54
|
+
assertPatternsInput(source);
|
|
55
|
+
return utils.path.escape(source);
|
|
56
|
+
}
|
|
57
|
+
FastGlob2.escapePath = escapePath;
|
|
58
|
+
})(FastGlob || (FastGlob = {}));
|
|
59
|
+
function getWorks(source, _Provider, options) {
|
|
45
60
|
const patterns = patternManager.transform([].concat(source));
|
|
46
61
|
const settings = new settings_1.default(options);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
function isDynamicPattern(source, options) {
|
|
51
|
-
assertPatternsInput(source);
|
|
52
|
-
const settings = new settings_1.default(options);
|
|
53
|
-
return utils.pattern.isDynamicPattern(source, settings);
|
|
62
|
+
const tasks = taskManager.generate(patterns, settings);
|
|
63
|
+
const provider = new _Provider(settings);
|
|
64
|
+
return tasks.map(provider.read, provider);
|
|
54
65
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
})(FastGlob || (FastGlob = {}));
|
|
62
|
-
function getWorks(source, _Provider, options) {
|
|
63
|
-
const patterns = patternManager.transform([].concat(source));
|
|
64
|
-
const settings = new settings_1.default(options);
|
|
65
|
-
const tasks = taskManager.generate(patterns, settings);
|
|
66
|
-
const provider = new _Provider(settings);
|
|
67
|
-
return tasks.map(provider.read, provider);
|
|
68
|
-
}
|
|
69
|
-
function assertPatternsInput(input) {
|
|
70
|
-
const source = [].concat(input);
|
|
71
|
-
const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));
|
|
72
|
-
if (!isValidSource) {
|
|
73
|
-
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
66
|
+
function assertPatternsInput(input) {
|
|
67
|
+
const source = [].concat(input);
|
|
68
|
+
const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));
|
|
69
|
+
if (!isValidSource) {
|
|
70
|
+
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
71
|
+
}
|
|
74
72
|
}
|
|
73
|
+
out = FastGlob;
|
|
74
|
+
return out;
|
|
75
75
|
}
|
|
76
|
-
var out = FastGlob;
|
|
77
|
-
const fastGlob = /* @__PURE__ */ getDefaultExportFromCjs(out);
|
|
78
76
|
|
|
79
|
-
export {
|
|
77
|
+
export { requireOut as __require };
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { __exports as patterns } from '../../../../../../../_virtual/patterns.esnext';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
var hasRequiredPatterns;
|
|
4
|
+
function requirePatterns() {
|
|
5
|
+
if (hasRequiredPatterns) return patterns;
|
|
6
|
+
hasRequiredPatterns = 1;
|
|
7
|
+
Object.defineProperty(patterns, "__esModule", { value: true });
|
|
8
|
+
patterns.removeDuplicateSlashes = patterns.transform = void 0;
|
|
9
|
+
const DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
|
|
10
|
+
function transform(patterns2) {
|
|
11
|
+
return patterns2.map((pattern) => removeDuplicateSlashes(pattern));
|
|
12
|
+
}
|
|
13
|
+
patterns.transform = transform;
|
|
14
|
+
function removeDuplicateSlashes(pattern) {
|
|
15
|
+
return pattern.replace(DOUBLE_SLASH_RE, "/");
|
|
16
|
+
}
|
|
17
|
+
patterns.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
18
|
+
return patterns;
|
|
8
19
|
}
|
|
9
|
-
patterns.transform = transform;
|
|
10
|
-
function removeDuplicateSlashes(pattern) {
|
|
11
|
-
return pattern.replace(DOUBLE_SLASH_RE, "/");
|
|
12
|
-
}
|
|
13
|
-
patterns.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
14
20
|
|
|
15
|
-
export {
|
|
21
|
+
export { requirePatterns as __require };
|
|
@@ -1,83 +1,88 @@
|
|
|
1
1
|
import { __exports as tasks } from '../../../../../../../_virtual/tasks.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
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
31
|
-
const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
32
|
-
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
33
|
-
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
34
|
-
tasks2.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
35
|
-
if ("." in insideCurrentDirectoryGroup) {
|
|
36
|
-
tasks2.push(convertPatternGroupToTask(".", patternsInsideCurrentDirectory, negative, dynamic));
|
|
37
|
-
} else {
|
|
38
|
-
tasks2.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
|
|
4
|
+
var hasRequiredTasks;
|
|
5
|
+
function requireTasks() {
|
|
6
|
+
if (hasRequiredTasks) return tasks;
|
|
7
|
+
hasRequiredTasks = 1;
|
|
8
|
+
Object.defineProperty(tasks, "__esModule", { value: true });
|
|
9
|
+
tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
|
|
10
|
+
const utils = requireUtils();
|
|
11
|
+
function generate(patterns, settings) {
|
|
12
|
+
const positivePatterns = getPositivePatterns(patterns);
|
|
13
|
+
const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
|
|
14
|
+
const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings));
|
|
15
|
+
const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings));
|
|
16
|
+
const staticTasks = convertPatternsToTasks(
|
|
17
|
+
staticPatterns,
|
|
18
|
+
negativePatterns,
|
|
19
|
+
/* dynamic */
|
|
20
|
+
false
|
|
21
|
+
);
|
|
22
|
+
const dynamicTasks = convertPatternsToTasks(
|
|
23
|
+
dynamicPatterns,
|
|
24
|
+
negativePatterns,
|
|
25
|
+
/* dynamic */
|
|
26
|
+
true
|
|
27
|
+
);
|
|
28
|
+
return staticTasks.concat(dynamicTasks);
|
|
39
29
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return positive;
|
|
51
|
-
}
|
|
52
|
-
tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
53
|
-
function groupPatternsByBaseDirectory(patterns) {
|
|
54
|
-
const group = {};
|
|
55
|
-
return patterns.reduce((collection, pattern) => {
|
|
56
|
-
const base = utils.pattern.getBaseDirectory(pattern);
|
|
57
|
-
if (base in collection) {
|
|
58
|
-
collection[base].push(pattern);
|
|
30
|
+
tasks.generate = generate;
|
|
31
|
+
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
32
|
+
const tasks2 = [];
|
|
33
|
+
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
34
|
+
const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
35
|
+
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
36
|
+
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
37
|
+
tasks2.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
38
|
+
if ("." in insideCurrentDirectoryGroup) {
|
|
39
|
+
tasks2.push(convertPatternGroupToTask(".", patternsInsideCurrentDirectory, negative, dynamic));
|
|
59
40
|
} else {
|
|
60
|
-
|
|
41
|
+
tasks2.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
|
|
61
42
|
}
|
|
62
|
-
return
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
43
|
+
return tasks2;
|
|
44
|
+
}
|
|
45
|
+
tasks.convertPatternsToTasks = convertPatternsToTasks;
|
|
46
|
+
function getPositivePatterns(patterns) {
|
|
47
|
+
return utils.pattern.getPositivePatterns(patterns);
|
|
48
|
+
}
|
|
49
|
+
tasks.getPositivePatterns = getPositivePatterns;
|
|
50
|
+
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
51
|
+
const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
52
|
+
const positive = negative.map(utils.pattern.convertToPositivePattern);
|
|
53
|
+
return positive;
|
|
54
|
+
}
|
|
55
|
+
tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
56
|
+
function groupPatternsByBaseDirectory(patterns) {
|
|
57
|
+
const group = {};
|
|
58
|
+
return patterns.reduce((collection, pattern) => {
|
|
59
|
+
const base = utils.pattern.getBaseDirectory(pattern);
|
|
60
|
+
if (base in collection) {
|
|
61
|
+
collection[base].push(pattern);
|
|
62
|
+
} else {
|
|
63
|
+
collection[base] = [pattern];
|
|
64
|
+
}
|
|
65
|
+
return collection;
|
|
66
|
+
}, group);
|
|
67
|
+
}
|
|
68
|
+
tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
69
|
+
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
70
|
+
return Object.keys(positive).map((base) => {
|
|
71
|
+
return convertPatternGroupToTask(base, positive[base], negative, dynamic);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
75
|
+
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
76
|
+
return {
|
|
77
|
+
dynamic,
|
|
78
|
+
positive,
|
|
79
|
+
negative,
|
|
80
|
+
base,
|
|
81
|
+
patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
tasks.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
85
|
+
return tasks;
|
|
80
86
|
}
|
|
81
|
-
tasks.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
82
87
|
|
|
83
|
-
export {
|
|
88
|
+
export { requireTasks as __require };
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
import { __exports as async } from '../../../../../../../_virtual/async.esnext';
|
|
2
|
-
import '../readers/async.esnext';
|
|
3
|
-
import './provider.esnext';
|
|
4
|
-
import { __exports as async$1 } from '../../../../../../../_virtual/async2.esnext';
|
|
5
|
-
import { __exports as provider } from '../../../../../../../_virtual/provider.esnext';
|
|
2
|
+
import { __require as requireAsync$1 } from '../readers/async.esnext';
|
|
3
|
+
import { __require as requireProvider } from './provider.esnext';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
5
|
+
var hasRequiredAsync;
|
|
6
|
+
function requireAsync() {
|
|
7
|
+
if (hasRequiredAsync) return async;
|
|
8
|
+
hasRequiredAsync = 1;
|
|
9
|
+
Object.defineProperty(async, "__esModule", { value: true });
|
|
10
|
+
const async_1 = requireAsync$1();
|
|
11
|
+
const provider_1 = requireProvider();
|
|
12
|
+
class ProviderAsync extends provider_1.default {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this._reader = new async_1.default(this._settings);
|
|
16
|
+
}
|
|
17
|
+
async read(task) {
|
|
18
|
+
const root = this._getRootDirectory(task);
|
|
19
|
+
const options = this._getReaderOptions(task);
|
|
20
|
+
const entries = await this.api(root, task, options);
|
|
21
|
+
return entries.map((entry) => options.transform(entry));
|
|
22
|
+
}
|
|
23
|
+
api(root, task, options) {
|
|
24
|
+
if (task.dynamic) {
|
|
25
|
+
return this._reader.dynamic(root, options);
|
|
26
|
+
}
|
|
27
|
+
return this._reader.static(task.patterns, options);
|
|
24
28
|
}
|
|
25
|
-
return this._reader.static(task.patterns, options);
|
|
26
29
|
}
|
|
30
|
+
async.default = ProviderAsync;
|
|
31
|
+
return async;
|
|
27
32
|
}
|
|
28
|
-
|
|
33
|
+
|
|
34
|
+
export { requireAsync as __require };
|