@slicemachine/init 1.1.19 → 2.0.1
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/README.md +88 -32
- package/bin/slicemachine-init.js +3 -0
- package/dist/SliceMachineInitProcess.cjs +749 -0
- package/dist/SliceMachineInitProcess.cjs.map +1 -0
- package/dist/SliceMachineInitProcess.d.ts +48 -0
- package/dist/SliceMachineInitProcess.js +731 -0
- package/dist/SliceMachineInitProcess.js.map +1 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs +24 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js +23 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs +17 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js +18 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs +35 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.js +36 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +116 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +117 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs +13 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js +14 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +64 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +65 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +30 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs +22 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js +23 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs +10 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js +11 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs +22 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js +21 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +35 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +36 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs +39 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js +40 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs +25 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js +26 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs +20 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.js +19 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +45 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +46 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs +34 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js +33 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs +40 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js +39 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs +18 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js +17 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +108 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +107 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js +32 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs +15 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js +14 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +66 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +65 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +30 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js.map +1 -0
- package/dist/_node_modules/arrify/index.cjs +9 -0
- package/dist/_node_modules/arrify/index.cjs.map +1 -0
- package/dist/_node_modules/arrify/index.js +10 -0
- package/dist/_node_modules/arrify/index.js.map +1 -0
- package/dist/_node_modules/braces/index.cjs +63 -0
- package/dist/_node_modules/braces/index.cjs.map +1 -0
- package/dist/_node_modules/braces/index.js +64 -0
- package/dist/_node_modules/braces/index.js.map +1 -0
- package/dist/_node_modules/braces/lib/compile.cjs +50 -0
- package/dist/_node_modules/braces/lib/compile.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/compile.js +51 -0
- package/dist/_node_modules/braces/lib/compile.js.map +1 -0
- package/dist/_node_modules/braces/lib/constants.cjs +97 -0
- package/dist/_node_modules/braces/lib/constants.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/constants.js +98 -0
- package/dist/_node_modules/braces/lib/constants.js.map +1 -0
- package/dist/_node_modules/braces/lib/expand.cjs +97 -0
- package/dist/_node_modules/braces/lib/expand.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/expand.js +98 -0
- package/dist/_node_modules/braces/lib/expand.js.map +1 -0
- package/dist/_node_modules/braces/lib/parse.cjs +240 -0
- package/dist/_node_modules/braces/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/parse.js +241 -0
- package/dist/_node_modules/braces/lib/parse.js.map +1 -0
- package/dist/_node_modules/braces/lib/stringify.cjs +29 -0
- package/dist/_node_modules/braces/lib/stringify.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/stringify.js +30 -0
- package/dist/_node_modules/braces/lib/stringify.js.map +1 -0
- package/dist/_node_modules/braces/lib/utils.cjs +83 -0
- package/dist/_node_modules/braces/lib/utils.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/utils.js +84 -0
- package/dist/_node_modules/braces/lib/utils.js.map +1 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs +83 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js +84 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.cjs +56 -0
- package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.js +57 -0
- package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
- package/dist/_node_modules/decamelize/index.cjs +38 -0
- package/dist/_node_modules/decamelize/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize/index.js +39 -0
- package/dist/_node_modules/decamelize/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs +10 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js +11 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs +13 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js +14 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.cjs +20 -0
- package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.js +21 -0
- package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
- package/dist/_node_modules/dir-glob/index.cjs +63 -0
- package/dist/_node_modules/dir-glob/index.cjs.map +1 -0
- package/dist/_node_modules/dir-glob/index.js +64 -0
- package/dist/_node_modules/dir-glob/index.js.map +1 -0
- package/dist/_node_modules/error-ex/index.cjs +108 -0
- package/dist/_node_modules/error-ex/index.cjs.map +1 -0
- package/dist/_node_modules/error-ex/index.js +109 -0
- package/dist/_node_modules/error-ex/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs +28 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js +29 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/index.cjs +77 -0
- package/dist/_node_modules/fast-glob/out/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/index.js +78 -0
- package/dist/_node_modules/fast-glob/out/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.cjs +15 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.js +16 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +83 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +84 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/async.cjs +29 -0
- package/dist/_node_modules/fast-glob/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/async.js +28 -0
- package/dist/_node_modules/fast-glob/out/providers/async.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +65 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +64 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +65 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +64 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +19 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +18 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +50 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +49 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs +35 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js +34 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.cjs +59 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.js +58 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.cjs +35 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.js +34 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.cjs +29 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.js +28 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +30 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +29 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/async.cjs +41 -0
- package/dist/_node_modules/fast-glob/out/readers/async.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/async.js +40 -0
- package/dist/_node_modules/fast-glob/out/readers/async.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +40 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.js +39 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs +60 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.js +59 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs +50 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.js +49 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/settings.cjs +59 -0
- package/dist/_node_modules/fast-glob/out/settings.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/settings.js +58 -0
- package/dist/_node_modules/fast-glob/out/settings.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/array.cjs +24 -0
- package/dist/_node_modules/fast-glob/out/utils/array.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/array.js +25 -0
- package/dist/_node_modules/fast-glob/out/utils/array.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.cjs +10 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.js +11 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.cjs +22 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.js +23 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +34 -0
- package/dist/_node_modules/fast-glob/out/utils/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/index.js +35 -0
- package/dist/_node_modules/fast-glob/out/utils/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/path.cjs +32 -0
- package/dist/_node_modules/fast-glob/out/utils/path.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/path.js +33 -0
- package/dist/_node_modules/fast-glob/out/utils/path.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs +144 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.js +145 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs +21 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.js +22 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/string.cjs +14 -0
- package/dist/_node_modules/fast-glob/out/utils/string.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/string.js +15 -0
- package/dist/_node_modules/fast-glob/out/utils/string.js.map +1 -0
- package/dist/_node_modules/fastq/queue.cjs +239 -0
- package/dist/_node_modules/fastq/queue.cjs.map +1 -0
- package/dist/_node_modules/fastq/queue.js +240 -0
- package/dist/_node_modules/fastq/queue.js.map +1 -0
- package/dist/_node_modules/fill-range/index.cjs +210 -0
- package/dist/_node_modules/fill-range/index.cjs.map +1 -0
- package/dist/_node_modules/fill-range/index.js +211 -0
- package/dist/_node_modules/fill-range/index.js.map +1 -0
- package/dist/_node_modules/function-bind/implementation.cjs +46 -0
- package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
- package/dist/_node_modules/function-bind/implementation.js +47 -0
- package/dist/_node_modules/function-bind/implementation.js.map +1 -0
- package/dist/_node_modules/function-bind/index.cjs +6 -0
- package/dist/_node_modules/function-bind/index.cjs.map +1 -0
- package/dist/_node_modules/function-bind/index.js +7 -0
- package/dist/_node_modules/function-bind/index.js.map +1 -0
- package/dist/_node_modules/hard-rejection/index.cjs +22 -0
- package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
- package/dist/_node_modules/hard-rejection/index.js +23 -0
- package/dist/_node_modules/hard-rejection/index.js.map +1 -0
- package/dist/_node_modules/has/src/index.cjs +6 -0
- package/dist/_node_modules/has/src/index.cjs.map +1 -0
- package/dist/_node_modules/has/src/index.js +7 -0
- package/dist/_node_modules/has/src/index.js.map +1 -0
- package/dist/_node_modules/ignore/index.cjs +370 -0
- package/dist/_node_modules/ignore/index.cjs.map +1 -0
- package/dist/_node_modules/ignore/index.js +371 -0
- package/dist/_node_modules/ignore/index.js.map +1 -0
- package/dist/_node_modules/is-arrayish/index.cjs +9 -0
- package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
- package/dist/_node_modules/is-arrayish/index.js +10 -0
- package/dist/_node_modules/is-arrayish/index.js.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.cjs +487 -0
- package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.js +487 -0
- package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
- package/dist/_node_modules/is-core-module/index.cjs +61 -0
- package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/index.js +62 -0
- package/dist/_node_modules/is-core-module/index.js.map +1 -0
- package/dist/_node_modules/is-extglob/index.cjs +21 -0
- package/dist/_node_modules/is-extglob/index.cjs.map +1 -0
- package/dist/_node_modules/is-extglob/index.js +22 -0
- package/dist/_node_modules/is-extglob/index.js.map +1 -0
- package/dist/_node_modules/is-glob/index.cjs +135 -0
- package/dist/_node_modules/is-glob/index.cjs.map +1 -0
- package/dist/_node_modules/is-glob/index.js +136 -0
- package/dist/_node_modules/is-glob/index.js.map +1 -0
- package/dist/_node_modules/is-number/index.cjs +18 -0
- package/dist/_node_modules/is-number/index.cjs.map +1 -0
- package/dist/_node_modules/is-number/index.js +19 -0
- package/dist/_node_modules/is-number/index.js.map +1 -0
- package/dist/_node_modules/js-tokens/index.cjs +27 -0
- package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/js-tokens/index.js +26 -0
- package/dist/_node_modules/js-tokens/index.js.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs +89 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
- package/dist/_node_modules/kind-of/index.cjs +128 -0
- package/dist/_node_modules/kind-of/index.cjs.map +1 -0
- package/dist/_node_modules/kind-of/index.js +129 -0
- package/dist/_node_modules/kind-of/index.js.map +1 -0
- package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
- package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.cjs.map +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
- package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.js.map +1 -1
- package/dist/_node_modules/map-obj/index.cjs +46 -0
- package/dist/_node_modules/map-obj/index.cjs.map +1 -0
- package/dist/_node_modules/map-obj/index.js +47 -0
- package/dist/_node_modules/map-obj/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.cjs +48 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.js +48 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs +165 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js +166 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js +91 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +124 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +123 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs +50 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs +34 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.js +35 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs +43 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.js +43 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs +1014 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.js +1015 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs +23 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +439 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js +57 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +158 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +87 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +179 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +178 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +267 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +19 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +439 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +57 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs +17 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js +17 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.cjs +8 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.js +9 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs +12 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.js +13 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs +19 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.js +19 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs +366 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.js +367 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.js.map +1 -0
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js.map +1 -1
- package/dist/_node_modules/meow/index.cjs +202 -0
- package/dist/_node_modules/meow/index.cjs.map +1 -0
- package/dist/_node_modules/meow/index.js +203 -0
- package/dist/_node_modules/meow/index.js.map +1 -0
- package/dist/_node_modules/merge2/index.cjs +116 -0
- package/dist/_node_modules/merge2/index.cjs.map +1 -0
- package/dist/_node_modules/merge2/index.js +117 -0
- package/dist/_node_modules/merge2/index.js.map +1 -0
- package/dist/_node_modules/micromatch/index.cjs +164 -0
- package/dist/_node_modules/micromatch/index.cjs.map +1 -0
- package/dist/_node_modules/micromatch/index.js +165 -0
- package/dist/_node_modules/micromatch/index.js.map +1 -0
- package/dist/_node_modules/min-indent/index.cjs +10 -0
- package/dist/_node_modules/min-indent/index.cjs.map +1 -0
- package/dist/_node_modules/min-indent/index.js +11 -0
- package/dist/_node_modules/min-indent/index.js.map +1 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs +8 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js +9 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/minimist-options/index.cjs +91 -0
- package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
- package/dist/_node_modules/minimist-options/index.js +92 -0
- package/dist/_node_modules/minimist-options/index.js.map +1 -0
- package/dist/_node_modules/parse-json/index.cjs +52 -0
- package/dist/_node_modules/parse-json/index.cjs.map +1 -0
- package/dist/_node_modules/parse-json/index.js +53 -0
- package/dist/_node_modules/parse-json/index.js.map +1 -0
- package/dist/_node_modules/path-type/index.cjs +41 -0
- package/dist/_node_modules/path-type/index.cjs.map +1 -0
- package/dist/_node_modules/path-type/index.js +42 -0
- package/dist/_node_modules/path-type/index.js.map +1 -0
- package/dist/_node_modules/picomatch/index.cjs +7 -0
- package/dist/_node_modules/picomatch/index.cjs.map +1 -0
- package/dist/_node_modules/picomatch/index.js +6 -0
- package/dist/_node_modules/picomatch/index.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/constants.cjs +194 -0
- package/dist/_node_modules/picomatch/lib/constants.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/constants.js +195 -0
- package/dist/_node_modules/picomatch/lib/constants.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/parse.cjs +780 -0
- package/dist/_node_modules/picomatch/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/parse.js +781 -0
- package/dist/_node_modules/picomatch/lib/parse.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/picomatch.cjs +146 -0
- package/dist/_node_modules/picomatch/lib/picomatch.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/picomatch.js +147 -0
- package/dist/_node_modules/picomatch/lib/picomatch.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/scan.cjs +332 -0
- package/dist/_node_modules/picomatch/lib/scan.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/scan.js +333 -0
- package/dist/_node_modules/picomatch/lib/scan.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/utils.cjs +64 -0
- package/dist/_node_modules/picomatch/lib/utils.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/utils.js +65 -0
- package/dist/_node_modules/picomatch/lib/utils.js.map +1 -0
- package/dist/_node_modules/queue-microtask/index.cjs +9 -0
- package/dist/_node_modules/queue-microtask/index.cjs.map +1 -0
- package/dist/_node_modules/queue-microtask/index.js +10 -0
- package/dist/_node_modules/queue-microtask/index.js.map +1 -0
- package/dist/_node_modules/quick-lru/index.cjs +234 -0
- package/dist/_node_modules/quick-lru/index.cjs.map +1 -0
- package/dist/_node_modules/quick-lru/index.js +235 -0
- package/dist/_node_modules/quick-lru/index.js.map +1 -0
- package/dist/_node_modules/reusify/reusify.cjs +27 -0
- package/dist/_node_modules/reusify/reusify.cjs.map +1 -0
- package/dist/_node_modules/reusify/reusify.js +28 -0
- package/dist/_node_modules/reusify/reusify.js.map +1 -0
- package/dist/_node_modules/run-parallel/index.cjs +52 -0
- package/dist/_node_modules/run-parallel/index.cjs.map +1 -0
- package/dist/_node_modules/run-parallel/index.js +53 -0
- package/dist/_node_modules/run-parallel/index.js.map +1 -0
- package/dist/_node_modules/spdx-correct/index.cjs +333 -0
- package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-correct/index.js +334 -0
- package/dist/_node_modules/spdx-correct/index.js.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs +10 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
- package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs +110 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs +103 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
- package/dist/_node_modules/to-regex-range/index.cjs +215 -0
- package/dist/_node_modules/to-regex-range/index.cjs.map +1 -0
- package/dist/_node_modules/to-regex-range/index.js +216 -0
- package/dist/_node_modules/to-regex-range/index.js.map +1 -0
- package/dist/_node_modules/trim-newlines/index.cjs +29 -0
- package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
- package/dist/_node_modules/trim-newlines/index.js +30 -0
- package/dist/_node_modules/trim-newlines/index.js.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs +70 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
- package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +5 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/array.cjs +5 -0
- package/dist/_virtual/array.cjs.map +1 -0
- package/dist/_virtual/array.js +5 -0
- package/dist/_virtual/array.js.map +1 -0
- package/dist/_virtual/async.cjs +5 -0
- package/dist/_virtual/async.cjs.map +1 -0
- package/dist/_virtual/async.js +5 -0
- package/dist/_virtual/async.js.map +1 -0
- package/dist/_virtual/async2.cjs +5 -0
- package/dist/_virtual/async2.cjs.map +1 -0
- package/dist/_virtual/async2.js +5 -0
- package/dist/_virtual/async2.js.map +1 -0
- package/dist/_virtual/async3.cjs +5 -0
- package/dist/_virtual/async3.cjs.map +1 -0
- package/dist/_virtual/async3.js +5 -0
- package/dist/_virtual/async3.js.map +1 -0
- package/dist/_virtual/async4.cjs +5 -0
- package/dist/_virtual/async4.cjs.map +1 -0
- package/dist/_virtual/async4.js +5 -0
- package/dist/_virtual/async4.js.map +1 -0
- package/dist/_virtual/async5.cjs +5 -0
- package/dist/_virtual/async5.cjs.map +1 -0
- package/dist/_virtual/async5.js +5 -0
- package/dist/_virtual/async5.js.map +1 -0
- package/dist/_virtual/async6.cjs +5 -0
- package/dist/_virtual/async6.cjs.map +1 -0
- package/dist/_virtual/async6.js +5 -0
- package/dist/_virtual/async6.js.map +1 -0
- package/dist/_virtual/common.cjs +5 -0
- package/dist/_virtual/common.cjs.map +1 -0
- package/dist/_virtual/common.js +5 -0
- package/dist/_virtual/common.js.map +1 -0
- package/dist/_virtual/common2.cjs +5 -0
- package/dist/_virtual/common2.cjs.map +1 -0
- package/dist/_virtual/common2.js +5 -0
- package/dist/_virtual/common2.js.map +1 -0
- package/dist/_virtual/constants.cjs +5 -0
- package/dist/_virtual/constants.cjs.map +1 -0
- package/dist/_virtual/constants.js +5 -0
- package/dist/_virtual/constants.js.map +1 -0
- package/dist/_virtual/deep.cjs +5 -0
- package/dist/_virtual/deep.cjs.map +1 -0
- package/dist/_virtual/deep.js +5 -0
- package/dist/_virtual/deep.js.map +1 -0
- package/dist/_virtual/entry.cjs +5 -0
- package/dist/_virtual/entry.cjs.map +1 -0
- package/dist/_virtual/entry.js +5 -0
- package/dist/_virtual/entry.js.map +1 -0
- package/dist/_virtual/entry2.cjs +5 -0
- package/dist/_virtual/entry2.cjs.map +1 -0
- package/dist/_virtual/entry2.js +5 -0
- package/dist/_virtual/entry2.js.map +1 -0
- package/dist/_virtual/errno.cjs +5 -0
- package/dist/_virtual/errno.cjs.map +1 -0
- package/dist/_virtual/errno.js +5 -0
- package/dist/_virtual/errno.js.map +1 -0
- package/dist/_virtual/error.cjs +5 -0
- package/dist/_virtual/error.cjs.map +1 -0
- package/dist/_virtual/error.js +5 -0
- package/dist/_virtual/error.js.map +1 -0
- package/dist/_virtual/fs.cjs +5 -0
- package/dist/_virtual/fs.cjs.map +1 -0
- package/dist/_virtual/fs.js +5 -0
- package/dist/_virtual/fs.js.map +1 -0
- package/dist/_virtual/fs2.cjs +5 -0
- package/dist/_virtual/fs2.cjs.map +1 -0
- package/dist/_virtual/fs2.js +5 -0
- package/dist/_virtual/fs2.js.map +1 -0
- package/dist/_virtual/fs3.cjs +5 -0
- package/dist/_virtual/fs3.cjs.map +1 -0
- package/dist/_virtual/fs3.js +5 -0
- package/dist/_virtual/fs3.js.map +1 -0
- package/dist/_virtual/fs4.cjs +5 -0
- package/dist/_virtual/fs4.cjs.map +1 -0
- package/dist/_virtual/fs4.js +5 -0
- package/dist/_virtual/fs4.js.map +1 -0
- package/dist/_virtual/identifier.cjs +5 -0
- package/dist/_virtual/identifier.cjs.map +1 -0
- package/dist/_virtual/identifier.js +5 -0
- package/dist/_virtual/identifier.js.map +1 -0
- package/dist/_virtual/index.cjs +13 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +14 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.cjs +5 -0
- package/dist/_virtual/index10.cjs.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.cjs +13 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +14 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.cjs +5 -0
- package/dist/_virtual/index12.cjs.map +1 -0
- package/dist/_virtual/index12.js +5 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.cjs +5 -0
- package/dist/_virtual/index13.cjs.map +1 -0
- package/dist/_virtual/index13.js +5 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.cjs +5 -0
- package/dist/_virtual/index14.cjs.map +1 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index15.cjs +5 -0
- package/dist/_virtual/index15.cjs.map +1 -0
- package/dist/_virtual/index15.js +5 -0
- package/dist/_virtual/index15.js.map +1 -0
- package/dist/_virtual/index16.cjs +13 -0
- package/dist/_virtual/index16.cjs.map +1 -0
- package/dist/_virtual/index16.js +14 -0
- package/dist/_virtual/index16.js.map +1 -0
- package/dist/_virtual/index17.cjs +5 -0
- package/dist/_virtual/index17.cjs.map +1 -0
- package/dist/_virtual/index17.js +5 -0
- package/dist/_virtual/index17.js.map +1 -0
- package/dist/_virtual/index18.cjs +5 -0
- package/dist/_virtual/index18.cjs.map +1 -0
- package/dist/_virtual/index18.js +5 -0
- package/dist/_virtual/index18.js.map +1 -0
- package/dist/_virtual/index2.cjs +13 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +14 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +13 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +14 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.cjs +13 -0
- package/dist/_virtual/index4.cjs.map +1 -0
- package/dist/_virtual/index4.js +14 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.cjs +13 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +14 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.cjs +5 -0
- package/dist/_virtual/index6.cjs.map +1 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.cjs +5 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.cjs +5 -0
- package/dist/_virtual/index8.cjs.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.cjs +5 -0
- package/dist/_virtual/index9.cjs.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/keyword.cjs +5 -0
- package/dist/_virtual/keyword.cjs.map +1 -0
- package/dist/_virtual/keyword.js +5 -0
- package/dist/_virtual/keyword.js.map +1 -0
- package/dist/_virtual/matcher.cjs +5 -0
- package/dist/_virtual/matcher.cjs.map +1 -0
- package/dist/_virtual/matcher.js +5 -0
- package/dist/_virtual/matcher.js.map +1 -0
- package/dist/_virtual/partial.cjs +5 -0
- package/dist/_virtual/partial.cjs.map +1 -0
- package/dist/_virtual/partial.js +5 -0
- package/dist/_virtual/partial.js.map +1 -0
- package/dist/_virtual/path.cjs +5 -0
- package/dist/_virtual/path.cjs.map +1 -0
- package/dist/_virtual/path.js +5 -0
- package/dist/_virtual/path.js.map +1 -0
- package/dist/_virtual/pattern.cjs +5 -0
- package/dist/_virtual/pattern.cjs.map +1 -0
- package/dist/_virtual/pattern.js +5 -0
- package/dist/_virtual/pattern.js.map +1 -0
- package/dist/_virtual/patterns.cjs +5 -0
- package/dist/_virtual/patterns.cjs.map +1 -0
- package/dist/_virtual/patterns.js +5 -0
- package/dist/_virtual/patterns.js.map +1 -0
- package/dist/_virtual/provider.cjs +5 -0
- package/dist/_virtual/provider.cjs.map +1 -0
- package/dist/_virtual/provider.js +5 -0
- package/dist/_virtual/provider.js.map +1 -0
- package/dist/_virtual/queue.cjs +13 -0
- package/dist/_virtual/queue.cjs.map +1 -0
- package/dist/_virtual/queue.js +14 -0
- package/dist/_virtual/queue.js.map +1 -0
- package/dist/_virtual/reader.cjs +5 -0
- package/dist/_virtual/reader.cjs.map +1 -0
- package/dist/_virtual/reader.js +5 -0
- package/dist/_virtual/reader.js.map +1 -0
- package/dist/_virtual/reader2.cjs +5 -0
- package/dist/_virtual/reader2.cjs.map +1 -0
- package/dist/_virtual/reader2.js +5 -0
- package/dist/_virtual/reader2.js.map +1 -0
- package/dist/_virtual/settings.cjs +5 -0
- package/dist/_virtual/settings.cjs.map +1 -0
- package/dist/_virtual/settings.js +5 -0
- package/dist/_virtual/settings.js.map +1 -0
- package/dist/_virtual/settings2.cjs +5 -0
- package/dist/_virtual/settings2.cjs.map +1 -0
- package/dist/_virtual/settings2.js +5 -0
- package/dist/_virtual/settings2.js.map +1 -0
- package/dist/_virtual/settings3.cjs +5 -0
- package/dist/_virtual/settings3.cjs.map +1 -0
- package/dist/_virtual/settings3.js +5 -0
- package/dist/_virtual/settings3.js.map +1 -0
- package/dist/_virtual/settings4.cjs +5 -0
- package/dist/_virtual/settings4.cjs.map +1 -0
- package/dist/_virtual/settings4.js +5 -0
- package/dist/_virtual/settings4.js.map +1 -0
- package/dist/_virtual/stream.cjs +5 -0
- package/dist/_virtual/stream.cjs.map +1 -0
- package/dist/_virtual/stream.js +5 -0
- package/dist/_virtual/stream.js.map +1 -0
- package/dist/_virtual/stream2.cjs +5 -0
- package/dist/_virtual/stream2.cjs.map +1 -0
- package/dist/_virtual/stream2.js +5 -0
- package/dist/_virtual/stream2.js.map +1 -0
- package/dist/_virtual/stream3.cjs +5 -0
- package/dist/_virtual/stream3.cjs.map +1 -0
- package/dist/_virtual/stream3.js +5 -0
- package/dist/_virtual/stream3.js.map +1 -0
- package/dist/_virtual/stream4.cjs +5 -0
- package/dist/_virtual/stream4.cjs.map +1 -0
- package/dist/_virtual/stream4.js +5 -0
- package/dist/_virtual/stream4.js.map +1 -0
- package/dist/_virtual/string.cjs +5 -0
- package/dist/_virtual/string.cjs.map +1 -0
- package/dist/_virtual/string.js +5 -0
- package/dist/_virtual/string.js.map +1 -0
- package/dist/_virtual/sync.cjs +5 -0
- package/dist/_virtual/sync.cjs.map +1 -0
- package/dist/_virtual/sync.js +5 -0
- package/dist/_virtual/sync.js.map +1 -0
- package/dist/_virtual/sync2.cjs +5 -0
- package/dist/_virtual/sync2.cjs.map +1 -0
- package/dist/_virtual/sync2.js +5 -0
- package/dist/_virtual/sync2.js.map +1 -0
- package/dist/_virtual/sync3.cjs +5 -0
- package/dist/_virtual/sync3.cjs.map +1 -0
- package/dist/_virtual/sync3.js +5 -0
- package/dist/_virtual/sync3.js.map +1 -0
- package/dist/_virtual/sync4.cjs +5 -0
- package/dist/_virtual/sync4.cjs.map +1 -0
- package/dist/_virtual/sync4.js +5 -0
- package/dist/_virtual/sync4.js.map +1 -0
- package/dist/_virtual/sync5.cjs +5 -0
- package/dist/_virtual/sync5.cjs.map +1 -0
- package/dist/_virtual/sync5.js +5 -0
- package/dist/_virtual/sync5.js.map +1 -0
- package/dist/_virtual/sync6.cjs +5 -0
- package/dist/_virtual/sync6.cjs.map +1 -0
- package/dist/_virtual/sync6.js +5 -0
- package/dist/_virtual/sync6.js.map +1 -0
- package/dist/_virtual/tasks.cjs +5 -0
- package/dist/_virtual/tasks.cjs.map +1 -0
- package/dist/_virtual/tasks.js +5 -0
- package/dist/_virtual/tasks.js.map +1 -0
- package/dist/_virtual/utils.cjs +5 -0
- package/dist/_virtual/utils.cjs.map +1 -0
- package/dist/_virtual/utils.js +5 -0
- package/dist/_virtual/utils.js.map +1 -0
- package/dist/_virtual/utils2.cjs +5 -0
- package/dist/_virtual/utils2.cjs.map +1 -0
- package/dist/_virtual/utils2.js +5 -0
- package/dist/_virtual/utils2.js.map +1 -0
- package/dist/cli.cjs +78 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +77 -0
- package/dist/cli.js.map +1 -0
- package/dist/constants.cjs +7 -0
- package/dist/constants.cjs.map +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +7 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/assertExists.cjs +9 -0
- package/dist/lib/assertExists.cjs.map +1 -0
- package/dist/lib/assertExists.d.ts +1 -0
- package/dist/lib/assertExists.js +9 -0
- package/dist/lib/assertExists.js.map +1 -0
- package/dist/lib/framework.cjs +92 -0
- package/dist/lib/framework.cjs.map +1 -0
- package/dist/lib/framework.d.ts +45 -0
- package/dist/lib/framework.js +92 -0
- package/dist/lib/framework.js.map +1 -0
- package/dist/lib/getExecuteCommand.cjs +8 -0
- package/dist/lib/getExecuteCommand.cjs.map +1 -0
- package/dist/lib/getExecuteCommand.d.ts +5 -0
- package/dist/lib/getExecuteCommand.js +8 -0
- package/dist/lib/getExecuteCommand.js.map +1 -0
- package/dist/lib/getRunScriptCommand.cjs +8 -0
- package/dist/lib/getRunScriptCommand.cjs.map +1 -0
- package/dist/lib/getRunScriptCommand.d.ts +5 -0
- package/dist/lib/getRunScriptCommand.js +8 -0
- package/dist/lib/getRunScriptCommand.js.map +1 -0
- package/dist/lib/listr.cjs +13 -0
- package/dist/lib/listr.cjs.map +1 -0
- package/dist/lib/listr.d.ts +3 -0
- package/dist/lib/listr.js +13 -0
- package/dist/lib/listr.js.map +1 -0
- package/dist/lib/prompt.cjs +15 -0
- package/dist/lib/prompt.cjs.map +1 -0
- package/dist/lib/prompt.d.ts +10 -0
- package/dist/lib/prompt.js +15 -0
- package/dist/lib/prompt.js.map +1 -0
- package/dist/lib/repositoryDomain.cjs +130 -0
- package/dist/lib/repositoryDomain.cjs.map +1 -0
- package/dist/lib/repositoryDomain.d.ts +25 -0
- package/dist/lib/repositoryDomain.js +130 -0
- package/dist/lib/repositoryDomain.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/ignore.cjs +62 -0
- package/dist/packages/init/_node_modules/globby/ignore.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/ignore.js +62 -0
- package/dist/packages/init/_node_modules/globby/ignore.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/index.cjs +137 -0
- package/dist/packages/init/_node_modules/globby/index.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/index.js +137 -0
- package/dist/packages/init/_node_modules/globby/index.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/utilities.cjs +9 -0
- package/dist/packages/init/_node_modules/globby/utilities.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/utilities.js +9 -0
- package/dist/packages/init/_node_modules/globby/utilities.js.map +1 -0
- package/dist/packages/init/_node_modules/slash/index.cjs +11 -0
- package/dist/packages/init/_node_modules/slash/index.cjs.map +1 -0
- package/dist/packages/init/_node_modules/slash/index.js +12 -0
- package/dist/packages/init/_node_modules/slash/index.js.map +1 -0
- package/dist/packages/init/package.json.cjs +135 -0
- package/dist/packages/init/package.json.cjs.map +1 -0
- package/dist/packages/init/package.json.js +135 -0
- package/dist/packages/init/package.json.js.map +1 -0
- package/package.json +93 -69
- package/src/SliceMachineInitProcess.ts +1114 -0
- package/src/cli.ts +84 -0
- package/src/constants.ts +3 -0
- package/src/index.ts +5 -129
- package/src/lib/assertExists.ts +9 -0
- package/src/lib/framework.ts +155 -0
- package/src/lib/getExecuteCommand.ts +9 -0
- package/src/lib/getRunScriptCommand.ts +9 -0
- package/src/lib/listr.ts +15 -0
- package/src/lib/prompt.ts +27 -0
- package/src/lib/repositoryDomain.ts +219 -0
- package/.depcheckrc +0 -4
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -24
- package/build/index.js +0 -3388
- package/build/index.js.map +0 -1
- package/dist/__node_modules/lines-and-columns/build/index.cjs +0 -64
- package/dist/__node_modules/lines-and-columns/build/index.js +0 -63
- package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs +0 -275
- package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/core.js +0 -275
- package/dist/packages/init/__node_modules/human-signals/build/src/core.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs +0 -50
- package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/main.js +0 -50
- package/dist/packages/init/__node_modules/human-signals/build/src/main.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs +0 -20
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js +0 -20
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs +0 -27
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.js +0 -27
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.js.map +0 -1
- package/jest.config.js +0 -17
- package/siroc.config.js +0 -19
- package/src/steps/choose-or-create-a-repository.ts +0 -169
- package/src/steps/configure-project.ts +0 -72
- package/src/steps/detect-framework.ts +0 -94
- package/src/steps/display-final-message.ts +0 -31
- package/src/steps/index.ts +0 -10
- package/src/steps/install-lib.ts +0 -116
- package/src/steps/install-required-dependencies.ts +0 -106
- package/src/steps/loginOrBypass.ts +0 -25
- package/src/steps/sendStarterData.ts +0 -31
- package/src/steps/set-version.ts +0 -61
- package/src/steps/starters/custom-types.ts +0 -81
- package/src/steps/starters/documents.ts +0 -95
- package/src/steps/starters/prompts.ts +0 -29
- package/src/steps/starters/s3.ts +0 -70
- package/src/steps/starters/slices.ts +0 -75
- package/src/steps/validate-pkg.ts +0 -14
- package/src/utils/PackageManager.ts +0 -66
- package/src/utils/auth/helpers.ts +0 -168
- package/src/utils/auth/index.ts +0 -63
- package/src/utils/client.ts +0 -89
- package/src/utils/create-repo.ts +0 -37
- package/src/utils/fs.ts +0 -18
- package/src/utils/index.ts +0 -42
- package/src/utils/logs.ts +0 -28
- package/src/utils/noop.ts +0 -3
- package/src/utils/tracker.ts +0 -153
- package/src/utils/validateRepositoryName.ts +0 -44
- package/src/utils/versionCheck.ts +0 -10
- package/tsconfig.json +0 -26
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/micromatch/index.js"],"sourcesContent":["'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array<string>} `list` List of strings to match.\n * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;;AAEA,MAAM,OAAO;AACb,MAAM,SAASA;AACf,MAAM,YAAYC,QAAAA;AAClB,MAAM,QAAQC,QAAAA;AACd,MAAM,gBAAgB,SAAO,QAAQ,MAAM,QAAQ;AAoBnD,MAAM,aAAa,CAAC,MAAM,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js";
|
|
4
|
+
import "../picomatch/lib/utils.js";
|
|
5
|
+
import { exports as picomatchExports } from "../../_virtual/index16.js";
|
|
6
|
+
import { __exports as utils$1 } from "../../_virtual/utils.js";
|
|
7
|
+
const util = require$$0;
|
|
8
|
+
const braces = braces_1;
|
|
9
|
+
const picomatch = picomatchExports;
|
|
10
|
+
const utils = utils$1;
|
|
11
|
+
const isEmptyString = (val) => val === "" || val === "./";
|
|
12
|
+
const micromatch = (list, patterns, options) => {
|
|
13
|
+
patterns = [].concat(patterns);
|
|
14
|
+
list = [].concat(list);
|
|
15
|
+
let omit = /* @__PURE__ */ new Set();
|
|
16
|
+
let keep = /* @__PURE__ */ new Set();
|
|
17
|
+
let items = /* @__PURE__ */ new Set();
|
|
18
|
+
let negatives = 0;
|
|
19
|
+
let onResult = (state) => {
|
|
20
|
+
items.add(state.output);
|
|
21
|
+
if (options && options.onResult) {
|
|
22
|
+
options.onResult(state);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
for (let i = 0; i < patterns.length; i++) {
|
|
26
|
+
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
|
|
27
|
+
let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
|
|
28
|
+
if (negated)
|
|
29
|
+
negatives++;
|
|
30
|
+
for (let item of list) {
|
|
31
|
+
let matched = isMatch(item, true);
|
|
32
|
+
let match = negated ? !matched.isMatch : matched.isMatch;
|
|
33
|
+
if (!match)
|
|
34
|
+
continue;
|
|
35
|
+
if (negated) {
|
|
36
|
+
omit.add(matched.output);
|
|
37
|
+
} else {
|
|
38
|
+
omit.delete(matched.output);
|
|
39
|
+
keep.add(matched.output);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
let result = negatives === patterns.length ? [...items] : [...keep];
|
|
44
|
+
let matches = result.filter((item) => !omit.has(item));
|
|
45
|
+
if (options && matches.length === 0) {
|
|
46
|
+
if (options.failglob === true) {
|
|
47
|
+
throw new Error(`No matches found for "${patterns.join(", ")}"`);
|
|
48
|
+
}
|
|
49
|
+
if (options.nonull === true || options.nullglob === true) {
|
|
50
|
+
return options.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return matches;
|
|
54
|
+
};
|
|
55
|
+
micromatch.match = micromatch;
|
|
56
|
+
micromatch.matcher = (pattern, options) => picomatch(pattern, options);
|
|
57
|
+
micromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
58
|
+
micromatch.any = micromatch.isMatch;
|
|
59
|
+
micromatch.not = (list, patterns, options = {}) => {
|
|
60
|
+
patterns = [].concat(patterns).map(String);
|
|
61
|
+
let result = /* @__PURE__ */ new Set();
|
|
62
|
+
let items = [];
|
|
63
|
+
let onResult = (state) => {
|
|
64
|
+
if (options.onResult)
|
|
65
|
+
options.onResult(state);
|
|
66
|
+
items.push(state.output);
|
|
67
|
+
};
|
|
68
|
+
let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
|
|
69
|
+
for (let item of items) {
|
|
70
|
+
if (!matches.has(item)) {
|
|
71
|
+
result.add(item);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return [...result];
|
|
75
|
+
};
|
|
76
|
+
micromatch.contains = (str, pattern, options) => {
|
|
77
|
+
if (typeof str !== "string") {
|
|
78
|
+
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
79
|
+
}
|
|
80
|
+
if (Array.isArray(pattern)) {
|
|
81
|
+
return pattern.some((p) => micromatch.contains(str, p, options));
|
|
82
|
+
}
|
|
83
|
+
if (typeof pattern === "string") {
|
|
84
|
+
if (isEmptyString(str) || isEmptyString(pattern)) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return micromatch.isMatch(str, pattern, { ...options, contains: true });
|
|
92
|
+
};
|
|
93
|
+
micromatch.matchKeys = (obj, patterns, options) => {
|
|
94
|
+
if (!utils.isObject(obj)) {
|
|
95
|
+
throw new TypeError("Expected the first argument to be an object");
|
|
96
|
+
}
|
|
97
|
+
let keys = micromatch(Object.keys(obj), patterns, options);
|
|
98
|
+
let res = {};
|
|
99
|
+
for (let key of keys)
|
|
100
|
+
res[key] = obj[key];
|
|
101
|
+
return res;
|
|
102
|
+
};
|
|
103
|
+
micromatch.some = (list, patterns, options) => {
|
|
104
|
+
let items = [].concat(list);
|
|
105
|
+
for (let pattern of [].concat(patterns)) {
|
|
106
|
+
let isMatch = picomatch(String(pattern), options);
|
|
107
|
+
if (items.some((item) => isMatch(item))) {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return false;
|
|
112
|
+
};
|
|
113
|
+
micromatch.every = (list, patterns, options) => {
|
|
114
|
+
let items = [].concat(list);
|
|
115
|
+
for (let pattern of [].concat(patterns)) {
|
|
116
|
+
let isMatch = picomatch(String(pattern), options);
|
|
117
|
+
if (!items.every((item) => isMatch(item))) {
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return true;
|
|
122
|
+
};
|
|
123
|
+
micromatch.all = (str, patterns, options) => {
|
|
124
|
+
if (typeof str !== "string") {
|
|
125
|
+
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
126
|
+
}
|
|
127
|
+
return [].concat(patterns).every((p) => picomatch(p, options)(str));
|
|
128
|
+
};
|
|
129
|
+
micromatch.capture = (glob, input, options) => {
|
|
130
|
+
let posix = utils.isWindows(options);
|
|
131
|
+
let regex = picomatch.makeRe(String(glob), { ...options, capture: true });
|
|
132
|
+
let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);
|
|
133
|
+
if (match) {
|
|
134
|
+
return match.slice(1).map((v) => v === void 0 ? "" : v);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
micromatch.makeRe = (...args) => picomatch.makeRe(...args);
|
|
138
|
+
micromatch.scan = (...args) => picomatch.scan(...args);
|
|
139
|
+
micromatch.parse = (patterns, options) => {
|
|
140
|
+
let res = [];
|
|
141
|
+
for (let pattern of [].concat(patterns || [])) {
|
|
142
|
+
for (let str of braces(String(pattern), options)) {
|
|
143
|
+
res.push(picomatch.parse(str, options));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return res;
|
|
147
|
+
};
|
|
148
|
+
micromatch.braces = (pattern, options) => {
|
|
149
|
+
if (typeof pattern !== "string")
|
|
150
|
+
throw new TypeError("Expected a string");
|
|
151
|
+
if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) {
|
|
152
|
+
return [pattern];
|
|
153
|
+
}
|
|
154
|
+
return braces(pattern, options);
|
|
155
|
+
};
|
|
156
|
+
micromatch.braceExpand = (pattern, options) => {
|
|
157
|
+
if (typeof pattern !== "string")
|
|
158
|
+
throw new TypeError("Expected a string");
|
|
159
|
+
return micromatch.braces(pattern, { ...options, expand: true });
|
|
160
|
+
};
|
|
161
|
+
var micromatch_1 = micromatch;
|
|
162
|
+
export {
|
|
163
|
+
micromatch_1 as default
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/micromatch/index.js"],"sourcesContent":["'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array<string>} `list` List of strings to match.\n * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;AAEA,MAAM,OAAO;AACb,MAAM,SAASA;AACf,MAAM,YAAYC;AAClB,MAAM,QAAQC;AACd,MAAM,gBAAgB,SAAO,QAAQ,MAAM,QAAQ;AAoBnD,MAAM,aAAa,CAAC,MAAM,UAAU,YAAY;AAC9C,aAAW,CAAE,EAAC,OAAO,QAAQ;AAC7B,SAAO,CAAE,EAAC,OAAO,IAAI;AAErB,MAAI,OAAO,oBAAI;AACf,MAAI,OAAO,oBAAI;AACf,MAAI,QAAQ,oBAAI;AAChB,MAAI,YAAY;AAEhB,MAAI,WAAW,WAAS;AACtB,UAAM,IAAI,MAAM,MAAM;AACtB,QAAI,WAAW,QAAQ,UAAU;AAC/B,cAAQ,SAAS,KAAK;AAAA,IACvB;AAAA,EACL;AAEE,WAAS,IAAI,GAAG,IAAI,SAAS,QAAQ,KAAK;AACxC,QAAI,UAAU,UAAU,OAAO,SAAS,CAAC,CAAC,GAAG,EAA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BrD,WAAW,QAAQ,CAAC,UAAU,YAAY;AACxC,MAAI,MAAM,CAAA;AACV,WAAS,WAAW,CAAE,EAAC,OAAO,YAAY,CAAE,CAAA,GAAG;AAC7C,aAAS,OAAO,OAAO,OAAO,OAAO,GAAG,OAAO,GAAG;AAChD,UAAI,KAAK,UAAU,MAAM,KAAK,OAAO,CAAC;AAAA,IACvC;AAAA,EACF;AACD,SAAO;AACT;AAmBA,WAAW,SAAS,CAAC,SAAS,YAAY;AACxC,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,MAAK,WAAW,QAAQ,YAAY,QAAS,CAAC,SAAS,KAAK,OAAO,GAAG;AACpE,WAAO,CAAC,OAAO;AAAA,EAChB;AACD,SAAO,OAAO,SAAS,OAAO;AAChC;AAMA,WAAW,cAAc,CAAC,SAAS,YAAY;AAC7C,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,SAAO,WAAW,OAAO,SAAS,EAAE,GAAG,SAAS,QAAQ,KAAI,CAAE;AAChE;AAMA,IAAA,eAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var minIndent = (string) => {
|
|
3
|
+
const match = string.match(/^[ \t]*(?=\S)/gm);
|
|
4
|
+
if (!match) {
|
|
5
|
+
return 0;
|
|
6
|
+
}
|
|
7
|
+
return match.reduce((r, a) => Math.min(r, a.length), Infinity);
|
|
8
|
+
};
|
|
9
|
+
module.exports = minIndent;
|
|
10
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/min-indent/index.js"],"sourcesContent":["'use strict';\nmodule.exports = string => {\n\tconst match = string.match(/^[ \\t]*(?=\\S)/gm);\n\n\tif (!match) {\n\t\treturn 0;\n\t}\n\n\treturn match.reduce((r, a) => Math.min(r, a.length), Infinity);\n};\n"],"names":[],"mappings":";IACA,YAAiB,YAAU;AAC1B,QAAM,QAAQ,OAAO,MAAM,iBAAiB;AAE5C,MAAI,CAAC,OAAO;AACX,WAAO;AAAA,EACP;AAED,SAAO,MAAM,OAAO,CAAC,GAAG,MAAM,KAAK,IAAI,GAAG,EAAE,MAAM,GAAG,QAAQ;AAC9D;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/min-indent/index.js"],"sourcesContent":["'use strict';\nmodule.exports = string => {\n\tconst match = string.match(/^[ \\t]*(?=\\S)/gm);\n\n\tif (!match) {\n\t\treturn 0;\n\t}\n\n\treturn match.reduce((r, a) => Math.min(r, a.length), Infinity);\n};\n"],"names":[],"mappings":"IACA,YAAiB,YAAU;AAC1B,QAAM,QAAQ,OAAO,MAAM,iBAAiB;AAE5C,MAAI,CAAC,OAAO;AACX,WAAO;AAAA,EACP;AAED,SAAO,MAAM,OAAO,CAAC,GAAG,MAAM,KAAK,IAAI,GAAG,EAAE,MAAM,GAAG,QAAQ;AAC9D;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var toString = Object.prototype.toString;
|
|
3
|
+
var isPlainObj = function(x) {
|
|
4
|
+
var prototype;
|
|
5
|
+
return toString.call(x) === "[object Object]" && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));
|
|
6
|
+
};
|
|
7
|
+
module.exports = isPlainObj;
|
|
8
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/minimist-options/node_modules/is-plain-obj/index.js"],"sourcesContent":["'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n"],"names":[],"mappings":";AACA,IAAI,WAAW,OAAO,UAAU;IAEhC,aAAiB,SAAU,GAAG;AAC7B,MAAI;AACJ,SAAO,SAAS,KAAK,CAAC,MAAM,sBAAsB,YAAY,OAAO,eAAe,CAAC,GAAG,cAAc,QAAQ,cAAc,OAAO,eAAe,CAAE,CAAA;AACrJ;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var toString = Object.prototype.toString;
|
|
2
|
+
var isPlainObj = function(x) {
|
|
3
|
+
var prototype;
|
|
4
|
+
return toString.call(x) === "[object Object]" && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
isPlainObj as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/minimist-options/node_modules/is-plain-obj/index.js"],"sourcesContent":["'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n"],"names":[],"mappings":"AACA,IAAI,WAAW,OAAO,UAAU;IAEhC,aAAiB,SAAU,GAAG;AAC7B,MAAI;AACJ,SAAO,SAAS,KAAK,CAAC,MAAM,sBAAsB,YAAY,OAAO,eAAe,CAAC,GAAG,cAAc,QAAQ,cAAc,OAAO,eAAe,CAAE,CAAA;AACrJ;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const index = require("../../_virtual/index2.cjs");
|
|
3
|
+
const index$1 = require('./_node_modules/is-plain-obj/index.cjs');
|
|
4
|
+
const index$2 = require("../arrify/index.cjs");
|
|
5
|
+
const index$3 = require("../kind-of/index.cjs");
|
|
6
|
+
const isPlainObject = index$1;
|
|
7
|
+
const arrify = index$2;
|
|
8
|
+
const kindOf = index$3;
|
|
9
|
+
const push = (obj, prop, value) => {
|
|
10
|
+
if (!obj[prop]) {
|
|
11
|
+
obj[prop] = [];
|
|
12
|
+
}
|
|
13
|
+
obj[prop].push(value);
|
|
14
|
+
};
|
|
15
|
+
const insert = (obj, prop, key, value) => {
|
|
16
|
+
if (!obj[prop]) {
|
|
17
|
+
obj[prop] = {};
|
|
18
|
+
}
|
|
19
|
+
obj[prop][key] = value;
|
|
20
|
+
};
|
|
21
|
+
const prettyPrint = (output) => {
|
|
22
|
+
return Array.isArray(output) ? `[${output.map(prettyPrint).join(", ")}]` : kindOf(output) === "string" ? JSON.stringify(output) : output;
|
|
23
|
+
};
|
|
24
|
+
const resolveType = (value) => {
|
|
25
|
+
if (Array.isArray(value) && value.length > 0) {
|
|
26
|
+
const [element] = value;
|
|
27
|
+
return `${kindOf(element)}-array`;
|
|
28
|
+
}
|
|
29
|
+
return kindOf(value);
|
|
30
|
+
};
|
|
31
|
+
const normalizeExpectedType = (type, defaultValue) => {
|
|
32
|
+
const inferredType = type === "array" ? "string-array" : type;
|
|
33
|
+
if (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {
|
|
34
|
+
return "array";
|
|
35
|
+
}
|
|
36
|
+
return inferredType;
|
|
37
|
+
};
|
|
38
|
+
const passthroughOptions = ["stopEarly", "unknown", "--"];
|
|
39
|
+
const primitiveTypes = ["string", "boolean", "number"];
|
|
40
|
+
const arrayTypes = primitiveTypes.map((t) => `${t}-array`);
|
|
41
|
+
const availableTypes = [...primitiveTypes, "array", ...arrayTypes];
|
|
42
|
+
const buildOptions = (options) => {
|
|
43
|
+
options = options || {};
|
|
44
|
+
const result = {};
|
|
45
|
+
passthroughOptions.forEach((key) => {
|
|
46
|
+
if (options[key]) {
|
|
47
|
+
result[key] = options[key];
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.keys(options).forEach((key) => {
|
|
51
|
+
let value = options[key];
|
|
52
|
+
if (key === "arguments") {
|
|
53
|
+
key = "_";
|
|
54
|
+
}
|
|
55
|
+
if (typeof value === "string") {
|
|
56
|
+
value = { type: value };
|
|
57
|
+
}
|
|
58
|
+
if (isPlainObject(value)) {
|
|
59
|
+
const props = value;
|
|
60
|
+
const { type } = props;
|
|
61
|
+
if (type) {
|
|
62
|
+
if (!availableTypes.includes(type)) {
|
|
63
|
+
throw new TypeError(`Expected type of "${key}" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);
|
|
64
|
+
}
|
|
65
|
+
if (arrayTypes.includes(type)) {
|
|
66
|
+
const [elementType] = type.split("-");
|
|
67
|
+
push(result, "array", { key, [elementType]: true });
|
|
68
|
+
} else {
|
|
69
|
+
push(result, type, key);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
if ({}.hasOwnProperty.call(props, "default")) {
|
|
73
|
+
const { default: defaultValue } = props;
|
|
74
|
+
const defaultType = resolveType(defaultValue);
|
|
75
|
+
const expectedType = normalizeExpectedType(type, defaultValue);
|
|
76
|
+
if (expectedType && expectedType !== defaultType) {
|
|
77
|
+
throw new TypeError(`Expected "${key}" default value to be of type "${expectedType}", got ${prettyPrint(defaultType)}`);
|
|
78
|
+
}
|
|
79
|
+
insert(result, "default", key, defaultValue);
|
|
80
|
+
}
|
|
81
|
+
arrify(props.alias).forEach((alias) => {
|
|
82
|
+
insert(result, "alias", alias, key);
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
return result;
|
|
87
|
+
};
|
|
88
|
+
index.__module.exports = buildOptions;
|
|
89
|
+
index.exports.default = buildOptions;
|
|
90
|
+
module.exports = index.exports;
|
|
91
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/minimist-options/index.js"],"sourcesContent":["'use strict';\n\nconst isPlainObject = require('is-plain-obj');\nconst arrify = require('arrify');\nconst kindOf = require('kind-of');\n\nconst push = (obj, prop, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = [];\n\t}\n\n\tobj[prop].push(value);\n};\n\nconst insert = (obj, prop, key, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = {};\n\t}\n\n\tobj[prop][key] = value;\n};\n\nconst prettyPrint = output => {\n\treturn Array.isArray(output) ?\n\t\t`[${output.map(prettyPrint).join(', ')}]` :\n\t\tkindOf(output) === 'string' ? JSON.stringify(output) : output;\n};\n\nconst resolveType = value => {\n\tif (Array.isArray(value) && value.length > 0) {\n\t\tconst [element] = value;\n\t\treturn `${kindOf(element)}-array`;\n\t}\n\n\treturn kindOf(value);\n};\n\nconst normalizeExpectedType = (type, defaultValue) => {\n\tconst inferredType = type === 'array' ? 'string-array' : type;\n\n\tif (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {\n\t\treturn 'array';\n\t}\n\n\treturn inferredType;\n};\n\nconst passthroughOptions = ['stopEarly', 'unknown', '--'];\nconst primitiveTypes = ['string', 'boolean', 'number'];\nconst arrayTypes = primitiveTypes.map(t => `${t}-array`);\nconst availableTypes = [...primitiveTypes, 'array', ...arrayTypes];\n\nconst buildOptions = options => {\n\toptions = options || {};\n\n\tconst result = {};\n\n\tpassthroughOptions.forEach(key => {\n\t\tif (options[key]) {\n\t\t\tresult[key] = options[key];\n\t\t}\n\t});\n\n\tObject.keys(options).forEach(key => {\n\t\tlet value = options[key];\n\n\t\tif (key === 'arguments') {\n\t\t\tkey = '_';\n\t\t}\n\n\t\t// If short form is used\n\t\t// convert it to long form\n\t\t// e.g. { 'name': 'string' }\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = {type: value};\n\t\t}\n\n\t\tif (isPlainObject(value)) {\n\t\t\tconst props = value;\n\t\t\tconst {type} = props;\n\n\t\t\tif (type) {\n\t\t\t\tif (!availableTypes.includes(type)) {\n\t\t\t\t\tthrow new TypeError(`Expected type of \"${key}\" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);\n\t\t\t\t}\n\n\t\t\t\tif (arrayTypes.includes(type)) {\n\t\t\t\t\tconst [elementType] = type.split('-');\n\t\t\t\t\tpush(result, 'array', {key, [elementType]: true});\n\t\t\t\t} else {\n\t\t\t\t\tpush(result, type, key);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ({}.hasOwnProperty.call(props, 'default')) {\n\t\t\t\tconst {default: defaultValue} = props;\n\t\t\t\tconst defaultType = resolveType(defaultValue);\n\t\t\t\tconst expectedType = normalizeExpectedType(type, defaultValue);\n\n\t\t\t\tif (expectedType && expectedType !== defaultType) {\n\t\t\t\t\tthrow new TypeError(`Expected \"${key}\" default value to be of type \"${expectedType}\", got ${prettyPrint(defaultType)}`);\n\t\t\t\t}\n\n\t\t\t\tinsert(result, 'default', key, defaultValue);\n\t\t\t}\n\n\t\t\tarrify(props.alias).forEach(alias => {\n\t\t\t\tinsert(result, 'alias', alias, key);\n\t\t\t});\n\t\t}\n\t});\n\n\treturn result;\n};\n\nmodule.exports = buildOptions;\nmodule.exports.default = buildOptions;\n"],"names":["require$$0","require$$1","require$$2","minimistOptionsModule","minimistOptions"],"mappings":";;;;;AAEA,MAAM,gBAAgBA;AACtB,MAAM,SAASC;AACf,MAAM,SAASC;AAEf,MAAM,OAAO,CAAC,KAAK,MAAM,UAAU;AAClC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,KAAK,KAAK;AACrB;AAEA,MAAM,SAAS,CAAC,KAAK,MAAM,KAAK,UAAU;AACzC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,GAAG,IAAI;AAClB;AAEA,MAAM,cAAc,YAAU;AAC7B,SAAO,MAAM,QAAQ,MAAM,IAC1B,IAAI,OAAO,IAAI,WAAW,EAAE,KAAK,IAAI,OACrC,OAAO,MAA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AA,QACrH;AAED,YAAI,WAAW,SAAS,IAAI,GAAG;AAC9B,gBAAM,CAAC,WAAW,IAAI,KAAK,MAAM,GAAG;AACpC,eAAK,QAAQ,SAAS,EAAC,KAAK,CAAC,WAAW,GAAG,KAAI,CAAC;AAAA,QACrD,OAAW;AACN,eAAK,QAAQ,MAAM,GAAG;AAAA,QACtB;AAAA,MACD;AAED,UAAI,CAAE,EAAC,eAAe,KAAK,OAAO,SAAS,GAAG;AAC7C,cAAM,EAAC,SAAS,aAAY,IAAI;AAChC,cAAM,cAAc,YAAY,YAAY;AAC5C,cAAM,eAAe,sBAAsB,MAAM,YAAY;AAE7D,YAAI,gBAAgB,iBAAiB,aAAa;AACjD,gBAAM,IAAI,UAAU,aAAa,qCAAqC,sBAAsB,YAAY,WAAW,GAAG;AAAA,QACtH;AAED,eAAO,QAAQ,WAAW,KAAK,YAAY;AAAA,MAC3C;AAED,aAAO,MAAM,KAAK,EAAE,QAAQ,WAAS;AACpC,eAAO,QAAQ,SAAS,OAAO,GAAG;AAAA,MACtC,CAAI;AAAA,IACD;AAAA,EACH,CAAE;AAED,SAAO;AACR;AAEAC,MAAAA,SAAc,UAAG;AACjBC,MAAA,QAAA,UAAyB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { exports as minimistOptionsExports, __module as minimistOptions } from "../../_virtual/index2.js";
|
|
2
|
+
import isPlainObj from './_node_modules/is-plain-obj/index.js';
|
|
3
|
+
import arrify$1 from "../arrify/index.js";
|
|
4
|
+
import kindOf$1 from "../kind-of/index.js";
|
|
5
|
+
const isPlainObject = isPlainObj;
|
|
6
|
+
const arrify = arrify$1;
|
|
7
|
+
const kindOf = kindOf$1;
|
|
8
|
+
const push = (obj, prop, value) => {
|
|
9
|
+
if (!obj[prop]) {
|
|
10
|
+
obj[prop] = [];
|
|
11
|
+
}
|
|
12
|
+
obj[prop].push(value);
|
|
13
|
+
};
|
|
14
|
+
const insert = (obj, prop, key, value) => {
|
|
15
|
+
if (!obj[prop]) {
|
|
16
|
+
obj[prop] = {};
|
|
17
|
+
}
|
|
18
|
+
obj[prop][key] = value;
|
|
19
|
+
};
|
|
20
|
+
const prettyPrint = (output) => {
|
|
21
|
+
return Array.isArray(output) ? `[${output.map(prettyPrint).join(", ")}]` : kindOf(output) === "string" ? JSON.stringify(output) : output;
|
|
22
|
+
};
|
|
23
|
+
const resolveType = (value) => {
|
|
24
|
+
if (Array.isArray(value) && value.length > 0) {
|
|
25
|
+
const [element] = value;
|
|
26
|
+
return `${kindOf(element)}-array`;
|
|
27
|
+
}
|
|
28
|
+
return kindOf(value);
|
|
29
|
+
};
|
|
30
|
+
const normalizeExpectedType = (type, defaultValue) => {
|
|
31
|
+
const inferredType = type === "array" ? "string-array" : type;
|
|
32
|
+
if (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {
|
|
33
|
+
return "array";
|
|
34
|
+
}
|
|
35
|
+
return inferredType;
|
|
36
|
+
};
|
|
37
|
+
const passthroughOptions = ["stopEarly", "unknown", "--"];
|
|
38
|
+
const primitiveTypes = ["string", "boolean", "number"];
|
|
39
|
+
const arrayTypes = primitiveTypes.map((t) => `${t}-array`);
|
|
40
|
+
const availableTypes = [...primitiveTypes, "array", ...arrayTypes];
|
|
41
|
+
const buildOptions = (options) => {
|
|
42
|
+
options = options || {};
|
|
43
|
+
const result = {};
|
|
44
|
+
passthroughOptions.forEach((key) => {
|
|
45
|
+
if (options[key]) {
|
|
46
|
+
result[key] = options[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
Object.keys(options).forEach((key) => {
|
|
50
|
+
let value = options[key];
|
|
51
|
+
if (key === "arguments") {
|
|
52
|
+
key = "_";
|
|
53
|
+
}
|
|
54
|
+
if (typeof value === "string") {
|
|
55
|
+
value = { type: value };
|
|
56
|
+
}
|
|
57
|
+
if (isPlainObject(value)) {
|
|
58
|
+
const props = value;
|
|
59
|
+
const { type } = props;
|
|
60
|
+
if (type) {
|
|
61
|
+
if (!availableTypes.includes(type)) {
|
|
62
|
+
throw new TypeError(`Expected type of "${key}" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);
|
|
63
|
+
}
|
|
64
|
+
if (arrayTypes.includes(type)) {
|
|
65
|
+
const [elementType] = type.split("-");
|
|
66
|
+
push(result, "array", { key, [elementType]: true });
|
|
67
|
+
} else {
|
|
68
|
+
push(result, type, key);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if ({}.hasOwnProperty.call(props, "default")) {
|
|
72
|
+
const { default: defaultValue } = props;
|
|
73
|
+
const defaultType = resolveType(defaultValue);
|
|
74
|
+
const expectedType = normalizeExpectedType(type, defaultValue);
|
|
75
|
+
if (expectedType && expectedType !== defaultType) {
|
|
76
|
+
throw new TypeError(`Expected "${key}" default value to be of type "${expectedType}", got ${prettyPrint(defaultType)}`);
|
|
77
|
+
}
|
|
78
|
+
insert(result, "default", key, defaultValue);
|
|
79
|
+
}
|
|
80
|
+
arrify(props.alias).forEach((alias) => {
|
|
81
|
+
insert(result, "alias", alias, key);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
return result;
|
|
86
|
+
};
|
|
87
|
+
minimistOptions.exports = buildOptions;
|
|
88
|
+
minimistOptionsExports.default = buildOptions;
|
|
89
|
+
export {
|
|
90
|
+
minimistOptionsExports as default
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/minimist-options/index.js"],"sourcesContent":["'use strict';\n\nconst isPlainObject = require('is-plain-obj');\nconst arrify = require('arrify');\nconst kindOf = require('kind-of');\n\nconst push = (obj, prop, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = [];\n\t}\n\n\tobj[prop].push(value);\n};\n\nconst insert = (obj, prop, key, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = {};\n\t}\n\n\tobj[prop][key] = value;\n};\n\nconst prettyPrint = output => {\n\treturn Array.isArray(output) ?\n\t\t`[${output.map(prettyPrint).join(', ')}]` :\n\t\tkindOf(output) === 'string' ? JSON.stringify(output) : output;\n};\n\nconst resolveType = value => {\n\tif (Array.isArray(value) && value.length > 0) {\n\t\tconst [element] = value;\n\t\treturn `${kindOf(element)}-array`;\n\t}\n\n\treturn kindOf(value);\n};\n\nconst normalizeExpectedType = (type, defaultValue) => {\n\tconst inferredType = type === 'array' ? 'string-array' : type;\n\n\tif (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {\n\t\treturn 'array';\n\t}\n\n\treturn inferredType;\n};\n\nconst passthroughOptions = ['stopEarly', 'unknown', '--'];\nconst primitiveTypes = ['string', 'boolean', 'number'];\nconst arrayTypes = primitiveTypes.map(t => `${t}-array`);\nconst availableTypes = [...primitiveTypes, 'array', ...arrayTypes];\n\nconst buildOptions = options => {\n\toptions = options || {};\n\n\tconst result = {};\n\n\tpassthroughOptions.forEach(key => {\n\t\tif (options[key]) {\n\t\t\tresult[key] = options[key];\n\t\t}\n\t});\n\n\tObject.keys(options).forEach(key => {\n\t\tlet value = options[key];\n\n\t\tif (key === 'arguments') {\n\t\t\tkey = '_';\n\t\t}\n\n\t\t// If short form is used\n\t\t// convert it to long form\n\t\t// e.g. { 'name': 'string' }\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = {type: value};\n\t\t}\n\n\t\tif (isPlainObject(value)) {\n\t\t\tconst props = value;\n\t\t\tconst {type} = props;\n\n\t\t\tif (type) {\n\t\t\t\tif (!availableTypes.includes(type)) {\n\t\t\t\t\tthrow new TypeError(`Expected type of \"${key}\" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);\n\t\t\t\t}\n\n\t\t\t\tif (arrayTypes.includes(type)) {\n\t\t\t\t\tconst [elementType] = type.split('-');\n\t\t\t\t\tpush(result, 'array', {key, [elementType]: true});\n\t\t\t\t} else {\n\t\t\t\t\tpush(result, type, key);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ({}.hasOwnProperty.call(props, 'default')) {\n\t\t\t\tconst {default: defaultValue} = props;\n\t\t\t\tconst defaultType = resolveType(defaultValue);\n\t\t\t\tconst expectedType = normalizeExpectedType(type, defaultValue);\n\n\t\t\t\tif (expectedType && expectedType !== defaultType) {\n\t\t\t\t\tthrow new TypeError(`Expected \"${key}\" default value to be of type \"${expectedType}\", got ${prettyPrint(defaultType)}`);\n\t\t\t\t}\n\n\t\t\t\tinsert(result, 'default', key, defaultValue);\n\t\t\t}\n\n\t\t\tarrify(props.alias).forEach(alias => {\n\t\t\t\tinsert(result, 'alias', alias, key);\n\t\t\t});\n\t\t}\n\t});\n\n\treturn result;\n};\n\nmodule.exports = buildOptions;\nmodule.exports.default = buildOptions;\n"],"names":["require$$0","require$$1","require$$2","minimistOptionsModule","minimistOptions"],"mappings":";;;;AAEA,MAAM,gBAAgBA;AACtB,MAAM,SAASC;AACf,MAAM,SAASC;AAEf,MAAM,OAAO,CAAC,KAAK,MAAM,UAAU;AAClC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,KAAK,KAAK;AACrB;AAEA,MAAM,SAAS,CAAC,KAAK,MAAM,KAAK,UAAU;AACzC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,GAAG,IAAI;AAClB;AAEA,MAAM,cAAc,YAAU;AAC7B,SAAO,MAAM,QAAQ,MAAM,IAC1B,IAAI,OAAO,IAAI,WAAW,EAAE,KAAK,IAAI,OACrC,OAAO,MAAM,MAAM,WAAW,KAAK,UAAU,MAAM,IAAI;AACzD;AAEA,MAAM,cAAc,WAAS;AAC5B,MAAI,MAAM,QAAQ,KAAK,KAAK,MAAM,SAAS,GAAG;AAC7C,UAAM,CAAC,OAAO,IAAI;AAClB,WAAO,GAAG,OAAO,OAAO;AA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K,QAAQ,MAAM,GAAG;AAAA,QACtB;AAAA,MACD;AAED,UAAI,CAAE,EAAC,eAAe,KAAK,OAAO,SAAS,GAAG;AAC7C,cAAM,EAAC,SAAS,aAAY,IAAI;AAChC,cAAM,cAAc,YAAY,YAAY;AAC5C,cAAM,eAAe,sBAAsB,MAAM,YAAY;AAE7D,YAAI,gBAAgB,iBAAiB,aAAa;AACjD,gBAAM,IAAI,UAAU,aAAa,qCAAqC,sBAAsB,YAAY,WAAW,GAAG;AAAA,QACtH;AAED,eAAO,QAAQ,WAAW,KAAK,YAAY;AAAA,MAC3C;AAED,aAAO,MAAM,KAAK,EAAE,QAAQ,WAAS;AACpC,eAAO,QAAQ,SAAS,OAAO,GAAG;AAAA,MACtC,CAAI;AAAA,IACD;AAAA,EACH,CAAE;AAED,SAAO;AACR;AAEAC,gBAAc,UAAG;AACjBC,uBAAA,UAAyB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const index = require("../error-ex/index.cjs");
|
|
3
|
+
const index$1 = require("../json-parse-even-better-errors/index.cjs");
|
|
4
|
+
require("../lines-and-columns/build/index.cjs");
|
|
5
|
+
require("../@babel/code-frame/lib/index.cjs");
|
|
6
|
+
const index$2 = require("../../_virtual/index8.cjs");
|
|
7
|
+
const index$3 = require("../../_virtual/index9.cjs");
|
|
8
|
+
const errorEx = index;
|
|
9
|
+
const fallback = index$1;
|
|
10
|
+
const { default: LinesAndColumns } = index$2.__exports;
|
|
11
|
+
const { codeFrameColumns } = index$3.__exports;
|
|
12
|
+
const JSONError = errorEx("JSONError", {
|
|
13
|
+
fileName: errorEx.append("in %s"),
|
|
14
|
+
codeFrame: errorEx.append("\n\n%s\n")
|
|
15
|
+
});
|
|
16
|
+
const parseJson = (string, reviver, filename) => {
|
|
17
|
+
if (typeof reviver === "string") {
|
|
18
|
+
filename = reviver;
|
|
19
|
+
reviver = null;
|
|
20
|
+
}
|
|
21
|
+
try {
|
|
22
|
+
try {
|
|
23
|
+
return JSON.parse(string, reviver);
|
|
24
|
+
} catch (error) {
|
|
25
|
+
fallback(string, reviver);
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
28
|
+
} catch (error) {
|
|
29
|
+
error.message = error.message.replace(/\n/g, "");
|
|
30
|
+
const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/);
|
|
31
|
+
const jsonError = new JSONError(error);
|
|
32
|
+
if (filename) {
|
|
33
|
+
jsonError.fileName = filename;
|
|
34
|
+
}
|
|
35
|
+
if (indexMatch && indexMatch.length > 0) {
|
|
36
|
+
const lines = new LinesAndColumns(string);
|
|
37
|
+
const index2 = Number(indexMatch[1]);
|
|
38
|
+
const location = lines.locationForIndex(index2);
|
|
39
|
+
const codeFrame = codeFrameColumns(
|
|
40
|
+
string,
|
|
41
|
+
{ start: { line: location.line + 1, column: location.column + 1 } },
|
|
42
|
+
{ highlightCode: true }
|
|
43
|
+
);
|
|
44
|
+
jsonError.codeFrame = codeFrame;
|
|
45
|
+
}
|
|
46
|
+
throw jsonError;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
parseJson.JSONError = JSONError;
|
|
50
|
+
var parseJson_1 = parseJson;
|
|
51
|
+
module.exports = parseJson_1;
|
|
52
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/parse-json/index.js"],"sourcesContent":["'use strict';\nconst errorEx = require('error-ex');\nconst fallback = require('json-parse-even-better-errors');\nconst {default: LinesAndColumns} = require('lines-and-columns');\nconst {codeFrameColumns} = require('@babel/code-frame');\n\nconst JSONError = errorEx('JSONError', {\n\tfileName: errorEx.append('in %s'),\n\tcodeFrame: errorEx.append('\\n\\n%s\\n')\n});\n\nconst parseJson = (string, reviver, filename) => {\n\tif (typeof reviver === 'string') {\n\t\tfilename = reviver;\n\t\treviver = null;\n\t}\n\n\ttry {\n\t\ttry {\n\t\t\treturn JSON.parse(string, reviver);\n\t\t} catch (error) {\n\t\t\tfallback(string, reviver);\n\t\t\tthrow error;\n\t\t}\n\t} catch (error) {\n\t\terror.message = error.message.replace(/\\n/g, '');\n\t\tconst indexMatch = error.message.match(/in JSON at position (\\d+) while parsing/);\n\n\t\tconst jsonError = new JSONError(error);\n\t\tif (filename) {\n\t\t\tjsonError.fileName = filename;\n\t\t}\n\n\t\tif (indexMatch && indexMatch.length > 0) {\n\t\t\tconst lines = new LinesAndColumns(string);\n\t\t\tconst index = Number(indexMatch[1]);\n\t\t\tconst location = lines.locationForIndex(index);\n\n\t\t\tconst codeFrame = codeFrameColumns(\n\t\t\t\tstring,\n\t\t\t\t{start: {line: location.line + 1, column: location.column + 1}},\n\t\t\t\t{highlightCode: true}\n\t\t\t);\n\n\t\t\tjsonError.codeFrame = codeFrame;\n\t\t}\n\n\t\tthrow jsonError;\n\t}\n};\n\nparseJson.JSONError = JSONError;\n\nmodule.exports = parseJson;\n"],"names":["require$$0","require$$1","require$$2","require$$3","index"],"mappings":";;;;;;;AACA,MAAM,UAAUA;AAChB,MAAM,WAAWC;AACjB,MAAM,EAAC,SAAS,gBAAe,IAAIC;AACnC,MAAM,EAAC,iBAAgB,IAAIC;AAE3B,MAAM,YAAY,QAAQ,aAAa;AAAA,EACtC,UAAU,QAAQ,OAAO,OAAO;AAAA,EAChC,WAAW,QAAQ,OAAO,UAAU;AACrC,CAAC;AAED,MAAM,YAAY,CAAC,QAAQ,SAAS,aAAa;AAChD,MAAI,OAAO,YAAY,UAAU;AAChC,eAAW;AACX,cAAU;AAAA,EACV;AAED,MAAI;AACH,QAAI;AACH,aAAO,KAAK,MAAM,QAAQ,OAAO;AAAA,IACjC,SAAQ,OAAP;AACD,eAAS,QAAQ,OAAO;AACxB,YAAM;AAAA,IACN;AAAA,EACD,SAAQ,OAAP;AACD,UAAM,UAAU,MAAM,QAAQ,QAAQ,OAAO,EAAE;AAC/C,UAAM,aAAa,MAAM,QAAQ,MAAM,yCAAyC;AAEhF,UAAM,YAAY,IAAI,UAAU,KAAK;AACrC,QAAI,UAAU;AACb,gBAAU,WAAW;AAAA,IACrB;AAED,QAAI,cAAc,WAAW,SAAS,GAAG;AACxC,YAAM,QAAQ,IAAI,gBAAgB,MAAM;AACxC,YAAMC,SAAQ,OAAO,WAAW,CAAC,CAAC;AAClC,YAAM,WAAW,MAAM,iBAAiBA,MAAK;AAE7C,YAAM,YAAY;AAAA,QACjB;AAAA,QACA,EAAC,OAAO,EAAC,MAAM,SAAS,OAAO,GAAG,QAAQ,SAAS,SAAS,EAAC,EAAC;AAAA,QAC9D,EAAC,eAAe,KAAI;AAAA,MACxB;AAEG,gBAAU,YAAY;AAAA,IACtB;AAED,UAAM;AAAA,EACN;AACF;AAEA,UAAU,YAAY;AAEtB,IAAA,cAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import errorEx_1 from "../error-ex/index.js";
|
|
2
|
+
import jsonParseEvenBetterErrors from "../json-parse-even-better-errors/index.js";
|
|
3
|
+
import "../lines-and-columns/build/index.js";
|
|
4
|
+
import "../@babel/code-frame/lib/index.js";
|
|
5
|
+
import { __exports as build } from "../../_virtual/index8.js";
|
|
6
|
+
import { __exports as lib } from "../../_virtual/index9.js";
|
|
7
|
+
const errorEx = errorEx_1;
|
|
8
|
+
const fallback = jsonParseEvenBetterErrors;
|
|
9
|
+
const { default: LinesAndColumns } = build;
|
|
10
|
+
const { codeFrameColumns } = lib;
|
|
11
|
+
const JSONError = errorEx("JSONError", {
|
|
12
|
+
fileName: errorEx.append("in %s"),
|
|
13
|
+
codeFrame: errorEx.append("\n\n%s\n")
|
|
14
|
+
});
|
|
15
|
+
const parseJson = (string, reviver, filename) => {
|
|
16
|
+
if (typeof reviver === "string") {
|
|
17
|
+
filename = reviver;
|
|
18
|
+
reviver = null;
|
|
19
|
+
}
|
|
20
|
+
try {
|
|
21
|
+
try {
|
|
22
|
+
return JSON.parse(string, reviver);
|
|
23
|
+
} catch (error) {
|
|
24
|
+
fallback(string, reviver);
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
} catch (error) {
|
|
28
|
+
error.message = error.message.replace(/\n/g, "");
|
|
29
|
+
const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/);
|
|
30
|
+
const jsonError = new JSONError(error);
|
|
31
|
+
if (filename) {
|
|
32
|
+
jsonError.fileName = filename;
|
|
33
|
+
}
|
|
34
|
+
if (indexMatch && indexMatch.length > 0) {
|
|
35
|
+
const lines = new LinesAndColumns(string);
|
|
36
|
+
const index = Number(indexMatch[1]);
|
|
37
|
+
const location = lines.locationForIndex(index);
|
|
38
|
+
const codeFrame = codeFrameColumns(
|
|
39
|
+
string,
|
|
40
|
+
{ start: { line: location.line + 1, column: location.column + 1 } },
|
|
41
|
+
{ highlightCode: true }
|
|
42
|
+
);
|
|
43
|
+
jsonError.codeFrame = codeFrame;
|
|
44
|
+
}
|
|
45
|
+
throw jsonError;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
parseJson.JSONError = JSONError;
|
|
49
|
+
var parseJson_1 = parseJson;
|
|
50
|
+
export {
|
|
51
|
+
parseJson_1 as default
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=index.js.map
|