@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
package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireIsNumber } from '../../../is-number@7.0.0/node_modules/is-number/index.mjs';
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
4
|
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
@@ -6,255 +6,262 @@ import { isNumber as isNumber$1 } from '../../../is-number@7.0.0/node_modules/is
|
|
|
6
6
|
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
7
7
|
* Released under the MIT License.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
throw new TypeError('toRegexRange: expected the second argument to be a number.');
|
|
19
|
-
}
|
|
20
|
-
let opts = {
|
|
21
|
-
relaxZeros: true,
|
|
22
|
-
...options
|
|
23
|
-
};
|
|
24
|
-
if (typeof opts.strictZeros === 'boolean') {
|
|
25
|
-
opts.relaxZeros = opts.strictZeros === false;
|
|
26
|
-
}
|
|
27
|
-
let relax = String(opts.relaxZeros);
|
|
28
|
-
let shorthand = String(opts.shorthand);
|
|
29
|
-
let capture = String(opts.capture);
|
|
30
|
-
let wrap = String(opts.wrap);
|
|
31
|
-
let cacheKey = min + ':' + max + '=' + relax + shorthand + capture + wrap;
|
|
32
|
-
if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
|
|
33
|
-
return toRegexRange.cache[cacheKey].result;
|
|
34
|
-
}
|
|
35
|
-
let a = Math.min(min, max);
|
|
36
|
-
let b = Math.max(min, max);
|
|
37
|
-
if (Math.abs(a - b) === 1) {
|
|
38
|
-
let result = min + '|' + max;
|
|
39
|
-
if (opts.capture) {
|
|
40
|
-
return `(${result})`;
|
|
9
|
+
var toRegexRange_1;
|
|
10
|
+
var hasRequiredToRegexRange;
|
|
11
|
+
function requireToRegexRange() {
|
|
12
|
+
if (hasRequiredToRegexRange) return toRegexRange_1;
|
|
13
|
+
hasRequiredToRegexRange = 1;
|
|
14
|
+
const isNumber = requireIsNumber();
|
|
15
|
+
const toRegexRange = (min, max, options) => {
|
|
16
|
+
if (isNumber(min) === false) {
|
|
17
|
+
throw new TypeError('toRegexRange: expected the first argument to be a number');
|
|
41
18
|
}
|
|
42
|
-
if (
|
|
43
|
-
return
|
|
19
|
+
if (max === void 0 || min === max) {
|
|
20
|
+
return String(min);
|
|
44
21
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
22
|
+
if (isNumber(max) === false) {
|
|
23
|
+
throw new TypeError('toRegexRange: expected the second argument to be a number.');
|
|
24
|
+
}
|
|
25
|
+
let opts = {
|
|
26
|
+
relaxZeros: true,
|
|
27
|
+
...options
|
|
28
|
+
};
|
|
29
|
+
if (typeof opts.strictZeros === 'boolean') {
|
|
30
|
+
opts.relaxZeros = opts.strictZeros === false;
|
|
31
|
+
}
|
|
32
|
+
let relax = String(opts.relaxZeros);
|
|
33
|
+
let shorthand = String(opts.shorthand);
|
|
34
|
+
let capture = String(opts.capture);
|
|
35
|
+
let wrap = String(opts.wrap);
|
|
36
|
+
let cacheKey = min + ':' + max + '=' + relax + shorthand + capture + wrap;
|
|
37
|
+
if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
|
|
38
|
+
return toRegexRange.cache[cacheKey].result;
|
|
39
|
+
}
|
|
40
|
+
let a = Math.min(min, max);
|
|
41
|
+
let b = Math.max(min, max);
|
|
42
|
+
if (Math.abs(a - b) === 1) {
|
|
43
|
+
let result = min + '|' + max;
|
|
44
|
+
if (opts.capture) {
|
|
45
|
+
return `(${result})`;
|
|
46
|
+
}
|
|
47
|
+
if (opts.wrap === false) {
|
|
48
|
+
return result;
|
|
49
|
+
}
|
|
50
|
+
return `(?:${result})`;
|
|
51
|
+
}
|
|
52
|
+
let isPadded = hasPadding(min) || hasPadding(max);
|
|
53
|
+
let state = {
|
|
54
|
+
min,
|
|
55
|
+
max,
|
|
56
|
+
a,
|
|
57
|
+
b
|
|
58
|
+
};
|
|
59
|
+
let positives = [];
|
|
60
|
+
let negatives = [];
|
|
61
|
+
if (isPadded) {
|
|
62
|
+
state.isPadded = isPadded;
|
|
63
|
+
state.maxLen = String(state.max).length;
|
|
64
|
+
}
|
|
65
|
+
if (a < 0) {
|
|
66
|
+
let newMin = b < 0 ? Math.abs(b) : 1;
|
|
67
|
+
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
68
|
+
a = state.a = 0;
|
|
69
|
+
}
|
|
70
|
+
if (b >= 0) {
|
|
71
|
+
positives = splitToPatterns(a, b, state, opts);
|
|
72
|
+
}
|
|
73
|
+
state.negatives = negatives;
|
|
74
|
+
state.positives = positives;
|
|
75
|
+
state.result = collatePatterns(negatives, positives);
|
|
76
|
+
if (opts.capture === true) {
|
|
77
|
+
state.result = `(${state.result})`;
|
|
78
|
+
} else if (opts.wrap !== false && positives.length + negatives.length > 1) {
|
|
79
|
+
state.result = `(?:${state.result})`;
|
|
80
|
+
}
|
|
81
|
+
toRegexRange.cache[cacheKey] = state;
|
|
82
|
+
return state.result;
|
|
53
83
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (a < 0) {
|
|
61
|
-
let newMin = b < 0 ? Math.abs(b) : 1;
|
|
62
|
-
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
63
|
-
a = state.a = 0;
|
|
64
|
-
}
|
|
65
|
-
if (b >= 0) {
|
|
66
|
-
positives = splitToPatterns(a, b, state, opts);
|
|
67
|
-
}
|
|
68
|
-
state.negatives = negatives;
|
|
69
|
-
state.positives = positives;
|
|
70
|
-
state.result = collatePatterns(negatives, positives);
|
|
71
|
-
if (opts.capture === true) {
|
|
72
|
-
state.result = `(${state.result})`;
|
|
73
|
-
} else if (opts.wrap !== false && positives.length + negatives.length > 1) {
|
|
74
|
-
state.result = `(?:${state.result})`;
|
|
84
|
+
function collatePatterns(neg, pos, options) {
|
|
85
|
+
let onlyNegative = filterPatterns(neg, pos, '-', false) || [];
|
|
86
|
+
let onlyPositive = filterPatterns(pos, neg, '', false) || [];
|
|
87
|
+
let intersected = filterPatterns(neg, pos, '-?', true) || [];
|
|
88
|
+
let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
|
|
89
|
+
return subpatterns.join('|');
|
|
75
90
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
function splitToRanges(min, max) {
|
|
87
|
-
let nines = 1;
|
|
88
|
-
let zeros = 1;
|
|
89
|
-
let stop = countNines(min, nines);
|
|
90
|
-
let stops = new Set([max]);
|
|
91
|
-
while (min <= stop && stop <= max) {
|
|
92
|
-
stops.add(stop);
|
|
93
|
-
nines += 1;
|
|
94
|
-
stop = countNines(min, nines);
|
|
95
|
-
}
|
|
96
|
-
stop = countZeros(max + 1, zeros) - 1;
|
|
97
|
-
while (min < stop && stop <= max) {
|
|
98
|
-
stops.add(stop);
|
|
99
|
-
zeros += 1;
|
|
91
|
+
function splitToRanges(min, max) {
|
|
92
|
+
let nines = 1;
|
|
93
|
+
let zeros = 1;
|
|
94
|
+
let stop = countNines(min, nines);
|
|
95
|
+
let stops = new Set([max]);
|
|
96
|
+
while (min <= stop && stop <= max) {
|
|
97
|
+
stops.add(stop);
|
|
98
|
+
nines += 1;
|
|
99
|
+
stop = countNines(min, nines);
|
|
100
|
+
}
|
|
100
101
|
stop = countZeros(max + 1, zeros) - 1;
|
|
102
|
+
while (min < stop && stop <= max) {
|
|
103
|
+
stops.add(stop);
|
|
104
|
+
zeros += 1;
|
|
105
|
+
stop = countZeros(max + 1, zeros) - 1;
|
|
106
|
+
}
|
|
107
|
+
stops = [...stops];
|
|
108
|
+
stops.sort(compare);
|
|
109
|
+
return stops;
|
|
101
110
|
}
|
|
102
|
-
stops = [...stops];
|
|
103
|
-
stops.sort(compare);
|
|
104
|
-
return stops;
|
|
105
|
-
}
|
|
106
111
|
|
|
107
|
-
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Convert a range to a regex pattern
|
|
114
|
+
* @param {Number} `start`
|
|
115
|
+
* @param {Number} `stop`
|
|
116
|
+
* @return {String}
|
|
117
|
+
*/
|
|
113
118
|
|
|
114
|
-
function rangeToPattern(start, stop, options) {
|
|
115
|
-
|
|
119
|
+
function rangeToPattern(start, stop, options) {
|
|
120
|
+
if (start === stop) {
|
|
121
|
+
return {
|
|
122
|
+
pattern: start,
|
|
123
|
+
count: [],
|
|
124
|
+
digits: 0
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
let zipped = zip(start, stop);
|
|
128
|
+
let digits = zipped.length;
|
|
129
|
+
let pattern = '';
|
|
130
|
+
let count = 0;
|
|
131
|
+
for (let i = 0; i < digits; i++) {
|
|
132
|
+
let [startDigit, stopDigit] = zipped[i];
|
|
133
|
+
if (startDigit === stopDigit) {
|
|
134
|
+
pattern += startDigit;
|
|
135
|
+
} else if (startDigit !== '0' || stopDigit !== '9') {
|
|
136
|
+
pattern += toCharacterClass(startDigit, stopDigit);
|
|
137
|
+
} else {
|
|
138
|
+
count++;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (count) {
|
|
142
|
+
pattern += options.shorthand === true ? '\\d' : '[0-9]';
|
|
143
|
+
}
|
|
116
144
|
return {
|
|
117
|
-
pattern
|
|
118
|
-
count: [],
|
|
119
|
-
digits
|
|
145
|
+
pattern,
|
|
146
|
+
count: [count],
|
|
147
|
+
digits
|
|
120
148
|
};
|
|
121
149
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
let
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
pattern
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
return {
|
|
140
|
-
pattern,
|
|
141
|
-
count: [count],
|
|
142
|
-
digits
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function splitToPatterns(min, max, tok, options) {
|
|
146
|
-
let ranges = splitToRanges(min, max);
|
|
147
|
-
let tokens = [];
|
|
148
|
-
let start = min;
|
|
149
|
-
let prev;
|
|
150
|
-
for (let i = 0; i < ranges.length; i++) {
|
|
151
|
-
let max = ranges[i];
|
|
152
|
-
let obj = rangeToPattern(String(start), String(max), options);
|
|
153
|
-
let zeros = '';
|
|
154
|
-
if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
|
|
155
|
-
if (prev.count.length > 1) {
|
|
156
|
-
prev.count.pop();
|
|
150
|
+
function splitToPatterns(min, max, tok, options) {
|
|
151
|
+
let ranges = splitToRanges(min, max);
|
|
152
|
+
let tokens = [];
|
|
153
|
+
let start = min;
|
|
154
|
+
let prev;
|
|
155
|
+
for (let i = 0; i < ranges.length; i++) {
|
|
156
|
+
let max = ranges[i];
|
|
157
|
+
let obj = rangeToPattern(String(start), String(max), options);
|
|
158
|
+
let zeros = '';
|
|
159
|
+
if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
|
|
160
|
+
if (prev.count.length > 1) {
|
|
161
|
+
prev.count.pop();
|
|
162
|
+
}
|
|
163
|
+
prev.count.push(obj.count[0]);
|
|
164
|
+
prev.string = prev.pattern + toQuantifier(prev.count);
|
|
165
|
+
start = max + 1;
|
|
166
|
+
continue;
|
|
157
167
|
}
|
|
158
|
-
|
|
159
|
-
|
|
168
|
+
if (tok.isPadded) {
|
|
169
|
+
zeros = padZeros(max, tok, options);
|
|
170
|
+
}
|
|
171
|
+
obj.string = zeros + obj.pattern + toQuantifier(obj.count);
|
|
172
|
+
tokens.push(obj);
|
|
160
173
|
start = max + 1;
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
if (tok.isPadded) {
|
|
164
|
-
zeros = padZeros(max, tok, options);
|
|
174
|
+
prev = obj;
|
|
165
175
|
}
|
|
166
|
-
|
|
167
|
-
tokens.push(obj);
|
|
168
|
-
start = max + 1;
|
|
169
|
-
prev = obj;
|
|
176
|
+
return tokens;
|
|
170
177
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
string
|
|
178
|
-
} = ele;
|
|
178
|
+
function filterPatterns(arr, comparison, prefix, intersection, options) {
|
|
179
|
+
let result = [];
|
|
180
|
+
for (let ele of arr) {
|
|
181
|
+
let {
|
|
182
|
+
string
|
|
183
|
+
} = ele;
|
|
179
184
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
185
|
+
// only push if _both_ are negative...
|
|
186
|
+
if (!intersection && !contains(comparison, 'string', string)) {
|
|
187
|
+
result.push(prefix + string);
|
|
188
|
+
}
|
|
184
189
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
190
|
+
// or _both_ are positive
|
|
191
|
+
if (intersection && contains(comparison, 'string', string)) {
|
|
192
|
+
result.push(prefix + string);
|
|
193
|
+
}
|
|
188
194
|
}
|
|
195
|
+
return result;
|
|
189
196
|
}
|
|
190
|
-
return result;
|
|
191
|
-
}
|
|
192
197
|
|
|
193
|
-
/**
|
|
194
|
-
|
|
195
|
-
|
|
198
|
+
/**
|
|
199
|
+
* Zip strings
|
|
200
|
+
*/
|
|
196
201
|
|
|
197
|
-
function zip(a, b) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
function compare(a, b) {
|
|
203
|
-
return a > b ? 1 : b > a ? -1 : 0;
|
|
204
|
-
}
|
|
205
|
-
function contains(arr, key, val) {
|
|
206
|
-
return arr.some(ele => ele[key] === val);
|
|
207
|
-
}
|
|
208
|
-
function countNines(min, len) {
|
|
209
|
-
return Number(String(min).slice(0, -len) + '9'.repeat(len));
|
|
210
|
-
}
|
|
211
|
-
function countZeros(integer, zeros) {
|
|
212
|
-
return integer - integer % Math.pow(10, zeros);
|
|
213
|
-
}
|
|
214
|
-
function toQuantifier(digits) {
|
|
215
|
-
let [start = 0, stop = ''] = digits;
|
|
216
|
-
if (stop || start > 1) {
|
|
217
|
-
return `{${start + (stop ? ',' + stop : '')}}`;
|
|
202
|
+
function zip(a, b) {
|
|
203
|
+
let arr = [];
|
|
204
|
+
for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
|
|
205
|
+
return arr;
|
|
218
206
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
function toCharacterClass(a, b, options) {
|
|
222
|
-
return `[${a}${b - a === 1 ? '' : '-'}${b}]`;
|
|
223
|
-
}
|
|
224
|
-
function hasPadding(str) {
|
|
225
|
-
return /^-?(0+)\d/.test(str);
|
|
226
|
-
}
|
|
227
|
-
function padZeros(value, tok, options) {
|
|
228
|
-
if (!tok.isPadded) {
|
|
229
|
-
return value;
|
|
207
|
+
function compare(a, b) {
|
|
208
|
+
return a > b ? 1 : b > a ? -1 : 0;
|
|
230
209
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
210
|
+
function contains(arr, key, val) {
|
|
211
|
+
return arr.some(ele => ele[key] === val);
|
|
212
|
+
}
|
|
213
|
+
function countNines(min, len) {
|
|
214
|
+
return Number(String(min).slice(0, -len) + '9'.repeat(len));
|
|
215
|
+
}
|
|
216
|
+
function countZeros(integer, zeros) {
|
|
217
|
+
return integer - integer % Math.pow(10, zeros);
|
|
218
|
+
}
|
|
219
|
+
function toQuantifier(digits) {
|
|
220
|
+
let [start = 0, stop = ''] = digits;
|
|
221
|
+
if (stop || start > 1) {
|
|
222
|
+
return `{${start + (stop ? ',' + stop : '')}}`;
|
|
223
|
+
}
|
|
224
|
+
return '';
|
|
225
|
+
}
|
|
226
|
+
function toCharacterClass(a, b, options) {
|
|
227
|
+
return `[${a}${b - a === 1 ? '' : '-'}${b}]`;
|
|
228
|
+
}
|
|
229
|
+
function hasPadding(str) {
|
|
230
|
+
return /^-?(0+)\d/.test(str);
|
|
231
|
+
}
|
|
232
|
+
function padZeros(value, tok, options) {
|
|
233
|
+
if (!tok.isPadded) {
|
|
234
|
+
return value;
|
|
235
|
+
}
|
|
236
|
+
let diff = Math.abs(tok.maxLen - String(value).length);
|
|
237
|
+
let relax = options.relaxZeros !== false;
|
|
238
|
+
switch (diff) {
|
|
239
|
+
case 0:
|
|
240
|
+
return '';
|
|
241
|
+
case 1:
|
|
242
|
+
return relax ? '0?' : '0';
|
|
243
|
+
case 2:
|
|
244
|
+
return relax ? '0{0,2}' : '00';
|
|
245
|
+
default:
|
|
246
|
+
{
|
|
247
|
+
return relax ? `0{0,${diff}}` : `0{${diff}}`;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
244
250
|
}
|
|
245
|
-
}
|
|
246
251
|
|
|
247
|
-
/**
|
|
248
|
-
|
|
249
|
-
|
|
252
|
+
/**
|
|
253
|
+
* Cache
|
|
254
|
+
*/
|
|
250
255
|
|
|
251
|
-
toRegexRange.cache = {};
|
|
252
|
-
toRegexRange.clearCache = () => toRegexRange.cache = {};
|
|
256
|
+
toRegexRange.cache = {};
|
|
257
|
+
toRegexRange.clearCache = () => toRegexRange.cache = {};
|
|
253
258
|
|
|
254
|
-
/**
|
|
255
|
-
|
|
256
|
-
|
|
259
|
+
/**
|
|
260
|
+
* Expose `toRegexRange`
|
|
261
|
+
*/
|
|
257
262
|
|
|
258
|
-
|
|
263
|
+
toRegexRange_1 = toRegexRange;
|
|
264
|
+
return toRegexRange_1;
|
|
265
|
+
}
|
|
259
266
|
|
|
260
|
-
export {
|
|
267
|
+
export { requireToRegexRange as __require };
|
package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { stringifyCollection } from '../stringify/stringifyCollection.mjs';
|
|
2
2
|
import { addPairToJSMap } from './addPairToJSMap.mjs';
|
|
3
3
|
import { Collection } from './Collection.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { MAP, isPair, isScalar } from './Node.mjs';
|
|
5
5
|
import { Pair } from './Pair.mjs';
|
|
6
6
|
import { isScalarValue } from './Scalar.mjs';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { warn } from '../log.mjs';
|
|
2
2
|
import { createStringifyContext } from '../stringify/stringify.mjs';
|
|
3
|
-
import { isAlias, isSeq,
|
|
3
|
+
import { isScalar, isAlias, isSeq, isMap, isNode } from './Node.mjs';
|
|
4
4
|
import { Scalar } from './Scalar.mjs';
|
|
5
5
|
import { toJS } from './toJS.mjs';
|
|
6
6
|
|
package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import { nullTag } from './common/null.mjs';
|
|
|
3
3
|
import { seq } from './common/seq.mjs';
|
|
4
4
|
import { string } from './common/string.mjs';
|
|
5
5
|
import { boolTag } from './core/bool.mjs';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { floatNaN, floatExp, float } from './core/float.mjs';
|
|
7
|
+
import { intOct, intHex, int } from './core/int.mjs';
|
|
8
8
|
import { schema } from './core/schema.mjs';
|
|
9
9
|
import { schema as schema$1 } from './json/schema.mjs';
|
|
10
10
|
import { binary } from './yaml-1.1/binary.mjs';
|
|
@@ -12,7 +12,7 @@ import { omap } from './yaml-1.1/omap.mjs';
|
|
|
12
12
|
import { pairs } from './yaml-1.1/pairs.mjs';
|
|
13
13
|
import { schema as schema$2 } from './yaml-1.1/schema.mjs';
|
|
14
14
|
import { set } from './yaml-1.1/set.mjs';
|
|
15
|
-
import { timestamp,
|
|
15
|
+
import { timestamp, intTime, floatTime } from './yaml-1.1/timestamp.mjs';
|
|
16
16
|
|
|
17
17
|
const schemas = new Map([['core', schema], ['failsafe', [map, seq, string]], ['json', schema$1], ['yaml11', schema$2], ['yaml-1.1', schema$2]]);
|
|
18
18
|
const tagsByName = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { YAMLSeq } from '../../nodes/YAMLSeq.mjs';
|
|
2
2
|
import { toJS } from '../../nodes/toJS.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { isScalar, isPair } from '../../nodes/Node.mjs';
|
|
4
4
|
import { YAMLMap } from '../../nodes/YAMLMap.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { createPairs, resolvePairs } from './pairs.mjs';
|
|
6
6
|
|
|
7
7
|
class YAMLOMap extends YAMLSeq {
|
|
8
8
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isSeq, isPair, isMap } from '../../nodes/Node.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { createPair, Pair } from '../../nodes/Pair.mjs';
|
|
3
3
|
import { Scalar } from '../../nodes/Scalar.mjs';
|
|
4
4
|
import { YAMLSeq } from '../../nodes/YAMLSeq.mjs';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isPair, isScalar
|
|
2
|
-
import {
|
|
1
|
+
import { isMap, isPair, isScalar } from '../../nodes/Node.mjs';
|
|
2
|
+
import { createPair, Pair } from '../../nodes/Pair.mjs';
|
|
3
3
|
import { YAMLMap, findPair } from '../../nodes/YAMLMap.mjs';
|
|
4
4
|
|
|
5
5
|
class YAMLSet extends YAMLMap {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scalar } from '../nodes/Scalar.mjs';
|
|
2
|
-
import { foldFlowLines,
|
|
2
|
+
import { foldFlowLines, FOLD_FLOW, FOLD_QUOTED, FOLD_BLOCK } from './foldFlowLines.mjs';
|
|
3
3
|
|
|
4
4
|
const getFoldOptions = ctx => ({
|
|
5
5
|
indentAtStart: ctx.indentAtStart,
|
package/build/esm/package.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
3
|
import { printHelp } from './help.mjs';
|
|
4
|
-
import { toValidPackageName, emptyDirectory, loadTemplate, format, mergeWorkspaceAndProjectPackageJsons, relativeDirectoryForDisplay, isEmpty
|
|
4
|
+
import { toValidPackageName, emptyDirectory, loadTemplate, createOutputTarget, format, mergeWorkspaceAndProjectPackageJsons, relativeDirectoryForDisplay, isEmpty } from './shared.mjs';
|
|
5
5
|
import { getInWorkspace, getCreateAsMonorepo, getExtrasToSetup, getShouldInstall, getPackageManager } from './shared/prompts.mjs';
|
|
6
6
|
import { addToTsConfig } from './shared/tsconfig.mjs';
|
|
7
7
|
import { addToPackageManagerWorkspaces } from './shared/package-manager.mjs';
|
|
@@ -20,7 +20,7 @@ import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLi
|
|
|
20
20
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineLists/inlineLists.mjs';
|
|
21
21
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.mjs';
|
|
22
22
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndents/stripIndents.mjs';
|
|
23
|
-
import parseArguments from './
|
|
23
|
+
import parseArguments from './_virtual/index.mjs';
|
|
24
24
|
import { prompt } from './packages/cli-kit/build/esnext/prompt.esnext.mjs';
|
|
25
25
|
import { cyan, dim, bold, underline, magenta } from './node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.mjs';
|
|
26
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import prompts from '../../../../
|
|
1
|
+
import prompts from '../../../../_virtual/index6.mjs';
|
|
2
2
|
import { AbortError } from '../../../events/build/esnext/abort/AbortError.esnext.mjs';
|
|
3
3
|
|
|
4
4
|
async function prompt(prompt2) {
|
package/build/esm/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
import parseArguments from './
|
|
3
|
+
import parseArguments from './_virtual/index.mjs';
|
|
4
4
|
import { cyan, dim, underline, magenta, bold } from './node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.mjs';
|
|
5
5
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/TemplateTag/TemplateTag.mjs';
|
|
6
6
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaLists/commaLists.mjs';
|
|
@@ -18,7 +18,7 @@ import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLi
|
|
|
18
18
|
import stripIndent from './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndent/stripIndent.mjs';
|
|
19
19
|
import './node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndents/stripIndents.mjs';
|
|
20
20
|
import { printHelp } from './help.mjs';
|
|
21
|
-
import { toValidPackageName, emptyDirectory, loadTemplate, relativeDirectoryForDisplay, format, mergeWorkspaceAndProjectPackageJsons, isEmpty
|
|
21
|
+
import { toValidPackageName, emptyDirectory, loadTemplate, relativeDirectoryForDisplay, createOutputTarget, format, mergeWorkspaceAndProjectPackageJsons, isEmpty } from './shared.mjs';
|
|
22
22
|
import { getInWorkspace, getCreateAsMonorepo, getExtrasToSetup, getShouldInstall, getPackageManager } from './shared/prompts.mjs';
|
|
23
23
|
import { addToTsConfig } from './shared/tsconfig.mjs';
|
|
24
24
|
import { addToPackageManagerWorkspaces } from './shared/package-manager.mjs';
|
|
@@ -38,7 +38,7 @@ async function createServer() {
|
|
|
38
38
|
const directory = await getDirectory(argv, {
|
|
39
39
|
name
|
|
40
40
|
});
|
|
41
|
-
|
|
41
|
+
await getEntry(argv, {
|
|
42
42
|
name
|
|
43
43
|
});
|
|
44
44
|
const createAsMonorepo = !inWorkspace && (await getCreateAsMonorepo(argv, {
|
|
@@ -105,9 +105,7 @@ async function createServer() {
|
|
|
105
105
|
// Write the app’s package.json (the root one was already created)
|
|
106
106
|
const projectPackageJson = JSON.parse(await serverTemplate.read('package.json'));
|
|
107
107
|
adjustPackageJson(projectPackageJson, {
|
|
108
|
-
name: toValidPackageName(name)
|
|
109
|
-
entry
|
|
110
|
-
});
|
|
108
|
+
name: toValidPackageName(name)});
|
|
111
109
|
await outputRoot.write(path.join(serverDirectory, 'package.json'), await format(JSON.stringify(projectPackageJson), {
|
|
112
110
|
as: 'json-stringify'
|
|
113
111
|
}));
|
|
@@ -118,9 +116,7 @@ async function createServer() {
|
|
|
118
116
|
const [projectPackageJson, workspacePackageJson] = await Promise.all([serverTemplate.read('package.json').then(content => JSON.parse(content)), workspaceTemplate.read('package.json').then(content => JSON.parse(content))]);
|
|
119
117
|
const mergedPackageJson = mergeWorkspaceAndProjectPackageJsons(projectPackageJson, workspacePackageJson);
|
|
120
118
|
adjustPackageJson(mergedPackageJson, {
|
|
121
|
-
name: toValidPackageName(name)
|
|
122
|
-
entry
|
|
123
|
-
});
|
|
119
|
+
name: toValidPackageName(name)});
|
|
124
120
|
await outputRoot.write('package.json', await format(JSON.stringify(mergedPackageJson), {
|
|
125
121
|
as: 'json-stringify'
|
|
126
122
|
}));
|
|
@@ -31,7 +31,7 @@ async function addToWorkspaces(relative, workspaces) {
|
|
|
31
31
|
let hasMatch = false;
|
|
32
32
|
const {
|
|
33
33
|
default: minimatch
|
|
34
|
-
} = await import('../
|
|
34
|
+
} = await import('../_virtual/minimatch.mjs').then(n => n.minimatch);
|
|
35
35
|
for (const pattern of workspaces) {
|
|
36
36
|
let normalizedPattern = pattern;
|
|
37
37
|
if (pattern.startsWith('./')) {
|
|
@@ -13,7 +13,7 @@ async function getCreateAsMonorepo(argv, {
|
|
|
13
13
|
default: defaultCreateAsMonorepo = true
|
|
14
14
|
}) {
|
|
15
15
|
let createAsMonorepo;
|
|
16
|
-
if (argv['--monorepo' ]) {
|
|
16
|
+
if (argv['--monorepo'] || argv['--yes']) {
|
|
17
17
|
createAsMonorepo = true;
|
|
18
18
|
} else if (argv['--no-monorepo']) {
|
|
19
19
|
createAsMonorepo = false;
|