@quilted/create 0.2.42 → 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 +20 -0
- package/build/esm/_virtual/index.mjs +6 -2
- package/build/esm/_virtual/index10.mjs +3 -0
- package/build/esm/_virtual/index11.mjs +3 -0
- package/build/esm/_virtual/index12.mjs +3 -0
- package/build/esm/_virtual/index13.mjs +3 -0
- package/build/esm/_virtual/index2.mjs +2 -2
- package/build/esm/_virtual/index3.mjs +6 -2
- package/build/esm/_virtual/index4.mjs +6 -2
- package/build/esm/_virtual/index5.mjs +6 -2
- package/build/esm/_virtual/index6.mjs +6 -2
- package/build/esm/_virtual/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 +39 -33
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +26 -20
- 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 +103 -98
- 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 +64 -59
- 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/App.tsx +3 -4
- package/templates/app-basic/browser.tsx +5 -1
- package/templates/app-basic/foundation/html/Head.test.tsx +42 -0
- package/templates/app-basic/foundation/html/Head.tsx +34 -0
- package/templates/app-basic/foundation/html.ts +1 -1
- package/templates/app-basic/package.json +4 -4
- package/templates/app-basic/server.tsx +89 -3
- package/templates/app-empty/package.json +3 -3
- package/templates/app-empty/server.tsx +4 -3
- package/templates/app-graphql/App.tsx +3 -4
- package/templates/app-graphql/browser.tsx +5 -1
- package/templates/app-graphql/foundation/html/Head.test.tsx +42 -0
- package/templates/app-graphql/foundation/html/Head.tsx +34 -0
- package/templates/app-graphql/foundation/html.ts +1 -1
- package/templates/app-graphql/package.json +4 -4
- package/templates/app-graphql/server.tsx +93 -9
- package/templates/app-trpc/App.tsx +3 -4
- package/templates/app-trpc/browser.tsx +5 -1
- package/templates/app-trpc/foundation/html/Head.test.tsx +42 -0
- package/templates/app-trpc/foundation/html/Head.tsx +34 -0
- package/templates/app-trpc/foundation/html.ts +1 -1
- package/templates/app-trpc/package.json +4 -4
- package/templates/app-trpc/server.tsx +93 -8
- package/templates/package/package.json +3 -3
- package/templates/workspace/package.json +4 -4
- package/templates/app-basic/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-basic/foundation/html/HTML.tsx +0 -159
- package/templates/app-graphql/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-graphql/foundation/html/HTML.tsx +0 -159
- package/templates/app-trpc/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-trpc/foundation/html/HTML.tsx +0 -159
package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs
CHANGED
|
@@ -1,85 +1,90 @@
|
|
|
1
1
|
import { __exports as tasks } from '../../../../../../../_virtual/tasks.mjs';
|
|
2
|
-
import '../utils/index.mjs';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../_virtual/index.mjs';
|
|
2
|
+
import { __require as requireUtils } from '../utils/index.mjs';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
* Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
|
|
24
|
-
* This is necessary because directory traversal starts at the base directory and goes deeper.
|
|
25
|
-
*/
|
|
26
|
-
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
27
|
-
const tasks = [];
|
|
28
|
-
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
29
|
-
const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
30
|
-
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
31
|
-
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
32
|
-
tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
33
|
-
/*
|
|
34
|
-
* For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
|
|
35
|
-
* into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
|
|
36
|
-
*/
|
|
37
|
-
if ('.' in insideCurrentDirectoryGroup) {
|
|
38
|
-
tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
|
|
39
|
-
} else {
|
|
40
|
-
tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
|
|
4
|
+
var hasRequiredTasks;
|
|
5
|
+
function requireTasks() {
|
|
6
|
+
if (hasRequiredTasks) return tasks;
|
|
7
|
+
hasRequiredTasks = 1;
|
|
8
|
+
Object.defineProperty(tasks, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
|
|
12
|
+
const utils = requireUtils();
|
|
13
|
+
function generate(patterns, settings) {
|
|
14
|
+
const positivePatterns = getPositivePatterns(patterns);
|
|
15
|
+
const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
|
|
16
|
+
const staticPatterns = positivePatterns.filter(pattern => utils.pattern.isStaticPattern(pattern, settings));
|
|
17
|
+
const dynamicPatterns = positivePatterns.filter(pattern => utils.pattern.isDynamicPattern(pattern, settings));
|
|
18
|
+
const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */false);
|
|
19
|
+
const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */true);
|
|
20
|
+
return staticTasks.concat(dynamicTasks);
|
|
41
21
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
tasks
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
22
|
+
tasks.generate = generate;
|
|
23
|
+
/**
|
|
24
|
+
* Returns tasks grouped by basic pattern directories.
|
|
25
|
+
*
|
|
26
|
+
* Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.
|
|
27
|
+
* This is necessary because directory traversal starts at the base directory and goes deeper.
|
|
28
|
+
*/
|
|
29
|
+
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
30
|
+
const tasks = [];
|
|
31
|
+
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
32
|
+
const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
33
|
+
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
34
|
+
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
35
|
+
tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
36
|
+
/*
|
|
37
|
+
* For the sake of reducing future accesses to the file system, we merge all tasks within the current directory
|
|
38
|
+
* into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.
|
|
39
|
+
*/
|
|
40
|
+
if ('.' in insideCurrentDirectoryGroup) {
|
|
41
|
+
tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));
|
|
61
42
|
} else {
|
|
62
|
-
|
|
43
|
+
tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));
|
|
63
44
|
}
|
|
64
|
-
return
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
45
|
+
return tasks;
|
|
46
|
+
}
|
|
47
|
+
tasks.convertPatternsToTasks = convertPatternsToTasks;
|
|
48
|
+
function getPositivePatterns(patterns) {
|
|
49
|
+
return utils.pattern.getPositivePatterns(patterns);
|
|
50
|
+
}
|
|
51
|
+
tasks.getPositivePatterns = getPositivePatterns;
|
|
52
|
+
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
53
|
+
const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
54
|
+
const positive = negative.map(utils.pattern.convertToPositivePattern);
|
|
55
|
+
return positive;
|
|
56
|
+
}
|
|
57
|
+
tasks.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
58
|
+
function groupPatternsByBaseDirectory(patterns) {
|
|
59
|
+
const group = {};
|
|
60
|
+
return patterns.reduce((collection, pattern) => {
|
|
61
|
+
const base = utils.pattern.getBaseDirectory(pattern);
|
|
62
|
+
if (base in collection) {
|
|
63
|
+
collection[base].push(pattern);
|
|
64
|
+
} else {
|
|
65
|
+
collection[base] = [pattern];
|
|
66
|
+
}
|
|
67
|
+
return collection;
|
|
68
|
+
}, group);
|
|
69
|
+
}
|
|
70
|
+
tasks.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
71
|
+
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
72
|
+
return Object.keys(positive).map(base => {
|
|
73
|
+
return convertPatternGroupToTask(base, positive[base], negative, dynamic);
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
tasks.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
77
|
+
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
78
|
+
return {
|
|
79
|
+
dynamic,
|
|
80
|
+
positive,
|
|
81
|
+
negative,
|
|
82
|
+
base,
|
|
83
|
+
patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
tasks.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
87
|
+
return tasks;
|
|
82
88
|
}
|
|
83
|
-
tasks.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
84
89
|
|
|
85
|
-
export {
|
|
90
|
+
export { requireTasks as __require };
|
package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs
CHANGED
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
import { __exports as async } from '../../../../../../../_virtual/async.mjs';
|
|
2
|
-
import '../readers/async.mjs';
|
|
3
|
-
import './provider.mjs';
|
|
4
|
-
import { __exports as async$1 } from '../../../../../../../_virtual/async2.mjs';
|
|
5
|
-
import { __exports as provider } from '../../../../../../../_virtual/provider.mjs';
|
|
2
|
+
import { __require as requireAsync$1 } from '../readers/async.mjs';
|
|
3
|
+
import { __require as requireProvider } from './provider.mjs';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return
|
|
5
|
+
var hasRequiredAsync;
|
|
6
|
+
function requireAsync() {
|
|
7
|
+
if (hasRequiredAsync) return async;
|
|
8
|
+
hasRequiredAsync = 1;
|
|
9
|
+
Object.defineProperty(async, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
const async_1 = requireAsync$1();
|
|
13
|
+
const provider_1 = requireProvider();
|
|
14
|
+
class ProviderAsync extends provider_1.default {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this._reader = new async_1.default(this._settings);
|
|
18
|
+
}
|
|
19
|
+
async read(task) {
|
|
20
|
+
const root = this._getRootDirectory(task);
|
|
21
|
+
const options = this._getReaderOptions(task);
|
|
22
|
+
const entries = await this.api(root, task, options);
|
|
23
|
+
return entries.map(entry => options.transform(entry));
|
|
24
|
+
}
|
|
25
|
+
api(root, task, options) {
|
|
26
|
+
if (task.dynamic) {
|
|
27
|
+
return this._reader.dynamic(root, options);
|
|
28
|
+
}
|
|
29
|
+
return this._reader.static(task.patterns, options);
|
|
26
30
|
}
|
|
27
|
-
return this._reader.static(task.patterns, options);
|
|
28
31
|
}
|
|
32
|
+
async.default = ProviderAsync;
|
|
33
|
+
return async;
|
|
29
34
|
}
|
|
30
|
-
|
|
35
|
+
|
|
36
|
+
export { requireAsync as __require };
|
|
@@ -1,69 +1,75 @@
|
|
|
1
1
|
import { __exports as deep } from '../../../../../../../../_virtual/deep.mjs';
|
|
2
|
-
import '../../utils/index.mjs';
|
|
3
|
-
import '../matchers/partial.mjs';
|
|
4
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
|
|
5
|
-
import { __exports as partial } from '../../../../../../../../_virtual/partial.mjs';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.mjs';
|
|
3
|
+
import { __require as requirePartial } from '../matchers/partial.mjs';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return entry => this._filter(basePath, entry, matcher, negativeRe);
|
|
21
|
-
}
|
|
22
|
-
_getMatcher(patterns) {
|
|
23
|
-
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
24
|
-
}
|
|
25
|
-
_getNegativePatternsRe(patterns) {
|
|
26
|
-
const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
|
|
27
|
-
return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
28
|
-
}
|
|
29
|
-
_filter(basePath, entry, matcher, negativeRe) {
|
|
30
|
-
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
31
|
-
return false;
|
|
5
|
+
var hasRequiredDeep;
|
|
6
|
+
function requireDeep() {
|
|
7
|
+
if (hasRequiredDeep) return deep;
|
|
8
|
+
hasRequiredDeep = 1;
|
|
9
|
+
Object.defineProperty(deep, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
const utils = requireUtils();
|
|
13
|
+
const partial_1 = requirePartial();
|
|
14
|
+
class DeepFilter {
|
|
15
|
+
constructor(_settings, _micromatchOptions) {
|
|
16
|
+
this._settings = _settings;
|
|
17
|
+
this._micromatchOptions = _micromatchOptions;
|
|
32
18
|
}
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
getFilter(basePath, positive, negative) {
|
|
20
|
+
const matcher = this._getMatcher(positive);
|
|
21
|
+
const negativeRe = this._getNegativePatternsRe(negative);
|
|
22
|
+
return entry => this._filter(basePath, entry, matcher, negativeRe);
|
|
35
23
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return false;
|
|
24
|
+
_getMatcher(patterns) {
|
|
25
|
+
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
39
26
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Avoid unnecessary depth calculations when it doesn't matter.
|
|
45
|
-
*/
|
|
46
|
-
if (this._settings.deep === Infinity) {
|
|
47
|
-
return false;
|
|
27
|
+
_getNegativePatternsRe(patterns) {
|
|
28
|
+
const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);
|
|
29
|
+
return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
48
30
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
31
|
+
_filter(basePath, entry, matcher, negativeRe) {
|
|
32
|
+
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (this._isSkippedSymbolicLink(entry)) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
const filepath = utils.path.removeLeadingDotSegment(entry.path);
|
|
39
|
+
if (this._isSkippedByPositivePatterns(filepath, matcher)) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return this._isSkippedByNegativePatterns(filepath, negativeRe);
|
|
43
|
+
}
|
|
44
|
+
_isSkippedByDeep(basePath, entryPath) {
|
|
45
|
+
/**
|
|
46
|
+
* Avoid unnecessary depth calculations when it doesn't matter.
|
|
47
|
+
*/
|
|
48
|
+
if (this._settings.deep === Infinity) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;
|
|
52
|
+
}
|
|
53
|
+
_getEntryLevel(basePath, entryPath) {
|
|
54
|
+
const entryPathDepth = entryPath.split('/').length;
|
|
55
|
+
if (basePath === '') {
|
|
56
|
+
return entryPathDepth;
|
|
57
|
+
}
|
|
58
|
+
const basePathDepth = basePath.split('/').length;
|
|
59
|
+
return entryPathDepth - basePathDepth;
|
|
60
|
+
}
|
|
61
|
+
_isSkippedSymbolicLink(entry) {
|
|
62
|
+
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
63
|
+
}
|
|
64
|
+
_isSkippedByPositivePatterns(entryPath, matcher) {
|
|
65
|
+
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
66
|
+
}
|
|
67
|
+
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
68
|
+
return !utils.pattern.matchAny(entryPath, patternsRe);
|
|
55
69
|
}
|
|
56
|
-
const basePathDepth = basePath.split('/').length;
|
|
57
|
-
return entryPathDepth - basePathDepth;
|
|
58
|
-
}
|
|
59
|
-
_isSkippedSymbolicLink(entry) {
|
|
60
|
-
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
61
|
-
}
|
|
62
|
-
_isSkippedByPositivePatterns(entryPath, matcher) {
|
|
63
|
-
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
64
|
-
}
|
|
65
|
-
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
66
|
-
return !utils.pattern.matchAny(entryPath, patternsRe);
|
|
67
70
|
}
|
|
71
|
+
deep.default = DeepFilter;
|
|
72
|
+
return deep;
|
|
68
73
|
}
|
|
69
|
-
|
|
74
|
+
|
|
75
|
+
export { requireDeep as __require };
|
|
@@ -1,69 +1,76 @@
|
|
|
1
1
|
import { __exports as entry } from '../../../../../../../../_virtual/entry.mjs';
|
|
2
|
-
import '../../utils/index.mjs';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.mjs';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return entry => this._filter(entry, positiveRe, negativeRe);
|
|
19
|
-
}
|
|
20
|
-
_filter(entry, positiveRe, negativeRe) {
|
|
21
|
-
if (this._settings.unique && this._isDuplicateEntry(entry)) {
|
|
22
|
-
return false;
|
|
4
|
+
var hasRequiredEntry;
|
|
5
|
+
function requireEntry() {
|
|
6
|
+
if (hasRequiredEntry) return entry;
|
|
7
|
+
hasRequiredEntry = 1;
|
|
8
|
+
Object.defineProperty(entry, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
const utils = requireUtils();
|
|
12
|
+
class EntryFilter {
|
|
13
|
+
constructor(_settings, _micromatchOptions) {
|
|
14
|
+
this._settings = _settings;
|
|
15
|
+
this._micromatchOptions = _micromatchOptions;
|
|
16
|
+
this.index = new Map();
|
|
23
17
|
}
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
getFilter(positive, negative) {
|
|
19
|
+
const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
|
|
20
|
+
const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions);
|
|
21
|
+
return entry => this._filter(entry, positiveRe, negativeRe);
|
|
26
22
|
}
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
_filter(entry, positiveRe, negativeRe) {
|
|
24
|
+
if (this._settings.unique && this._isDuplicateEntry(entry)) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
|
|
34
|
+
const isDirectory = entry.dirent.isDirectory();
|
|
35
|
+
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
|
|
36
|
+
if (this._settings.unique && isMatched) {
|
|
37
|
+
this._createIndexRecord(entry);
|
|
38
|
+
}
|
|
39
|
+
return isMatched;
|
|
29
40
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
|
|
33
|
-
if (this._settings.unique && isMatched) {
|
|
34
|
-
this._createIndexRecord(entry);
|
|
41
|
+
_isDuplicateEntry(entry) {
|
|
42
|
+
return this.index.has(entry.path);
|
|
35
43
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
_isDuplicateEntry(entry) {
|
|
39
|
-
return this.index.has(entry.path);
|
|
40
|
-
}
|
|
41
|
-
_createIndexRecord(entry) {
|
|
42
|
-
this.index.set(entry.path, undefined);
|
|
43
|
-
}
|
|
44
|
-
_onlyFileFilter(entry) {
|
|
45
|
-
return this._settings.onlyFiles && !entry.dirent.isFile();
|
|
46
|
-
}
|
|
47
|
-
_onlyDirectoryFilter(entry) {
|
|
48
|
-
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
|
49
|
-
}
|
|
50
|
-
_isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
|
|
51
|
-
if (!this._settings.absolute) {
|
|
52
|
-
return false;
|
|
44
|
+
_createIndexRecord(entry) {
|
|
45
|
+
this.index.set(entry.path, undefined);
|
|
53
46
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
47
|
+
_onlyFileFilter(entry) {
|
|
48
|
+
return this._settings.onlyFiles && !entry.dirent.isFile();
|
|
49
|
+
}
|
|
50
|
+
_onlyDirectoryFilter(entry) {
|
|
51
|
+
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
|
52
|
+
}
|
|
53
|
+
_isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
|
|
54
|
+
if (!this._settings.absolute) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
|
|
58
|
+
return utils.pattern.matchAny(fullpath, patternsRe);
|
|
59
|
+
}
|
|
60
|
+
_isMatchToPatterns(entryPath, patternsRe, isDirectory) {
|
|
61
|
+
const filepath = utils.path.removeLeadingDotSegment(entryPath);
|
|
62
|
+
// Trying to match files and directories by patterns.
|
|
63
|
+
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
|
64
|
+
// A pattern with a trailling slash can be used for directory matching.
|
|
65
|
+
// To apply such pattern, we need to add a tralling slash to the path.
|
|
66
|
+
if (!isMatched && isDirectory) {
|
|
67
|
+
return utils.pattern.matchAny(filepath + '/', patternsRe);
|
|
68
|
+
}
|
|
69
|
+
return isMatched;
|
|
65
70
|
}
|
|
66
|
-
return isMatched;
|
|
67
71
|
}
|
|
72
|
+
entry.default = EntryFilter;
|
|
73
|
+
return entry;
|
|
68
74
|
}
|
|
69
|
-
|
|
75
|
+
|
|
76
|
+
export { requireEntry as __require };
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
import { __exports as error } from '../../../../../../../../_virtual/error.mjs';
|
|
2
|
-
import '../../utils/index.mjs';
|
|
3
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index.mjs';
|
|
2
|
+
import { __require as requireUtils } from '../../utils/index.mjs';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
var hasRequiredError;
|
|
5
|
+
function requireError() {
|
|
6
|
+
if (hasRequiredError) return error;
|
|
7
|
+
hasRequiredError = 1;
|
|
8
|
+
Object.defineProperty(error, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
const utils = requireUtils();
|
|
12
|
+
class ErrorFilter {
|
|
13
|
+
constructor(_settings) {
|
|
14
|
+
this._settings = _settings;
|
|
15
|
+
}
|
|
16
|
+
getFilter() {
|
|
17
|
+
return error => this._isNonFatalError(error);
|
|
18
|
+
}
|
|
19
|
+
_isNonFatalError(error) {
|
|
20
|
+
return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;
|
|
21
|
+
}
|
|
18
22
|
}
|
|
23
|
+
error.default = ErrorFilter;
|
|
24
|
+
return error;
|
|
19
25
|
}
|
|
20
|
-
|
|
26
|
+
|
|
27
|
+
export { requireError as __require };
|