@slicemachine/init 1.1.19 → 2.0.0
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 +5 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.cjs +13 -0
- package/dist/_virtual/index12.cjs.map +1 -0
- package/dist/_virtual/index12.js +14 -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 +13 -0
- package/dist/_virtual/index14.cjs.map +1 -0
- package/dist/_virtual/index14.js +14 -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 +5 -0
- package/dist/_virtual/index16.cjs.map +1 -0
- package/dist/_virtual/index16.js +5 -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 +5 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +5 -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 +13 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +14 -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,159 @@
|
|
|
1
|
+
const maybeJoin = (...args) => args.every((arg) => arg) ? args.join("") : "";
|
|
2
|
+
const maybeEncode = (arg) => arg ? encodeURIComponent(arg) : "";
|
|
3
|
+
const defaults = {
|
|
4
|
+
sshtemplate: ({ domain, user, project, committish }) => `git@${domain}:${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
5
|
+
sshurltemplate: ({ domain, user, project, committish }) => `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
6
|
+
browsetemplate: ({ domain, user, project, committish, treepath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}`,
|
|
7
|
+
browsefiletemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || "master")}/${path}${maybeJoin("#", hashformat(fragment || ""))}`,
|
|
8
|
+
docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}#readme`,
|
|
9
|
+
httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
10
|
+
filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/raw/${maybeEncode(committish) || "master"}/${path}`,
|
|
11
|
+
shortcuttemplate: ({ type, user, project, committish }) => `${type}:${user}/${project}${maybeJoin("#", committish)}`,
|
|
12
|
+
pathtemplate: ({ user, project, committish }) => `${user}/${project}${maybeJoin("#", committish)}`,
|
|
13
|
+
bugstemplate: ({ domain, user, project }) => `https://${domain}/${user}/${project}/issues`,
|
|
14
|
+
hashformat: formatHashFragment
|
|
15
|
+
};
|
|
16
|
+
const gitHosts = {};
|
|
17
|
+
gitHosts.github = Object.assign({}, defaults, {
|
|
18
|
+
// First two are insecure and generally shouldn't be used any more, but
|
|
19
|
+
// they are still supported.
|
|
20
|
+
protocols: ["git:", "http:", "git+ssh:", "git+https:", "ssh:", "https:"],
|
|
21
|
+
domain: "github.com",
|
|
22
|
+
treepath: "tree",
|
|
23
|
+
filetemplate: ({ auth, user, project, committish, path }) => `https://${maybeJoin(auth, "@")}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish) || "master"}/${path}`,
|
|
24
|
+
gittemplate: ({ auth, domain, user, project, committish }) => `git://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
25
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://codeload.${domain}/${user}/${project}/tar.gz/${maybeEncode(committish) || "master"}`,
|
|
26
|
+
extract: (url) => {
|
|
27
|
+
let [, user, project, type, committish] = url.pathname.split("/", 5);
|
|
28
|
+
if (type && type !== "tree") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (!type) {
|
|
32
|
+
committish = url.hash.slice(1);
|
|
33
|
+
}
|
|
34
|
+
if (project && project.endsWith(".git")) {
|
|
35
|
+
project = project.slice(0, -4);
|
|
36
|
+
}
|
|
37
|
+
if (!user || !project) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
return { user, project, committish };
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
gitHosts.bitbucket = Object.assign({}, defaults, {
|
|
44
|
+
protocols: ["git+ssh:", "git+https:", "ssh:", "https:"],
|
|
45
|
+
domain: "bitbucket.org",
|
|
46
|
+
treepath: "src",
|
|
47
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/get/${maybeEncode(committish) || "master"}.tar.gz`,
|
|
48
|
+
extract: (url) => {
|
|
49
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
50
|
+
if (["get"].includes(aux)) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (project && project.endsWith(".git")) {
|
|
54
|
+
project = project.slice(0, -4);
|
|
55
|
+
}
|
|
56
|
+
if (!user || !project) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
gitHosts.gitlab = Object.assign({}, defaults, {
|
|
63
|
+
protocols: ["git+ssh:", "git+https:", "ssh:", "https:"],
|
|
64
|
+
domain: "gitlab.com",
|
|
65
|
+
treepath: "tree",
|
|
66
|
+
httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
67
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish) || "master"}`,
|
|
68
|
+
extract: (url) => {
|
|
69
|
+
const path = url.pathname.slice(1);
|
|
70
|
+
if (path.includes("/-/") || path.includes("/archive.tar.gz")) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
const segments = path.split("/");
|
|
74
|
+
let project = segments.pop();
|
|
75
|
+
if (project.endsWith(".git")) {
|
|
76
|
+
project = project.slice(0, -4);
|
|
77
|
+
}
|
|
78
|
+
const user = segments.join("/");
|
|
79
|
+
if (!user || !project) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
gitHosts.gist = Object.assign({}, defaults, {
|
|
86
|
+
protocols: ["git:", "git+ssh:", "git+https:", "ssh:", "https:"],
|
|
87
|
+
domain: "gist.github.com",
|
|
88
|
+
sshtemplate: ({ domain, project, committish }) => `git@${domain}:${project}.git${maybeJoin("#", committish)}`,
|
|
89
|
+
sshurltemplate: ({ domain, project, committish }) => `git+ssh://git@${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
90
|
+
browsetemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
|
|
91
|
+
browsefiletemplate: ({ domain, project, committish, path, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path))}`,
|
|
92
|
+
docstemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
|
|
93
|
+
httpstemplate: ({ domain, project, committish }) => `git+https://${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
94
|
+
filetemplate: ({ user, project, committish, path }) => `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin("/", maybeEncode(committish))}/${path}`,
|
|
95
|
+
shortcuttemplate: ({ type, project, committish }) => `${type}:${project}${maybeJoin("#", committish)}`,
|
|
96
|
+
pathtemplate: ({ project, committish }) => `${project}${maybeJoin("#", committish)}`,
|
|
97
|
+
bugstemplate: ({ domain, project }) => `https://${domain}/${project}`,
|
|
98
|
+
gittemplate: ({ domain, project, committish }) => `git://${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
99
|
+
tarballtemplate: ({ project, committish }) => `https://codeload.github.com/gist/${project}/tar.gz/${maybeEncode(committish) || "master"}`,
|
|
100
|
+
extract: (url) => {
|
|
101
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
102
|
+
if (aux === "raw") {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
if (!project) {
|
|
106
|
+
if (!user) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
project = user;
|
|
110
|
+
user = null;
|
|
111
|
+
}
|
|
112
|
+
if (project.endsWith(".git")) {
|
|
113
|
+
project = project.slice(0, -4);
|
|
114
|
+
}
|
|
115
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
116
|
+
},
|
|
117
|
+
hashformat: function(fragment) {
|
|
118
|
+
return fragment && "file-" + formatHashFragment(fragment);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
gitHosts.sourcehut = Object.assign({}, defaults, {
|
|
122
|
+
protocols: ["git+ssh:", "https:"],
|
|
123
|
+
domain: "git.sr.ht",
|
|
124
|
+
treepath: "tree",
|
|
125
|
+
browsefiletemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || "main")}/${path}${maybeJoin("#", hashformat(fragment || ""))}`,
|
|
126
|
+
filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || "main"}/${path}`,
|
|
127
|
+
httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
128
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || "main"}.tar.gz`,
|
|
129
|
+
bugstemplate: ({ domain, user, project }) => `https://todo.sr.ht/${user}/${project}`,
|
|
130
|
+
docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}#readme`,
|
|
131
|
+
extract: (url) => {
|
|
132
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
133
|
+
if (["archive"].includes(aux)) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
if (project && project.endsWith(".git")) {
|
|
137
|
+
project = project.slice(0, -4);
|
|
138
|
+
}
|
|
139
|
+
if (!user || !project) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
const names = Object.keys(gitHosts);
|
|
146
|
+
gitHosts.byShortcut = {};
|
|
147
|
+
gitHosts.byDomain = {};
|
|
148
|
+
for (const name of names) {
|
|
149
|
+
gitHosts.byShortcut[`${name}:`] = name;
|
|
150
|
+
gitHosts.byDomain[gitHosts[name].domain] = name;
|
|
151
|
+
}
|
|
152
|
+
function formatHashFragment(fragment) {
|
|
153
|
+
return fragment.toLowerCase().replace(/^\W+|\/|\W+$/g, "").replace(/\W+/g, "-");
|
|
154
|
+
}
|
|
155
|
+
var gitHostInfo = gitHosts;
|
|
156
|
+
export {
|
|
157
|
+
gitHostInfo as default
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=git-host-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-host-info.js","sources":["../../../../../../../../../node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info/git-host-info.js"],"sourcesContent":["'use strict'\nconst maybeJoin = (...args) => args.every(arg => arg) ? args.join('') : ''\nconst maybeEncode = (arg) => arg ? encodeURIComponent(arg) : ''\n\nconst defaults = {\n sshtemplate: ({ domain, user, project, committish }) => `git@${domain}:${user}/${project}.git${maybeJoin('#', committish)}`,\n sshurltemplate: ({ domain, user, project, committish }) => `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n browsetemplate: ({ domain, user, project, committish, treepath }) => `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}`,\n browsefiletemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || 'master')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`,\n docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}#readme`,\n httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/raw/${maybeEncode(committish) || 'master'}/${path}`,\n shortcuttemplate: ({ type, user, project, committish }) => `${type}:${user}/${project}${maybeJoin('#', committish)}`,\n pathtemplate: ({ user, project, committish }) => `${user}/${project}${maybeJoin('#', committish)}`,\n bugstemplate: ({ domain, user, project }) => `https://${domain}/${user}/${project}/issues`,\n hashformat: formatHashFragment\n}\n\nconst gitHosts = {}\ngitHosts.github = Object.assign({}, defaults, {\n // First two are insecure and generally shouldn't be used any more, but\n // they are still supported.\n protocols: ['git:', 'http:', 'git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'github.com',\n treepath: 'tree',\n filetemplate: ({ auth, user, project, committish, path }) => `https://${maybeJoin(auth, '@')}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish) || 'master'}/${path}`,\n gittemplate: ({ auth, domain, user, project, committish }) => `git://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) => `https://codeload.${domain}/${user}/${project}/tar.gz/${maybeEncode(committish) || 'master'}`,\n extract: (url) => {\n let [, user, project, type, committish] = url.pathname.split('/', 5)\n if (type && type !== 'tree') {\n return\n }\n\n if (!type) {\n committish = url.hash.slice(1)\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish }\n }\n})\n\ngitHosts.bitbucket = Object.assign({}, defaults, {\n protocols: ['git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'bitbucket.org',\n treepath: 'src',\n tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/get/${maybeEncode(committish) || 'master'}.tar.gz`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n if (['get'].includes(aux)) {\n return\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n }\n})\n\ngitHosts.gitlab = Object.assign({}, defaults, {\n protocols: ['git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'gitlab.com',\n treepath: 'tree',\n httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish) || 'master'}`,\n extract: (url) => {\n const path = url.pathname.slice(1)\n if (path.includes('/-/') || path.includes('/archive.tar.gz')) {\n return\n }\n\n const segments = path.split('/')\n let project = segments.pop()\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n const user = segments.join('/')\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n }\n})\n\ngitHosts.gist = Object.assign({}, defaults, {\n protocols: ['git:', 'git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'gist.github.com',\n sshtemplate: ({ domain, project, committish }) => `git@${domain}:${project}.git${maybeJoin('#', committish)}`,\n sshurltemplate: ({ domain, project, committish }) => `git+ssh://git@${domain}/${project}.git${maybeJoin('#', committish)}`,\n browsetemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}`,\n browsefiletemplate: ({ domain, project, committish, path, hashformat }) => `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}${maybeJoin('#', hashformat(path))}`,\n docstemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}`,\n httpstemplate: ({ domain, project, committish }) => `git+https://${domain}/${project}.git${maybeJoin('#', committish)}`,\n filetemplate: ({ user, project, committish, path }) => `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin('/', maybeEncode(committish))}/${path}`,\n shortcuttemplate: ({ type, project, committish }) => `${type}:${project}${maybeJoin('#', committish)}`,\n pathtemplate: ({ project, committish }) => `${project}${maybeJoin('#', committish)}`,\n bugstemplate: ({ domain, project }) => `https://${domain}/${project}`,\n gittemplate: ({ domain, project, committish }) => `git://${domain}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ project, committish }) => `https://codeload.github.com/gist/${project}/tar.gz/${maybeEncode(committish) || 'master'}`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n if (aux === 'raw') {\n return\n }\n\n if (!project) {\n if (!user) {\n return\n }\n\n project = user\n user = null\n }\n\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n return { user, project, committish: url.hash.slice(1) }\n },\n hashformat: function (fragment) {\n return fragment && 'file-' + formatHashFragment(fragment)\n }\n})\n\ngitHosts.sourcehut = Object.assign({}, defaults, {\n protocols: ['git+ssh:', 'https:'],\n domain: 'git.sr.ht',\n treepath: 'tree',\n browsefiletemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || 'main')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`,\n filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || 'main'}/${path}`,\n httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || 'main'}.tar.gz`,\n bugstemplate: ({ domain, user, project }) => `https://todo.sr.ht/${user}/${project}`,\n docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}#readme`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n\n // tarball url\n if (['archive'].includes(aux)) {\n return\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n }\n})\n\nconst names = Object.keys(gitHosts)\ngitHosts.byShortcut = {}\ngitHosts.byDomain = {}\nfor (const name of names) {\n gitHosts.byShortcut[`${name}:`] = name\n gitHosts.byDomain[gitHosts[name].domain] = name\n}\n\nfunction formatHashFragment (fragment) {\n return fragment.toLowerCase().replace(/^\\W+|\\/|\\W+$/g, '').replace(/\\W+/g, '-')\n}\n\nmodule.exports = gitHosts\n"],"names":[],"mappings":"AACA,MAAM,YAAY,IAAI,SAAS,KAAK,MAAM,SAAO,GAAG,IAAI,KAAK,KAAK,EAAE,IAAI;AACxE,MAAM,cAAc,CAAC,QAAQ,MAAM,mBAAmB,GAAG,IAAI;AAE7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,mBAAmB,YAAY,UAAU,KAAK;AAAA,EACvI,cAAc,CAAC,EAAE,QAAQ,MAAM,QAAO,MAAO,sBAAsB,QAAQ;AAAA,EAC3E,cAAc,CAAC,EAAE,QAAQ,MAAM,SAAS,UAAU,iBAAiB,WAAW,UAAU,QAAQ,UAAU,UAAU,KAAK,UAAU,KAAK,YAAY,UAAU,CAAC;AAAA,EAC/J,SAAS,CAAC,QAAQ;AAChB,QAAI,CAAG,EAAA,MAAM,SAAS,GAAG,IAAI,IAAI,SAAS,MAAM,KAAK,CAAC;AAGtD,QAAI,CAAC,SAAS,EAAE,SAAS,GAAG,GAAG;AAC7B;AAAA,IACD;AAED,QAAI,WAAW,QAAQ,SAAS,MAAM,GAAG;AACvC,gBAAU,QAAQ,MAAM,GAAG,EAAE;AAAA,IAC9B;AAED,QAAI,CAAC,QAAQ,CAAC,SAAS;AACrB;AAAA,IACD;AAED,WAAO,EAAE,MAAM,SAAS,YAAY,IAAI,KAAK,MAAM,CAAC,EAAG;AAAA,EACxD;AACH,CAAC;AAED,MAAM,QAAQ,OAAO,KAAK,QAAQ;AAClC,SAAS,aAAa,CAAE;AACxB,SAAS,WAAW,CAAE;AACtB,WAAW,QAAQ,OAAO;AACxB,WAAS,WAAW,GAAG,OAAO,IAAI;AAClC,WAAS,SAAS,SAAS,IAAI,EAAE,MAAM,IAAI;AAC7C;AAEA,SAAS,mBAAoB,UAAU;AACrC,SAAO,SAAS,YAAa,EAAC,QAAQ,iBAAiB,EAAE,EAAE,QAAQ,QAAQ,GAAG;AAChF;AAEA,IAAA,cAAiB;","x_google_ignoreList":[0]}
|
package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const gitHostInfo = require("./git-host-info.cjs");
|
|
3
|
+
const gitHosts = gitHostInfo;
|
|
4
|
+
class GitHost {
|
|
5
|
+
constructor(type, user, auth, project, committish, defaultRepresentation, opts = {}) {
|
|
6
|
+
Object.assign(this, gitHosts[type]);
|
|
7
|
+
this.type = type;
|
|
8
|
+
this.user = user;
|
|
9
|
+
this.auth = auth;
|
|
10
|
+
this.project = project;
|
|
11
|
+
this.committish = committish;
|
|
12
|
+
this.default = defaultRepresentation;
|
|
13
|
+
this.opts = opts;
|
|
14
|
+
}
|
|
15
|
+
hash() {
|
|
16
|
+
return this.committish ? `#${this.committish}` : "";
|
|
17
|
+
}
|
|
18
|
+
ssh(opts) {
|
|
19
|
+
return this._fill(this.sshtemplate, opts);
|
|
20
|
+
}
|
|
21
|
+
_fill(template, opts) {
|
|
22
|
+
if (typeof template === "function") {
|
|
23
|
+
const options = { ...this, ...this.opts, ...opts };
|
|
24
|
+
if (!options.path) {
|
|
25
|
+
options.path = "";
|
|
26
|
+
}
|
|
27
|
+
if (options.path.startsWith("/")) {
|
|
28
|
+
options.path = options.path.slice(1);
|
|
29
|
+
}
|
|
30
|
+
if (options.noCommittish) {
|
|
31
|
+
options.committish = null;
|
|
32
|
+
}
|
|
33
|
+
const result = template(options);
|
|
34
|
+
return options.noGitPlus && result.startsWith("git+") ? result.slice(4) : result;
|
|
35
|
+
}
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
sshurl(opts) {
|
|
39
|
+
return this._fill(this.sshurltemplate, opts);
|
|
40
|
+
}
|
|
41
|
+
browse(path, fragment, opts) {
|
|
42
|
+
if (typeof path !== "string") {
|
|
43
|
+
return this._fill(this.browsetemplate, path);
|
|
44
|
+
}
|
|
45
|
+
if (typeof fragment !== "string") {
|
|
46
|
+
opts = fragment;
|
|
47
|
+
fragment = null;
|
|
48
|
+
}
|
|
49
|
+
return this._fill(this.browsefiletemplate, { ...opts, fragment, path });
|
|
50
|
+
}
|
|
51
|
+
docs(opts) {
|
|
52
|
+
return this._fill(this.docstemplate, opts);
|
|
53
|
+
}
|
|
54
|
+
bugs(opts) {
|
|
55
|
+
return this._fill(this.bugstemplate, opts);
|
|
56
|
+
}
|
|
57
|
+
https(opts) {
|
|
58
|
+
return this._fill(this.httpstemplate, opts);
|
|
59
|
+
}
|
|
60
|
+
git(opts) {
|
|
61
|
+
return this._fill(this.gittemplate, opts);
|
|
62
|
+
}
|
|
63
|
+
shortcut(opts) {
|
|
64
|
+
return this._fill(this.shortcuttemplate, opts);
|
|
65
|
+
}
|
|
66
|
+
path(opts) {
|
|
67
|
+
return this._fill(this.pathtemplate, opts);
|
|
68
|
+
}
|
|
69
|
+
tarball(opts) {
|
|
70
|
+
return this._fill(this.tarballtemplate, { ...opts, noCommittish: false });
|
|
71
|
+
}
|
|
72
|
+
file(path, opts) {
|
|
73
|
+
return this._fill(this.filetemplate, { ...opts, path });
|
|
74
|
+
}
|
|
75
|
+
getDefaultRepresentation() {
|
|
76
|
+
return this.default;
|
|
77
|
+
}
|
|
78
|
+
toString(opts) {
|
|
79
|
+
if (this.default && typeof this[this.default] === "function") {
|
|
80
|
+
return this[this.default](opts);
|
|
81
|
+
}
|
|
82
|
+
return this.sshurl(opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
var gitHost = GitHost;
|
|
86
|
+
module.exports = gitHost;
|
|
87
|
+
//# sourceMappingURL=git-host.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-host.cjs","sources":["../../../../../../../../../node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info/git-host.js"],"sourcesContent":["'use strict'\nconst gitHosts = require('./git-host-info.js')\n\nclass GitHost {\n constructor (type, user, auth, project, committish, defaultRepresentation, opts = {}) {\n Object.assign(this, gitHosts[type])\n this.type = type\n this.user = user\n this.auth = auth\n this.project = project\n this.committish = committish\n this.default = defaultRepresentation\n this.opts = opts\n }\n\n hash () {\n return this.committish ? `#${this.committish}` : ''\n }\n\n ssh (opts) {\n return this._fill(this.sshtemplate, opts)\n }\n\n _fill (template, opts) {\n if (typeof template === 'function') {\n const options = { ...this, ...this.opts, ...opts }\n\n // the path should always be set so we don't end up with 'undefined' in urls\n if (!options.path) {\n options.path = ''\n }\n\n // template functions will insert the leading slash themselves\n if (options.path.startsWith('/')) {\n options.path = options.path.slice(1)\n }\n\n if (options.noCommittish) {\n options.committish = null\n }\n\n const result = template(options)\n return options.noGitPlus && result.startsWith('git+') ? result.slice(4) : result\n }\n\n return null\n }\n\n sshurl (opts) {\n return this._fill(this.sshurltemplate, opts)\n }\n\n browse (path, fragment, opts) {\n // not a string, treat path as opts\n if (typeof path !== 'string') {\n return this._fill(this.browsetemplate, path)\n }\n\n if (typeof fragment !== 'string') {\n opts = fragment\n fragment = null\n }\n return this._fill(this.browsefiletemplate, { ...opts, fragment, path })\n }\n\n docs (opts) {\n return this._fill(this.docstemplate, opts)\n }\n\n bugs (opts) {\n return this._fill(this.bugstemplate, opts)\n }\n\n https (opts) {\n return this._fill(this.httpstemplate, opts)\n }\n\n git (opts) {\n return this._fill(this.gittemplate, opts)\n }\n\n shortcut (opts) {\n return this._fill(this.shortcuttemplate, opts)\n }\n\n path (opts) {\n return this._fill(this.pathtemplate, opts)\n }\n\n tarball (opts) {\n return this._fill(this.tarballtemplate, { ...opts, noCommittish: false })\n }\n\n file (path, opts) {\n return this._fill(this.filetemplate, { ...opts, path })\n }\n\n getDefaultRepresentation () {\n return this.default\n }\n\n toString (opts) {\n if (this.default && typeof this[this.default] === 'function') {\n return this[this.default](opts)\n }\n\n return this.sshurl(opts)\n }\n}\nmodule.exports = GitHost\n"],"names":["require$$0"],"mappings":";;AACA,MAAM,WAAWA;AAEjB,MAAM,QAAQ;AAAA,EACZ,YAAa,MAAM,MAAM,MAAM,SAAS,YAAY,uBAAuB,OAAO,IAAI;AACpF,WAAO,OAAO,MAAM,SAAS,IAAI,CAAC;AAClC,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,UAAU;AACf,SAAK,aAAa;AAClB,SAAK,UAAU;AACf,SAAK,OAAO;AAAA,EACb;AAAA,EAED,OAAQ;AACN,WAAO,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,KAAK,aAAa,IAAI;AAAA,EACzC;AAAA,EAED,SAAU,MAAM;AACd,WAAO,KAAK,MAAM,KAAK,kBAAkB,IAAI;AAAA,EAC9C;AAAA,EAED,KAAM,MAAM;AACV,WAAO,KAAK,MAAM,KAAK,cAAc,IAAI;AAAA,EAC1C;AAAA,EAED,QAAS,MAAM;AACb,WAAO,KAAK,MAAM,KAAK,iBAAiB,EAAE,GAAG,MAAM,cAAc,OAAO;AAAA,EACzE;AAAA,EAED,KAAM,MAAM,MAAM;AAChB,WAAO,KAAK,MAAM,KAAK,cAAc,EAAE,GAAG,MAAM,MAAM;AAAA,EACvD;AAAA,EAED,2BAA4B;AAC1B,WAAO,KAAK;AAAA,EACb;AAAA,EAED,SAAU,MAAM;AACd,QAAI,KAAK,WAAW,OAAO,KAAK,KAAK,OAAO,MAAM,YAAY;AAC5D,aAAO,KAAK,KAAK,OAAO,EAAE,IAAI;AAAA,IAC/B;AAED,WAAO,KAAK,OAAO,IAAI;AAAA,EACxB;AACH;AACA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import gitHostInfo from "./git-host-info.js";
|
|
2
|
+
const gitHosts = gitHostInfo;
|
|
3
|
+
class GitHost {
|
|
4
|
+
constructor(type, user, auth, project, committish, defaultRepresentation, opts = {}) {
|
|
5
|
+
Object.assign(this, gitHosts[type]);
|
|
6
|
+
this.type = type;
|
|
7
|
+
this.user = user;
|
|
8
|
+
this.auth = auth;
|
|
9
|
+
this.project = project;
|
|
10
|
+
this.committish = committish;
|
|
11
|
+
this.default = defaultRepresentation;
|
|
12
|
+
this.opts = opts;
|
|
13
|
+
}
|
|
14
|
+
hash() {
|
|
15
|
+
return this.committish ? `#${this.committish}` : "";
|
|
16
|
+
}
|
|
17
|
+
ssh(opts) {
|
|
18
|
+
return this._fill(this.sshtemplate, opts);
|
|
19
|
+
}
|
|
20
|
+
_fill(template, opts) {
|
|
21
|
+
if (typeof template === "function") {
|
|
22
|
+
const options = { ...this, ...this.opts, ...opts };
|
|
23
|
+
if (!options.path) {
|
|
24
|
+
options.path = "";
|
|
25
|
+
}
|
|
26
|
+
if (options.path.startsWith("/")) {
|
|
27
|
+
options.path = options.path.slice(1);
|
|
28
|
+
}
|
|
29
|
+
if (options.noCommittish) {
|
|
30
|
+
options.committish = null;
|
|
31
|
+
}
|
|
32
|
+
const result = template(options);
|
|
33
|
+
return options.noGitPlus && result.startsWith("git+") ? result.slice(4) : result;
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
sshurl(opts) {
|
|
38
|
+
return this._fill(this.sshurltemplate, opts);
|
|
39
|
+
}
|
|
40
|
+
browse(path, fragment, opts) {
|
|
41
|
+
if (typeof path !== "string") {
|
|
42
|
+
return this._fill(this.browsetemplate, path);
|
|
43
|
+
}
|
|
44
|
+
if (typeof fragment !== "string") {
|
|
45
|
+
opts = fragment;
|
|
46
|
+
fragment = null;
|
|
47
|
+
}
|
|
48
|
+
return this._fill(this.browsefiletemplate, { ...opts, fragment, path });
|
|
49
|
+
}
|
|
50
|
+
docs(opts) {
|
|
51
|
+
return this._fill(this.docstemplate, opts);
|
|
52
|
+
}
|
|
53
|
+
bugs(opts) {
|
|
54
|
+
return this._fill(this.bugstemplate, opts);
|
|
55
|
+
}
|
|
56
|
+
https(opts) {
|
|
57
|
+
return this._fill(this.httpstemplate, opts);
|
|
58
|
+
}
|
|
59
|
+
git(opts) {
|
|
60
|
+
return this._fill(this.gittemplate, opts);
|
|
61
|
+
}
|
|
62
|
+
shortcut(opts) {
|
|
63
|
+
return this._fill(this.shortcuttemplate, opts);
|
|
64
|
+
}
|
|
65
|
+
path(opts) {
|
|
66
|
+
return this._fill(this.pathtemplate, opts);
|
|
67
|
+
}
|
|
68
|
+
tarball(opts) {
|
|
69
|
+
return this._fill(this.tarballtemplate, { ...opts, noCommittish: false });
|
|
70
|
+
}
|
|
71
|
+
file(path, opts) {
|
|
72
|
+
return this._fill(this.filetemplate, { ...opts, path });
|
|
73
|
+
}
|
|
74
|
+
getDefaultRepresentation() {
|
|
75
|
+
return this.default;
|
|
76
|
+
}
|
|
77
|
+
toString(opts) {
|
|
78
|
+
if (this.default && typeof this[this.default] === "function") {
|
|
79
|
+
return this[this.default](opts);
|
|
80
|
+
}
|
|
81
|
+
return this.sshurl(opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
var gitHost = GitHost;
|
|
85
|
+
export {
|
|
86
|
+
gitHost as default
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=git-host.js.map
|
package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-host.js","sources":["../../../../../../../../../node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info/git-host.js"],"sourcesContent":["'use strict'\nconst gitHosts = require('./git-host-info.js')\n\nclass GitHost {\n constructor (type, user, auth, project, committish, defaultRepresentation, opts = {}) {\n Object.assign(this, gitHosts[type])\n this.type = type\n this.user = user\n this.auth = auth\n this.project = project\n this.committish = committish\n this.default = defaultRepresentation\n this.opts = opts\n }\n\n hash () {\n return this.committish ? `#${this.committish}` : ''\n }\n\n ssh (opts) {\n return this._fill(this.sshtemplate, opts)\n }\n\n _fill (template, opts) {\n if (typeof template === 'function') {\n const options = { ...this, ...this.opts, ...opts }\n\n // the path should always be set so we don't end up with 'undefined' in urls\n if (!options.path) {\n options.path = ''\n }\n\n // template functions will insert the leading slash themselves\n if (options.path.startsWith('/')) {\n options.path = options.path.slice(1)\n }\n\n if (options.noCommittish) {\n options.committish = null\n }\n\n const result = template(options)\n return options.noGitPlus && result.startsWith('git+') ? result.slice(4) : result\n }\n\n return null\n }\n\n sshurl (opts) {\n return this._fill(this.sshurltemplate, opts)\n }\n\n browse (path, fragment, opts) {\n // not a string, treat path as opts\n if (typeof path !== 'string') {\n return this._fill(this.browsetemplate, path)\n }\n\n if (typeof fragment !== 'string') {\n opts = fragment\n fragment = null\n }\n return this._fill(this.browsefiletemplate, { ...opts, fragment, path })\n }\n\n docs (opts) {\n return this._fill(this.docstemplate, opts)\n }\n\n bugs (opts) {\n return this._fill(this.bugstemplate, opts)\n }\n\n https (opts) {\n return this._fill(this.httpstemplate, opts)\n }\n\n git (opts) {\n return this._fill(this.gittemplate, opts)\n }\n\n shortcut (opts) {\n return this._fill(this.shortcuttemplate, opts)\n }\n\n path (opts) {\n return this._fill(this.pathtemplate, opts)\n }\n\n tarball (opts) {\n return this._fill(this.tarballtemplate, { ...opts, noCommittish: false })\n }\n\n file (path, opts) {\n return this._fill(this.filetemplate, { ...opts, path })\n }\n\n getDefaultRepresentation () {\n return this.default\n }\n\n toString (opts) {\n if (this.default && typeof this[this.default] === 'function') {\n return this[this.default](opts)\n }\n\n return this.sshurl(opts)\n }\n}\nmodule.exports = GitHost\n"],"names":["require$$0"],"mappings":";AACA,MAAM,WAAWA;AAEjB,MAAM,QAAQ;AAAA,EACZ,YAAa,MAAM,MAAM,MAAM,SAAS,YAAY,uBAAuB,OAAO,IAAI;AACpF,WAAO,OAAO,MAAM,SAAS,IAAI,CAAC;AAClC,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,UAAU;AACf,SAAK,aAAa;AAClB,SAAK,UAAU;AACf,SAAK,OAAO;AAAA,EACb;AAAA,EAED,OAAQ;AACN,WAAO,KAAK,aAAa,IAAI,KAAK,eAAe;AAAA,EAClD;AAAA,EAED,IAAK,MAAM;AACT,WAAO,KAAK,MAAM,KAAK,aAAa,IAAI;AAAA,EACzC;AAAA,EAED,MAAO,UAAU,MAAM;AACrB,QAAI,OAAO,aAAa,YAAY;AAClC,YAAM,UAAU,EAAE,GAAG,MAAM,GAAG,KAAK,MAAM,GAAG,KAAM;AAGlD,UAAI,CAAC,QAAQ,MAAM;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O;AAAA,EACzE;AAAA,EAED,KAAM,MAAM,MAAM;AAChB,WAAO,KAAK,MAAM,KAAK,cAAc,EAAE,GAAG,MAAM,MAAM;AAAA,EACvD;AAAA,EAED,2BAA4B;AAC1B,WAAO,KAAK;AAAA,EACb;AAAA,EAED,SAAU,MAAM;AACd,QAAI,KAAK,WAAW,OAAO,KAAK,KAAK,OAAO,MAAM,YAAY;AAC5D,aAAO,KAAK,KAAK,OAAO,EAAE,IAAI;AAAA,IAC/B;AAED,WAAO,KAAK,OAAO,IAAI;AAAA,EACxB;AACH;AACA,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const index = require("../../../../../../_virtual/index12.cjs");
|
|
3
|
+
const require$$0 = require("url");
|
|
4
|
+
const gitHostInfo = require("./git-host-info.cjs");
|
|
5
|
+
const gitHost = require("./git-host.cjs");
|
|
6
|
+
const index$1 = require("../lru-cache/index.cjs");
|
|
7
|
+
(function(module2) {
|
|
8
|
+
const url = require$$0;
|
|
9
|
+
const gitHosts = gitHostInfo;
|
|
10
|
+
const GitHost = module2.exports = gitHost;
|
|
11
|
+
const LRU = index$1;
|
|
12
|
+
const cache = new LRU({ max: 1e3 });
|
|
13
|
+
const protocolToRepresentationMap = {
|
|
14
|
+
"git+ssh:": "sshurl",
|
|
15
|
+
"git+https:": "https",
|
|
16
|
+
"ssh:": "sshurl",
|
|
17
|
+
"git:": "git"
|
|
18
|
+
};
|
|
19
|
+
function protocolToRepresentation(protocol) {
|
|
20
|
+
return protocolToRepresentationMap[protocol] || protocol.slice(0, -1);
|
|
21
|
+
}
|
|
22
|
+
const authProtocols = {
|
|
23
|
+
"git:": true,
|
|
24
|
+
"https:": true,
|
|
25
|
+
"git+https:": true,
|
|
26
|
+
"http:": true,
|
|
27
|
+
"git+http:": true
|
|
28
|
+
};
|
|
29
|
+
const knownProtocols = Object.keys(gitHosts.byShortcut).concat(["http:", "https:", "git:", "git+ssh:", "git+https:", "ssh:"]);
|
|
30
|
+
module2.exports.fromUrl = function(giturl, opts) {
|
|
31
|
+
if (typeof giturl !== "string") {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const key = giturl + JSON.stringify(opts || {});
|
|
35
|
+
if (!cache.has(key)) {
|
|
36
|
+
cache.set(key, fromUrl(giturl, opts));
|
|
37
|
+
}
|
|
38
|
+
return cache.get(key);
|
|
39
|
+
};
|
|
40
|
+
function fromUrl(giturl, opts) {
|
|
41
|
+
if (!giturl) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const url2 = isGitHubShorthand(giturl) ? "github:" + giturl : correctProtocol(giturl);
|
|
45
|
+
const parsed = parseGitUrl(url2);
|
|
46
|
+
if (!parsed) {
|
|
47
|
+
return parsed;
|
|
48
|
+
}
|
|
49
|
+
const gitHostShortcut = gitHosts.byShortcut[parsed.protocol];
|
|
50
|
+
const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith("www.") ? parsed.hostname.slice(4) : parsed.hostname];
|
|
51
|
+
const gitHostName = gitHostShortcut || gitHostDomain;
|
|
52
|
+
if (!gitHostName) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const gitHostInfo2 = gitHosts[gitHostShortcut || gitHostDomain];
|
|
56
|
+
let auth = null;
|
|
57
|
+
if (authProtocols[parsed.protocol] && (parsed.username || parsed.password)) {
|
|
58
|
+
auth = `${parsed.username}${parsed.password ? ":" + parsed.password : ""}`;
|
|
59
|
+
}
|
|
60
|
+
let committish = null;
|
|
61
|
+
let user = null;
|
|
62
|
+
let project = null;
|
|
63
|
+
let defaultRepresentation = null;
|
|
64
|
+
try {
|
|
65
|
+
if (gitHostShortcut) {
|
|
66
|
+
let pathname = parsed.pathname.startsWith("/") ? parsed.pathname.slice(1) : parsed.pathname;
|
|
67
|
+
const firstAt = pathname.indexOf("@");
|
|
68
|
+
if (firstAt > -1) {
|
|
69
|
+
pathname = pathname.slice(firstAt + 1);
|
|
70
|
+
}
|
|
71
|
+
const lastSlash = pathname.lastIndexOf("/");
|
|
72
|
+
if (lastSlash > -1) {
|
|
73
|
+
user = decodeURIComponent(pathname.slice(0, lastSlash));
|
|
74
|
+
if (!user) {
|
|
75
|
+
user = null;
|
|
76
|
+
}
|
|
77
|
+
project = decodeURIComponent(pathname.slice(lastSlash + 1));
|
|
78
|
+
} else {
|
|
79
|
+
project = decodeURIComponent(pathname);
|
|
80
|
+
}
|
|
81
|
+
if (project.endsWith(".git")) {
|
|
82
|
+
project = project.slice(0, -4);
|
|
83
|
+
}
|
|
84
|
+
if (parsed.hash) {
|
|
85
|
+
committish = decodeURIComponent(parsed.hash.slice(1));
|
|
86
|
+
}
|
|
87
|
+
defaultRepresentation = "shortcut";
|
|
88
|
+
} else {
|
|
89
|
+
if (!gitHostInfo2.protocols.includes(parsed.protocol)) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const segments = gitHostInfo2.extract(parsed);
|
|
93
|
+
if (!segments) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
user = segments.user && decodeURIComponent(segments.user);
|
|
97
|
+
project = decodeURIComponent(segments.project);
|
|
98
|
+
committish = decodeURIComponent(segments.committish);
|
|
99
|
+
defaultRepresentation = protocolToRepresentation(parsed.protocol);
|
|
100
|
+
}
|
|
101
|
+
} catch (err) {
|
|
102
|
+
if (err instanceof URIError) {
|
|
103
|
+
return;
|
|
104
|
+
} else {
|
|
105
|
+
throw err;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts);
|
|
109
|
+
}
|
|
110
|
+
const correctProtocol = (arg) => {
|
|
111
|
+
const firstColon = arg.indexOf(":");
|
|
112
|
+
const proto = arg.slice(0, firstColon + 1);
|
|
113
|
+
if (knownProtocols.includes(proto)) {
|
|
114
|
+
return arg;
|
|
115
|
+
}
|
|
116
|
+
const firstAt = arg.indexOf("@");
|
|
117
|
+
if (firstAt > -1) {
|
|
118
|
+
if (firstAt > firstColon) {
|
|
119
|
+
return `git+ssh://${arg}`;
|
|
120
|
+
} else {
|
|
121
|
+
return arg;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
const doubleSlash = arg.indexOf("//");
|
|
125
|
+
if (doubleSlash === firstColon + 1) {
|
|
126
|
+
return arg;
|
|
127
|
+
}
|
|
128
|
+
return arg.slice(0, firstColon + 1) + "//" + arg.slice(firstColon + 1);
|
|
129
|
+
};
|
|
130
|
+
const isGitHubShorthand = (arg) => {
|
|
131
|
+
const firstHash = arg.indexOf("#");
|
|
132
|
+
const firstSlash = arg.indexOf("/");
|
|
133
|
+
const secondSlash = arg.indexOf("/", firstSlash + 1);
|
|
134
|
+
const firstColon = arg.indexOf(":");
|
|
135
|
+
const firstSpace = /\s/.exec(arg);
|
|
136
|
+
const firstAt = arg.indexOf("@");
|
|
137
|
+
const spaceOnlyAfterHash = !firstSpace || firstHash > -1 && firstSpace.index > firstHash;
|
|
138
|
+
const atOnlyAfterHash = firstAt === -1 || firstHash > -1 && firstAt > firstHash;
|
|
139
|
+
const colonOnlyAfterHash = firstColon === -1 || firstHash > -1 && firstColon > firstHash;
|
|
140
|
+
const secondSlashOnlyAfterHash = secondSlash === -1 || firstHash > -1 && secondSlash > firstHash;
|
|
141
|
+
const hasSlash = firstSlash > 0;
|
|
142
|
+
const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== "/" : !arg.endsWith("/");
|
|
143
|
+
const doesNotStartWithDot = !arg.startsWith(".");
|
|
144
|
+
return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash && doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash && secondSlashOnlyAfterHash;
|
|
145
|
+
};
|
|
146
|
+
const correctUrl = (giturl) => {
|
|
147
|
+
const firstAt = giturl.indexOf("@");
|
|
148
|
+
const lastHash = giturl.lastIndexOf("#");
|
|
149
|
+
let firstColon = giturl.indexOf(":");
|
|
150
|
+
let lastColon = giturl.lastIndexOf(":", lastHash > -1 ? lastHash : Infinity);
|
|
151
|
+
let corrected;
|
|
152
|
+
if (lastColon > firstAt) {
|
|
153
|
+
corrected = giturl.slice(0, lastColon) + "/" + giturl.slice(lastColon + 1);
|
|
154
|
+
firstColon = corrected.indexOf(":");
|
|
155
|
+
lastColon = corrected.lastIndexOf(":");
|
|
156
|
+
}
|
|
157
|
+
if (firstColon === -1 && giturl.indexOf("//") === -1) {
|
|
158
|
+
corrected = `git+ssh://${corrected}`;
|
|
159
|
+
}
|
|
160
|
+
return corrected;
|
|
161
|
+
};
|
|
162
|
+
const parseGitUrl = (giturl) => {
|
|
163
|
+
let result;
|
|
164
|
+
try {
|
|
165
|
+
result = new url.URL(giturl);
|
|
166
|
+
} catch (err) {
|
|
167
|
+
}
|
|
168
|
+
if (result) {
|
|
169
|
+
return result;
|
|
170
|
+
}
|
|
171
|
+
const correctedUrl = correctUrl(giturl);
|
|
172
|
+
try {
|
|
173
|
+
result = new url.URL(correctedUrl);
|
|
174
|
+
} catch (err) {
|
|
175
|
+
}
|
|
176
|
+
return result;
|
|
177
|
+
};
|
|
178
|
+
})(index.__module);
|
|
179
|
+
//# sourceMappingURL=index.cjs.map
|
package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info/index.js"],"sourcesContent":["'use strict'\nconst url = require('url')\nconst gitHosts = require('./git-host-info.js')\nconst GitHost = module.exports = require('./git-host.js')\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst protocolToRepresentationMap = {\n 'git+ssh:': 'sshurl',\n 'git+https:': 'https',\n 'ssh:': 'sshurl',\n 'git:': 'git'\n}\n\nfunction protocolToRepresentation (protocol) {\n return protocolToRepresentationMap[protocol] || protocol.slice(0, -1)\n}\n\nconst authProtocols = {\n 'git:': true,\n 'https:': true,\n 'git+https:': true,\n 'http:': true,\n 'git+http:': true\n}\n\nconst knownProtocols = Object.keys(gitHosts.byShortcut).concat(['http:', 'https:', 'git:', 'git+ssh:', 'git+https:', 'ssh:'])\n\nmodule.exports.fromUrl = function (giturl, opts) {\n if (typeof giturl !== 'string') {\n return\n }\n\n const key = giturl + JSON.stringify(opts || {})\n\n if (!cache.has(key)) {\n cache.set(key, fromUrl(giturl, opts))\n }\n\n return cache.get(key)\n}\n\nfunction fromUrl (giturl, opts) {\n if (!giturl) {\n return\n }\n\n const url = isGitHubShorthand(giturl) ? 'github:' + giturl : correctProtocol(giturl)\n const parsed = parseGitUrl(url)\n if (!parsed) {\n return parsed\n }\n\n const gitHostShortcut = gitHosts.byShortcut[parsed.protocol]\n const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith('www.') ? parsed.hostname.slice(4) : parsed.hostname]\n const gitHostName = gitHostShortcut || gitHostDomain\n if (!gitHostName) {\n return\n }\n\n const gitHostInfo = gitHosts[gitHostShortcut || gitHostDomain]\n let auth = null\n if (authProtocols[parsed.protocol] && (parsed.username || parsed.password)) {\n auth = `${parsed.username}${parsed.password ? ':' + parsed.password : ''}`\n }\n\n let committish = null\n let user = null\n let project = null\n let defaultRepresentation = null\n\n try {\n if (gitHostShortcut) {\n let pathname = parsed.pathname.startsWith('/') ? parsed.pathname.slice(1) : parsed.pathname\n const firstAt = pathname.indexOf('@')\n // we ignore auth for shortcuts, so just trim it out\n if (firstAt > -1) {\n pathname = pathname.slice(firstAt + 1)\n }\n\n const lastSlash = pathname.lastIndexOf('/')\n if (lastSlash > -1) {\n user = decodeURIComponent(pathname.slice(0, lastSlash))\n // we want nulls only, never empty strings\n if (!user) {\n user = null\n }\n project = decodeURIComponent(pathname.slice(lastSlash + 1))\n } else {\n project = decodeURIComponent(pathname)\n }\n\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (parsed.hash) {\n committish = decodeURIComponent(parsed.hash.slice(1))\n }\n\n defaultRepresentation = 'shortcut'\n } else {\n if (!gitHostInfo.protocols.includes(parsed.protocol)) {\n return\n }\n\n const segments = gitHostInfo.extract(parsed)\n if (!segments) {\n return\n }\n\n user = segments.user && decodeURIComponent(segments.user)\n project = decodeURIComponent(segments.project)\n committish = decodeURIComponent(segments.committish)\n defaultRepresentation = protocolToRepresentation(parsed.protocol)\n }\n } catch (err) {\n /* istanbul ignore else */\n if (err instanceof URIError) {\n return\n } else {\n throw err\n }\n }\n\n return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts)\n}\n\n// accepts input like git:github.com:user/repo and inserts the // after the first :\nconst correctProtocol = (arg) => {\n const firstColon = arg.indexOf(':')\n const proto = arg.slice(0, firstColon + 1)\n if (knownProtocols.includes(proto)) {\n return arg\n }\n\n const firstAt = arg.indexOf('@')\n if (firstAt > -1) {\n if (firstAt > firstColon) {\n return `git+ssh://${arg}`\n } else {\n return arg\n }\n }\n\n const doubleSlash = arg.indexOf('//')\n if (doubleSlash === firstColon + 1) {\n return arg\n }\n\n return arg.slice(0, firstColon + 1) + '//' + arg.slice(firstColon + 1)\n}\n\n// look for github shorthand inputs, such as npm/cli\nconst isGitHubShorthand = (arg) => {\n // it cannot contain whitespace before the first #\n // it cannot start with a / because that's probably an absolute file path\n // but it must include a slash since repos are username/repository\n // it cannot start with a . because that's probably a relative file path\n // it cannot start with an @ because that's a scoped package if it passes the other tests\n // it cannot contain a : before a # because that tells us that there's a protocol\n // a second / may not exist before a #\n const firstHash = arg.indexOf('#')\n const firstSlash = arg.indexOf('/')\n const secondSlash = arg.indexOf('/', firstSlash + 1)\n const firstColon = arg.indexOf(':')\n const firstSpace = /\\s/.exec(arg)\n const firstAt = arg.indexOf('@')\n\n const spaceOnlyAfterHash = !firstSpace || (firstHash > -1 && firstSpace.index > firstHash)\n const atOnlyAfterHash = firstAt === -1 || (firstHash > -1 && firstAt > firstHash)\n const colonOnlyAfterHash = firstColon === -1 || (firstHash > -1 && firstColon > firstHash)\n const secondSlashOnlyAfterHash = secondSlash === -1 || (firstHash > -1 && secondSlash > firstHash)\n const hasSlash = firstSlash > 0\n // if a # is found, what we really want to know is that the character immediately before # is not a /\n const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== '/' : !arg.endsWith('/')\n const doesNotStartWithDot = !arg.startsWith('.')\n\n return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash && doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash && secondSlashOnlyAfterHash\n}\n\n// attempt to correct an scp style url so that it will parse with `new URL()`\nconst correctUrl = (giturl) => {\n const firstAt = giturl.indexOf('@')\n const lastHash = giturl.lastIndexOf('#')\n let firstColon = giturl.indexOf(':')\n let lastColon = giturl.lastIndexOf(':', lastHash > -1 ? lastHash : Infinity)\n\n let corrected\n if (lastColon > firstAt) {\n // the last : comes after the first @ (or there is no @)\n // like it would in:\n // proto://hostname.com:user/repo\n // username@hostname.com:user/repo\n // :password@hostname.com:user/repo\n // username:password@hostname.com:user/repo\n // proto://username@hostname.com:user/repo\n // proto://:password@hostname.com:user/repo\n // proto://username:password@hostname.com:user/repo\n // then we replace the last : with a / to create a valid path\n corrected = giturl.slice(0, lastColon) + '/' + giturl.slice(lastColon + 1)\n // // and we find our new : positions\n firstColon = corrected.indexOf(':')\n lastColon = corrected.lastIndexOf(':')\n }\n\n if (firstColon === -1 && giturl.indexOf('//') === -1) {\n // we have no : at all\n // as it would be in:\n // username@hostname.com/user/repo\n // then we prepend a protocol\n corrected = `git+ssh://${corrected}`\n }\n\n return corrected\n}\n\n// try to parse the url as its given to us, if that throws\n// then we try to clean the url and parse that result instead\n// THIS FUNCTION SHOULD NEVER THROW\nconst parseGitUrl = (giturl) => {\n let result\n try {\n result = new url.URL(giturl)\n } catch (err) {}\n\n if (result) {\n return result\n }\n\n const correctedUrl = correctUrl(giturl)\n try {\n result = new url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