@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
|
@@ -1,68 +1,70 @@
|
|
|
1
1
|
import { __exports as sync } from '../../../../../../../../_virtual/sync6.mjs';
|
|
2
|
-
import '../../../../../../@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs';
|
|
3
|
-
import '../constants.mjs';
|
|
4
|
-
import '../utils/index.mjs';
|
|
5
|
-
import './common.mjs';
|
|
6
|
-
import { __exports as out } from '../../../../../../../../_virtual/index5.mjs';
|
|
7
|
-
import { __exports as constants } from '../../../../../../../../_virtual/constants.mjs';
|
|
8
|
-
import { __exports as utils$1 } from '../../../../../../../../_virtual/index7.mjs';
|
|
9
|
-
import { __exports as common$1 } from '../../../../../../../../_virtual/common2.mjs';
|
|
2
|
+
import { __require as requireOut } from '../../../../../../@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs';
|
|
3
|
+
import { __require as requireConstants } from '../constants.mjs';
|
|
4
|
+
import { __require as requireUtils } from '../utils/index.mjs';
|
|
5
|
+
import { __require as requireCommon } from './common.mjs';
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const utils = utils$1;
|
|
18
|
-
const common = common$1;
|
|
19
|
-
function read(directory, settings) {
|
|
20
|
-
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
21
|
-
return readdirWithFileTypes(directory, settings);
|
|
22
|
-
}
|
|
23
|
-
return readdir(directory, settings);
|
|
24
|
-
}
|
|
25
|
-
sync.read = read;
|
|
26
|
-
function readdirWithFileTypes(directory, settings) {
|
|
27
|
-
const dirents = settings.fs.readdirSync(directory, {
|
|
28
|
-
withFileTypes: true
|
|
7
|
+
var hasRequiredSync;
|
|
8
|
+
function requireSync() {
|
|
9
|
+
if (hasRequiredSync) return sync;
|
|
10
|
+
hasRequiredSync = 1;
|
|
11
|
+
Object.defineProperty(sync, "__esModule", {
|
|
12
|
+
value: true
|
|
29
13
|
});
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
if (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
14
|
+
sync.readdir = sync.readdirWithFileTypes = sync.read = void 0;
|
|
15
|
+
const fsStat = requireOut();
|
|
16
|
+
const constants_1 = requireConstants();
|
|
17
|
+
const utils = requireUtils();
|
|
18
|
+
const common = requireCommon();
|
|
19
|
+
function read(directory, settings) {
|
|
20
|
+
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
21
|
+
return readdirWithFileTypes(directory, settings);
|
|
22
|
+
}
|
|
23
|
+
return readdir(directory, settings);
|
|
24
|
+
}
|
|
25
|
+
sync.read = read;
|
|
26
|
+
function readdirWithFileTypes(directory, settings) {
|
|
27
|
+
const dirents = settings.fs.readdirSync(directory, {
|
|
28
|
+
withFileTypes: true
|
|
29
|
+
});
|
|
30
|
+
return dirents.map(dirent => {
|
|
31
|
+
const entry = {
|
|
32
|
+
dirent,
|
|
33
|
+
name: dirent.name,
|
|
34
|
+
path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)
|
|
35
|
+
};
|
|
36
|
+
if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {
|
|
37
|
+
try {
|
|
38
|
+
const stats = settings.fs.statSync(entry.path);
|
|
39
|
+
entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);
|
|
40
|
+
} catch (error) {
|
|
41
|
+
if (settings.throwErrorOnBrokenSymbolicLink) {
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
46
|
+
return entry;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
sync.readdirWithFileTypes = readdirWithFileTypes;
|
|
50
|
+
function readdir(directory, settings) {
|
|
51
|
+
const names = settings.fs.readdirSync(directory);
|
|
52
|
+
return names.map(name => {
|
|
53
|
+
const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
54
|
+
const stats = fsStat.statSync(entryPath, settings.fsStatSettings);
|
|
55
|
+
const entry = {
|
|
56
|
+
name,
|
|
57
|
+
path: entryPath,
|
|
58
|
+
dirent: utils.fs.createDirentFromStats(name, stats)
|
|
59
|
+
};
|
|
60
|
+
if (settings.stats) {
|
|
61
|
+
entry.stats = stats;
|
|
62
|
+
}
|
|
63
|
+
return entry;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
sync.readdir = readdir;
|
|
67
|
+
return sync;
|
|
65
68
|
}
|
|
66
|
-
sync.readdir = readdir;
|
|
67
69
|
|
|
68
|
-
export {
|
|
70
|
+
export { requireSync as __require };
|
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
import { __exports as settings } from '../../../../../../../_virtual/settings4.mjs';
|
|
2
2
|
import path__default from 'node:path';
|
|
3
|
-
import '../../../../../@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs';
|
|
4
|
-
import './adapters/fs.mjs';
|
|
5
|
-
import { __exports as out } from '../../../../../../../_virtual/index5.mjs';
|
|
6
|
-
import { __exports as fs$1 } from '../../../../../../../_virtual/fs3.mjs';
|
|
3
|
+
import { __require as requireOut } from '../../../../../@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs';
|
|
4
|
+
import { __require as requireFs } from './adapters/fs.mjs';
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
throwErrorOnBrokenSymbolicLink
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
var hasRequiredSettings;
|
|
7
|
+
function requireSettings() {
|
|
8
|
+
if (hasRequiredSettings) return settings;
|
|
9
|
+
hasRequiredSettings = 1;
|
|
10
|
+
Object.defineProperty(settings, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
const path = path__default;
|
|
14
|
+
const fsStat = requireOut();
|
|
15
|
+
const fs = requireFs();
|
|
16
|
+
class Settings {
|
|
17
|
+
constructor(_options = {}) {
|
|
18
|
+
this._options = _options;
|
|
19
|
+
this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
|
|
20
|
+
this.fs = fs.createFileSystemAdapter(this._options.fs);
|
|
21
|
+
this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
|
|
22
|
+
this.stats = this._getValue(this._options.stats, false);
|
|
23
|
+
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
|
|
24
|
+
this.fsStatSettings = new fsStat.Settings({
|
|
25
|
+
followSymbolicLink: this.followSymbolicLinks,
|
|
26
|
+
fs: this.fs,
|
|
27
|
+
throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
_getValue(option, value) {
|
|
31
|
+
return option !== null && option !== void 0 ? option : value;
|
|
32
|
+
}
|
|
30
33
|
}
|
|
34
|
+
settings.default = Settings;
|
|
35
|
+
return settings;
|
|
31
36
|
}
|
|
32
|
-
|
|
37
|
+
|
|
38
|
+
export { requireSettings as __require };
|
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
import { __exports as fs } from '../../../../../../../../_virtual/fs4.mjs';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
var hasRequiredFs;
|
|
4
|
+
function requireFs() {
|
|
5
|
+
if (hasRequiredFs) return fs;
|
|
6
|
+
hasRequiredFs = 1;
|
|
7
|
+
Object.defineProperty(fs, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
fs.createDirentFromStats = void 0;
|
|
11
|
+
class DirentFromStats {
|
|
12
|
+
constructor(name, stats) {
|
|
13
|
+
this.name = name;
|
|
14
|
+
this.isBlockDevice = stats.isBlockDevice.bind(stats);
|
|
15
|
+
this.isCharacterDevice = stats.isCharacterDevice.bind(stats);
|
|
16
|
+
this.isDirectory = stats.isDirectory.bind(stats);
|
|
17
|
+
this.isFIFO = stats.isFIFO.bind(stats);
|
|
18
|
+
this.isFile = stats.isFile.bind(stats);
|
|
19
|
+
this.isSocket = stats.isSocket.bind(stats);
|
|
20
|
+
this.isSymbolicLink = stats.isSymbolicLink.bind(stats);
|
|
21
|
+
}
|
|
17
22
|
}
|
|
23
|
+
function createDirentFromStats(name, stats) {
|
|
24
|
+
return new DirentFromStats(name, stats);
|
|
25
|
+
}
|
|
26
|
+
fs.createDirentFromStats = createDirentFromStats;
|
|
27
|
+
return fs;
|
|
18
28
|
}
|
|
19
|
-
function createDirentFromStats(name, stats) {
|
|
20
|
-
return new DirentFromStats(name, stats);
|
|
21
|
-
}
|
|
22
|
-
fs.createDirentFromStats = createDirentFromStats;
|
|
23
29
|
|
|
24
|
-
export {
|
|
30
|
+
export { requireFs as __require };
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { __exports as utils } from '../../../../../../../../_virtual/
|
|
2
|
-
import './fs.mjs';
|
|
3
|
-
import { __exports as fs$1 } from '../../../../../../../../_virtual/fs4.mjs';
|
|
1
|
+
import { __exports as utils } from '../../../../../../../../_virtual/index13.mjs';
|
|
2
|
+
import { __require as requireFs } from './fs.mjs';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
var hasRequiredUtils;
|
|
5
|
+
function requireUtils() {
|
|
6
|
+
if (hasRequiredUtils) return utils;
|
|
7
|
+
hasRequiredUtils = 1;
|
|
8
|
+
Object.defineProperty(utils, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
utils.fs = void 0;
|
|
12
|
+
const fs = requireFs();
|
|
13
|
+
utils.fs = fs;
|
|
14
|
+
return utils;
|
|
15
|
+
}
|
|
11
16
|
|
|
12
|
-
export {
|
|
17
|
+
export { requireUtils as __require };
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
import { __exports as fs } from '../../../../../../../../_virtual/fs2.mjs';
|
|
2
2
|
import fs__default from 'node:fs';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
var hasRequiredFs;
|
|
5
|
+
function requireFs() {
|
|
6
|
+
if (hasRequiredFs) return fs;
|
|
7
|
+
hasRequiredFs = 1;
|
|
8
|
+
(function (exports) {
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
Object.defineProperty(exports, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
14
|
+
const fs = fs__default;
|
|
15
|
+
exports.FILE_SYSTEM_ADAPTER = {
|
|
16
|
+
lstat: fs.lstat,
|
|
17
|
+
stat: fs.stat,
|
|
18
|
+
lstatSync: fs.lstatSync,
|
|
19
|
+
statSync: fs.statSync
|
|
20
|
+
};
|
|
21
|
+
function createFileSystemAdapter(fsMethods) {
|
|
22
|
+
if (fsMethods === undefined) {
|
|
23
|
+
return exports.FILE_SYSTEM_ADAPTER;
|
|
24
|
+
}
|
|
25
|
+
return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
|
|
20
26
|
}
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
}
|
|
27
|
+
exports.createFileSystemAdapter = createFileSystemAdapter;
|
|
28
|
+
})(fs);
|
|
29
|
+
return fs;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { requireFs as __require };
|
|
@@ -1,37 +1,40 @@
|
|
|
1
|
-
import { __exports as out } from '../../../../../../../_virtual/
|
|
2
|
-
import './providers/async.mjs';
|
|
3
|
-
import './providers/sync.mjs';
|
|
4
|
-
import './settings.mjs';
|
|
5
|
-
import { __exports as settings } from '../../../../../../../_virtual/settings3.mjs';
|
|
6
|
-
import { __exports as async$1 } from '../../../../../../../_virtual/async4.mjs';
|
|
7
|
-
import { __exports as sync$1 } from '../../../../../../../_virtual/sync4.mjs';
|
|
1
|
+
import { __exports as out } from '../../../../../../../_virtual/index11.mjs';
|
|
2
|
+
import { __require as requireAsync } from './providers/async.mjs';
|
|
3
|
+
import { __require as requireSync } from './providers/sync.mjs';
|
|
4
|
+
import { __require as requireSettings } from './settings.mjs';
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
out.Settings =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
var hasRequiredOut;
|
|
7
|
+
function requireOut() {
|
|
8
|
+
if (hasRequiredOut) return out;
|
|
9
|
+
hasRequiredOut = 1;
|
|
10
|
+
Object.defineProperty(out, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
out.statSync = out.stat = out.Settings = void 0;
|
|
14
|
+
const async = requireAsync();
|
|
15
|
+
const sync = requireSync();
|
|
16
|
+
const settings_1 = requireSettings();
|
|
17
|
+
out.Settings = settings_1.default;
|
|
18
|
+
function stat(path, optionsOrSettingsOrCallback, callback) {
|
|
19
|
+
if (typeof optionsOrSettingsOrCallback === 'function') {
|
|
20
|
+
async.read(path, getSettings(), optionsOrSettingsOrCallback);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
async.read(path, getSettings(optionsOrSettingsOrCallback), callback);
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return settingsOrOptions;
|
|
25
|
+
out.stat = stat;
|
|
26
|
+
function statSync(path, optionsOrSettings) {
|
|
27
|
+
const settings = getSettings(optionsOrSettings);
|
|
28
|
+
return sync.read(path, settings);
|
|
29
|
+
}
|
|
30
|
+
out.statSync = statSync;
|
|
31
|
+
function getSettings(settingsOrOptions = {}) {
|
|
32
|
+
if (settingsOrOptions instanceof settings_1.default) {
|
|
33
|
+
return settingsOrOptions;
|
|
34
|
+
}
|
|
35
|
+
return new settings_1.default(settingsOrOptions);
|
|
33
36
|
}
|
|
34
|
-
return
|
|
37
|
+
return out;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
|
-
export {
|
|
40
|
+
export { requireOut as __require };
|
|
@@ -1,41 +1,47 @@
|
|
|
1
1
|
import { __exports as async } from '../../../../../../../../_virtual/async4.mjs';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
settings.fs.stat(path, (statError, stat) => {
|
|
18
|
-
if (statError !== null) {
|
|
19
|
-
if (settings.throwErrorOnBrokenSymbolicLink) {
|
|
20
|
-
callFailureCallback(callback, statError);
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
callSuccessCallback(callback, lstat);
|
|
3
|
+
var hasRequiredAsync;
|
|
4
|
+
function requireAsync() {
|
|
5
|
+
if (hasRequiredAsync) return async;
|
|
6
|
+
hasRequiredAsync = 1;
|
|
7
|
+
Object.defineProperty(async, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
async.read = void 0;
|
|
11
|
+
function read(path, settings, callback) {
|
|
12
|
+
settings.fs.lstat(path, (lstatError, lstat) => {
|
|
13
|
+
if (lstatError !== null) {
|
|
14
|
+
callFailureCallback(callback, lstatError);
|
|
24
15
|
return;
|
|
25
16
|
}
|
|
26
|
-
if (settings.
|
|
27
|
-
|
|
17
|
+
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
|
|
18
|
+
callSuccessCallback(callback, lstat);
|
|
19
|
+
return;
|
|
28
20
|
}
|
|
29
|
-
|
|
21
|
+
settings.fs.stat(path, (statError, stat) => {
|
|
22
|
+
if (statError !== null) {
|
|
23
|
+
if (settings.throwErrorOnBrokenSymbolicLink) {
|
|
24
|
+
callFailureCallback(callback, statError);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
callSuccessCallback(callback, lstat);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (settings.markSymbolicLink) {
|
|
31
|
+
stat.isSymbolicLink = () => true;
|
|
32
|
+
}
|
|
33
|
+
callSuccessCallback(callback, stat);
|
|
34
|
+
});
|
|
30
35
|
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
}
|
|
37
|
+
async.read = read;
|
|
38
|
+
function callFailureCallback(callback, error) {
|
|
39
|
+
callback(error);
|
|
40
|
+
}
|
|
41
|
+
function callSuccessCallback(callback, result) {
|
|
42
|
+
callback(null, result);
|
|
43
|
+
}
|
|
44
|
+
return async;
|
|
39
45
|
}
|
|
40
46
|
|
|
41
|
-
export {
|
|
47
|
+
export { requireAsync as __require };
|
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
import { __exports as sync } from '../../../../../../../../_virtual/sync4.mjs';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
if (settings.markSymbolicLink) {
|
|
15
|
-
stat.isSymbolicLink = () => true;
|
|
16
|
-
}
|
|
17
|
-
return stat;
|
|
18
|
-
} catch (error) {
|
|
19
|
-
if (!settings.throwErrorOnBrokenSymbolicLink) {
|
|
3
|
+
var hasRequiredSync;
|
|
4
|
+
function requireSync() {
|
|
5
|
+
if (hasRequiredSync) return sync;
|
|
6
|
+
hasRequiredSync = 1;
|
|
7
|
+
Object.defineProperty(sync, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
sync.read = void 0;
|
|
11
|
+
function read(path, settings) {
|
|
12
|
+
const lstat = settings.fs.lstatSync(path);
|
|
13
|
+
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
|
|
20
14
|
return lstat;
|
|
21
15
|
}
|
|
22
|
-
|
|
16
|
+
try {
|
|
17
|
+
const stat = settings.fs.statSync(path);
|
|
18
|
+
if (settings.markSymbolicLink) {
|
|
19
|
+
stat.isSymbolicLink = () => true;
|
|
20
|
+
}
|
|
21
|
+
return stat;
|
|
22
|
+
} catch (error) {
|
|
23
|
+
if (!settings.throwErrorOnBrokenSymbolicLink) {
|
|
24
|
+
return lstat;
|
|
25
|
+
}
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
23
28
|
}
|
|
29
|
+
sync.read = read;
|
|
30
|
+
return sync;
|
|
24
31
|
}
|
|
25
|
-
sync.read = read;
|
|
26
32
|
|
|
27
|
-
export {
|
|
33
|
+
export { requireSync as __require };
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
import { __exports as settings } from '../../../../../../../_virtual/settings3.mjs';
|
|
2
|
-
import './adapters/fs.mjs';
|
|
3
|
-
import { __exports as fs$1 } from '../../../../../../../_virtual/fs2.mjs';
|
|
2
|
+
import { __require as requireFs } from './adapters/fs.mjs';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
var hasRequiredSettings;
|
|
5
|
+
function requireSettings() {
|
|
6
|
+
if (hasRequiredSettings) return settings;
|
|
7
|
+
hasRequiredSettings = 1;
|
|
8
|
+
Object.defineProperty(settings, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
const fs = requireFs();
|
|
12
|
+
class Settings {
|
|
13
|
+
constructor(_options = {}) {
|
|
14
|
+
this._options = _options;
|
|
15
|
+
this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
|
|
16
|
+
this.fs = fs.createFileSystemAdapter(this._options.fs);
|
|
17
|
+
this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
|
|
18
|
+
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
|
|
19
|
+
}
|
|
20
|
+
_getValue(option, value) {
|
|
21
|
+
return option !== null && option !== void 0 ? option : value;
|
|
22
|
+
}
|
|
19
23
|
}
|
|
24
|
+
settings.default = Settings;
|
|
25
|
+
return settings;
|
|
20
26
|
}
|
|
21
|
-
|
|
27
|
+
|
|
28
|
+
export { requireSettings as __require };
|