@quilted/create 0.1.63 → 0.1.65
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 +16 -0
- package/build/cjs/_virtual/index2.cjs +2 -2
- package/build/cjs/_virtual/index3.cjs +2 -2
- package/build/cjs/_virtual/index4.cjs +2 -2
- package/build/cjs/_virtual/index5.cjs +2 -2
- package/build/cjs/_virtual/index6.cjs +2 -2
- package/build/cjs/_virtual/index8.cjs +2 -2
- package/build/cjs/_virtual/parser-babel.cjs +1 -1
- package/build/cjs/_virtual/parser-typescript.cjs +1 -1
- package/build/cjs/_virtual/parser-yaml.cjs +1 -1
- package/build/cjs/_virtual/queue.cjs +1 -1
- package/build/cjs/_virtual/standalone.cjs +1 -1
- package/build/cjs/app.cjs +3 -5
- package/build/cjs/cli.cjs +1 -0
- package/build/cjs/module.cjs +3 -5
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.cjs +3 -3
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +2 -2
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.cjs +3 -4
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.cjs +3 -1
- package/build/cjs/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.cjs +5 -7
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.cjs +3 -5
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.cjs +3 -5
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.cjs +1 -5
- package/build/cjs/node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.cjs +9 -5
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.cjs +5 -2
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.cjs +2 -2
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.cjs +2 -2
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.cjs +2 -2
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.cjs +2 -2
- package/build/cjs/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.cjs +6 -6
- package/build/cjs/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.cjs +0 -50
- package/build/cjs/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.cjs +0 -19
- package/build/cjs/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.cjs +4 -64
- package/build/cjs/node_modules/.pnpm/globby@13.1.1/node_modules/globby/utilities.cjs +0 -13
- package/build/cjs/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.cjs +5 -1
- package/build/cjs/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.cjs +0 -25
- package/build/cjs/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.cjs +4 -7
- package/build/cjs/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.cjs +11 -4
- package/build/cjs/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.cjs +3 -5
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.cjs +4 -6
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.cjs +2 -6
- package/build/cjs/node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.cjs +0 -6
- package/build/cjs/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-babel.cjs +64 -0
- package/build/cjs/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-typescript.cjs +292 -0
- package/build/cjs/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-yaml.cjs +185 -0
- package/build/cjs/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/standalone.cjs +151 -0
- package/build/cjs/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.cjs +3 -3
- package/build/cjs/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.cjs +4 -1
- package/build/cjs/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.cjs +3 -3
- package/build/cjs/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.cjs +1 -3
- package/build/cjs/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.cjs +2 -4
- package/build/cjs/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/Document.cjs +1 -1
- package/build/cjs/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/index.cjs +28 -84
- package/build/cjs/package.cjs +1 -3
- package/build/cjs/shared/package-manager.cjs +2 -2
- package/build/cjs/shared/prompts.cjs +3 -17
- package/build/cjs/shared.cjs +2 -2
- package/build/esm/_virtual/index2.mjs +2 -2
- package/build/esm/_virtual/index3.mjs +2 -2
- package/build/esm/_virtual/index4.mjs +2 -2
- package/build/esm/_virtual/index5.mjs +2 -2
- package/build/esm/_virtual/index6.mjs +2 -2
- package/build/esm/_virtual/index8.mjs +2 -2
- package/build/esm/_virtual/parser-babel.mjs +1 -1
- package/build/esm/_virtual/parser-typescript.mjs +1 -1
- package/build/esm/_virtual/parser-yaml.mjs +1 -1
- package/build/esm/_virtual/queue.mjs +1 -1
- package/build/esm/_virtual/standalone.mjs +1 -1
- package/build/esm/app.mjs +4 -6
- package/build/esm/cli.mjs +1 -0
- package/build/esm/module.mjs +4 -6
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +1 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +5 -4
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +4 -3
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +1 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +1 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +3 -4
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +2 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +1 -1
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +1 -1
- package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +3 -1
- package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +5 -5
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +2 -2
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +1 -1
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +3 -3
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +3 -3
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +1 -1
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +1 -2
- package/build/esm/node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.mjs +2 -3
- package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +9 -6
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +5 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +3 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +2 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +2 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +2 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +1 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +4 -3
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +3 -2
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +2 -1
- package/build/esm/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.mjs +5 -4
- package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.mjs +2 -50
- package/build/esm/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.mjs +5 -21
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.mjs +9 -63
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/utilities.mjs +1 -13
- package/build/esm/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.mjs +5 -1
- package/build/esm/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.mjs +2 -26
- package/build/esm/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +4 -5
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.mjs +1 -1
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.mjs +10 -4
- package/build/esm/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.mjs +3 -2
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.mjs +3 -5
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.mjs +1 -1
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.mjs +2 -2
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.mjs +4 -4
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.mjs +2 -2
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.mjs +2 -3
- package/build/esm/node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.mjs +2 -7
- package/build/esm/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-babel.mjs +59 -0
- package/build/esm/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-typescript.mjs +287 -0
- package/build/esm/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-yaml.mjs +180 -0
- package/build/esm/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/standalone.mjs +146 -0
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.mjs +2 -2
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.mjs +4 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.mjs +2 -2
- package/build/esm/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.mjs +1 -1
- package/build/esm/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-collection.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-doc.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-node.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/composer.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-map.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-seq.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-end.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-props.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-contains-newline.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-map-includes.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/Document.mjs +3 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/anchors.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/applyReviver.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/createNode.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/directives.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/errors.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/index.mjs +28 -56
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/log.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Alias.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Collection.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Node.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Pair.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLMap.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLSeq.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/toJS.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-scalar.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-stringify.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-visit.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/lexer.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/line-counter.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/parser.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/public-api.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/Schema.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/map.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/null.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/seq.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/string.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/bool.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/float.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/int.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/schema.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/json/schema.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/tags.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/foldFlowLines.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringify.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyCollection.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyComment.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyDocument.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyNumber.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyPair.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyString.mjs +2 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/visit.mjs +2 -1
- package/build/esm/package.mjs +1 -3
- package/build/esm/shared/package-manager.mjs +2 -2
- package/build/esm/shared/prompts.mjs +4 -19
- package/build/esm/shared.mjs +1 -1
- package/build/esnext/_virtual/index2.esnext +2 -2
- package/build/esnext/_virtual/index3.esnext +2 -2
- package/build/esnext/_virtual/index4.esnext +2 -2
- package/build/esnext/_virtual/index5.esnext +2 -2
- package/build/esnext/_virtual/index6.esnext +2 -2
- package/build/esnext/_virtual/index8.esnext +2 -2
- package/build/esnext/_virtual/parser-babel.esnext +1 -1
- package/build/esnext/_virtual/parser-typescript.esnext +1 -1
- package/build/esnext/_virtual/parser-yaml.esnext +1 -1
- package/build/esnext/_virtual/queue.esnext +1 -1
- package/build/esnext/_virtual/standalone.esnext +1 -1
- package/build/esnext/app.esnext +4 -6
- package/build/esnext/module.esnext +4 -6
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +5 -4
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +4 -3
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +3 -4
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +4 -2
- package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +5 -5
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +1 -2
- package/build/esnext/node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.esnext +2 -3
- package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +9 -6
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +5 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +4 -3
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +5 -4
- package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +2 -50
- package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.esnext +5 -21
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.esnext +9 -63
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/utilities.esnext +1 -13
- package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +5 -1
- package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.esnext +2 -26
- package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +4 -5
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +10 -4
- package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +3 -5
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +4 -4
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +2 -3
- package/build/esnext/node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.esnext +2 -7
- package/build/esnext/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-babel.esnext +59 -0
- package/build/esnext/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-typescript.esnext +287 -0
- package/build/esnext/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/parser-yaml.esnext +180 -0
- package/build/esnext/node_modules/.pnpm/prettier@2.8.1/node_modules/prettier/standalone.esnext +146 -0
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +4 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-collection.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-doc.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-node.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/compose-scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/composer.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-map.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-block-seq.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-end.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-flow-collection.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-flow-scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/resolve-props.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-contains-newline.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-empty-scalar-position.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-flow-indent-check.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/compose/util-map-includes.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/Document.esnext +3 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/anchors.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/applyReviver.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/createNode.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/doc/directives.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/errors.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/index.esnext +28 -56
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/log.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Alias.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Collection.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Node.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Pair.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/Scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLMap.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/YAMLSeq.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/addPairToJSMap.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/nodes/toJS.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-scalar.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-stringify.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst-visit.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/cst.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/lexer.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/line-counter.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/parse/parser.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/public-api.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/Schema.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/map.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/null.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/seq.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/common/string.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/bool.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/float.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/int.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/core/schema.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/json/schema.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/tags.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/binary.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/bool.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/float.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/int.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/omap.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/schema.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/set.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/foldFlowLines.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringify.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyCollection.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyComment.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyDocument.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyNumber.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyPair.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/stringify/stringifyString.esnext +2 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/dist/visit.esnext +2 -1
- package/build/esnext/package.esnext +3 -5
- package/build/esnext/shared/package-manager.esnext +2 -2
- package/build/esnext/shared/prompts.esnext +4 -19
- package/build/esnext/shared.esnext +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/typescript/shared/prompts.d.ts +1 -3
- package/build/typescript/shared/prompts.d.ts.map +1 -1
- package/package.json +1 -1
- package/source/app.ts +1 -1
- package/source/module.ts +1 -1
- package/source/package.ts +1 -1
- package/source/shared/prompts.ts +2 -19
- package/templates/app-basic/package.json +1 -1
- package/templates/app-empty/package.json +1 -1
- package/templates/app-graphql/package.json +2 -2
- package/templates/app-single-file/package.json +1 -1
- package/templates/app-trpc/package.json +1 -1
- package/templates/module/package.json +1 -1
- package/templates/workspace/package.json +1 -1
- package/build/cjs/_virtual/index10.cjs +0 -5
- package/build/cjs/_virtual/index11.cjs +0 -5
- package/build/cjs/_virtual/index9.cjs +0 -5
- package/build/cjs/node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.cjs +0 -201
- package/build/cjs/node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.cjs +0 -227
- package/build/cjs/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-babel.cjs +0 -40
- package/build/cjs/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-typescript.cjs +0 -293
- package/build/cjs/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-yaml.cjs +0 -163
- package/build/cjs/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/standalone.cjs +0 -128
- package/build/esm/_virtual/index10.mjs +0 -3
- package/build/esm/_virtual/index11.mjs +0 -3
- package/build/esm/_virtual/index9.mjs +0 -3
- package/build/esm/node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.mjs +0 -197
- package/build/esm/node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.mjs +0 -219
- package/build/esm/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-babel.mjs +0 -36
- package/build/esm/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-typescript.mjs +0 -289
- package/build/esm/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-yaml.mjs +0 -159
- package/build/esm/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/standalone.mjs +0 -124
- package/build/esnext/_virtual/index10.esnext +0 -3
- package/build/esnext/_virtual/index11.esnext +0 -3
- package/build/esnext/_virtual/index9.esnext +0 -3
- package/build/esnext/node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.esnext +0 -197
- package/build/esnext/node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.esnext +0 -219
- package/build/esnext/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-babel.esnext +0 -36
- package/build/esnext/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-typescript.esnext +0 -289
- package/build/esnext/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/parser-yaml.esnext +0 -159
- package/build/esnext/node_modules/.pnpm/prettier@2.6.2/node_modules/prettier/standalone.esnext +0 -124
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
const flagSymbol = Symbol('arg flag');
|
|
2
|
-
|
|
3
|
-
class ArgError extends Error {
|
|
4
|
-
constructor(msg, code) {
|
|
5
|
-
super(msg);
|
|
6
|
-
this.name = 'ArgError';
|
|
7
|
-
this.code = code;
|
|
8
|
-
|
|
9
|
-
Object.setPrototypeOf(this, ArgError.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function arg(
|
|
14
|
-
opts,
|
|
15
|
-
{
|
|
16
|
-
argv = process.argv.slice(2),
|
|
17
|
-
permissive = false,
|
|
18
|
-
stopAtPositional = false
|
|
19
|
-
} = {}
|
|
20
|
-
) {
|
|
21
|
-
if (!opts) {
|
|
22
|
-
throw new ArgError(
|
|
23
|
-
'argument specification object is required',
|
|
24
|
-
'ARG_CONFIG_NO_SPEC'
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
const result = { _: [] };
|
|
29
|
-
|
|
30
|
-
const aliases = {};
|
|
31
|
-
const handlers = {};
|
|
32
|
-
|
|
33
|
-
for (const key of Object.keys(opts)) {
|
|
34
|
-
if (!key) {
|
|
35
|
-
throw new ArgError(
|
|
36
|
-
'argument key cannot be an empty string',
|
|
37
|
-
'ARG_CONFIG_EMPTY_KEY'
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (key[0] !== '-') {
|
|
42
|
-
throw new ArgError(
|
|
43
|
-
`argument key must start with '-' but found: '${key}'`,
|
|
44
|
-
'ARG_CONFIG_NONOPT_KEY'
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (key.length === 1) {
|
|
49
|
-
throw new ArgError(
|
|
50
|
-
`argument key must have a name; singular '-' keys are not allowed: ${key}`,
|
|
51
|
-
'ARG_CONFIG_NONAME_KEY'
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
if (typeof opts[key] === 'string') {
|
|
56
|
-
aliases[key] = opts[key];
|
|
57
|
-
continue;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
let type = opts[key];
|
|
61
|
-
let isFlag = false;
|
|
62
|
-
|
|
63
|
-
if (
|
|
64
|
-
Array.isArray(type) &&
|
|
65
|
-
type.length === 1 &&
|
|
66
|
-
typeof type[0] === 'function'
|
|
67
|
-
) {
|
|
68
|
-
const [fn] = type;
|
|
69
|
-
type = (value, name, prev = []) => {
|
|
70
|
-
prev.push(fn(value, name, prev[prev.length - 1]));
|
|
71
|
-
return prev;
|
|
72
|
-
};
|
|
73
|
-
isFlag = fn === Boolean || fn[flagSymbol] === true;
|
|
74
|
-
} else if (typeof type === 'function') {
|
|
75
|
-
isFlag = type === Boolean || type[flagSymbol] === true;
|
|
76
|
-
} else {
|
|
77
|
-
throw new ArgError(
|
|
78
|
-
`type missing or not a function or valid array type: ${key}`,
|
|
79
|
-
'ARG_CONFIG_VAD_TYPE'
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (key[1] !== '-' && key.length > 2) {
|
|
84
|
-
throw new ArgError(
|
|
85
|
-
`short argument keys (with a single hyphen) must have only one character: ${key}`,
|
|
86
|
-
'ARG_CONFIG_SHORTOPT_TOOLONG'
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
handlers[key] = [type, isFlag];
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
for (let i = 0, len = argv.length; i < len; i++) {
|
|
94
|
-
const wholeArg = argv[i];
|
|
95
|
-
|
|
96
|
-
if (stopAtPositional && result._.length > 0) {
|
|
97
|
-
result._ = result._.concat(argv.slice(i));
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (wholeArg === '--') {
|
|
102
|
-
result._ = result._.concat(argv.slice(i + 1));
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
if (wholeArg.length > 1 && wholeArg[0] === '-') {
|
|
107
|
-
/* eslint-disable operator-linebreak */
|
|
108
|
-
const separatedArguments =
|
|
109
|
-
wholeArg[1] === '-' || wholeArg.length === 2
|
|
110
|
-
? [wholeArg]
|
|
111
|
-
: wholeArg
|
|
112
|
-
.slice(1)
|
|
113
|
-
.split('')
|
|
114
|
-
.map((a) => `-${a}`);
|
|
115
|
-
/* eslint-enable operator-linebreak */
|
|
116
|
-
|
|
117
|
-
for (let j = 0; j < separatedArguments.length; j++) {
|
|
118
|
-
const arg = separatedArguments[j];
|
|
119
|
-
const [originalArgName, argStr] =
|
|
120
|
-
arg[1] === '-' ? arg.split(/=(.*)/, 2) : [arg, undefined];
|
|
121
|
-
|
|
122
|
-
let argName = originalArgName;
|
|
123
|
-
while (argName in aliases) {
|
|
124
|
-
argName = aliases[argName];
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (!(argName in handlers)) {
|
|
128
|
-
if (permissive) {
|
|
129
|
-
result._.push(arg);
|
|
130
|
-
continue;
|
|
131
|
-
} else {
|
|
132
|
-
throw new ArgError(
|
|
133
|
-
`unknown or unexpected option: ${originalArgName}`,
|
|
134
|
-
'ARG_UNKNOWN_OPTION'
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
const [type, isFlag] = handlers[argName];
|
|
140
|
-
|
|
141
|
-
if (!isFlag && j + 1 < separatedArguments.length) {
|
|
142
|
-
throw new ArgError(
|
|
143
|
-
`option requires argument (but was followed by another short argument): ${originalArgName}`,
|
|
144
|
-
'ARG_MISSING_REQUIRED_SHORTARG'
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
if (isFlag) {
|
|
149
|
-
result[argName] = type(true, argName, result[argName]);
|
|
150
|
-
} else if (argStr === undefined) {
|
|
151
|
-
if (
|
|
152
|
-
argv.length < i + 2 ||
|
|
153
|
-
(argv[i + 1].length > 1 &&
|
|
154
|
-
argv[i + 1][0] === '-' &&
|
|
155
|
-
!(
|
|
156
|
-
argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) &&
|
|
157
|
-
(type === Number ||
|
|
158
|
-
// eslint-disable-next-line no-undef
|
|
159
|
-
(typeof BigInt !== 'undefined' && type === BigInt))
|
|
160
|
-
))
|
|
161
|
-
) {
|
|
162
|
-
const extended =
|
|
163
|
-
originalArgName === argName ? '' : ` (alias for ${argName})`;
|
|
164
|
-
throw new ArgError(
|
|
165
|
-
`option requires argument: ${originalArgName}${extended}`,
|
|
166
|
-
'ARG_MISSING_REQUIRED_LONGARG'
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
result[argName] = type(argv[i + 1], argName, result[argName]);
|
|
171
|
-
++i;
|
|
172
|
-
} else {
|
|
173
|
-
result[argName] = type(argStr, argName, result[argName]);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
} else {
|
|
177
|
-
result._.push(wholeArg);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
return result;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
arg.flag = (fn) => {
|
|
185
|
-
fn[flagSymbol] = true;
|
|
186
|
-
return fn;
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
// Utility types
|
|
190
|
-
arg.COUNT = arg.flag((v, name, existingCount) => (existingCount || 0) + 1);
|
|
191
|
-
|
|
192
|
-
// Expose error class
|
|
193
|
-
arg.ArgError = ArgError;
|
|
194
|
-
|
|
195
|
-
var arg_1 = arg;
|
|
196
|
-
|
|
197
|
-
export { arg_1 as default };
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { __exports as colorette } from '../../../../../_virtual/index.mjs';
|
|
2
|
-
export { __exports as default } from '../../../../../_virtual/index.mjs';
|
|
3
|
-
import require$$0 from 'node:tty';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(colorette, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var tty = require$$0;
|
|
8
|
-
|
|
9
|
-
function _interopNamespace(e) {
|
|
10
|
-
if (e && e.__esModule) return e;
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n["default"] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var tty__namespace = /*#__PURE__*/_interopNamespace(tty);
|
|
28
|
-
|
|
29
|
-
const env = process.env || {};
|
|
30
|
-
const argv = process.argv || [];
|
|
31
|
-
|
|
32
|
-
const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
|
|
33
|
-
const isForced = "FORCE_COLOR" in env || argv.includes("--color");
|
|
34
|
-
const isWindows = process.platform === "win32";
|
|
35
|
-
|
|
36
|
-
const isCompatibleTerminal =
|
|
37
|
-
tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env.TERM && env.TERM !== "dumb";
|
|
38
|
-
|
|
39
|
-
const isCI =
|
|
40
|
-
"CI" in env &&
|
|
41
|
-
("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
|
|
42
|
-
|
|
43
|
-
const isColorSupported =
|
|
44
|
-
!isDisabled && (isForced || isWindows || isCompatibleTerminal || isCI);
|
|
45
|
-
|
|
46
|
-
const replaceClose = (
|
|
47
|
-
index,
|
|
48
|
-
string,
|
|
49
|
-
close,
|
|
50
|
-
replace,
|
|
51
|
-
head = string.substring(0, index) + replace,
|
|
52
|
-
tail = string.substring(index + close.length),
|
|
53
|
-
next = tail.indexOf(close)
|
|
54
|
-
) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
|
|
55
|
-
|
|
56
|
-
const clearBleed = (index, string, open, close, replace) =>
|
|
57
|
-
index < 0
|
|
58
|
-
? open + string + close
|
|
59
|
-
: open + replaceClose(index, string, close, replace) + close;
|
|
60
|
-
|
|
61
|
-
const filterEmpty =
|
|
62
|
-
(open, close, replace = open, at = open.length + 1) =>
|
|
63
|
-
(string) =>
|
|
64
|
-
string || !(string === "" || string === undefined)
|
|
65
|
-
? clearBleed(
|
|
66
|
-
("" + string).indexOf(close, at),
|
|
67
|
-
string,
|
|
68
|
-
open,
|
|
69
|
-
close,
|
|
70
|
-
replace
|
|
71
|
-
)
|
|
72
|
-
: "";
|
|
73
|
-
|
|
74
|
-
const init = (open, close, replace) =>
|
|
75
|
-
filterEmpty(`\x1b[${open}m`, `\x1b[${close}m`, replace);
|
|
76
|
-
|
|
77
|
-
const colors = {
|
|
78
|
-
reset: init(0, 0),
|
|
79
|
-
bold: init(1, 22, "\x1b[22m\x1b[1m"),
|
|
80
|
-
dim: init(2, 22, "\x1b[22m\x1b[2m"),
|
|
81
|
-
italic: init(3, 23),
|
|
82
|
-
underline: init(4, 24),
|
|
83
|
-
inverse: init(7, 27),
|
|
84
|
-
hidden: init(8, 28),
|
|
85
|
-
strikethrough: init(9, 29),
|
|
86
|
-
black: init(30, 39),
|
|
87
|
-
red: init(31, 39),
|
|
88
|
-
green: init(32, 39),
|
|
89
|
-
yellow: init(33, 39),
|
|
90
|
-
blue: init(34, 39),
|
|
91
|
-
magenta: init(35, 39),
|
|
92
|
-
cyan: init(36, 39),
|
|
93
|
-
white: init(37, 39),
|
|
94
|
-
gray: init(90, 39),
|
|
95
|
-
bgBlack: init(40, 49),
|
|
96
|
-
bgRed: init(41, 49),
|
|
97
|
-
bgGreen: init(42, 49),
|
|
98
|
-
bgYellow: init(43, 49),
|
|
99
|
-
bgBlue: init(44, 49),
|
|
100
|
-
bgMagenta: init(45, 49),
|
|
101
|
-
bgCyan: init(46, 49),
|
|
102
|
-
bgWhite: init(47, 49),
|
|
103
|
-
blackBright: init(90, 39),
|
|
104
|
-
redBright: init(91, 39),
|
|
105
|
-
greenBright: init(92, 39),
|
|
106
|
-
yellowBright: init(93, 39),
|
|
107
|
-
blueBright: init(94, 39),
|
|
108
|
-
magentaBright: init(95, 39),
|
|
109
|
-
cyanBright: init(96, 39),
|
|
110
|
-
whiteBright: init(97, 39),
|
|
111
|
-
bgBlackBright: init(100, 49),
|
|
112
|
-
bgRedBright: init(101, 49),
|
|
113
|
-
bgGreenBright: init(102, 49),
|
|
114
|
-
bgYellowBright: init(103, 49),
|
|
115
|
-
bgBlueBright: init(104, 49),
|
|
116
|
-
bgMagentaBright: init(105, 49),
|
|
117
|
-
bgCyanBright: init(106, 49),
|
|
118
|
-
bgWhiteBright: init(107, 49),
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
const none = (any) => any;
|
|
122
|
-
|
|
123
|
-
const createColors = ({ useColor = isColorSupported } = {}) =>
|
|
124
|
-
useColor
|
|
125
|
-
? colors
|
|
126
|
-
: Object.keys(colors).reduce(
|
|
127
|
-
(colors, key) => ({ ...colors, [key]: none }),
|
|
128
|
-
{}
|
|
129
|
-
);
|
|
130
|
-
|
|
131
|
-
const {
|
|
132
|
-
reset,
|
|
133
|
-
bold,
|
|
134
|
-
dim,
|
|
135
|
-
italic,
|
|
136
|
-
underline,
|
|
137
|
-
inverse,
|
|
138
|
-
hidden,
|
|
139
|
-
strikethrough,
|
|
140
|
-
black,
|
|
141
|
-
red,
|
|
142
|
-
green,
|
|
143
|
-
yellow,
|
|
144
|
-
blue,
|
|
145
|
-
magenta,
|
|
146
|
-
cyan,
|
|
147
|
-
white,
|
|
148
|
-
gray,
|
|
149
|
-
bgBlack,
|
|
150
|
-
bgRed,
|
|
151
|
-
bgGreen,
|
|
152
|
-
bgYellow,
|
|
153
|
-
bgBlue,
|
|
154
|
-
bgMagenta,
|
|
155
|
-
bgCyan,
|
|
156
|
-
bgWhite,
|
|
157
|
-
blackBright,
|
|
158
|
-
redBright,
|
|
159
|
-
greenBright,
|
|
160
|
-
yellowBright,
|
|
161
|
-
blueBright,
|
|
162
|
-
magentaBright,
|
|
163
|
-
cyanBright,
|
|
164
|
-
whiteBright,
|
|
165
|
-
bgBlackBright,
|
|
166
|
-
bgRedBright,
|
|
167
|
-
bgGreenBright,
|
|
168
|
-
bgYellowBright,
|
|
169
|
-
bgBlueBright,
|
|
170
|
-
bgMagentaBright,
|
|
171
|
-
bgCyanBright,
|
|
172
|
-
bgWhiteBright,
|
|
173
|
-
} = createColors();
|
|
174
|
-
|
|
175
|
-
colorette.bgBlack = bgBlack;
|
|
176
|
-
colorette.bgBlackBright = bgBlackBright;
|
|
177
|
-
colorette.bgBlue = bgBlue;
|
|
178
|
-
colorette.bgBlueBright = bgBlueBright;
|
|
179
|
-
colorette.bgCyan = bgCyan;
|
|
180
|
-
colorette.bgCyanBright = bgCyanBright;
|
|
181
|
-
colorette.bgGreen = bgGreen;
|
|
182
|
-
colorette.bgGreenBright = bgGreenBright;
|
|
183
|
-
colorette.bgMagenta = bgMagenta;
|
|
184
|
-
colorette.bgMagentaBright = bgMagentaBright;
|
|
185
|
-
colorette.bgRed = bgRed;
|
|
186
|
-
colorette.bgRedBright = bgRedBright;
|
|
187
|
-
colorette.bgWhite = bgWhite;
|
|
188
|
-
colorette.bgWhiteBright = bgWhiteBright;
|
|
189
|
-
colorette.bgYellow = bgYellow;
|
|
190
|
-
colorette.bgYellowBright = bgYellowBright;
|
|
191
|
-
colorette.black = black;
|
|
192
|
-
colorette.blackBright = blackBright;
|
|
193
|
-
colorette.blue = blue;
|
|
194
|
-
colorette.blueBright = blueBright;
|
|
195
|
-
var bold_1 = colorette.bold = bold;
|
|
196
|
-
colorette.createColors = createColors;
|
|
197
|
-
var cyan_1 = colorette.cyan = cyan;
|
|
198
|
-
colorette.cyanBright = cyanBright;
|
|
199
|
-
var dim_1 = colorette.dim = dim;
|
|
200
|
-
colorette.gray = gray;
|
|
201
|
-
colorette.green = green;
|
|
202
|
-
colorette.greenBright = greenBright;
|
|
203
|
-
colorette.hidden = hidden;
|
|
204
|
-
colorette.inverse = inverse;
|
|
205
|
-
colorette.isColorSupported = isColorSupported;
|
|
206
|
-
colorette.italic = italic;
|
|
207
|
-
var magenta_1 = colorette.magenta = magenta;
|
|
208
|
-
colorette.magentaBright = magentaBright;
|
|
209
|
-
colorette.red = red;
|
|
210
|
-
colorette.redBright = redBright;
|
|
211
|
-
colorette.reset = reset;
|
|
212
|
-
colorette.strikethrough = strikethrough;
|
|
213
|
-
var underline_1 = colorette.underline = underline;
|
|
214
|
-
colorette.white = white;
|
|
215
|
-
colorette.whiteBright = whiteBright;
|
|
216
|
-
colorette.yellow = yellow;
|
|
217
|
-
colorette.yellowBright = yellowBright;
|
|
218
|
-
|
|
219
|
-
export { bold_1 as bold, cyan_1 as cyan, dim_1 as dim, magenta_1 as magenta, underline_1 as underline };
|