@slicemachine/init 1.1.19 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -32
- package/bin/slicemachine-init.js +3 -0
- package/dist/SliceMachineInitProcess.cjs +749 -0
- package/dist/SliceMachineInitProcess.cjs.map +1 -0
- package/dist/SliceMachineInitProcess.d.ts +48 -0
- package/dist/SliceMachineInitProcess.js +731 -0
- package/dist/SliceMachineInitProcess.js.map +1 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs +24 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js +23 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs +17 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js +18 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs +35 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.js +36 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +116 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +117 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs +13 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js +14 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +64 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +65 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +30 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs +22 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js +23 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs +10 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js +11 -0
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs +22 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js +21 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +35 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +36 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs +39 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js +40 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs +25 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js +26 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs +20 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.js +19 -0
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +45 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +46 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs +34 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js +33 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs +40 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js +39 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs +18 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js +17 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +108 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +107 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js +32 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs +15 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js +14 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +66 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +65 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +31 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs.map +1 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +30 -0
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js.map +1 -0
- package/dist/_node_modules/arrify/index.cjs +9 -0
- package/dist/_node_modules/arrify/index.cjs.map +1 -0
- package/dist/_node_modules/arrify/index.js +10 -0
- package/dist/_node_modules/arrify/index.js.map +1 -0
- package/dist/_node_modules/braces/index.cjs +63 -0
- package/dist/_node_modules/braces/index.cjs.map +1 -0
- package/dist/_node_modules/braces/index.js +64 -0
- package/dist/_node_modules/braces/index.js.map +1 -0
- package/dist/_node_modules/braces/lib/compile.cjs +50 -0
- package/dist/_node_modules/braces/lib/compile.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/compile.js +51 -0
- package/dist/_node_modules/braces/lib/compile.js.map +1 -0
- package/dist/_node_modules/braces/lib/constants.cjs +97 -0
- package/dist/_node_modules/braces/lib/constants.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/constants.js +98 -0
- package/dist/_node_modules/braces/lib/constants.js.map +1 -0
- package/dist/_node_modules/braces/lib/expand.cjs +97 -0
- package/dist/_node_modules/braces/lib/expand.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/expand.js +98 -0
- package/dist/_node_modules/braces/lib/expand.js.map +1 -0
- package/dist/_node_modules/braces/lib/parse.cjs +240 -0
- package/dist/_node_modules/braces/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/parse.js +241 -0
- package/dist/_node_modules/braces/lib/parse.js.map +1 -0
- package/dist/_node_modules/braces/lib/stringify.cjs +29 -0
- package/dist/_node_modules/braces/lib/stringify.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/stringify.js +30 -0
- package/dist/_node_modules/braces/lib/stringify.js.map +1 -0
- package/dist/_node_modules/braces/lib/utils.cjs +83 -0
- package/dist/_node_modules/braces/lib/utils.cjs.map +1 -0
- package/dist/_node_modules/braces/lib/utils.js +84 -0
- package/dist/_node_modules/braces/lib/utils.js.map +1 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs +83 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js +84 -0
- package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.cjs +56 -0
- package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.js +57 -0
- package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
- package/dist/_node_modules/decamelize/index.cjs +38 -0
- package/dist/_node_modules/decamelize/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize/index.js +39 -0
- package/dist/_node_modules/decamelize/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs +10 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js +11 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs +13 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js +14 -0
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.cjs +20 -0
- package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.js +21 -0
- package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
- package/dist/_node_modules/dir-glob/index.cjs +63 -0
- package/dist/_node_modules/dir-glob/index.cjs.map +1 -0
- package/dist/_node_modules/dir-glob/index.js +64 -0
- package/dist/_node_modules/dir-glob/index.js.map +1 -0
- package/dist/_node_modules/error-ex/index.cjs +108 -0
- package/dist/_node_modules/error-ex/index.cjs.map +1 -0
- package/dist/_node_modules/error-ex/index.js +109 -0
- package/dist/_node_modules/error-ex/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs +28 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js +29 -0
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/index.cjs +77 -0
- package/dist/_node_modules/fast-glob/out/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/index.js +78 -0
- package/dist/_node_modules/fast-glob/out/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.cjs +15 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.js +16 -0
- package/dist/_node_modules/fast-glob/out/managers/patterns.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +83 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +84 -0
- package/dist/_node_modules/fast-glob/out/managers/tasks.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/async.cjs +29 -0
- package/dist/_node_modules/fast-glob/out/providers/async.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/async.js +28 -0
- package/dist/_node_modules/fast-glob/out/providers/async.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +65 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +64 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +65 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +64 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +19 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +18 -0
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +50 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +49 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs +35 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js +34 -0
- package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.cjs +59 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.js +58 -0
- package/dist/_node_modules/fast-glob/out/providers/provider.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.cjs +35 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.js +34 -0
- package/dist/_node_modules/fast-glob/out/providers/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.cjs +29 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.js +28 -0
- package/dist/_node_modules/fast-glob/out/providers/sync.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +30 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +29 -0
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/async.cjs +41 -0
- package/dist/_node_modules/fast-glob/out/readers/async.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/async.js +40 -0
- package/dist/_node_modules/fast-glob/out/readers/async.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +40 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.js +39 -0
- package/dist/_node_modules/fast-glob/out/readers/reader.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs +60 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.js +59 -0
- package/dist/_node_modules/fast-glob/out/readers/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs +50 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.js +49 -0
- package/dist/_node_modules/fast-glob/out/readers/sync.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/settings.cjs +59 -0
- package/dist/_node_modules/fast-glob/out/settings.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/settings.js +58 -0
- package/dist/_node_modules/fast-glob/out/settings.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/array.cjs +24 -0
- package/dist/_node_modules/fast-glob/out/utils/array.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/array.js +25 -0
- package/dist/_node_modules/fast-glob/out/utils/array.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.cjs +10 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.js +11 -0
- package/dist/_node_modules/fast-glob/out/utils/errno.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.cjs +22 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.js +23 -0
- package/dist/_node_modules/fast-glob/out/utils/fs.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +34 -0
- package/dist/_node_modules/fast-glob/out/utils/index.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/index.js +35 -0
- package/dist/_node_modules/fast-glob/out/utils/index.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/path.cjs +32 -0
- package/dist/_node_modules/fast-glob/out/utils/path.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/path.js +33 -0
- package/dist/_node_modules/fast-glob/out/utils/path.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs +144 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.js +145 -0
- package/dist/_node_modules/fast-glob/out/utils/pattern.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs +21 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.js +22 -0
- package/dist/_node_modules/fast-glob/out/utils/stream.js.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/string.cjs +14 -0
- package/dist/_node_modules/fast-glob/out/utils/string.cjs.map +1 -0
- package/dist/_node_modules/fast-glob/out/utils/string.js +15 -0
- package/dist/_node_modules/fast-glob/out/utils/string.js.map +1 -0
- package/dist/_node_modules/fastq/queue.cjs +239 -0
- package/dist/_node_modules/fastq/queue.cjs.map +1 -0
- package/dist/_node_modules/fastq/queue.js +240 -0
- package/dist/_node_modules/fastq/queue.js.map +1 -0
- package/dist/_node_modules/fill-range/index.cjs +210 -0
- package/dist/_node_modules/fill-range/index.cjs.map +1 -0
- package/dist/_node_modules/fill-range/index.js +211 -0
- package/dist/_node_modules/fill-range/index.js.map +1 -0
- package/dist/_node_modules/function-bind/implementation.cjs +46 -0
- package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
- package/dist/_node_modules/function-bind/implementation.js +47 -0
- package/dist/_node_modules/function-bind/implementation.js.map +1 -0
- package/dist/_node_modules/function-bind/index.cjs +6 -0
- package/dist/_node_modules/function-bind/index.cjs.map +1 -0
- package/dist/_node_modules/function-bind/index.js +7 -0
- package/dist/_node_modules/function-bind/index.js.map +1 -0
- package/dist/_node_modules/hard-rejection/index.cjs +22 -0
- package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
- package/dist/_node_modules/hard-rejection/index.js +23 -0
- package/dist/_node_modules/hard-rejection/index.js.map +1 -0
- package/dist/_node_modules/has/src/index.cjs +6 -0
- package/dist/_node_modules/has/src/index.cjs.map +1 -0
- package/dist/_node_modules/has/src/index.js +7 -0
- package/dist/_node_modules/has/src/index.js.map +1 -0
- package/dist/_node_modules/ignore/index.cjs +370 -0
- package/dist/_node_modules/ignore/index.cjs.map +1 -0
- package/dist/_node_modules/ignore/index.js +371 -0
- package/dist/_node_modules/ignore/index.js.map +1 -0
- package/dist/_node_modules/is-arrayish/index.cjs +9 -0
- package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
- package/dist/_node_modules/is-arrayish/index.js +10 -0
- package/dist/_node_modules/is-arrayish/index.js.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.cjs +487 -0
- package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.js +487 -0
- package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
- package/dist/_node_modules/is-core-module/index.cjs +61 -0
- package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/index.js +62 -0
- package/dist/_node_modules/is-core-module/index.js.map +1 -0
- package/dist/_node_modules/is-extglob/index.cjs +21 -0
- package/dist/_node_modules/is-extglob/index.cjs.map +1 -0
- package/dist/_node_modules/is-extglob/index.js +22 -0
- package/dist/_node_modules/is-extglob/index.js.map +1 -0
- package/dist/_node_modules/is-glob/index.cjs +135 -0
- package/dist/_node_modules/is-glob/index.cjs.map +1 -0
- package/dist/_node_modules/is-glob/index.js +136 -0
- package/dist/_node_modules/is-glob/index.js.map +1 -0
- package/dist/_node_modules/is-number/index.cjs +18 -0
- package/dist/_node_modules/is-number/index.cjs.map +1 -0
- package/dist/_node_modules/is-number/index.js +19 -0
- package/dist/_node_modules/is-number/index.js.map +1 -0
- package/dist/_node_modules/js-tokens/index.cjs +27 -0
- package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/js-tokens/index.js +26 -0
- package/dist/_node_modules/js-tokens/index.js.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs +89 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
- package/dist/_node_modules/kind-of/index.cjs +128 -0
- package/dist/_node_modules/kind-of/index.cjs.map +1 -0
- package/dist/_node_modules/kind-of/index.js +129 -0
- package/dist/_node_modules/kind-of/index.js.map +1 -0
- package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
- package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.cjs.map +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
- package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.js.map +1 -1
- package/dist/_node_modules/map-obj/index.cjs +46 -0
- package/dist/_node_modules/map-obj/index.cjs.map +1 -0
- package/dist/_node_modules/map-obj/index.js +47 -0
- package/dist/_node_modules/map-obj/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.cjs +48 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.js +48 -0
- package/dist/_node_modules/meow/_node_modules/find-up/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs +165 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js +166 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js +91 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +124 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +123 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs +50 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs +34 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.js +35 -0
- package/dist/_node_modules/meow/_node_modules/indent-string/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs +43 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.js +43 -0
- package/dist/_node_modules/meow/_node_modules/locate-path/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs +1014 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.js +1015 -0
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs +23 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +439 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js +57 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +158 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +87 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +179 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +178 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +267 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +19 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +439 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +57 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js +20 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs +17 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js +17 -0
- package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.cjs +8 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.js +9 -0
- package/dist/_node_modules/meow/_node_modules/redent/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs +12 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.js +13 -0
- package/dist/_node_modules/meow/_node_modules/strip-indent/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs +19 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.js +19 -0
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs +366 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.js +367 -0
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.js.map +1 -0
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs.map +1 -1
- package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js.map +1 -1
- package/dist/_node_modules/meow/index.cjs +202 -0
- package/dist/_node_modules/meow/index.cjs.map +1 -0
- package/dist/_node_modules/meow/index.js +203 -0
- package/dist/_node_modules/meow/index.js.map +1 -0
- package/dist/_node_modules/merge2/index.cjs +116 -0
- package/dist/_node_modules/merge2/index.cjs.map +1 -0
- package/dist/_node_modules/merge2/index.js +117 -0
- package/dist/_node_modules/merge2/index.js.map +1 -0
- package/dist/_node_modules/micromatch/index.cjs +164 -0
- package/dist/_node_modules/micromatch/index.cjs.map +1 -0
- package/dist/_node_modules/micromatch/index.js +165 -0
- package/dist/_node_modules/micromatch/index.js.map +1 -0
- package/dist/_node_modules/min-indent/index.cjs +10 -0
- package/dist/_node_modules/min-indent/index.cjs.map +1 -0
- package/dist/_node_modules/min-indent/index.js +11 -0
- package/dist/_node_modules/min-indent/index.js.map +1 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs +8 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js +9 -0
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/minimist-options/index.cjs +91 -0
- package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
- package/dist/_node_modules/minimist-options/index.js +92 -0
- package/dist/_node_modules/minimist-options/index.js.map +1 -0
- package/dist/_node_modules/parse-json/index.cjs +52 -0
- package/dist/_node_modules/parse-json/index.cjs.map +1 -0
- package/dist/_node_modules/parse-json/index.js +53 -0
- package/dist/_node_modules/parse-json/index.js.map +1 -0
- package/dist/_node_modules/path-type/index.cjs +41 -0
- package/dist/_node_modules/path-type/index.cjs.map +1 -0
- package/dist/_node_modules/path-type/index.js +42 -0
- package/dist/_node_modules/path-type/index.js.map +1 -0
- package/dist/_node_modules/picomatch/index.cjs +7 -0
- package/dist/_node_modules/picomatch/index.cjs.map +1 -0
- package/dist/_node_modules/picomatch/index.js +6 -0
- package/dist/_node_modules/picomatch/index.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/constants.cjs +194 -0
- package/dist/_node_modules/picomatch/lib/constants.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/constants.js +195 -0
- package/dist/_node_modules/picomatch/lib/constants.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/parse.cjs +780 -0
- package/dist/_node_modules/picomatch/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/parse.js +781 -0
- package/dist/_node_modules/picomatch/lib/parse.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/picomatch.cjs +146 -0
- package/dist/_node_modules/picomatch/lib/picomatch.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/picomatch.js +147 -0
- package/dist/_node_modules/picomatch/lib/picomatch.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/scan.cjs +332 -0
- package/dist/_node_modules/picomatch/lib/scan.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/scan.js +333 -0
- package/dist/_node_modules/picomatch/lib/scan.js.map +1 -0
- package/dist/_node_modules/picomatch/lib/utils.cjs +64 -0
- package/dist/_node_modules/picomatch/lib/utils.cjs.map +1 -0
- package/dist/_node_modules/picomatch/lib/utils.js +65 -0
- package/dist/_node_modules/picomatch/lib/utils.js.map +1 -0
- package/dist/_node_modules/queue-microtask/index.cjs +9 -0
- package/dist/_node_modules/queue-microtask/index.cjs.map +1 -0
- package/dist/_node_modules/queue-microtask/index.js +10 -0
- package/dist/_node_modules/queue-microtask/index.js.map +1 -0
- package/dist/_node_modules/quick-lru/index.cjs +234 -0
- package/dist/_node_modules/quick-lru/index.cjs.map +1 -0
- package/dist/_node_modules/quick-lru/index.js +235 -0
- package/dist/_node_modules/quick-lru/index.js.map +1 -0
- package/dist/_node_modules/reusify/reusify.cjs +27 -0
- package/dist/_node_modules/reusify/reusify.cjs.map +1 -0
- package/dist/_node_modules/reusify/reusify.js +28 -0
- package/dist/_node_modules/reusify/reusify.js.map +1 -0
- package/dist/_node_modules/run-parallel/index.cjs +52 -0
- package/dist/_node_modules/run-parallel/index.cjs.map +1 -0
- package/dist/_node_modules/run-parallel/index.js +53 -0
- package/dist/_node_modules/run-parallel/index.js.map +1 -0
- package/dist/_node_modules/spdx-correct/index.cjs +333 -0
- package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-correct/index.js +334 -0
- package/dist/_node_modules/spdx-correct/index.js.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs +10 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
- package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs +110 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs +103 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
- package/dist/_node_modules/to-regex-range/index.cjs +215 -0
- package/dist/_node_modules/to-regex-range/index.cjs.map +1 -0
- package/dist/_node_modules/to-regex-range/index.js +216 -0
- package/dist/_node_modules/to-regex-range/index.js.map +1 -0
- package/dist/_node_modules/trim-newlines/index.cjs +29 -0
- package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
- package/dist/_node_modules/trim-newlines/index.js +30 -0
- package/dist/_node_modules/trim-newlines/index.js.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs +70 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
- package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +5 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/array.cjs +5 -0
- package/dist/_virtual/array.cjs.map +1 -0
- package/dist/_virtual/array.js +5 -0
- package/dist/_virtual/array.js.map +1 -0
- package/dist/_virtual/async.cjs +5 -0
- package/dist/_virtual/async.cjs.map +1 -0
- package/dist/_virtual/async.js +5 -0
- package/dist/_virtual/async.js.map +1 -0
- package/dist/_virtual/async2.cjs +5 -0
- package/dist/_virtual/async2.cjs.map +1 -0
- package/dist/_virtual/async2.js +5 -0
- package/dist/_virtual/async2.js.map +1 -0
- package/dist/_virtual/async3.cjs +5 -0
- package/dist/_virtual/async3.cjs.map +1 -0
- package/dist/_virtual/async3.js +5 -0
- package/dist/_virtual/async3.js.map +1 -0
- package/dist/_virtual/async4.cjs +5 -0
- package/dist/_virtual/async4.cjs.map +1 -0
- package/dist/_virtual/async4.js +5 -0
- package/dist/_virtual/async4.js.map +1 -0
- package/dist/_virtual/async5.cjs +5 -0
- package/dist/_virtual/async5.cjs.map +1 -0
- package/dist/_virtual/async5.js +5 -0
- package/dist/_virtual/async5.js.map +1 -0
- package/dist/_virtual/async6.cjs +5 -0
- package/dist/_virtual/async6.cjs.map +1 -0
- package/dist/_virtual/async6.js +5 -0
- package/dist/_virtual/async6.js.map +1 -0
- package/dist/_virtual/common.cjs +5 -0
- package/dist/_virtual/common.cjs.map +1 -0
- package/dist/_virtual/common.js +5 -0
- package/dist/_virtual/common.js.map +1 -0
- package/dist/_virtual/common2.cjs +5 -0
- package/dist/_virtual/common2.cjs.map +1 -0
- package/dist/_virtual/common2.js +5 -0
- package/dist/_virtual/common2.js.map +1 -0
- package/dist/_virtual/constants.cjs +5 -0
- package/dist/_virtual/constants.cjs.map +1 -0
- package/dist/_virtual/constants.js +5 -0
- package/dist/_virtual/constants.js.map +1 -0
- package/dist/_virtual/deep.cjs +5 -0
- package/dist/_virtual/deep.cjs.map +1 -0
- package/dist/_virtual/deep.js +5 -0
- package/dist/_virtual/deep.js.map +1 -0
- package/dist/_virtual/entry.cjs +5 -0
- package/dist/_virtual/entry.cjs.map +1 -0
- package/dist/_virtual/entry.js +5 -0
- package/dist/_virtual/entry.js.map +1 -0
- package/dist/_virtual/entry2.cjs +5 -0
- package/dist/_virtual/entry2.cjs.map +1 -0
- package/dist/_virtual/entry2.js +5 -0
- package/dist/_virtual/entry2.js.map +1 -0
- package/dist/_virtual/errno.cjs +5 -0
- package/dist/_virtual/errno.cjs.map +1 -0
- package/dist/_virtual/errno.js +5 -0
- package/dist/_virtual/errno.js.map +1 -0
- package/dist/_virtual/error.cjs +5 -0
- package/dist/_virtual/error.cjs.map +1 -0
- package/dist/_virtual/error.js +5 -0
- package/dist/_virtual/error.js.map +1 -0
- package/dist/_virtual/fs.cjs +5 -0
- package/dist/_virtual/fs.cjs.map +1 -0
- package/dist/_virtual/fs.js +5 -0
- package/dist/_virtual/fs.js.map +1 -0
- package/dist/_virtual/fs2.cjs +5 -0
- package/dist/_virtual/fs2.cjs.map +1 -0
- package/dist/_virtual/fs2.js +5 -0
- package/dist/_virtual/fs2.js.map +1 -0
- package/dist/_virtual/fs3.cjs +5 -0
- package/dist/_virtual/fs3.cjs.map +1 -0
- package/dist/_virtual/fs3.js +5 -0
- package/dist/_virtual/fs3.js.map +1 -0
- package/dist/_virtual/fs4.cjs +5 -0
- package/dist/_virtual/fs4.cjs.map +1 -0
- package/dist/_virtual/fs4.js +5 -0
- package/dist/_virtual/fs4.js.map +1 -0
- package/dist/_virtual/identifier.cjs +5 -0
- package/dist/_virtual/identifier.cjs.map +1 -0
- package/dist/_virtual/identifier.js +5 -0
- package/dist/_virtual/identifier.js.map +1 -0
- package/dist/_virtual/index.cjs +13 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +14 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.cjs +5 -0
- package/dist/_virtual/index10.cjs.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.cjs +13 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +14 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.cjs +5 -0
- package/dist/_virtual/index12.cjs.map +1 -0
- package/dist/_virtual/index12.js +5 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.cjs +5 -0
- package/dist/_virtual/index13.cjs.map +1 -0
- package/dist/_virtual/index13.js +5 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.cjs +5 -0
- package/dist/_virtual/index14.cjs.map +1 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index15.cjs +5 -0
- package/dist/_virtual/index15.cjs.map +1 -0
- package/dist/_virtual/index15.js +5 -0
- package/dist/_virtual/index15.js.map +1 -0
- package/dist/_virtual/index16.cjs +13 -0
- package/dist/_virtual/index16.cjs.map +1 -0
- package/dist/_virtual/index16.js +14 -0
- package/dist/_virtual/index16.js.map +1 -0
- package/dist/_virtual/index17.cjs +5 -0
- package/dist/_virtual/index17.cjs.map +1 -0
- package/dist/_virtual/index17.js +5 -0
- package/dist/_virtual/index17.js.map +1 -0
- package/dist/_virtual/index18.cjs +5 -0
- package/dist/_virtual/index18.cjs.map +1 -0
- package/dist/_virtual/index18.js +5 -0
- package/dist/_virtual/index18.js.map +1 -0
- package/dist/_virtual/index2.cjs +13 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +14 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +13 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +14 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.cjs +13 -0
- package/dist/_virtual/index4.cjs.map +1 -0
- package/dist/_virtual/index4.js +14 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.cjs +13 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +14 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.cjs +5 -0
- package/dist/_virtual/index6.cjs.map +1 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.cjs +5 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.cjs +5 -0
- package/dist/_virtual/index8.cjs.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.cjs +5 -0
- package/dist/_virtual/index9.cjs.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/keyword.cjs +5 -0
- package/dist/_virtual/keyword.cjs.map +1 -0
- package/dist/_virtual/keyword.js +5 -0
- package/dist/_virtual/keyword.js.map +1 -0
- package/dist/_virtual/matcher.cjs +5 -0
- package/dist/_virtual/matcher.cjs.map +1 -0
- package/dist/_virtual/matcher.js +5 -0
- package/dist/_virtual/matcher.js.map +1 -0
- package/dist/_virtual/partial.cjs +5 -0
- package/dist/_virtual/partial.cjs.map +1 -0
- package/dist/_virtual/partial.js +5 -0
- package/dist/_virtual/partial.js.map +1 -0
- package/dist/_virtual/path.cjs +5 -0
- package/dist/_virtual/path.cjs.map +1 -0
- package/dist/_virtual/path.js +5 -0
- package/dist/_virtual/path.js.map +1 -0
- package/dist/_virtual/pattern.cjs +5 -0
- package/dist/_virtual/pattern.cjs.map +1 -0
- package/dist/_virtual/pattern.js +5 -0
- package/dist/_virtual/pattern.js.map +1 -0
- package/dist/_virtual/patterns.cjs +5 -0
- package/dist/_virtual/patterns.cjs.map +1 -0
- package/dist/_virtual/patterns.js +5 -0
- package/dist/_virtual/patterns.js.map +1 -0
- package/dist/_virtual/provider.cjs +5 -0
- package/dist/_virtual/provider.cjs.map +1 -0
- package/dist/_virtual/provider.js +5 -0
- package/dist/_virtual/provider.js.map +1 -0
- package/dist/_virtual/queue.cjs +13 -0
- package/dist/_virtual/queue.cjs.map +1 -0
- package/dist/_virtual/queue.js +14 -0
- package/dist/_virtual/queue.js.map +1 -0
- package/dist/_virtual/reader.cjs +5 -0
- package/dist/_virtual/reader.cjs.map +1 -0
- package/dist/_virtual/reader.js +5 -0
- package/dist/_virtual/reader.js.map +1 -0
- package/dist/_virtual/reader2.cjs +5 -0
- package/dist/_virtual/reader2.cjs.map +1 -0
- package/dist/_virtual/reader2.js +5 -0
- package/dist/_virtual/reader2.js.map +1 -0
- package/dist/_virtual/settings.cjs +5 -0
- package/dist/_virtual/settings.cjs.map +1 -0
- package/dist/_virtual/settings.js +5 -0
- package/dist/_virtual/settings.js.map +1 -0
- package/dist/_virtual/settings2.cjs +5 -0
- package/dist/_virtual/settings2.cjs.map +1 -0
- package/dist/_virtual/settings2.js +5 -0
- package/dist/_virtual/settings2.js.map +1 -0
- package/dist/_virtual/settings3.cjs +5 -0
- package/dist/_virtual/settings3.cjs.map +1 -0
- package/dist/_virtual/settings3.js +5 -0
- package/dist/_virtual/settings3.js.map +1 -0
- package/dist/_virtual/settings4.cjs +5 -0
- package/dist/_virtual/settings4.cjs.map +1 -0
- package/dist/_virtual/settings4.js +5 -0
- package/dist/_virtual/settings4.js.map +1 -0
- package/dist/_virtual/stream.cjs +5 -0
- package/dist/_virtual/stream.cjs.map +1 -0
- package/dist/_virtual/stream.js +5 -0
- package/dist/_virtual/stream.js.map +1 -0
- package/dist/_virtual/stream2.cjs +5 -0
- package/dist/_virtual/stream2.cjs.map +1 -0
- package/dist/_virtual/stream2.js +5 -0
- package/dist/_virtual/stream2.js.map +1 -0
- package/dist/_virtual/stream3.cjs +5 -0
- package/dist/_virtual/stream3.cjs.map +1 -0
- package/dist/_virtual/stream3.js +5 -0
- package/dist/_virtual/stream3.js.map +1 -0
- package/dist/_virtual/stream4.cjs +5 -0
- package/dist/_virtual/stream4.cjs.map +1 -0
- package/dist/_virtual/stream4.js +5 -0
- package/dist/_virtual/stream4.js.map +1 -0
- package/dist/_virtual/string.cjs +5 -0
- package/dist/_virtual/string.cjs.map +1 -0
- package/dist/_virtual/string.js +5 -0
- package/dist/_virtual/string.js.map +1 -0
- package/dist/_virtual/sync.cjs +5 -0
- package/dist/_virtual/sync.cjs.map +1 -0
- package/dist/_virtual/sync.js +5 -0
- package/dist/_virtual/sync.js.map +1 -0
- package/dist/_virtual/sync2.cjs +5 -0
- package/dist/_virtual/sync2.cjs.map +1 -0
- package/dist/_virtual/sync2.js +5 -0
- package/dist/_virtual/sync2.js.map +1 -0
- package/dist/_virtual/sync3.cjs +5 -0
- package/dist/_virtual/sync3.cjs.map +1 -0
- package/dist/_virtual/sync3.js +5 -0
- package/dist/_virtual/sync3.js.map +1 -0
- package/dist/_virtual/sync4.cjs +5 -0
- package/dist/_virtual/sync4.cjs.map +1 -0
- package/dist/_virtual/sync4.js +5 -0
- package/dist/_virtual/sync4.js.map +1 -0
- package/dist/_virtual/sync5.cjs +5 -0
- package/dist/_virtual/sync5.cjs.map +1 -0
- package/dist/_virtual/sync5.js +5 -0
- package/dist/_virtual/sync5.js.map +1 -0
- package/dist/_virtual/sync6.cjs +5 -0
- package/dist/_virtual/sync6.cjs.map +1 -0
- package/dist/_virtual/sync6.js +5 -0
- package/dist/_virtual/sync6.js.map +1 -0
- package/dist/_virtual/tasks.cjs +5 -0
- package/dist/_virtual/tasks.cjs.map +1 -0
- package/dist/_virtual/tasks.js +5 -0
- package/dist/_virtual/tasks.js.map +1 -0
- package/dist/_virtual/utils.cjs +5 -0
- package/dist/_virtual/utils.cjs.map +1 -0
- package/dist/_virtual/utils.js +5 -0
- package/dist/_virtual/utils.js.map +1 -0
- package/dist/_virtual/utils2.cjs +5 -0
- package/dist/_virtual/utils2.cjs.map +1 -0
- package/dist/_virtual/utils2.js +5 -0
- package/dist/_virtual/utils2.js.map +1 -0
- package/dist/cli.cjs +78 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +77 -0
- package/dist/cli.js.map +1 -0
- package/dist/constants.cjs +7 -0
- package/dist/constants.cjs.map +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +7 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/assertExists.cjs +9 -0
- package/dist/lib/assertExists.cjs.map +1 -0
- package/dist/lib/assertExists.d.ts +1 -0
- package/dist/lib/assertExists.js +9 -0
- package/dist/lib/assertExists.js.map +1 -0
- package/dist/lib/framework.cjs +92 -0
- package/dist/lib/framework.cjs.map +1 -0
- package/dist/lib/framework.d.ts +45 -0
- package/dist/lib/framework.js +92 -0
- package/dist/lib/framework.js.map +1 -0
- package/dist/lib/getExecuteCommand.cjs +8 -0
- package/dist/lib/getExecuteCommand.cjs.map +1 -0
- package/dist/lib/getExecuteCommand.d.ts +5 -0
- package/dist/lib/getExecuteCommand.js +8 -0
- package/dist/lib/getExecuteCommand.js.map +1 -0
- package/dist/lib/getRunScriptCommand.cjs +8 -0
- package/dist/lib/getRunScriptCommand.cjs.map +1 -0
- package/dist/lib/getRunScriptCommand.d.ts +5 -0
- package/dist/lib/getRunScriptCommand.js +8 -0
- package/dist/lib/getRunScriptCommand.js.map +1 -0
- package/dist/lib/listr.cjs +13 -0
- package/dist/lib/listr.cjs.map +1 -0
- package/dist/lib/listr.d.ts +3 -0
- package/dist/lib/listr.js +13 -0
- package/dist/lib/listr.js.map +1 -0
- package/dist/lib/prompt.cjs +15 -0
- package/dist/lib/prompt.cjs.map +1 -0
- package/dist/lib/prompt.d.ts +10 -0
- package/dist/lib/prompt.js +15 -0
- package/dist/lib/prompt.js.map +1 -0
- package/dist/lib/repositoryDomain.cjs +130 -0
- package/dist/lib/repositoryDomain.cjs.map +1 -0
- package/dist/lib/repositoryDomain.d.ts +25 -0
- package/dist/lib/repositoryDomain.js +130 -0
- package/dist/lib/repositoryDomain.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/ignore.cjs +62 -0
- package/dist/packages/init/_node_modules/globby/ignore.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/ignore.js +62 -0
- package/dist/packages/init/_node_modules/globby/ignore.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/index.cjs +137 -0
- package/dist/packages/init/_node_modules/globby/index.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/index.js +137 -0
- package/dist/packages/init/_node_modules/globby/index.js.map +1 -0
- package/dist/packages/init/_node_modules/globby/utilities.cjs +9 -0
- package/dist/packages/init/_node_modules/globby/utilities.cjs.map +1 -0
- package/dist/packages/init/_node_modules/globby/utilities.js +9 -0
- package/dist/packages/init/_node_modules/globby/utilities.js.map +1 -0
- package/dist/packages/init/_node_modules/slash/index.cjs +11 -0
- package/dist/packages/init/_node_modules/slash/index.cjs.map +1 -0
- package/dist/packages/init/_node_modules/slash/index.js +12 -0
- package/dist/packages/init/_node_modules/slash/index.js.map +1 -0
- package/dist/packages/init/package.json.cjs +135 -0
- package/dist/packages/init/package.json.cjs.map +1 -0
- package/dist/packages/init/package.json.js +135 -0
- package/dist/packages/init/package.json.js.map +1 -0
- package/package.json +93 -69
- package/src/SliceMachineInitProcess.ts +1114 -0
- package/src/cli.ts +84 -0
- package/src/constants.ts +3 -0
- package/src/index.ts +5 -129
- package/src/lib/assertExists.ts +9 -0
- package/src/lib/framework.ts +155 -0
- package/src/lib/getExecuteCommand.ts +9 -0
- package/src/lib/getRunScriptCommand.ts +9 -0
- package/src/lib/listr.ts +15 -0
- package/src/lib/prompt.ts +27 -0
- package/src/lib/repositoryDomain.ts +219 -0
- package/.depcheckrc +0 -4
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -24
- package/build/index.js +0 -3388
- package/build/index.js.map +0 -1
- package/dist/__node_modules/lines-and-columns/build/index.cjs +0 -64
- package/dist/__node_modules/lines-and-columns/build/index.js +0 -63
- package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs +0 -275
- package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/core.js +0 -275
- package/dist/packages/init/__node_modules/human-signals/build/src/core.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs +0 -50
- package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/main.js +0 -50
- package/dist/packages/init/__node_modules/human-signals/build/src/main.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs +0 -20
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js +0 -20
- package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs +0 -27
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs.map +0 -1
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.js +0 -27
- package/dist/packages/init/__node_modules/human-signals/build/src/signals.js.map +0 -1
- package/jest.config.js +0 -17
- package/siroc.config.js +0 -19
- package/src/steps/choose-or-create-a-repository.ts +0 -169
- package/src/steps/configure-project.ts +0 -72
- package/src/steps/detect-framework.ts +0 -94
- package/src/steps/display-final-message.ts +0 -31
- package/src/steps/index.ts +0 -10
- package/src/steps/install-lib.ts +0 -116
- package/src/steps/install-required-dependencies.ts +0 -106
- package/src/steps/loginOrBypass.ts +0 -25
- package/src/steps/sendStarterData.ts +0 -31
- package/src/steps/set-version.ts +0 -61
- package/src/steps/starters/custom-types.ts +0 -81
- package/src/steps/starters/documents.ts +0 -95
- package/src/steps/starters/prompts.ts +0 -29
- package/src/steps/starters/s3.ts +0 -70
- package/src/steps/starters/slices.ts +0 -75
- package/src/steps/validate-pkg.ts +0 -14
- package/src/utils/PackageManager.ts +0 -66
- package/src/utils/auth/helpers.ts +0 -168
- package/src/utils/auth/index.ts +0 -63
- package/src/utils/client.ts +0 -89
- package/src/utils/create-repo.ts +0 -37
- package/src/utils/fs.ts +0 -18
- package/src/utils/index.ts +0 -42
- package/src/utils/logs.ts +0 -28
- package/src/utils/noop.ts +0 -3
- package/src/utils/tracker.ts +0 -153
- package/src/utils/validateRepositoryName.ts +0 -44
- package/src/utils/versionCheck.ts +0 -10
- package/tsconfig.json +0 -26
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs +0 -0
- /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { readFile } from "node:fs/promises";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import semver from "semver";
|
|
4
|
+
import { version } from "../packages/init/package.json.js";
|
|
5
|
+
const isPrerelease = semver.prerelease(version) !== null && process.env.NODE_ENV !== "test";
|
|
6
|
+
const DEFAULT_DEV_DEPENDENCIES = {
|
|
7
|
+
"slice-machine-ui": isPrerelease ? "alpha" : "latest"
|
|
8
|
+
};
|
|
9
|
+
const FRAMEWORKS = {
|
|
10
|
+
"nuxt-2": {
|
|
11
|
+
name: "Nuxt 2",
|
|
12
|
+
prismicName: "nuxt-2",
|
|
13
|
+
prismicDocumentation: "https://prismic.dev/init/nuxt-2",
|
|
14
|
+
adapterName: "@slicemachine/adapter-nuxt2",
|
|
15
|
+
compatibility: {
|
|
16
|
+
nuxt: "^2.0.0"
|
|
17
|
+
},
|
|
18
|
+
devDependencies: {
|
|
19
|
+
...DEFAULT_DEV_DEPENDENCIES,
|
|
20
|
+
"@slicemachine/adapter-nuxt2": isPrerelease ? "alpha" : "latest"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"nuxt-3": {
|
|
24
|
+
name: "Nuxt 3",
|
|
25
|
+
prismicName: "nuxt-3",
|
|
26
|
+
prismicDocumentation: "https://prismic.dev/init/nuxt-3",
|
|
27
|
+
adapterName: "@slicemachine/adapter-nuxt",
|
|
28
|
+
compatibility: {
|
|
29
|
+
nuxt: "^3.0.0"
|
|
30
|
+
},
|
|
31
|
+
devDependencies: {
|
|
32
|
+
...DEFAULT_DEV_DEPENDENCIES,
|
|
33
|
+
"@slicemachine/adapter-nuxt": isPrerelease ? "alpha" : "latest"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"next-11-13": {
|
|
37
|
+
name: "Next.js 11-13",
|
|
38
|
+
prismicName: "next-11-13",
|
|
39
|
+
prismicDocumentation: "https://prismic.dev/init/next-11-13",
|
|
40
|
+
adapterName: "@slicemachine/adapter-next",
|
|
41
|
+
compatibility: {
|
|
42
|
+
next: "^11.0.0 || ^12.0.0 || ^13.0.0"
|
|
43
|
+
},
|
|
44
|
+
devDependencies: {
|
|
45
|
+
...DEFAULT_DEV_DEPENDENCIES,
|
|
46
|
+
"@slicemachine/adapter-next": isPrerelease ? "alpha" : "latest"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const UNIVERSAL = {
|
|
51
|
+
name: "universal (no framework)",
|
|
52
|
+
prismicName: "universal",
|
|
53
|
+
prismicDocumentation: "https://prismic.dev/init/universal",
|
|
54
|
+
adapterName: "@slicemachine/adapter-universal",
|
|
55
|
+
compatibility: {},
|
|
56
|
+
devDependencies: {
|
|
57
|
+
...DEFAULT_DEV_DEPENDENCIES,
|
|
58
|
+
"@slicemachine/adapter-universal": isPrerelease ? "alpha" : "latest"
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const detectFramework = async (cwd) => {
|
|
62
|
+
const path = join(cwd, "package.json");
|
|
63
|
+
let allDependencies;
|
|
64
|
+
try {
|
|
65
|
+
const pkg = JSON.parse(await readFile(path, "utf-8"));
|
|
66
|
+
allDependencies = {
|
|
67
|
+
...pkg.dependencies,
|
|
68
|
+
...pkg.devDependencies
|
|
69
|
+
};
|
|
70
|
+
} catch (error) {
|
|
71
|
+
throw new Error(`Failed to read project's \`package.json\` at \`${path}\``, { cause: error });
|
|
72
|
+
}
|
|
73
|
+
return Object.values(FRAMEWORKS).find((framework) => {
|
|
74
|
+
return Object.entries(framework.compatibility).every(([pkg, range]) => {
|
|
75
|
+
if (pkg in allDependencies) {
|
|
76
|
+
try {
|
|
77
|
+
const minimumVersion = semver.minVersion(allDependencies[pkg]);
|
|
78
|
+
return semver.satisfies(minimumVersion, range);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return false;
|
|
84
|
+
});
|
|
85
|
+
}) || UNIVERSAL;
|
|
86
|
+
};
|
|
87
|
+
export {
|
|
88
|
+
FRAMEWORKS,
|
|
89
|
+
UNIVERSAL,
|
|
90
|
+
detectFramework
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=framework.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framework.js","sources":["../../../src/lib/framework.ts"],"sourcesContent":["import { readFile } from \"node:fs/promises\";\nimport { join } from \"node:path\";\n\nimport semver from \"semver\";\n\nimport { version as pkgVersion } from \"../../package.json\";\n\nexport type Framework = {\n\t/**\n\t * Framework's human readable name.\n\t */\n\tname: string;\n\n\t/**\n\t * Framework's name sent to Prismic\n\t */\n\tprismicName: string;\n\n\t/**\n\t * A link to the Prismic documentation for the framework\n\t */\n\tprismicDocumentation: string;\n\n\t/**\n\t * Package name of the adapter responsible for this framework\n\t */\n\tadapterName: string;\n\n\t/**\n\t * A package name/semver range map defining framework compatibility\n\t * requirements.\n\t *\n\t * Project should match all entries to be considered compatible.\n\t */\n\tcompatibility: Record<string, string>;\n\n\t/**\n\t * A package name/semver range map defining development dependencies to be\n\t * installed. Typically Slice Machine and the framework's adapter.\n\t *\n\t * @remarks\n\t * Dependencies required to work with the framework (e.g. `@prismicio/next`\n\t * for Next.js) should not be defined here. Those are to be defined by the\n\t * adapter.\n\t */\n\tdevDependencies: Record<string, string>;\n};\n\nconst isPrerelease =\n\tsemver.prerelease(pkgVersion) !== null && process.env.NODE_ENV !== \"test\";\n\nconst DEFAULT_DEV_DEPENDENCIES: Record<string, string> = {\n\t\"slice-machine-ui\": isPrerelease ? \"alpha\" : \"latest\",\n};\n\n/**\n * Frameworks we support, orders shouldn't matter much but is respected (the\n * higher it is the more priority it has in case multiple matches)\n */\nexport const FRAMEWORKS: Record<string, Framework> = {\n\t\"nuxt-2\": {\n\t\tname: \"Nuxt 2\",\n\t\tprismicName: \"nuxt-2\",\n\t\tprismicDocumentation: \"https://prismic.dev/init/nuxt-2\",\n\t\tadapterName: \"@slicemachine/adapter-nuxt2\",\n\t\tcompatibility: {\n\t\t\tnuxt: \"^2.0.0\",\n\t\t},\n\t\tdevDependencies: {\n\t\t\t...DEFAULT_DEV_DEPENDENCIES,\n\t\t\t\"@slicemachine/adapter-nuxt2\": isPrerelease ? \"alpha\" : \"latest\",\n\t\t},\n\t},\n\t\"nuxt-3\": {\n\t\tname: \"Nuxt 3\",\n\t\tprismicName: \"nuxt-3\",\n\t\tprismicDocumentation: \"https://prismic.dev/init/nuxt-3\",\n\t\tadapterName: \"@slicemachine/adapter-nuxt\",\n\t\tcompatibility: {\n\t\t\tnuxt: \"^3.0.0\",\n\t\t},\n\t\tdevDependencies: {\n\t\t\t...DEFAULT_DEV_DEPENDENCIES,\n\t\t\t\"@slicemachine/adapter-nuxt\": isPrerelease ? \"alpha\" : \"latest\",\n\t\t},\n\t},\n\t\"next-11-13\": {\n\t\tname: \"Next.js 11-13\",\n\t\tprismicName: \"next-11-13\",\n\t\tprismicDocumentation: \"https://prismic.dev/init/next-11-13\",\n\t\tadapterName: \"@slicemachine/adapter-next\",\n\t\tcompatibility: {\n\t\t\tnext: \"^11.0.0 || ^12.0.0 || ^13.0.0\",\n\t\t},\n\t\tdevDependencies: {\n\t\t\t...DEFAULT_DEV_DEPENDENCIES,\n\t\t\t\"@slicemachine/adapter-next\": isPrerelease ? \"alpha\" : \"latest\",\n\t\t},\n\t},\n} as const;\n\n/**\n * Universal package used when framework is not supported.\n */\nexport const UNIVERSAL: Framework = {\n\tname: \"universal (no framework)\",\n\tprismicName: \"universal\",\n\tprismicDocumentation: \"https://prismic.dev/init/universal\",\n\tadapterName: \"@slicemachine/adapter-universal\",\n\tcompatibility: {},\n\tdevDependencies: {\n\t\t...DEFAULT_DEV_DEPENDENCIES,\n\t\t\"@slicemachine/adapter-universal\": isPrerelease ? \"alpha\" : \"latest\",\n\t},\n};\n\nexport const detectFramework = async (cwd: string): Promise<Framework> => {\n\tconst path = join(cwd, \"package.json\");\n\n\tlet allDependencies: Record<string, string>;\n\ttry {\n\t\tconst pkg = JSON.parse(await readFile(path, \"utf-8\"));\n\n\t\tallDependencies = {\n\t\t\t...pkg.dependencies,\n\t\t\t...pkg.devDependencies,\n\t\t};\n\t} catch (error) {\n\t\tthrow new Error(\n\t\t\t`Failed to read project's \\`package.json\\` at \\`${path}\\``,\n\t\t\t{ cause: error },\n\t\t);\n\t}\n\n\treturn (\n\t\tObject.values(FRAMEWORKS).find((framework) => {\n\t\t\treturn Object.entries(framework.compatibility).every(([pkg, range]) => {\n\t\t\t\tif (pkg in allDependencies) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// Determine lowest version possibly in use\n\t\t\t\t\t\tconst minimumVersion = semver.minVersion(allDependencies[pkg]);\n\n\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n\t\t\t\t\t\treturn semver.satisfies(minimumVersion!, range);\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t// We assume unconventional tags, `latest`, `beta`, `dev` matches the framework\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t});\n\t\t}) || UNIVERSAL\n\t);\n};\n"],"names":["pkgVersion"],"mappings":";;;;AAgDA,MAAM,eACL,OAAO,WAAWA,OAAU,MAAM,QAAQ,QAAQ,IAAI,aAAa;AAEpE,MAAM,2BAAmD;AAAA,EACxD,oBAAoB,eAAe,UAAU;;AAOvC,MAAM,aAAwC;AAAA,EACpD,UAAU;AAAA,IACT,MAAM;AAAA,IACN,aAAa;AAAA,IACb,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,eAAe;AAAA,MACd,MAAM;AAAA,IACN;AAAA,IACD,iBAAiB;AAAA,MAChB,GAAG;AAAA,MACH,+BAA+B,eAAe,UAAU;AAAA,IACxD;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,MAAM;AAAA,IACN,aAAa;AAAA,IACb,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,eAAe;AAAA,MACd,MAAM;AAAA,IACN;AAAA,IACD,iBAAiB;AAAA,MAChB,GAAG;AAAA,MACH,8BAA8B,eAAe,UAAU;AAAA,IACvD;AAAA,EACD;AAAA,EACD,cAAc;AAAA,IACb,MAAM;AAAA,IACN,aAAa;AAAA,IACb,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,eAAe;AAAA,MACd,MAAM;AAAA,IACN;AAAA,IACD,iBAAiB;AAAA,MAChB,GAAG;AAAA,MACH,8BAA8B,eAAe,UAAU;AAAA,IACvD;AAAA,EACD;;AAMK,MAAM,YAAuB;AAAA,EACnC,MAAM;AAAA,EACN,aAAa;AAAA,EACb,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,eAAe,CAAE;AAAA,EACjB,iBAAiB;AAAA,IAChB,GAAG;AAAA,IACH,mCAAmC,eAAe,UAAU;AAAA,EAC5D;;AAGW,MAAA,kBAAkB,OAAO,QAAmC;AAClE,QAAA,OAAO,KAAK,KAAK,cAAc;AAEjC,MAAA;AACA,MAAA;AACH,UAAM,MAAM,KAAK,MAAM,MAAM,SAAS,MAAM,OAAO,CAAC;AAElC,sBAAA;AAAA,MACjB,GAAG,IAAI;AAAA,MACP,GAAG,IAAI;AAAA,IAAA;AAAA,WAEA;AACR,UAAM,IAAI,MACT,kDAAkD,UAClD,EAAE,OAAO,OAAO;AAAA,EAEjB;AAED,SACC,OAAO,OAAO,UAAU,EAAE,KAAK,CAAC,cAAa;AACrC,WAAA,OAAO,QAAQ,UAAU,aAAa,EAAE,MAAM,CAAC,CAAC,KAAK,KAAK,MAAK;AACrE,UAAI,OAAO,iBAAiB;AACvB,YAAA;AAEH,gBAAM,iBAAiB,OAAO,WAAW,gBAAgB,GAAG,CAAC;AAGtD,iBAAA,OAAO,UAAU,gBAAiB,KAAK;AAAA,iBACtC;AAED,iBAAA;AAAA,QACP;AAAA,MACD;AAEM,aAAA;AAAA,IAAA,CACP;AAAA,EACD,CAAA,KAAK;AAER;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const ni = require("@antfu/ni");
|
|
4
|
+
const getExecuteCommand = async (args) => {
|
|
5
|
+
return await ni.parseNix(args.agent, [args.script]) || `npx ${args.script}`;
|
|
6
|
+
};
|
|
7
|
+
exports.getExecuteCommand = getExecuteCommand;
|
|
8
|
+
//# sourceMappingURL=getExecuteCommand.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExecuteCommand.cjs","sources":["../../../src/lib/getExecuteCommand.ts"],"sourcesContent":["import { parseNix } from \"@antfu/ni\";\nimport { PackageManager } from \"@slicemachine/manager\";\n\nexport const getExecuteCommand = async (args: {\n\tagent: PackageManager;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNix(args.agent, [args.script])) || `npx ${args.script}`;\n};\n"],"names":["parseNix"],"mappings":";;;AAGa,MAAA,oBAAoB,OAAO,SAGlB;AACb,SAAA,MAAMA,GAAS,SAAA,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,OAAO,KAAK;AACnE;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExecuteCommand.js","sources":["../../../src/lib/getExecuteCommand.ts"],"sourcesContent":["import { parseNix } from \"@antfu/ni\";\nimport { PackageManager } from \"@slicemachine/manager\";\n\nexport const getExecuteCommand = async (args: {\n\tagent: PackageManager;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNix(args.agent, [args.script])) || `npx ${args.script}`;\n};\n"],"names":[],"mappings":";AAGa,MAAA,oBAAoB,OAAO,SAGlB;AACb,SAAA,MAAM,SAAS,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,OAAO,KAAK;AACnE;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const ni = require("@antfu/ni");
|
|
4
|
+
const getRunScriptCommand = async (args) => {
|
|
5
|
+
return await ni.parseNr(args.agent, [args.script]) || `npm run ${args.script}`;
|
|
6
|
+
};
|
|
7
|
+
exports.getRunScriptCommand = getRunScriptCommand;
|
|
8
|
+
//# sourceMappingURL=getRunScriptCommand.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRunScriptCommand.cjs","sources":["../../../src/lib/getRunScriptCommand.ts"],"sourcesContent":["import { parseNr } from \"@antfu/ni\";\nimport { PackageManager } from \"@slicemachine/manager\";\n\nexport const getRunScriptCommand = async (args: {\n\tagent: PackageManager;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNr(args.agent, [args.script])) || `npm run ${args.script}`;\n};\n"],"names":["parseNr"],"mappings":";;;AAGa,MAAA,sBAAsB,OAAO,SAGpB;AACb,SAAA,MAAMA,GAAQ,QAAA,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,WAAW,KAAK;AACtE;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRunScriptCommand.js","sources":["../../../src/lib/getRunScriptCommand.ts"],"sourcesContent":["import { parseNr } from \"@antfu/ni\";\nimport { PackageManager } from \"@slicemachine/manager\";\n\nexport const getRunScriptCommand = async (args: {\n\tagent: PackageManager;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNr(args.agent, [args.script])) || `npm run ${args.script}`;\n};\n"],"names":[],"mappings":";AAGa,MAAA,sBAAsB,OAAO,SAGpB;AACb,SAAA,MAAM,QAAQ,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,WAAW,KAAK;AACtE;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const UpdateRenderer = require("@lihbr/listr-update-renderer");
|
|
4
|
+
const Listr = require("listr");
|
|
5
|
+
const listr = (...[tasks, options]) => {
|
|
6
|
+
return new Listr(tasks, { renderer: UpdateRenderer, ...options });
|
|
7
|
+
};
|
|
8
|
+
const listrRun = async (...[tasks, options]) => {
|
|
9
|
+
return listr(tasks, options).run();
|
|
10
|
+
};
|
|
11
|
+
exports.listr = listr;
|
|
12
|
+
exports.listrRun = listrRun;
|
|
13
|
+
//# sourceMappingURL=listr.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listr.cjs","sources":["../../../src/lib/listr.ts"],"sourcesContent":["// @ts-expect-error - @types package not available\nimport UpdateRenderer from \"@lihbr/listr-update-renderer\";\nimport Listr from \"listr\";\n\ntype ListrArgs = [tasks: Listr.ListrTask[], options?: Listr.ListrOptions];\n\nexport const listr = (...[tasks, options]: ListrArgs): Listr => {\n\treturn new Listr(tasks, { renderer: UpdateRenderer, ...options });\n};\n\nexport const listrRun = async (\n\t...[tasks, options]: ListrArgs\n): Promise<void> => {\n\treturn listr(tasks, options).run();\n};\n"],"names":[],"mappings":";;;;AAMO,MAAM,QAAQ,IAAI,CAAC,OAAO,OAAO,MAAuB;AACvD,SAAA,IAAI,MAAM,OAAO,EAAE,UAAU,gBAAgB,GAAG,SAAS;AACjE;AAEO,MAAM,WAAW,UACpB,CAAC,OAAO,OAAO,MACA;AAClB,SAAO,MAAM,OAAO,OAAO,EAAE,IAAG;AACjC;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import UpdateRenderer from "@lihbr/listr-update-renderer";
|
|
2
|
+
import Listr from "listr";
|
|
3
|
+
const listr = (...[tasks, options]) => {
|
|
4
|
+
return new Listr(tasks, { renderer: UpdateRenderer, ...options });
|
|
5
|
+
};
|
|
6
|
+
const listrRun = async (...[tasks, options]) => {
|
|
7
|
+
return listr(tasks, options).run();
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
listr,
|
|
11
|
+
listrRun
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=listr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listr.js","sources":["../../../src/lib/listr.ts"],"sourcesContent":["// @ts-expect-error - @types package not available\nimport UpdateRenderer from \"@lihbr/listr-update-renderer\";\nimport Listr from \"listr\";\n\ntype ListrArgs = [tasks: Listr.ListrTask[], options?: Listr.ListrOptions];\n\nexport const listr = (...[tasks, options]: ListrArgs): Listr => {\n\treturn new Listr(tasks, { renderer: UpdateRenderer, ...options });\n};\n\nexport const listrRun = async (\n\t...[tasks, options]: ListrArgs\n): Promise<void> => {\n\treturn listr(tasks, options).run();\n};\n"],"names":[],"mappings":";;AAMO,MAAM,QAAQ,IAAI,CAAC,OAAO,OAAO,MAAuB;AACvD,SAAA,IAAI,MAAM,OAAO,EAAE,UAAU,gBAAgB,GAAG,SAAS;AACjE;AAEO,MAAM,WAAW,UACpB,CAAC,OAAO,OAAO,MACA;AAClB,SAAO,MAAM,OAAO,OAAO,EAAE,IAAG;AACjC;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const prompts = require("prompts");
|
|
4
|
+
const prompt = async (question) => {
|
|
5
|
+
var _a, _b, _c, _d;
|
|
6
|
+
const answers = await prompts(question);
|
|
7
|
+
if (!Object.keys(answers).length) {
|
|
8
|
+
process.exit(130);
|
|
9
|
+
}
|
|
10
|
+
(_b = (_a = process.stdout).moveCursor) == null ? void 0 : _b.call(_a, 0, -1);
|
|
11
|
+
(_d = (_c = process.stdout).clearLine) == null ? void 0 : _d.call(_c, 1);
|
|
12
|
+
return answers;
|
|
13
|
+
};
|
|
14
|
+
exports.prompt = prompt;
|
|
15
|
+
//# sourceMappingURL=prompt.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt.cjs","sources":["../../../src/lib/prompt.ts"],"sourcesContent":["import prompts from \"prompts\";\n\ntype promptArgs<\n\tTValue = unknown,\n\tTProperty extends string = string,\n> = prompts.PromptObject<TProperty> & {\n\t// Method is available, cf. docs\n\tonRender?: (this: { msg: string; value?: TValue; initial?: TValue }) => void;\n};\n\nexport const prompt = async <TReturn, TProperty extends string = string>(\n\tquestion: promptArgs<TReturn, TProperty>,\n): Promise<Record<TProperty, TReturn>> => {\n\tconst answers: Record<TProperty, TReturn> = await prompts<TProperty>(\n\t\tquestion,\n\t);\n\n\tif (!Object.keys(answers).length) {\n\t\tprocess.exit(130);\n\t}\n\n\t// Clear prompt line, clean recap are done manually\n\tprocess.stdout.moveCursor?.(0, -1);\n\tprocess.stdout.clearLine?.(1);\n\n\treturn answers;\n};\n"],"names":[],"mappings":";;;AAUa,MAAA,SAAS,OACrB,aACwC;;AAClC,QAAA,UAAsC,MAAM,QACjD,QAAQ;AAGT,MAAI,CAAC,OAAO,KAAK,OAAO,EAAE,QAAQ;AACjC,YAAQ,KAAK,GAAG;AAAA,EAChB;AAGO,sBAAA,QAAO,eAAP,4BAAoB,GAAG;AACvB,sBAAA,QAAO,cAAP,4BAAmB;AAEpB,SAAA;AACR;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import prompts from "prompts";
|
|
2
|
+
type promptArgs<TValue = unknown, TProperty extends string = string> = prompts.PromptObject<TProperty> & {
|
|
3
|
+
onRender?: (this: {
|
|
4
|
+
msg: string;
|
|
5
|
+
value?: TValue;
|
|
6
|
+
initial?: TValue;
|
|
7
|
+
}) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const prompt: <TReturn, TProperty extends string = string>(question: promptArgs<TReturn, TProperty>) => Promise<Record<TProperty, TReturn>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import prompts from "prompts";
|
|
2
|
+
const prompt = async (question) => {
|
|
3
|
+
var _a, _b, _c, _d;
|
|
4
|
+
const answers = await prompts(question);
|
|
5
|
+
if (!Object.keys(answers).length) {
|
|
6
|
+
process.exit(130);
|
|
7
|
+
}
|
|
8
|
+
(_b = (_a = process.stdout).moveCursor) == null ? void 0 : _b.call(_a, 0, -1);
|
|
9
|
+
(_d = (_c = process.stdout).clearLine) == null ? void 0 : _d.call(_c, 1);
|
|
10
|
+
return answers;
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
prompt
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=prompt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt.js","sources":["../../../src/lib/prompt.ts"],"sourcesContent":["import prompts from \"prompts\";\n\ntype promptArgs<\n\tTValue = unknown,\n\tTProperty extends string = string,\n> = prompts.PromptObject<TProperty> & {\n\t// Method is available, cf. docs\n\tonRender?: (this: { msg: string; value?: TValue; initial?: TValue }) => void;\n};\n\nexport const prompt = async <TReturn, TProperty extends string = string>(\n\tquestion: promptArgs<TReturn, TProperty>,\n): Promise<Record<TProperty, TReturn>> => {\n\tconst answers: Record<TProperty, TReturn> = await prompts<TProperty>(\n\t\tquestion,\n\t);\n\n\tif (!Object.keys(answers).length) {\n\t\tprocess.exit(130);\n\t}\n\n\t// Clear prompt line, clean recap are done manually\n\tprocess.stdout.moveCursor?.(0, -1);\n\tprocess.stdout.clearLine?.(1);\n\n\treturn answers;\n};\n"],"names":[],"mappings":";AAUa,MAAA,SAAS,OACrB,aACwC;;AAClC,QAAA,UAAsC,MAAM,QACjD,QAAQ;AAGT,MAAI,CAAC,OAAO,KAAK,OAAO,EAAE,QAAQ;AACjC,YAAQ,KAAK,GAAG;AAAA,EAChB;AAGO,sBAAA,QAAO,eAAP,4BAAoB,GAAG;AACvB,sBAAA,QAAO,cAAP,4BAAmB;AAEpB,SAAA;AACR;"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const abc123 = `abcdefghijklmnopqrstuvwxyz0123456789`;
|
|
4
|
+
const ADJECTIVES = [
|
|
5
|
+
"adorable",
|
|
6
|
+
"beautiful",
|
|
7
|
+
"charming",
|
|
8
|
+
"cloudy",
|
|
9
|
+
"delightful",
|
|
10
|
+
"focused",
|
|
11
|
+
"honest",
|
|
12
|
+
"inspiring",
|
|
13
|
+
"lovable",
|
|
14
|
+
"melodious",
|
|
15
|
+
"pleasant",
|
|
16
|
+
"pretty",
|
|
17
|
+
"shiny",
|
|
18
|
+
"sugary",
|
|
19
|
+
"tall",
|
|
20
|
+
"valliant"
|
|
21
|
+
].filter((adjective) => adjective.length <= 11);
|
|
22
|
+
const BAKERIES = [
|
|
23
|
+
"baguette",
|
|
24
|
+
"briouat",
|
|
25
|
+
"crepe",
|
|
26
|
+
"croissant",
|
|
27
|
+
"donut",
|
|
28
|
+
"eclair",
|
|
29
|
+
"flaons",
|
|
30
|
+
"kolompeh",
|
|
31
|
+
"macaron",
|
|
32
|
+
"paste",
|
|
33
|
+
"pretzel",
|
|
34
|
+
"rustico",
|
|
35
|
+
"semla",
|
|
36
|
+
"strudel",
|
|
37
|
+
"taiyaki",
|
|
38
|
+
"toast"
|
|
39
|
+
].filter((bakery) => bakery.length <= 11);
|
|
40
|
+
const pickRandom = (arrOrString) => {
|
|
41
|
+
return arrOrString[Math.floor(Math.random() * arrOrString.length)];
|
|
42
|
+
};
|
|
43
|
+
const randomString = (length) => {
|
|
44
|
+
let result = "";
|
|
45
|
+
for (let i = 0; i < length; i++) {
|
|
46
|
+
result += pickRandom(abc123);
|
|
47
|
+
}
|
|
48
|
+
return result;
|
|
49
|
+
};
|
|
50
|
+
const getRandomRepositoryDomain = () => {
|
|
51
|
+
return formatRepositoryDomain(`${pickRandom(ADJECTIVES)}-${pickRandom(BAKERIES)}-${randomString(6)}`);
|
|
52
|
+
};
|
|
53
|
+
const formatRepositoryDomain = (rawDomain) => {
|
|
54
|
+
let domain = rawDomain.toLowerCase();
|
|
55
|
+
domain = domain.replace(/\s/g, "-").replace(/_/g, "-");
|
|
56
|
+
domain = domain.replace(/[^a-z0-9-]/g, "");
|
|
57
|
+
domain = domain.replace(/(^-+)|(-+$)/g, "");
|
|
58
|
+
domain = domain.replace(/-{2,}/g, "-");
|
|
59
|
+
return domain;
|
|
60
|
+
};
|
|
61
|
+
const isFormattedRepositoryDomain = (maybeFormattedRepositoryDomain) => {
|
|
62
|
+
return maybeFormattedRepositoryDomain === formatRepositoryDomain(maybeFormattedRepositoryDomain);
|
|
63
|
+
};
|
|
64
|
+
const assertFormattedRepositoryDomain = (maybeFormattedRepositoryDomain, caller) => {
|
|
65
|
+
if (!isFormattedRepositoryDomain(maybeFormattedRepositoryDomain)) {
|
|
66
|
+
throw new TypeError(`\`${caller}()\` can only validate formatted repository domains, use the \`formatRepositoryDomain()\` first.`);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const ValidationErrors = {
|
|
70
|
+
LessThan4: "LessThan4",
|
|
71
|
+
MoreThan30: "MoreThan30",
|
|
72
|
+
AlreadyExists: "AlreadyExists"
|
|
73
|
+
};
|
|
74
|
+
const validateRepositoryDomain = (args) => {
|
|
75
|
+
assertFormattedRepositoryDomain(args.domain, "validateRepositoryDomain");
|
|
76
|
+
const errors = {
|
|
77
|
+
/**
|
|
78
|
+
* Checks non [a-z] first character
|
|
79
|
+
*
|
|
80
|
+
* @see https://regex101.com/r/OBZ6UH/1
|
|
81
|
+
*/
|
|
82
|
+
[ValidationErrors.LessThan4]: args.domain.length < 4,
|
|
83
|
+
[ValidationErrors.MoreThan30]: args.domain.length > 30
|
|
84
|
+
};
|
|
85
|
+
return {
|
|
86
|
+
...errors,
|
|
87
|
+
hasErrors: Object.values(errors).some(Boolean)
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
const validateRepositoryDomainAndAvailability = async (args) => {
|
|
91
|
+
assertFormattedRepositoryDomain(args.domain, "validateRepositoryDomainAndAvailability");
|
|
92
|
+
const errors = validateRepositoryDomain(args);
|
|
93
|
+
if (!errors.hasErrors && await args.existsFn(args.domain)) {
|
|
94
|
+
return {
|
|
95
|
+
...errors,
|
|
96
|
+
[ValidationErrors.AlreadyExists]: true,
|
|
97
|
+
hasErrors: true
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
...errors,
|
|
102
|
+
[ValidationErrors.AlreadyExists]: false
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
const getErrorMessageForRepositoryDomainValidation = (args) => {
|
|
106
|
+
if (args.validation.hasErrors) {
|
|
107
|
+
const formattedErrors = [];
|
|
108
|
+
if (args.validation.LessThan4) {
|
|
109
|
+
formattedErrors.push("must be 4 characters long or more");
|
|
110
|
+
}
|
|
111
|
+
if (args.validation.MoreThan30) {
|
|
112
|
+
formattedErrors.push("must be 30 characters long or less");
|
|
113
|
+
}
|
|
114
|
+
if (ValidationErrors.AlreadyExists in args.validation && args.validation.AlreadyExists) {
|
|
115
|
+
formattedErrors.push("is already taken");
|
|
116
|
+
}
|
|
117
|
+
if (!formattedErrors.length) {
|
|
118
|
+
formattedErrors.push(`has unhandled errors ${JSON.stringify(args.validation)}`);
|
|
119
|
+
}
|
|
120
|
+
return `Repository name${args.displayDomain ? ` ${args.displayDomain}` : ""} ${formattedErrors.join(" and ")}`;
|
|
121
|
+
}
|
|
122
|
+
return null;
|
|
123
|
+
};
|
|
124
|
+
exports.ValidationErrors = ValidationErrors;
|
|
125
|
+
exports.formatRepositoryDomain = formatRepositoryDomain;
|
|
126
|
+
exports.getErrorMessageForRepositoryDomainValidation = getErrorMessageForRepositoryDomainValidation;
|
|
127
|
+
exports.getRandomRepositoryDomain = getRandomRepositoryDomain;
|
|
128
|
+
exports.validateRepositoryDomain = validateRepositoryDomain;
|
|
129
|
+
exports.validateRepositoryDomainAndAvailability = validateRepositoryDomainAndAvailability;
|
|
130
|
+
//# sourceMappingURL=repositoryDomain.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryDomain.cjs","sources":["../../../src/lib/repositoryDomain.ts"],"sourcesContent":["const abc123 = `abcdefghijklmnopqrstuvwxyz0123456789`;\n\n// 11 characters long or less adjectives\nconst ADJECTIVES = [\n\t\"adorable\",\n\t\"beautiful\",\n\t\"charming\",\n\t\"cloudy\",\n\t\"delightful\",\n\t\"focused\",\n\t\"honest\",\n\t\"inspiring\",\n\t\"lovable\",\n\t\"melodious\",\n\t\"pleasant\",\n\t\"pretty\",\n\t\"shiny\",\n\t\"sugary\",\n\t\"tall\",\n\t\"valliant\",\n].filter((adjective) => adjective.length <= 11);\n\n// 11 characters long or less bakeries\nconst BAKERIES = [\n\t\"baguette\",\n\t\"briouat\",\n\t\"crepe\",\n\t\"croissant\",\n\t\"donut\",\n\t\"eclair\",\n\t\"flaons\",\n\t\"kolompeh\",\n\t\"macaron\",\n\t\"paste\",\n\t\"pretzel\",\n\t\"rustico\",\n\t\"semla\",\n\t\"strudel\",\n\t\"taiyaki\",\n\t\"toast\",\n].filter((bakery) => bakery.length <= 11);\n\nconst pickRandom = (arrOrString: string | string[]): string => {\n\treturn arrOrString[Math.floor(Math.random() * arrOrString.length)];\n};\n\nconst randomString = (length: number): string => {\n\tlet result = \"\";\n\n\tfor (let i = 0; i < length; i++) {\n\t\tresult += pickRandom(abc123);\n\t}\n\n\treturn result;\n};\n\nexport const getRandomRepositoryDomain = (): string => {\n\treturn formatRepositoryDomain(\n\t\t`${pickRandom(ADJECTIVES)}-${pickRandom(BAKERIES)}-${randomString(6)}`,\n\t);\n};\n\nexport const formatRepositoryDomain = (rawDomain: string): string => {\n\t// Lowercase anything\n\tlet domain = rawDomain.toLowerCase();\n\n\t/**\n\t * Replace whitespaces and underscores with hyphens\n\t */\n\tdomain = domain.replace(/\\s/g, \"-\").replace(/_/g, \"-\");\n\n\t/**\n\t * Replace not allowed characters\n\t *\n\t * @see https://regex101.com/r/f2Hr0k/1\n\t */\n\tdomain = domain.replace(/[^a-z0-9-]/g, \"\");\n\n\t/**\n\t * Trim leading and trailing hyphens\n\t *\n\t * @see https://regex101.com/r/ivngfc/1\n\t */\n\tdomain = domain.replace(/(^-+)|(-+$)/g, \"\");\n\n\t/**\n\t * Replace multi hyphens\n\t *\n\t * @see https://regex101.com/r/t9qxh0/1\n\t */\n\tdomain = domain.replace(/-{2,}/g, \"-\");\n\n\treturn domain;\n};\n\nconst isFormattedRepositoryDomain = (\n\tmaybeFormattedRepositoryDomain: string,\n): boolean => {\n\treturn (\n\t\tmaybeFormattedRepositoryDomain ===\n\t\tformatRepositoryDomain(maybeFormattedRepositoryDomain)\n\t);\n};\n\nconst assertFormattedRepositoryDomain = (\n\tmaybeFormattedRepositoryDomain: string,\n\tcaller: string,\n): void => {\n\tif (!isFormattedRepositoryDomain(maybeFormattedRepositoryDomain)) {\n\t\tthrow new TypeError(\n\t\t\t`\\`${caller}()\\` can only validate formatted repository domains, use the \\`formatRepositoryDomain()\\` first.`,\n\t\t);\n\t}\n};\n\nexport const ValidationErrors = {\n\tLessThan4: \"LessThan4\",\n\tMoreThan30: \"MoreThan30\",\n\tAlreadyExists: \"AlreadyExists\",\n} as const;\ntype ValidationErrors =\n\t(typeof ValidationErrors)[keyof typeof ValidationErrors];\n\ntype ValidateRepositoryDomainArgs = { domain: string };\ntype ValidateRepositoryDomainReturnType = Record<\n\tExclude<ValidationErrors, \"AlreadyExists\"> | \"hasErrors\",\n\tboolean\n>;\nexport const validateRepositoryDomain = (\n\targs: ValidateRepositoryDomainArgs,\n): ValidateRepositoryDomainReturnType => {\n\tassertFormattedRepositoryDomain(args.domain, \"validateRepositoryDomain\");\n\n\tconst errors: Record<Exclude<ValidationErrors, \"AlreadyExists\">, boolean> = {\n\t\t/**\n\t\t * Checks non [a-z] first character\n\t\t *\n\t\t * @see https://regex101.com/r/OBZ6UH/1\n\t\t */\n\t\t[ValidationErrors.LessThan4]: args.domain.length < 4,\n\t\t[ValidationErrors.MoreThan30]: args.domain.length > 30,\n\t};\n\n\treturn {\n\t\t...errors,\n\t\thasErrors: Object.values(errors).some(Boolean),\n\t};\n};\n\ntype ValidateRepositoryDomainAndAvailabilityArgs = {\n\tdomain: string;\n\texistsFn: (domain: string) => boolean | Promise<boolean>;\n};\ntype ValidateRepositoryDomainAndAvailabilityReturnType = Record<\n\tValidationErrors | \"hasErrors\",\n\tboolean\n>;\nexport const validateRepositoryDomainAndAvailability = async (\n\targs: ValidateRepositoryDomainAndAvailabilityArgs,\n): Promise<ValidateRepositoryDomainAndAvailabilityReturnType> => {\n\tassertFormattedRepositoryDomain(\n\t\targs.domain,\n\t\t\"validateRepositoryDomainAndAvailability\",\n\t);\n\n\tconst errors = validateRepositoryDomain(args);\n\n\tif (!errors.hasErrors && (await args.existsFn(args.domain))) {\n\t\treturn {\n\t\t\t...errors,\n\t\t\t[ValidationErrors.AlreadyExists]: true,\n\t\t\thasErrors: true,\n\t\t};\n\t}\n\n\treturn {\n\t\t...errors,\n\t\t[ValidationErrors.AlreadyExists]: false,\n\t};\n};\n\ntype GetErrorMessageForRepositoryDomainValidationArgs = {\n\tvalidation:\n\t\t| ValidateRepositoryDomainReturnType\n\t\t| ValidateRepositoryDomainAndAvailabilityReturnType;\n\tdisplayDomain?: string;\n};\nexport const getErrorMessageForRepositoryDomainValidation = (\n\targs: GetErrorMessageForRepositoryDomainValidationArgs,\n): string | null => {\n\tif (args.validation.hasErrors) {\n\t\tconst formattedErrors: string[] = [];\n\n\t\tif (args.validation.LessThan4) {\n\t\t\tformattedErrors.push(\"must be 4 characters long or more\");\n\t\t}\n\t\tif (args.validation.MoreThan30) {\n\t\t\tformattedErrors.push(\"must be 30 characters long or less\");\n\t\t}\n\t\tif (\n\t\t\tValidationErrors.AlreadyExists in args.validation &&\n\t\t\targs.validation.AlreadyExists\n\t\t) {\n\t\t\tformattedErrors.push(\"is already taken\");\n\t\t}\n\n\t\tif (!formattedErrors.length) {\n\t\t\tformattedErrors.push(\n\t\t\t\t`has unhandled errors ${JSON.stringify(args.validation)}`,\n\t\t\t);\n\t\t}\n\n\t\treturn `Repository name${\n\t\t\targs.displayDomain ? ` ${args.displayDomain}` : \"\"\n\t\t} ${formattedErrors.join(\" and \")}`;\n\t}\n\n\treturn null;\n};\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const getRandomRepositoryDomain: () => string;
|
|
2
|
+
export declare const formatRepositoryDomain: (rawDomain: string) => string;
|
|
3
|
+
export declare const ValidationErrors: {
|
|
4
|
+
readonly LessThan4: "LessThan4";
|
|
5
|
+
readonly MoreThan30: "MoreThan30";
|
|
6
|
+
readonly AlreadyExists: "AlreadyExists";
|
|
7
|
+
};
|
|
8
|
+
type ValidationErrors = (typeof ValidationErrors)[keyof typeof ValidationErrors];
|
|
9
|
+
type ValidateRepositoryDomainArgs = {
|
|
10
|
+
domain: string;
|
|
11
|
+
};
|
|
12
|
+
type ValidateRepositoryDomainReturnType = Record<Exclude<ValidationErrors, "AlreadyExists"> | "hasErrors", boolean>;
|
|
13
|
+
export declare const validateRepositoryDomain: (args: ValidateRepositoryDomainArgs) => ValidateRepositoryDomainReturnType;
|
|
14
|
+
type ValidateRepositoryDomainAndAvailabilityArgs = {
|
|
15
|
+
domain: string;
|
|
16
|
+
existsFn: (domain: string) => boolean | Promise<boolean>;
|
|
17
|
+
};
|
|
18
|
+
type ValidateRepositoryDomainAndAvailabilityReturnType = Record<ValidationErrors | "hasErrors", boolean>;
|
|
19
|
+
export declare const validateRepositoryDomainAndAvailability: (args: ValidateRepositoryDomainAndAvailabilityArgs) => Promise<ValidateRepositoryDomainAndAvailabilityReturnType>;
|
|
20
|
+
type GetErrorMessageForRepositoryDomainValidationArgs = {
|
|
21
|
+
validation: ValidateRepositoryDomainReturnType | ValidateRepositoryDomainAndAvailabilityReturnType;
|
|
22
|
+
displayDomain?: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const getErrorMessageForRepositoryDomainValidation: (args: GetErrorMessageForRepositoryDomainValidationArgs) => string | null;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
const abc123 = `abcdefghijklmnopqrstuvwxyz0123456789`;
|
|
2
|
+
const ADJECTIVES = [
|
|
3
|
+
"adorable",
|
|
4
|
+
"beautiful",
|
|
5
|
+
"charming",
|
|
6
|
+
"cloudy",
|
|
7
|
+
"delightful",
|
|
8
|
+
"focused",
|
|
9
|
+
"honest",
|
|
10
|
+
"inspiring",
|
|
11
|
+
"lovable",
|
|
12
|
+
"melodious",
|
|
13
|
+
"pleasant",
|
|
14
|
+
"pretty",
|
|
15
|
+
"shiny",
|
|
16
|
+
"sugary",
|
|
17
|
+
"tall",
|
|
18
|
+
"valliant"
|
|
19
|
+
].filter((adjective) => adjective.length <= 11);
|
|
20
|
+
const BAKERIES = [
|
|
21
|
+
"baguette",
|
|
22
|
+
"briouat",
|
|
23
|
+
"crepe",
|
|
24
|
+
"croissant",
|
|
25
|
+
"donut",
|
|
26
|
+
"eclair",
|
|
27
|
+
"flaons",
|
|
28
|
+
"kolompeh",
|
|
29
|
+
"macaron",
|
|
30
|
+
"paste",
|
|
31
|
+
"pretzel",
|
|
32
|
+
"rustico",
|
|
33
|
+
"semla",
|
|
34
|
+
"strudel",
|
|
35
|
+
"taiyaki",
|
|
36
|
+
"toast"
|
|
37
|
+
].filter((bakery) => bakery.length <= 11);
|
|
38
|
+
const pickRandom = (arrOrString) => {
|
|
39
|
+
return arrOrString[Math.floor(Math.random() * arrOrString.length)];
|
|
40
|
+
};
|
|
41
|
+
const randomString = (length) => {
|
|
42
|
+
let result = "";
|
|
43
|
+
for (let i = 0; i < length; i++) {
|
|
44
|
+
result += pickRandom(abc123);
|
|
45
|
+
}
|
|
46
|
+
return result;
|
|
47
|
+
};
|
|
48
|
+
const getRandomRepositoryDomain = () => {
|
|
49
|
+
return formatRepositoryDomain(`${pickRandom(ADJECTIVES)}-${pickRandom(BAKERIES)}-${randomString(6)}`);
|
|
50
|
+
};
|
|
51
|
+
const formatRepositoryDomain = (rawDomain) => {
|
|
52
|
+
let domain = rawDomain.toLowerCase();
|
|
53
|
+
domain = domain.replace(/\s/g, "-").replace(/_/g, "-");
|
|
54
|
+
domain = domain.replace(/[^a-z0-9-]/g, "");
|
|
55
|
+
domain = domain.replace(/(^-+)|(-+$)/g, "");
|
|
56
|
+
domain = domain.replace(/-{2,}/g, "-");
|
|
57
|
+
return domain;
|
|
58
|
+
};
|
|
59
|
+
const isFormattedRepositoryDomain = (maybeFormattedRepositoryDomain) => {
|
|
60
|
+
return maybeFormattedRepositoryDomain === formatRepositoryDomain(maybeFormattedRepositoryDomain);
|
|
61
|
+
};
|
|
62
|
+
const assertFormattedRepositoryDomain = (maybeFormattedRepositoryDomain, caller) => {
|
|
63
|
+
if (!isFormattedRepositoryDomain(maybeFormattedRepositoryDomain)) {
|
|
64
|
+
throw new TypeError(`\`${caller}()\` can only validate formatted repository domains, use the \`formatRepositoryDomain()\` first.`);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const ValidationErrors = {
|
|
68
|
+
LessThan4: "LessThan4",
|
|
69
|
+
MoreThan30: "MoreThan30",
|
|
70
|
+
AlreadyExists: "AlreadyExists"
|
|
71
|
+
};
|
|
72
|
+
const validateRepositoryDomain = (args) => {
|
|
73
|
+
assertFormattedRepositoryDomain(args.domain, "validateRepositoryDomain");
|
|
74
|
+
const errors = {
|
|
75
|
+
/**
|
|
76
|
+
* Checks non [a-z] first character
|
|
77
|
+
*
|
|
78
|
+
* @see https://regex101.com/r/OBZ6UH/1
|
|
79
|
+
*/
|
|
80
|
+
[ValidationErrors.LessThan4]: args.domain.length < 4,
|
|
81
|
+
[ValidationErrors.MoreThan30]: args.domain.length > 30
|
|
82
|
+
};
|
|
83
|
+
return {
|
|
84
|
+
...errors,
|
|
85
|
+
hasErrors: Object.values(errors).some(Boolean)
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
const validateRepositoryDomainAndAvailability = async (args) => {
|
|
89
|
+
assertFormattedRepositoryDomain(args.domain, "validateRepositoryDomainAndAvailability");
|
|
90
|
+
const errors = validateRepositoryDomain(args);
|
|
91
|
+
if (!errors.hasErrors && await args.existsFn(args.domain)) {
|
|
92
|
+
return {
|
|
93
|
+
...errors,
|
|
94
|
+
[ValidationErrors.AlreadyExists]: true,
|
|
95
|
+
hasErrors: true
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
...errors,
|
|
100
|
+
[ValidationErrors.AlreadyExists]: false
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
const getErrorMessageForRepositoryDomainValidation = (args) => {
|
|
104
|
+
if (args.validation.hasErrors) {
|
|
105
|
+
const formattedErrors = [];
|
|
106
|
+
if (args.validation.LessThan4) {
|
|
107
|
+
formattedErrors.push("must be 4 characters long or more");
|
|
108
|
+
}
|
|
109
|
+
if (args.validation.MoreThan30) {
|
|
110
|
+
formattedErrors.push("must be 30 characters long or less");
|
|
111
|
+
}
|
|
112
|
+
if (ValidationErrors.AlreadyExists in args.validation && args.validation.AlreadyExists) {
|
|
113
|
+
formattedErrors.push("is already taken");
|
|
114
|
+
}
|
|
115
|
+
if (!formattedErrors.length) {
|
|
116
|
+
formattedErrors.push(`has unhandled errors ${JSON.stringify(args.validation)}`);
|
|
117
|
+
}
|
|
118
|
+
return `Repository name${args.displayDomain ? ` ${args.displayDomain}` : ""} ${formattedErrors.join(" and ")}`;
|
|
119
|
+
}
|
|
120
|
+
return null;
|
|
121
|
+
};
|
|
122
|
+
export {
|
|
123
|
+
ValidationErrors,
|
|
124
|
+
formatRepositoryDomain,
|
|
125
|
+
getErrorMessageForRepositoryDomainValidation,
|
|
126
|
+
getRandomRepositoryDomain,
|
|
127
|
+
validateRepositoryDomain,
|
|
128
|
+
validateRepositoryDomainAndAvailability
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=repositoryDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryDomain.js","sources":["../../../src/lib/repositoryDomain.ts"],"sourcesContent":["const abc123 = `abcdefghijklmnopqrstuvwxyz0123456789`;\n\n// 11 characters long or less adjectives\nconst ADJECTIVES = [\n\t\"adorable\",\n\t\"beautiful\",\n\t\"charming\",\n\t\"cloudy\",\n\t\"delightful\",\n\t\"focused\",\n\t\"honest\",\n\t\"inspiring\",\n\t\"lovable\",\n\t\"melodious\",\n\t\"pleasant\",\n\t\"pretty\",\n\t\"shiny\",\n\t\"sugary\",\n\t\"tall\",\n\t\"valliant\",\n].filter((adjective) => adjective.length <= 11);\n\n// 11 characters long or less bakeries\nconst BAKERIES = [\n\t\"baguette\",\n\t\"briouat\",\n\t\"crepe\",\n\t\"croissant\",\n\t\"donut\",\n\t\"eclair\",\n\t\"flaons\",\n\t\"kolompeh\",\n\t\"macaron\",\n\t\"paste\",\n\t\"pretzel\",\n\t\"rustico\",\n\t\"semla\",\n\t\"strudel\",\n\t\"taiyaki\",\n\t\"toast\",\n].filter((bakery) => bakery.length <= 11);\n\nconst pickRandom = (arrOrString: string | string[]): string => {\n\treturn arrOrString[Math.floor(Math.random() * arrOrString.length)];\n};\n\nconst randomString = (length: number): string => {\n\tlet result = \"\";\n\n\tfor (let i = 0; i < length; i++) {\n\t\tresult += pickRandom(abc123);\n\t}\n\n\treturn result;\n};\n\nexport const getRandomRepositoryDomain = (): string => {\n\treturn formatRepositoryDomain(\n\t\t`${pickRandom(ADJECTIVES)}-${pickRandom(BAKERIES)}-${randomString(6)}`,\n\t);\n};\n\nexport const formatRepositoryDomain = (rawDomain: string): string => {\n\t// Lowercase anything\n\tlet domain = rawDomain.toLowerCase();\n\n\t/**\n\t * Replace whitespaces and underscores with hyphens\n\t */\n\tdomain = domain.replace(/\\s/g, \"-\").replace(/_/g, \"-\");\n\n\t/**\n\t * Replace not allowed characters\n\t *\n\t * @see https://regex101.com/r/f2Hr0k/1\n\t */\n\tdomain = domain.replace(/[^a-z0-9-]/g, \"\");\n\n\t/**\n\t * Trim leading and trailing hyphens\n\t *\n\t * @see https://regex101.com/r/ivngfc/1\n\t */\n\tdomain = domain.replace(/(^-+)|(-+$)/g, \"\");\n\n\t/**\n\t * Replace multi hyphens\n\t *\n\t * @see https://regex101.com/r/t9qxh0/1\n\t */\n\tdomain = domain.replace(/-{2,}/g, \"-\");\n\n\treturn domain;\n};\n\nconst isFormattedRepositoryDomain = (\n\tmaybeFormattedRepositoryDomain: string,\n): boolean => {\n\treturn (\n\t\tmaybeFormattedRepositoryDomain ===\n\t\tformatRepositoryDomain(maybeFormattedRepositoryDomain)\n\t);\n};\n\nconst assertFormattedRepositoryDomain = (\n\tmaybeFormattedRepositoryDomain: string,\n\tcaller: string,\n): void => {\n\tif (!isFormattedRepositoryDomain(maybeFormattedRepositoryDomain)) {\n\t\tthrow new TypeError(\n\t\t\t`\\`${caller}()\\` can only validate formatted repository domains, use the \\`formatRepositoryDomain()\\` first.`,\n\t\t);\n\t}\n};\n\nexport const ValidationErrors = {\n\tLessThan4: \"LessThan4\",\n\tMoreThan30: \"MoreThan30\",\n\tAlreadyExists: \"AlreadyExists\",\n} as const;\ntype ValidationErrors =\n\t(typeof ValidationErrors)[keyof typeof ValidationErrors];\n\ntype ValidateRepositoryDomainArgs = { domain: string };\ntype ValidateRepositoryDomainReturnType = Record<\n\tExclude<ValidationErrors, \"AlreadyExists\"> | \"hasErrors\",\n\tboolean\n>;\nexport const validateRepositoryDomain = (\n\targs: ValidateRepositoryDomainArgs,\n): ValidateRepositoryDomainReturnType => {\n\tassertFormattedRepositoryDomain(args.domain, \"validateRepositoryDomain\");\n\n\tconst errors: Record<Exclude<ValidationErrors, \"AlreadyExists\">, boolean> = {\n\t\t/**\n\t\t * Checks non [a-z] first character\n\t\t *\n\t\t * @see https://regex101.com/r/OBZ6UH/1\n\t\t */\n\t\t[ValidationErrors.LessThan4]: args.domain.length < 4,\n\t\t[ValidationErrors.MoreThan30]: args.domain.length > 30,\n\t};\n\n\treturn {\n\t\t...errors,\n\t\thasErrors: Object.values(errors).some(Boolean),\n\t};\n};\n\ntype ValidateRepositoryDomainAndAvailabilityArgs = {\n\tdomain: string;\n\texistsFn: (domain: string) => boolean | Promise<boolean>;\n};\ntype ValidateRepositoryDomainAndAvailabilityReturnType = Record<\n\tValidationErrors | \"hasErrors\",\n\tboolean\n>;\nexport const validateRepositoryDomainAndAvailability = async (\n\targs: ValidateRepositoryDomainAndAvailabilityArgs,\n): Promise<ValidateRepositoryDomainAndAvailabilityReturnType> => {\n\tassertFormattedRepositoryDomain(\n\t\targs.domain,\n\t\t\"validateRepositoryDomainAndAvailability\",\n\t);\n\n\tconst errors = validateRepositoryDomain(args);\n\n\tif (!errors.hasErrors && (await args.existsFn(args.domain))) {\n\t\treturn {\n\t\t\t...errors,\n\t\t\t[ValidationErrors.AlreadyExists]: true,\n\t\t\thasErrors: true,\n\t\t};\n\t}\n\n\treturn {\n\t\t...errors,\n\t\t[ValidationErrors.AlreadyExists]: false,\n\t};\n};\n\ntype GetErrorMessageForRepositoryDomainValidationArgs = {\n\tvalidation:\n\t\t| ValidateRepositoryDomainReturnType\n\t\t| ValidateRepositoryDomainAndAvailabilityReturnType;\n\tdisplayDomain?: string;\n};\nexport const getErrorMessageForRepositoryDomainValidation = (\n\targs: GetErrorMessageForRepositoryDomainValidationArgs,\n): string | null => {\n\tif (args.validation.hasErrors) {\n\t\tconst formattedErrors: string[] = [];\n\n\t\tif (args.validation.LessThan4) {\n\t\t\tformattedErrors.push(\"must be 4 characters long or more\");\n\t\t}\n\t\tif (args.validation.MoreThan30) {\n\t\t\tformattedErrors.push(\"must be 30 characters long or less\");\n\t\t}\n\t\tif (\n\t\t\tValidationErrors.AlreadyExists in args.validation &&\n\t\t\targs.validation.AlreadyExists\n\t\t) {\n\t\t\tformattedErrors.push(\"is already taken\");\n\t\t}\n\n\t\tif (!formattedErrors.length) {\n\t\t\tformattedErrors.push(\n\t\t\t\t`has unhandled errors ${JSON.stringify(args.validation)}`,\n\t\t\t);\n\t\t}\n\n\t\treturn `Repository name${\n\t\t\targs.displayDomain ? ` ${args.displayDomain}` : \"\"\n\t\t} ${formattedErrors.join(\" and \")}`;\n\t}\n\n\treturn null;\n};\n"],"names":[],"mappings":"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"}
|