@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,148 +1,155 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireBalancedMatch } from '../../../balanced-match@1.0.2/node_modules/balanced-match/index.esnext';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
18
|
-
}
|
|
19
|
-
function parseCommaParts(str) {
|
|
20
|
-
if (!str)
|
|
21
|
-
return [""];
|
|
22
|
-
var parts = [];
|
|
23
|
-
var m = balanced("{", "}", str);
|
|
24
|
-
if (!m)
|
|
25
|
-
return str.split(",");
|
|
26
|
-
var pre = m.pre;
|
|
27
|
-
var body = m.body;
|
|
28
|
-
var post = m.post;
|
|
29
|
-
var p = pre.split(",");
|
|
30
|
-
p[p.length - 1] += "{" + body + "}";
|
|
31
|
-
var postParts = parseCommaParts(post);
|
|
32
|
-
if (post.length) {
|
|
33
|
-
p[p.length - 1] += postParts.shift();
|
|
34
|
-
p.push.apply(p, postParts);
|
|
3
|
+
var braceExpansion;
|
|
4
|
+
var hasRequiredBraceExpansion;
|
|
5
|
+
function requireBraceExpansion() {
|
|
6
|
+
if (hasRequiredBraceExpansion) return braceExpansion;
|
|
7
|
+
hasRequiredBraceExpansion = 1;
|
|
8
|
+
var balanced = requireBalancedMatch();
|
|
9
|
+
braceExpansion = expandTop;
|
|
10
|
+
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
11
|
+
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
12
|
+
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
13
|
+
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
14
|
+
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
15
|
+
function numeric(str) {
|
|
16
|
+
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
35
17
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
function expandTop(str) {
|
|
40
|
-
if (!str)
|
|
41
|
-
return [];
|
|
42
|
-
if (str.substr(0, 2) === "{}") {
|
|
43
|
-
str = "\\{\\}" + str.substr(2);
|
|
18
|
+
function escapeBraces(str) {
|
|
19
|
+
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
44
20
|
}
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
65
|
-
if (/\$$/.test(m.pre)) {
|
|
66
|
-
for (var k = 0; k < post.length; k++) {
|
|
67
|
-
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
68
|
-
expansions.push(expansion);
|
|
21
|
+
function unescapeBraces(str) {
|
|
22
|
+
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
23
|
+
}
|
|
24
|
+
function parseCommaParts(str) {
|
|
25
|
+
if (!str)
|
|
26
|
+
return [""];
|
|
27
|
+
var parts = [];
|
|
28
|
+
var m = balanced("{", "}", str);
|
|
29
|
+
if (!m)
|
|
30
|
+
return str.split(",");
|
|
31
|
+
var pre = m.pre;
|
|
32
|
+
var body = m.body;
|
|
33
|
+
var post = m.post;
|
|
34
|
+
var p = pre.split(",");
|
|
35
|
+
p[p.length - 1] += "{" + body + "}";
|
|
36
|
+
var postParts = parseCommaParts(post);
|
|
37
|
+
if (post.length) {
|
|
38
|
+
p[p.length - 1] += postParts.shift();
|
|
39
|
+
p.push.apply(p, postParts);
|
|
69
40
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return expand(str);
|
|
79
|
-
}
|
|
80
|
-
return [str];
|
|
41
|
+
parts.push.apply(parts, p);
|
|
42
|
+
return parts;
|
|
43
|
+
}
|
|
44
|
+
function expandTop(str) {
|
|
45
|
+
if (!str)
|
|
46
|
+
return [];
|
|
47
|
+
if (str.substr(0, 2) === "{}") {
|
|
48
|
+
str = "\\{\\}" + str.substr(2);
|
|
81
49
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
50
|
+
return expand(escapeBraces(str), true).map(unescapeBraces);
|
|
51
|
+
}
|
|
52
|
+
function embrace(str) {
|
|
53
|
+
return "{" + str + "}";
|
|
54
|
+
}
|
|
55
|
+
function isPadded(el) {
|
|
56
|
+
return /^-?0\d/.test(el);
|
|
57
|
+
}
|
|
58
|
+
function lte(i, y) {
|
|
59
|
+
return i <= y;
|
|
60
|
+
}
|
|
61
|
+
function gte(i, y) {
|
|
62
|
+
return i >= y;
|
|
63
|
+
}
|
|
64
|
+
function expand(str, isTop) {
|
|
65
|
+
var expansions = [];
|
|
66
|
+
var m = balanced("{", "}", str);
|
|
67
|
+
if (!m) return [str];
|
|
68
|
+
var pre = m.pre;
|
|
69
|
+
var post = m.post.length ? expand(m.post, false) : [""];
|
|
70
|
+
if (/\$$/.test(m.pre)) {
|
|
71
|
+
for (var k = 0; k < post.length; k++) {
|
|
72
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
73
|
+
expansions.push(expansion);
|
|
74
|
+
}
|
|
85
75
|
} else {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
76
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
77
|
+
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
78
|
+
var isSequence = isNumericSequence || isAlphaSequence;
|
|
79
|
+
var isOptions = m.body.indexOf(",") >= 0;
|
|
80
|
+
if (!isSequence && !isOptions) {
|
|
81
|
+
if (m.post.match(/,.*\}/)) {
|
|
82
|
+
str = m.pre + "{" + m.body + escClose + m.post;
|
|
83
|
+
return expand(str);
|
|
93
84
|
}
|
|
85
|
+
return [str];
|
|
94
86
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
87
|
+
var n;
|
|
88
|
+
if (isSequence) {
|
|
89
|
+
n = m.body.split(/\.\./);
|
|
90
|
+
} else {
|
|
91
|
+
n = parseCommaParts(m.body);
|
|
92
|
+
if (n.length === 1) {
|
|
93
|
+
n = expand(n[0], false).map(embrace);
|
|
94
|
+
if (n.length === 1) {
|
|
95
|
+
return post.map(function(p) {
|
|
96
|
+
return m.pre + n[0] + p;
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
107
100
|
}
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
101
|
+
var N;
|
|
102
|
+
if (isSequence) {
|
|
103
|
+
var x = numeric(n[0]);
|
|
104
|
+
var y = numeric(n[1]);
|
|
105
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
106
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
107
|
+
var test = lte;
|
|
108
|
+
var reverse = y < x;
|
|
109
|
+
if (reverse) {
|
|
110
|
+
incr *= -1;
|
|
111
|
+
test = gte;
|
|
112
|
+
}
|
|
113
|
+
var pad = n.some(isPadded);
|
|
114
|
+
N = [];
|
|
115
|
+
for (var i = x; test(i, y); i += incr) {
|
|
116
|
+
var c;
|
|
117
|
+
if (isAlphaSequence) {
|
|
118
|
+
c = String.fromCharCode(i);
|
|
119
|
+
if (c === "\\")
|
|
120
|
+
c = "";
|
|
121
|
+
} else {
|
|
122
|
+
c = String(i);
|
|
123
|
+
if (pad) {
|
|
124
|
+
var need = width - c.length;
|
|
125
|
+
if (need > 0) {
|
|
126
|
+
var z = new Array(need + 1).join("0");
|
|
127
|
+
if (i < 0)
|
|
128
|
+
c = "-" + z + c.slice(1);
|
|
129
|
+
else
|
|
130
|
+
c = z + c;
|
|
131
|
+
}
|
|
126
132
|
}
|
|
127
133
|
}
|
|
134
|
+
N.push(c);
|
|
135
|
+
}
|
|
136
|
+
} else {
|
|
137
|
+
N = [];
|
|
138
|
+
for (var j = 0; j < n.length; j++) {
|
|
139
|
+
N.push.apply(N, expand(n[j], false));
|
|
128
140
|
}
|
|
129
|
-
N.push(c);
|
|
130
|
-
}
|
|
131
|
-
} else {
|
|
132
|
-
N = [];
|
|
133
|
-
for (var j = 0; j < n.length; j++) {
|
|
134
|
-
N.push.apply(N, expand(n[j], false));
|
|
135
141
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
for (var j = 0; j < N.length; j++) {
|
|
143
|
+
for (var k = 0; k < post.length; k++) {
|
|
144
|
+
var expansion = pre + N[j] + post[k];
|
|
145
|
+
if (!isTop || isSequence || expansion)
|
|
146
|
+
expansions.push(expansion);
|
|
147
|
+
}
|
|
142
148
|
}
|
|
143
149
|
}
|
|
150
|
+
return expansions;
|
|
144
151
|
}
|
|
145
|
-
return
|
|
152
|
+
return braceExpansion;
|
|
146
153
|
}
|
|
147
154
|
|
|
148
|
-
export {
|
|
155
|
+
export { requireBraceExpansion as __require };
|
|
@@ -1,63 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { __require as requireStringify } from './lib/stringify.esnext';
|
|
2
|
+
import { __require as requireCompile } from './lib/compile.esnext';
|
|
3
|
+
import { __require as requireExpand } from './lib/expand.esnext';
|
|
4
|
+
import { __require as requireParse } from './lib/parse.esnext';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
var braces_1;
|
|
7
|
+
var hasRequiredBraces;
|
|
8
|
+
function requireBraces() {
|
|
9
|
+
if (hasRequiredBraces) return braces_1;
|
|
10
|
+
hasRequiredBraces = 1;
|
|
11
|
+
const stringify = requireStringify();
|
|
12
|
+
const compile = requireCompile();
|
|
13
|
+
const expand = requireExpand();
|
|
14
|
+
const parse = requireParse();
|
|
15
|
+
const braces = (input, options = {}) => {
|
|
16
|
+
let output = [];
|
|
17
|
+
if (Array.isArray(input)) {
|
|
18
|
+
for (let pattern of input) {
|
|
19
|
+
let result = braces.create(pattern, options);
|
|
20
|
+
if (Array.isArray(result)) {
|
|
21
|
+
output.push(...result);
|
|
22
|
+
} else {
|
|
23
|
+
output.push(result);
|
|
24
|
+
}
|
|
19
25
|
}
|
|
26
|
+
} else {
|
|
27
|
+
output = [].concat(braces.create(input, options));
|
|
20
28
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
braces.parse
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return
|
|
60
|
-
}
|
|
61
|
-
var braces_1 = braces;
|
|
29
|
+
if (options && options.expand === true && options.nodupes === true) {
|
|
30
|
+
output = [...new Set(output)];
|
|
31
|
+
}
|
|
32
|
+
return output;
|
|
33
|
+
};
|
|
34
|
+
braces.parse = (input, options = {}) => parse(input, options);
|
|
35
|
+
braces.stringify = (input, options = {}) => {
|
|
36
|
+
if (typeof input === "string") {
|
|
37
|
+
return stringify(braces.parse(input, options), options);
|
|
38
|
+
}
|
|
39
|
+
return stringify(input, options);
|
|
40
|
+
};
|
|
41
|
+
braces.compile = (input, options = {}) => {
|
|
42
|
+
if (typeof input === "string") {
|
|
43
|
+
input = braces.parse(input, options);
|
|
44
|
+
}
|
|
45
|
+
return compile(input, options);
|
|
46
|
+
};
|
|
47
|
+
braces.expand = (input, options = {}) => {
|
|
48
|
+
if (typeof input === "string") {
|
|
49
|
+
input = braces.parse(input, options);
|
|
50
|
+
}
|
|
51
|
+
let result = expand(input, options);
|
|
52
|
+
if (options.noempty === true) {
|
|
53
|
+
result = result.filter(Boolean);
|
|
54
|
+
}
|
|
55
|
+
if (options.nodupes === true) {
|
|
56
|
+
result = [...new Set(result)];
|
|
57
|
+
}
|
|
58
|
+
return result;
|
|
59
|
+
};
|
|
60
|
+
braces.create = (input, options = {}) => {
|
|
61
|
+
if (input === "" || input.length < 3) {
|
|
62
|
+
return [input];
|
|
63
|
+
}
|
|
64
|
+
return options.expand !== true ? braces.compile(input, options) : braces.expand(input, options);
|
|
65
|
+
};
|
|
66
|
+
braces_1 = braces;
|
|
67
|
+
return braces_1;
|
|
68
|
+
}
|
|
62
69
|
|
|
63
|
-
export {
|
|
70
|
+
export { requireBraces as __require };
|
|
@@ -1,50 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './utils.esnext';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../_virtual/utils2.esnext';
|
|
1
|
+
import { __require as requireFillRange } from '../../../../fill-range@7.0.1/node_modules/fill-range/index.esnext';
|
|
2
|
+
import { __require as requireUtils } from './utils.esnext';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
4
|
+
var compile_1;
|
|
5
|
+
var hasRequiredCompile;
|
|
6
|
+
function requireCompile() {
|
|
7
|
+
if (hasRequiredCompile) return compile_1;
|
|
8
|
+
hasRequiredCompile = 1;
|
|
9
|
+
const fill = requireFillRange();
|
|
10
|
+
const utils = requireUtils();
|
|
11
|
+
const compile = (ast, options = {}) => {
|
|
12
|
+
let walk = (node, parent = {}) => {
|
|
13
|
+
let invalidBlock = utils.isInvalidBrace(parent);
|
|
14
|
+
let invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
15
|
+
let invalid = invalidBlock === true || invalidNode === true;
|
|
16
|
+
let prefix = options.escapeInvalid === true ? "\\" : "";
|
|
17
|
+
let output = "";
|
|
18
|
+
if (node.isOpen === true) {
|
|
19
|
+
return prefix + node.value;
|
|
20
|
+
}
|
|
21
|
+
if (node.isClose === true) {
|
|
22
|
+
return prefix + node.value;
|
|
23
|
+
}
|
|
24
|
+
if (node.type === "open") {
|
|
25
|
+
return invalid ? prefix + node.value : "(";
|
|
26
|
+
}
|
|
27
|
+
if (node.type === "close") {
|
|
28
|
+
return invalid ? prefix + node.value : ")";
|
|
29
|
+
}
|
|
30
|
+
if (node.type === "comma") {
|
|
31
|
+
return node.prev.type === "comma" ? "" : invalid ? node.value : "|";
|
|
32
|
+
}
|
|
33
|
+
if (node.value) {
|
|
34
|
+
return node.value;
|
|
35
|
+
}
|
|
36
|
+
if (node.nodes && node.ranges > 0) {
|
|
37
|
+
let args = utils.reduce(node.nodes);
|
|
38
|
+
let range = fill(...args, { ...options, wrap: false, toRegex: true });
|
|
39
|
+
if (range.length !== 0) {
|
|
40
|
+
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (node.nodes) {
|
|
44
|
+
for (let child of node.nodes) {
|
|
45
|
+
output += walk(child, node);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return output;
|
|
49
|
+
};
|
|
50
|
+
return walk(ast);
|
|
45
51
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
52
|
+
compile_1 = compile;
|
|
53
|
+
return compile_1;
|
|
54
|
+
}
|
|
49
55
|
|
|
50
|
-
export {
|
|
56
|
+
export { requireCompile as __require };
|