@quilted/create 0.2.43 → 0.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -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/index7.mjs +2 -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.3/node_modules/braces/index.mjs +175 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.mjs +62 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.mjs +106 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.mjs +100 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.mjs +374 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.mjs +35 -0
- package/build/esm/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.mjs +128 -0
- 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 -63
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.mjs +115 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.mjs +120 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.mjs +36 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.mjs +75 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.mjs +101 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.mjs +27 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.mjs +57 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.mjs +50 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.mjs +64 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.mjs +44 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.mjs +36 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.mjs +40 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.mjs +48 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.mjs +47 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.mjs +68 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.mjs +56 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.mjs +75 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.mjs +32 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.mjs +18 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.mjs +30 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.mjs +35 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.mjs +79 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.mjs +229 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.mjs +29 -0
- package/build/esm/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.mjs +22 -0
- 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.1.1/node_modules/fill-range/index.mjs +223 -0
- 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 +53 -46
- package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/ignore.mjs +11 -5
- package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/index.mjs +6 -8
- 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.8/node_modules/micromatch/index.mjs +479 -0
- 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 → prettier@3.5.1}/node_modules/prettier/plugins/babel.mjs +2810 -3362
- package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/estree.mjs +6611 -0
- package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.mjs +22 -0
- package/build/esm/node_modules/.pnpm/{prettier@3.0.0 → prettier@3.5.1}/node_modules/prettier/plugins/yaml.mjs +1259 -1271
- package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/standalone.mjs +3878 -0
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.mjs +0 -1
- 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/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/elements/date.mjs +0 -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.7.0/node_modules/yaml/browser/dist/compose/compose-collection.mjs +67 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-doc.mjs +3 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-node.mjs +13 -3
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-scalar.mjs +8 -4
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/composer.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-map.mjs +12 -5
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-scalar.mjs +6 -2
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-seq.mjs +10 -7
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-collection.mjs +11 -3
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.mjs +14 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-props.mjs +20 -7
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-map-includes.mjs +2 -2
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/Document.mjs +13 -10
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/anchors.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/applyReviver.mjs +1 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/createNode.mjs +4 -4
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/directives.mjs +10 -3
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/errors.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/log.mjs +7 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Alias.mjs +9 -2
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Collection.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/Node.mjs +44 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Pair.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +28 -4
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLSeq.mjs +22 -4
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +53 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1/node_modules/yaml/browser/dist/nodes/Node.mjs → yaml@2.7.0/node_modules/yaml/browser/dist/nodes/identity.mjs} +1 -14
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/toJS.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/cst.mjs +1 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/lexer.mjs +34 -21
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/parser.mjs +16 -9
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/public-api.mjs +2 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/Schema.mjs +2 -3
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/map.mjs +16 -0
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/seq.mjs +16 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/float.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/json/schema.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/tags.mjs +23 -12
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.mjs +3 -6
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/float.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.mjs +48 -0
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +9 -8
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +5 -3
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.mjs +2 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +14 -13
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.mjs +2 -4
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/foldFlowLines.mjs +19 -10
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringify.mjs +8 -2
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyCollection.mjs +9 -17
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyDocument.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyPair.mjs +40 -17
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +41 -21
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/visit.mjs +1 -1
- package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/index.mjs +2 -1
- package/build/esm/package.mjs +3 -3
- 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 +2 -3
- package/build/esm/shared/prompts.mjs +1 -1
- package/build/esm/shared.mjs +1 -3
- 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 +37 -31
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +24 -18
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +22 -15
- 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 +35 -28
- 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 +20 -13
- 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 +32 -25
- 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.3/node_modules/braces/index.esnext +70 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.esnext +57 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.esnext +103 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.esnext +100 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.esnext +243 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.esnext +35 -0
- package/build/esnext/node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.esnext +87 -0
- 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.3.3/node_modules/fast-glob/out/index.esnext +108 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.esnext +100 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.esnext +34 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.esnext +70 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.esnext +92 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.esnext +25 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.esnext +55 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.esnext +41 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.esnext +62 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.esnext +40 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.esnext +34 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.esnext +36 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.esnext +45 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.esnext +45 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.esnext +64 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.esnext +54 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.esnext +67 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.esnext +30 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.esnext +16 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.esnext +28 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.esnext +33 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.esnext +58 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.esnext +171 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.esnext +27 -0
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.esnext +20 -0
- 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.1.1/node_modules/fill-range/index.esnext +199 -0
- 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 +32 -25
- package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/ignore.esnext +8 -6
- package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/index.esnext +6 -6
- 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.8/node_modules/micromatch/index.esnext +168 -0
- 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.5.1/node_modules/prettier/plugins/babel.esnext +6956 -0
- package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/estree.esnext +4320 -0
- package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.esnext +12888 -0
- package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/yaml.esnext +4156 -0
- package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/standalone.esnext +2369 -0
- 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.7.0/node_modules/yaml/browser/dist/compose/compose-collection.esnext +60 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-doc.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-node.esnext +11 -3
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/compose-scalar.esnext +13 -5
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/composer.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-map.esnext +13 -4
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +8 -2
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-block-seq.esnext +11 -6
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-collection.esnext +12 -3
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +16 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-props.esnext +21 -9
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-map-includes.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/Document.esnext +8 -13
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/anchors.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/createNode.esnext +5 -3
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/directives.esnext +10 -4
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/errors.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/log.esnext +7 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Alias.esnext +8 -2
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Collection.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/nodes/Node.esnext +36 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Pair.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/Scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +31 -4
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/YAMLSeq.esnext +20 -4
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +8 -38
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1/node_modules/yaml/browser/dist/nodes/Node.esnext → yaml@2.7.0/node_modules/yaml/browser/dist/nodes/identity.esnext} +1 -13
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/nodes/toJS.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/cst.esnext +1 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/lexer.esnext +50 -33
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/parser.esnext +16 -9
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/public-api.esnext +3 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/Schema.esnext +2 -3
- package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/map.esnext +17 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/common/seq.esnext +17 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/float.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/json/schema.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/tags.esnext +25 -14
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.esnext +3 -6
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/float.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.7.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.esnext +50 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +9 -8
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +5 -4
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +14 -13
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/foldFlowLines.esnext +20 -10
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringify.esnext +9 -2
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyCollection.esnext +20 -28
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyDocument.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyPair.esnext +44 -23
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +39 -21
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/visit.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/index.esnext +2 -1
- package/build/esnext/package.esnext +3 -3
- 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 +2 -2
- package/build/esnext/shared/prompts.esnext +1 -1
- package/build/esnext/shared.esnext +5 -6
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/typescript/shared/package-manager.d.ts.map +1 -1
- package/build/typescript/shared.d.ts.map +1 -1
- package/package.json +8 -8
- package/source/shared/package-manager.ts +0 -1
- package/source/shared/prompts.ts +1 -1
- package/source/shared.ts +1 -2
- 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/_nvmrc +1 -1
- package/templates/workspace/package.json +4 -4
- package/build/esm/_virtual/patterns.mjs +0 -3
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +0 -168
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +0 -54
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +0 -99
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +0 -94
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +0 -367
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +0 -29
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +0 -114
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +0 -86
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +0 -26
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +0 -85
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +0 -30
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +0 -69
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +0 -69
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +0 -20
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +0 -55
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +0 -43
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +0 -60
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +0 -38
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +0 -30
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +0 -33
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +0 -43
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +0 -41
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +0 -63
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +0 -51
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +0 -65
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +0 -26
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +0 -12
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +0 -24
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +0 -36
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +0 -39
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +0 -183
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +0 -23
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +0 -16
- package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +0 -216
- package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +0 -467
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +0 -6188
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +0 -29
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +0 -4076
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/compose-collection.mjs +0 -58
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/log.mjs +0 -7
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +0 -83
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/map.mjs +0 -37
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/seq.mjs +0 -34
- package/build/esnext/_virtual/patterns.esnext +0 -3
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +0 -63
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +0 -50
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +0 -96
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +0 -94
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +0 -236
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +0 -29
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +0 -73
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +0 -79
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +0 -15
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +0 -83
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +0 -28
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +0 -64
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +0 -64
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +0 -18
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +0 -49
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +0 -34
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +0 -58
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +0 -34
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +0 -28
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +0 -29
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +0 -40
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +0 -39
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +0 -59
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +0 -49
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +0 -58
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +0 -24
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +0 -10
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +0 -22
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +0 -34
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +0 -32
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +0 -144
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +0 -21
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +0 -14
- package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +0 -192
- package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +0 -157
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +0 -18
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +0 -37
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +0 -29
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +0 -163
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +0 -36
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/compose-collection.esnext +0 -55
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/log.esnext +0 -10
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/map.esnext +0 -41
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/common/seq.esnext +0 -33
- /package/build/esm/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/utilities.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-end.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-contains-newline.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-flow-indent-check.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/line-counter.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/null.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/string.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/bool.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/int.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/schema.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/int.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyComment.mjs +0 -0
- /package/build/esm/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyNumber.mjs +0 -0
- /package/build/esnext/node_modules/.pnpm/{globby@13.1.1 → globby@13.2.2}/node_modules/globby/utilities.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/resolve-end.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-contains-newline.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/compose/util-flow-indent-check.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/doc/applyReviver.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/parse/line-counter.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/null.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/common/string.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/bool.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/int.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/core/schema.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/int.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyComment.esnext +0 -0
- /package/build/esnext/node_modules/.pnpm/{yaml@2.1.1 → yaml@2.7.0}/node_modules/yaml/browser/dist/stringify/stringifyNumber.esnext +0 -0
|
@@ -1,367 +0,0 @@
|
|
|
1
|
-
import { stringify as stringify$1 } from './stringify.mjs';
|
|
2
|
-
import { constants } from './constants.mjs';
|
|
3
|
-
|
|
4
|
-
const stringify = stringify$1;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Constants
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
const {
|
|
11
|
-
MAX_LENGTH,
|
|
12
|
-
CHAR_BACKSLASH,
|
|
13
|
-
/* \ */
|
|
14
|
-
CHAR_BACKTICK,
|
|
15
|
-
/* ` */
|
|
16
|
-
CHAR_COMMA,
|
|
17
|
-
/* , */
|
|
18
|
-
CHAR_DOT,
|
|
19
|
-
/* . */
|
|
20
|
-
CHAR_LEFT_PARENTHESES,
|
|
21
|
-
/* ( */
|
|
22
|
-
CHAR_RIGHT_PARENTHESES,
|
|
23
|
-
/* ) */
|
|
24
|
-
CHAR_LEFT_CURLY_BRACE,
|
|
25
|
-
/* { */
|
|
26
|
-
CHAR_RIGHT_CURLY_BRACE,
|
|
27
|
-
/* } */
|
|
28
|
-
CHAR_LEFT_SQUARE_BRACKET,
|
|
29
|
-
/* [ */
|
|
30
|
-
CHAR_RIGHT_SQUARE_BRACKET,
|
|
31
|
-
/* ] */
|
|
32
|
-
CHAR_DOUBLE_QUOTE,
|
|
33
|
-
/* " */
|
|
34
|
-
CHAR_SINGLE_QUOTE,
|
|
35
|
-
/* ' */
|
|
36
|
-
CHAR_NO_BREAK_SPACE,
|
|
37
|
-
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
38
|
-
} = constants;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* parse
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
const parse = (input, options = {}) => {
|
|
45
|
-
if (typeof input !== 'string') {
|
|
46
|
-
throw new TypeError('Expected a string');
|
|
47
|
-
}
|
|
48
|
-
let opts = options || {};
|
|
49
|
-
let max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
50
|
-
if (input.length > max) {
|
|
51
|
-
throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
|
|
52
|
-
}
|
|
53
|
-
let ast = {
|
|
54
|
-
type: 'root',
|
|
55
|
-
input,
|
|
56
|
-
nodes: []
|
|
57
|
-
};
|
|
58
|
-
let stack = [ast];
|
|
59
|
-
let block = ast;
|
|
60
|
-
let prev = ast;
|
|
61
|
-
let brackets = 0;
|
|
62
|
-
let length = input.length;
|
|
63
|
-
let index = 0;
|
|
64
|
-
let depth = 0;
|
|
65
|
-
let value;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Helpers
|
|
69
|
-
*/
|
|
70
|
-
|
|
71
|
-
const advance = () => input[index++];
|
|
72
|
-
const push = node => {
|
|
73
|
-
if (node.type === 'text' && prev.type === 'dot') {
|
|
74
|
-
prev.type = 'text';
|
|
75
|
-
}
|
|
76
|
-
if (prev && prev.type === 'text' && node.type === 'text') {
|
|
77
|
-
prev.value += node.value;
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
block.nodes.push(node);
|
|
81
|
-
node.parent = block;
|
|
82
|
-
node.prev = prev;
|
|
83
|
-
prev = node;
|
|
84
|
-
return node;
|
|
85
|
-
};
|
|
86
|
-
push({
|
|
87
|
-
type: 'bos'
|
|
88
|
-
});
|
|
89
|
-
while (index < length) {
|
|
90
|
-
block = stack[stack.length - 1];
|
|
91
|
-
value = advance();
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Invalid chars
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {
|
|
98
|
-
continue;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Escaped chars
|
|
103
|
-
*/
|
|
104
|
-
|
|
105
|
-
if (value === CHAR_BACKSLASH) {
|
|
106
|
-
push({
|
|
107
|
-
type: 'text',
|
|
108
|
-
value: (options.keepEscaping ? value : '') + advance()
|
|
109
|
-
});
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Right square bracket (literal): ']'
|
|
115
|
-
*/
|
|
116
|
-
|
|
117
|
-
if (value === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
118
|
-
push({
|
|
119
|
-
type: 'text',
|
|
120
|
-
value: '\\' + value
|
|
121
|
-
});
|
|
122
|
-
continue;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Left square bracket: '['
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
|
-
if (value === CHAR_LEFT_SQUARE_BRACKET) {
|
|
130
|
-
brackets++;
|
|
131
|
-
let next;
|
|
132
|
-
while (index < length && (next = advance())) {
|
|
133
|
-
value += next;
|
|
134
|
-
if (next === CHAR_LEFT_SQUARE_BRACKET) {
|
|
135
|
-
brackets++;
|
|
136
|
-
continue;
|
|
137
|
-
}
|
|
138
|
-
if (next === CHAR_BACKSLASH) {
|
|
139
|
-
value += advance();
|
|
140
|
-
continue;
|
|
141
|
-
}
|
|
142
|
-
if (next === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
143
|
-
brackets--;
|
|
144
|
-
if (brackets === 0) {
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
push({
|
|
150
|
-
type: 'text',
|
|
151
|
-
value
|
|
152
|
-
});
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Parentheses
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
if (value === CHAR_LEFT_PARENTHESES) {
|
|
161
|
-
block = push({
|
|
162
|
-
type: 'paren',
|
|
163
|
-
nodes: []
|
|
164
|
-
});
|
|
165
|
-
stack.push(block);
|
|
166
|
-
push({
|
|
167
|
-
type: 'text',
|
|
168
|
-
value
|
|
169
|
-
});
|
|
170
|
-
continue;
|
|
171
|
-
}
|
|
172
|
-
if (value === CHAR_RIGHT_PARENTHESES) {
|
|
173
|
-
if (block.type !== 'paren') {
|
|
174
|
-
push({
|
|
175
|
-
type: 'text',
|
|
176
|
-
value
|
|
177
|
-
});
|
|
178
|
-
continue;
|
|
179
|
-
}
|
|
180
|
-
block = stack.pop();
|
|
181
|
-
push({
|
|
182
|
-
type: 'text',
|
|
183
|
-
value
|
|
184
|
-
});
|
|
185
|
-
block = stack[stack.length - 1];
|
|
186
|
-
continue;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Quotes: '|"|`
|
|
191
|
-
*/
|
|
192
|
-
|
|
193
|
-
if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
|
|
194
|
-
let open = value;
|
|
195
|
-
let next;
|
|
196
|
-
if (options.keepQuotes !== true) {
|
|
197
|
-
value = '';
|
|
198
|
-
}
|
|
199
|
-
while (index < length && (next = advance())) {
|
|
200
|
-
if (next === CHAR_BACKSLASH) {
|
|
201
|
-
value += next + advance();
|
|
202
|
-
continue;
|
|
203
|
-
}
|
|
204
|
-
if (next === open) {
|
|
205
|
-
if (options.keepQuotes === true) value += next;
|
|
206
|
-
break;
|
|
207
|
-
}
|
|
208
|
-
value += next;
|
|
209
|
-
}
|
|
210
|
-
push({
|
|
211
|
-
type: 'text',
|
|
212
|
-
value
|
|
213
|
-
});
|
|
214
|
-
continue;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Left curly brace: '{'
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
222
|
-
depth++;
|
|
223
|
-
let dollar = prev.value && prev.value.slice(-1) === '$' || block.dollar === true;
|
|
224
|
-
let brace = {
|
|
225
|
-
type: 'brace',
|
|
226
|
-
open: true,
|
|
227
|
-
close: false,
|
|
228
|
-
dollar,
|
|
229
|
-
depth,
|
|
230
|
-
commas: 0,
|
|
231
|
-
ranges: 0,
|
|
232
|
-
nodes: []
|
|
233
|
-
};
|
|
234
|
-
block = push(brace);
|
|
235
|
-
stack.push(block);
|
|
236
|
-
push({
|
|
237
|
-
type: 'open',
|
|
238
|
-
value
|
|
239
|
-
});
|
|
240
|
-
continue;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Right curly brace: '}'
|
|
245
|
-
*/
|
|
246
|
-
|
|
247
|
-
if (value === CHAR_RIGHT_CURLY_BRACE) {
|
|
248
|
-
if (block.type !== 'brace') {
|
|
249
|
-
push({
|
|
250
|
-
type: 'text',
|
|
251
|
-
value
|
|
252
|
-
});
|
|
253
|
-
continue;
|
|
254
|
-
}
|
|
255
|
-
let type = 'close';
|
|
256
|
-
block = stack.pop();
|
|
257
|
-
block.close = true;
|
|
258
|
-
push({
|
|
259
|
-
type,
|
|
260
|
-
value
|
|
261
|
-
});
|
|
262
|
-
depth--;
|
|
263
|
-
block = stack[stack.length - 1];
|
|
264
|
-
continue;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Comma: ','
|
|
269
|
-
*/
|
|
270
|
-
|
|
271
|
-
if (value === CHAR_COMMA && depth > 0) {
|
|
272
|
-
if (block.ranges > 0) {
|
|
273
|
-
block.ranges = 0;
|
|
274
|
-
let open = block.nodes.shift();
|
|
275
|
-
block.nodes = [open, {
|
|
276
|
-
type: 'text',
|
|
277
|
-
value: stringify(block)
|
|
278
|
-
}];
|
|
279
|
-
}
|
|
280
|
-
push({
|
|
281
|
-
type: 'comma',
|
|
282
|
-
value
|
|
283
|
-
});
|
|
284
|
-
block.commas++;
|
|
285
|
-
continue;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Dot: '.'
|
|
290
|
-
*/
|
|
291
|
-
|
|
292
|
-
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
293
|
-
let siblings = block.nodes;
|
|
294
|
-
if (depth === 0 || siblings.length === 0) {
|
|
295
|
-
push({
|
|
296
|
-
type: 'text',
|
|
297
|
-
value
|
|
298
|
-
});
|
|
299
|
-
continue;
|
|
300
|
-
}
|
|
301
|
-
if (prev.type === 'dot') {
|
|
302
|
-
block.range = [];
|
|
303
|
-
prev.value += value;
|
|
304
|
-
prev.type = 'range';
|
|
305
|
-
if (block.nodes.length !== 3 && block.nodes.length !== 5) {
|
|
306
|
-
block.invalid = true;
|
|
307
|
-
block.ranges = 0;
|
|
308
|
-
prev.type = 'text';
|
|
309
|
-
continue;
|
|
310
|
-
}
|
|
311
|
-
block.ranges++;
|
|
312
|
-
block.args = [];
|
|
313
|
-
continue;
|
|
314
|
-
}
|
|
315
|
-
if (prev.type === 'range') {
|
|
316
|
-
siblings.pop();
|
|
317
|
-
let before = siblings[siblings.length - 1];
|
|
318
|
-
before.value += prev.value + value;
|
|
319
|
-
prev = before;
|
|
320
|
-
block.ranges--;
|
|
321
|
-
continue;
|
|
322
|
-
}
|
|
323
|
-
push({
|
|
324
|
-
type: 'dot',
|
|
325
|
-
value
|
|
326
|
-
});
|
|
327
|
-
continue;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Text
|
|
332
|
-
*/
|
|
333
|
-
|
|
334
|
-
push({
|
|
335
|
-
type: 'text',
|
|
336
|
-
value
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
// Mark imbalanced braces and brackets as invalid
|
|
341
|
-
do {
|
|
342
|
-
block = stack.pop();
|
|
343
|
-
if (block.type !== 'root') {
|
|
344
|
-
block.nodes.forEach(node => {
|
|
345
|
-
if (!node.nodes) {
|
|
346
|
-
if (node.type === 'open') node.isOpen = true;
|
|
347
|
-
if (node.type === 'close') node.isClose = true;
|
|
348
|
-
if (!node.nodes) node.type = 'text';
|
|
349
|
-
node.invalid = true;
|
|
350
|
-
}
|
|
351
|
-
});
|
|
352
|
-
|
|
353
|
-
// get the location of the block on parent.nodes (block's siblings)
|
|
354
|
-
let parent = stack[stack.length - 1];
|
|
355
|
-
let index = parent.nodes.indexOf(block);
|
|
356
|
-
// replace the (invalid) block with it's nodes
|
|
357
|
-
parent.nodes.splice(index, 1, ...block.nodes);
|
|
358
|
-
}
|
|
359
|
-
} while (stack.length > 0);
|
|
360
|
-
push({
|
|
361
|
-
type: 'eos'
|
|
362
|
-
});
|
|
363
|
-
return ast;
|
|
364
|
-
};
|
|
365
|
-
var parse_1 = parse;
|
|
366
|
-
|
|
367
|
-
export { parse_1 };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import './utils.mjs';
|
|
2
|
-
import { __exports as utils$1 } from '../../../../../../_virtual/utils2.mjs';
|
|
3
|
-
|
|
4
|
-
const utils = utils$1;
|
|
5
|
-
var stringify = (ast, options = {}) => {
|
|
6
|
-
let stringify = (node, parent = {}) => {
|
|
7
|
-
let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
|
|
8
|
-
let invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
9
|
-
let output = '';
|
|
10
|
-
if (node.value) {
|
|
11
|
-
if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {
|
|
12
|
-
return '\\' + node.value;
|
|
13
|
-
}
|
|
14
|
-
return node.value;
|
|
15
|
-
}
|
|
16
|
-
if (node.value) {
|
|
17
|
-
return node.value;
|
|
18
|
-
}
|
|
19
|
-
if (node.nodes) {
|
|
20
|
-
for (let child of node.nodes) {
|
|
21
|
-
output += stringify(child);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return output;
|
|
25
|
-
};
|
|
26
|
-
return stringify(ast);
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export { stringify };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { __exports as utils } from '../../../../../../_virtual/utils2.mjs';
|
|
2
|
-
|
|
3
|
-
(function (exports) {
|
|
4
|
-
|
|
5
|
-
exports.isInteger = num => {
|
|
6
|
-
if (typeof num === 'number') {
|
|
7
|
-
return Number.isInteger(num);
|
|
8
|
-
}
|
|
9
|
-
if (typeof num === 'string' && num.trim() !== '') {
|
|
10
|
-
return Number.isInteger(Number(num));
|
|
11
|
-
}
|
|
12
|
-
return false;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Find a node of the given type
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
exports.find = (node, type) => node.nodes.find(node => node.type === type);
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Find a node of the given type
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
exports.exceedsLimit = (min, max, step = 1, limit) => {
|
|
26
|
-
if (limit === false) return false;
|
|
27
|
-
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
|
|
28
|
-
return (Number(max) - Number(min)) / Number(step) >= limit;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Escape the given node with '\\' before node.value
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
exports.escapeNode = (block, n = 0, type) => {
|
|
36
|
-
let node = block.nodes[n];
|
|
37
|
-
if (!node) return;
|
|
38
|
-
if (type && node.type === type || node.type === 'open' || node.type === 'close') {
|
|
39
|
-
if (node.escaped !== true) {
|
|
40
|
-
node.value = '\\' + node.value;
|
|
41
|
-
node.escaped = true;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Returns true if the given brace node should be enclosed in literal braces
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
|
-
exports.encloseBrace = node => {
|
|
51
|
-
if (node.type !== 'brace') return false;
|
|
52
|
-
if (node.commas >> 0 + node.ranges >> 0 === 0) {
|
|
53
|
-
node.invalid = true;
|
|
54
|
-
return true;
|
|
55
|
-
}
|
|
56
|
-
return false;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Returns true if a brace node is invalid.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
exports.isInvalidBrace = block => {
|
|
64
|
-
if (block.type !== 'brace') return false;
|
|
65
|
-
if (block.invalid === true || block.dollar) return true;
|
|
66
|
-
if (block.commas >> 0 + block.ranges >> 0 === 0) {
|
|
67
|
-
block.invalid = true;
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
if (block.open !== true || block.close !== true) {
|
|
71
|
-
block.invalid = true;
|
|
72
|
-
return true;
|
|
73
|
-
}
|
|
74
|
-
return false;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Returns true if a node is an open or close node
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
exports.isOpenOrClose = node => {
|
|
82
|
-
if (node.type === 'open' || node.type === 'close') {
|
|
83
|
-
return true;
|
|
84
|
-
}
|
|
85
|
-
return node.open === true || node.close === true;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Reduce an array of text nodes.
|
|
90
|
-
*/
|
|
91
|
-
|
|
92
|
-
exports.reduce = nodes => nodes.reduce((acc, node) => {
|
|
93
|
-
if (node.type === 'text') acc.push(node.value);
|
|
94
|
-
if (node.type === 'range') node.type = 'text';
|
|
95
|
-
return acc;
|
|
96
|
-
}, []);
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Flatten an array
|
|
100
|
-
*/
|
|
101
|
-
|
|
102
|
-
exports.flatten = (...args) => {
|
|
103
|
-
const result = [];
|
|
104
|
-
const flat = arr => {
|
|
105
|
-
for (let i = 0; i < arr.length; i++) {
|
|
106
|
-
let ele = arr[i];
|
|
107
|
-
Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
|
|
108
|
-
}
|
|
109
|
-
return result;
|
|
110
|
-
};
|
|
111
|
-
flat(args);
|
|
112
|
-
return result;
|
|
113
|
-
};
|
|
114
|
-
})(utils);
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from '../../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import './managers/tasks.mjs';
|
|
3
|
-
import './managers/patterns.mjs';
|
|
4
|
-
import './providers/async.mjs';
|
|
5
|
-
import './providers/stream.mjs';
|
|
6
|
-
import './providers/sync.mjs';
|
|
7
|
-
import './settings.mjs';
|
|
8
|
-
import './utils/index.mjs';
|
|
9
|
-
import { __exports as tasks } from '../../../../../../_virtual/tasks.mjs';
|
|
10
|
-
import { __exports as patterns } from '../../../../../../_virtual/patterns.mjs';
|
|
11
|
-
import { __exports as async } from '../../../../../../_virtual/async.mjs';
|
|
12
|
-
import { __exports as stream } from '../../../../../../_virtual/stream.mjs';
|
|
13
|
-
import { __exports as sync } from '../../../../../../_virtual/sync.mjs';
|
|
14
|
-
import { __exports as settings } from '../../../../../../_virtual/settings.mjs';
|
|
15
|
-
import { __exports as utils$1 } from '../../../../../../_virtual/index.mjs';
|
|
16
|
-
|
|
17
|
-
const taskManager = tasks;
|
|
18
|
-
const patternManager = patterns;
|
|
19
|
-
const async_1 = async;
|
|
20
|
-
const stream_1 = stream;
|
|
21
|
-
const sync_1 = sync;
|
|
22
|
-
const settings_1 = settings;
|
|
23
|
-
const utils = utils$1;
|
|
24
|
-
async function FastGlob(source, options) {
|
|
25
|
-
assertPatternsInput(source);
|
|
26
|
-
const works = getWorks(source, async_1.default, options);
|
|
27
|
-
const result = await Promise.all(works);
|
|
28
|
-
return utils.array.flatten(result);
|
|
29
|
-
}
|
|
30
|
-
// https://github.com/typescript-eslint/typescript-eslint/issues/60
|
|
31
|
-
// eslint-disable-next-line no-redeclare
|
|
32
|
-
(function (FastGlob) {
|
|
33
|
-
function sync(source, options) {
|
|
34
|
-
assertPatternsInput(source);
|
|
35
|
-
const works = getWorks(source, sync_1.default, options);
|
|
36
|
-
return utils.array.flatten(works);
|
|
37
|
-
}
|
|
38
|
-
FastGlob.sync = sync;
|
|
39
|
-
function stream(source, options) {
|
|
40
|
-
assertPatternsInput(source);
|
|
41
|
-
const works = getWorks(source, stream_1.default, options);
|
|
42
|
-
/**
|
|
43
|
-
* The stream returned by the provider cannot work with an asynchronous iterator.
|
|
44
|
-
* To support asynchronous iterators, regardless of the number of tasks, we always multiplex streams.
|
|
45
|
-
* This affects performance (+25%). I don't see best solution right now.
|
|
46
|
-
*/
|
|
47
|
-
return utils.stream.merge(works);
|
|
48
|
-
}
|
|
49
|
-
FastGlob.stream = stream;
|
|
50
|
-
function generateTasks(source, options) {
|
|
51
|
-
assertPatternsInput(source);
|
|
52
|
-
const patterns = patternManager.transform([].concat(source));
|
|
53
|
-
const settings = new settings_1.default(options);
|
|
54
|
-
return taskManager.generate(patterns, settings);
|
|
55
|
-
}
|
|
56
|
-
FastGlob.generateTasks = generateTasks;
|
|
57
|
-
function isDynamicPattern(source, options) {
|
|
58
|
-
assertPatternsInput(source);
|
|
59
|
-
const settings = new settings_1.default(options);
|
|
60
|
-
return utils.pattern.isDynamicPattern(source, settings);
|
|
61
|
-
}
|
|
62
|
-
FastGlob.isDynamicPattern = isDynamicPattern;
|
|
63
|
-
function escapePath(source) {
|
|
64
|
-
assertPatternsInput(source);
|
|
65
|
-
return utils.path.escape(source);
|
|
66
|
-
}
|
|
67
|
-
FastGlob.escapePath = escapePath;
|
|
68
|
-
})(FastGlob || (FastGlob = {}));
|
|
69
|
-
function getWorks(source, _Provider, options) {
|
|
70
|
-
const patterns = patternManager.transform([].concat(source));
|
|
71
|
-
const settings = new settings_1.default(options);
|
|
72
|
-
const tasks = taskManager.generate(patterns, settings);
|
|
73
|
-
const provider = new _Provider(settings);
|
|
74
|
-
return tasks.map(provider.read, provider);
|
|
75
|
-
}
|
|
76
|
-
function assertPatternsInput(input) {
|
|
77
|
-
const source = [].concat(input);
|
|
78
|
-
const isValidSource = source.every(item => utils.string.isString(item) && !utils.string.isEmpty(item));
|
|
79
|
-
if (!isValidSource) {
|
|
80
|
-
throw new TypeError('Patterns must be a string (non empty) or an array of strings');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
var out = FastGlob;
|
|
84
|
-
const fastGlob = /*@__PURE__*/getDefaultExportFromCjs(out);
|
|
85
|
-
|
|
86
|
-
export { fastGlob as default };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __exports as patterns } from '../../../../../../../_virtual/patterns.mjs';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(patterns, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
patterns.removeDuplicateSlashes = patterns.transform = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.
|
|
9
|
-
* The latter is due to the presence of the device path at the beginning of the UNC path.
|
|
10
|
-
* @todo rewrite to negative lookbehind with the next major release.
|
|
11
|
-
*/
|
|
12
|
-
const DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
|
|
13
|
-
function transform(patterns) {
|
|
14
|
-
return patterns.map(pattern => removeDuplicateSlashes(pattern));
|
|
15
|
-
}
|
|
16
|
-
patterns.transform = transform;
|
|
17
|
-
/**
|
|
18
|
-
* This package only works with forward slashes as a path separator.
|
|
19
|
-
* Because of this, we cannot use the standard `path.normalize` method, because on Windows platform it will use of backslashes.
|
|
20
|
-
*/
|
|
21
|
-
function removeDuplicateSlashes(pattern) {
|
|
22
|
-
return pattern.replace(DOUBLE_SLASH_RE, '/');
|
|
23
|
-
}
|
|
24
|
-
patterns.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
25
|
-
|
|
26
|
-
export { patterns as default };
|
package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { __exports as tasks } from '../../../../../../../_virtual/tasks.mjs';
|
|
2
|
-
import '../utils/index.mjs';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../_virtual/index.mjs';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(tasks, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
|
|
9
|
-
const utils = utils$1;
|
|
10
|
-
function generate(patterns, settings) {
|
|
11
|
-
const positivePatterns = getPositivePatterns(patterns);
|
|
12
|
-
const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
|
|
13
|
-
const staticPatterns = positivePatterns.filter(pattern => utils.pattern.isStaticPattern(pattern, settings));
|
|
14
|
-
const dynamicPatterns = positivePatterns.filter(pattern => utils.pattern.isDynamicPattern(pattern, settings));
|
|
15
|
-
const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */false);
|
|
16
|
-
const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */true);
|
|
17
|
-
return staticTasks.concat(dynamicTasks);
|
|
18
|
-
}
|
|
19
|
-
tasks.generate = generate;
|
|
20
|
-
/**
|
|
21
|
-
* Returns tasks grouped by basic pattern directories.
|
|
22
|
-
*
|
|
23
|
-
* Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
|
|
24
|
-
* This is necessary because directory traversal starts at the base directory and goes deeper.
|
|
25
|
-
*/
|
|
26
|
-
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
27
|
-
const tasks = [];
|
|
28
|
-
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
29
|
-
const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
30
|
-
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
31
|
-
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
32
|
-
tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
33
|
-
/*
|
|
34
|
-
* For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
|
|
35
|
-
* into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
|
|
36
|
-
*/
|
|
37
|
-
if ('.' in insideCurrentDirectoryGroup) {
|
|
38
|
-
tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
|
|
39
|
-
} else {
|
|
40
|
-
tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
|
|
41
|
-
}
|
|
42
|
-
return tasks;
|
|
43
|
-
}
|
|
44
|
-
tasks.convertPatternsToTasks = convertPatternsToTasks;
|
|
45
|
-
function getPositivePatterns(patterns) {
|
|
46
|
-
return utils.pattern.getPositivePatterns(patterns);
|
|
47
|
-
}
|
|
48
|
-
tasks.getPositivePatterns = getPositivePatterns;
|
|
49
|
-
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
50
|
-
const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
51
|
-
const positive = negative.map(utils.pattern.convertToPositivePattern);
|
|
52
|
-
return positive;
|
|
53
|
-
}
|
|
54
|
-
tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
55
|
-
function groupPatternsByBaseDirectory(patterns) {
|
|
56
|
-
const group = {};
|
|
57
|
-
return patterns.reduce((collection, pattern) => {
|
|
58
|
-
const base = utils.pattern.getBaseDirectory(pattern);
|
|
59
|
-
if (base in collection) {
|
|
60
|
-
collection[base].push(pattern);
|
|
61
|
-
} else {
|
|
62
|
-
collection[base] = [pattern];
|
|
63
|
-
}
|
|
64
|
-
return collection;
|
|
65
|
-
}, group);
|
|
66
|
-
}
|
|
67
|
-
tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
68
|
-
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
69
|
-
return Object.keys(positive).map(base => {
|
|
70
|
-
return convertPatternGroupToTask(base, positive[base], negative, dynamic);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
74
|
-
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
75
|
-
return {
|
|
76
|
-
dynamic,
|
|
77
|
-
positive,
|
|
78
|
-
negative,
|
|
79
|
-
base,
|
|
80
|
-
patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
tasks.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
84
|
-
|
|
85
|
-
export { tasks as default };
|