@slicemachine/init 0.1.1-dev-plugins-testing.0 → 0.1.1-dev-plugins-validation.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +24 -23
- package/src/SliceMachineInitProcess.ts +27 -79
- package/src/lib/getExecuteCommand.ts +9 -0
- package/src/lib/getRunScriptCommand.ts +9 -0
- package/src/lib/repositoryDomain.ts +2 -1
- package/dist/SliceMachineInitProcess.cjs +0 -760
- package/dist/SliceMachineInitProcess.cjs.map +0 -1
- package/dist/SliceMachineInitProcess.d.ts +0 -49
- package/dist/SliceMachineInitProcess.js +0 -742
- package/dist/SliceMachineInitProcess.js.map +0 -1
- package/dist/__node_modules/@babel/code-frame/lib/index.cjs +0 -144
- package/dist/__node_modules/@babel/code-frame/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@babel/code-frame/lib/index.js +0 -143
- package/dist/__node_modules/@babel/code-frame/lib/index.js.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +0 -82
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -83
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/index.cjs +0 -62
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/index.js +0 -61
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +0 -35
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +0 -1
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -36
- package/dist/__node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/dist/__node_modules/@babel/highlight/lib/index.cjs +0 -100
- package/dist/__node_modules/@babel/highlight/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@babel/highlight/lib/index.js +0 -99
- package/dist/__node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs +0 -24
- package/dist/__node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -23
- package/dist/__node_modules/@nodelib/fs.scandir/out/adapters/fs.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/constants.cjs +0 -17
- package/dist/__node_modules/@nodelib/fs.scandir/out/constants.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/constants.js +0 -18
- package/dist/__node_modules/@nodelib/fs.scandir/out/constants.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/index.cjs +0 -35
- package/dist/__node_modules/@nodelib/fs.scandir/out/index.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/index.js +0 -36
- package/dist/__node_modules/@nodelib/fs.scandir/out/index.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/async.cjs +0 -116
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -117
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/async.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/common.cjs +0 -13
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/common.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -14
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/common.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +0 -64
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/sync.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -65
- package/dist/__node_modules/@nodelib/fs.scandir/out/providers/sync.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/settings.cjs +0 -31
- package/dist/__node_modules/@nodelib/fs.scandir/out/settings.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/settings.js +0 -30
- package/dist/__node_modules/@nodelib/fs.scandir/out/settings.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/fs.cjs +0 -22
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/fs.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -23
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/fs.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/index.cjs +0 -10
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/index.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -11
- package/dist/__node_modules/@nodelib/fs.scandir/out/utils/index.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/adapters/fs.cjs +0 -22
- package/dist/__node_modules/@nodelib/fs.stat/out/adapters/fs.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -21
- package/dist/__node_modules/@nodelib/fs.stat/out/adapters/fs.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/index.cjs +0 -35
- package/dist/__node_modules/@nodelib/fs.stat/out/index.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/index.js +0 -36
- package/dist/__node_modules/@nodelib/fs.stat/out/index.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/async.cjs +0 -39
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/async.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/async.js +0 -40
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/async.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/sync.cjs +0 -25
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/sync.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -26
- package/dist/__node_modules/@nodelib/fs.stat/out/providers/sync.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/settings.cjs +0 -20
- package/dist/__node_modules/@nodelib/fs.stat/out/settings.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.stat/out/settings.js +0 -19
- package/dist/__node_modules/@nodelib/fs.stat/out/settings.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/index.cjs +0 -45
- package/dist/__node_modules/@nodelib/fs.walk/out/index.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/index.js +0 -46
- package/dist/__node_modules/@nodelib/fs.walk/out/index.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/async.cjs +0 -34
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/async.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/async.js +0 -33
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/async.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/stream.cjs +0 -40
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/stream.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -39
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/stream.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/sync.cjs +0 -18
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/sync.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -17
- package/dist/__node_modules/@nodelib/fs.walk/out/providers/sync.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/async.cjs +0 -108
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/async.js +0 -107
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/async.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/common.cjs +0 -31
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/common.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/common.js +0 -32
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/common.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/reader.cjs +0 -15
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/reader.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -14
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/reader.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/sync.cjs +0 -66
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/sync.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -65
- package/dist/__node_modules/@nodelib/fs.walk/out/readers/sync.js.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/settings.cjs +0 -31
- package/dist/__node_modules/@nodelib/fs.walk/out/settings.cjs.map +0 -1
- package/dist/__node_modules/@nodelib/fs.walk/out/settings.js +0 -30
- package/dist/__node_modules/@nodelib/fs.walk/out/settings.js.map +0 -1
- package/dist/__node_modules/arrify/index.cjs +0 -9
- package/dist/__node_modules/arrify/index.cjs.map +0 -1
- package/dist/__node_modules/arrify/index.js +0 -10
- package/dist/__node_modules/arrify/index.js.map +0 -1
- package/dist/__node_modules/braces/index.cjs +0 -63
- package/dist/__node_modules/braces/index.cjs.map +0 -1
- package/dist/__node_modules/braces/index.js +0 -64
- package/dist/__node_modules/braces/index.js.map +0 -1
- package/dist/__node_modules/braces/lib/compile.cjs +0 -50
- package/dist/__node_modules/braces/lib/compile.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/compile.js +0 -51
- package/dist/__node_modules/braces/lib/compile.js.map +0 -1
- package/dist/__node_modules/braces/lib/constants.cjs +0 -97
- package/dist/__node_modules/braces/lib/constants.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/constants.js +0 -98
- package/dist/__node_modules/braces/lib/constants.js.map +0 -1
- package/dist/__node_modules/braces/lib/expand.cjs +0 -97
- package/dist/__node_modules/braces/lib/expand.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/expand.js +0 -98
- package/dist/__node_modules/braces/lib/expand.js.map +0 -1
- package/dist/__node_modules/braces/lib/parse.cjs +0 -240
- package/dist/__node_modules/braces/lib/parse.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/parse.js +0 -241
- package/dist/__node_modules/braces/lib/parse.js.map +0 -1
- package/dist/__node_modules/braces/lib/stringify.cjs +0 -29
- package/dist/__node_modules/braces/lib/stringify.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/stringify.js +0 -30
- package/dist/__node_modules/braces/lib/stringify.js.map +0 -1
- package/dist/__node_modules/braces/lib/utils.cjs +0 -83
- package/dist/__node_modules/braces/lib/utils.cjs.map +0 -1
- package/dist/__node_modules/braces/lib/utils.js +0 -84
- package/dist/__node_modules/braces/lib/utils.js.map +0 -1
- package/dist/__node_modules/camelcase-keys/__node_modules/camelcase/index.cjs +0 -83
- package/dist/__node_modules/camelcase-keys/__node_modules/camelcase/index.cjs.map +0 -1
- package/dist/__node_modules/camelcase-keys/__node_modules/camelcase/index.js +0 -84
- package/dist/__node_modules/camelcase-keys/__node_modules/camelcase/index.js.map +0 -1
- package/dist/__node_modules/camelcase-keys/index.cjs +0 -56
- package/dist/__node_modules/camelcase-keys/index.cjs.map +0 -1
- package/dist/__node_modules/camelcase-keys/index.js +0 -57
- package/dist/__node_modules/camelcase-keys/index.js.map +0 -1
- package/dist/__node_modules/cross-spawn/index.cjs +0 -27
- package/dist/__node_modules/cross-spawn/index.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/index.js +0 -28
- package/dist/__node_modules/cross-spawn/index.js.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/enoent.cjs +0 -46
- package/dist/__node_modules/cross-spawn/lib/enoent.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/enoent.js +0 -47
- package/dist/__node_modules/cross-spawn/lib/enoent.js.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/parse.cjs +0 -63
- package/dist/__node_modules/cross-spawn/lib/parse.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/parse.js +0 -64
- package/dist/__node_modules/cross-spawn/lib/parse.js.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/escape.cjs +0 -22
- package/dist/__node_modules/cross-spawn/lib/util/escape.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/escape.js +0 -23
- package/dist/__node_modules/cross-spawn/lib/util/escape.js.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/readShebang.cjs +0 -20
- package/dist/__node_modules/cross-spawn/lib/util/readShebang.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/readShebang.js +0 -21
- package/dist/__node_modules/cross-spawn/lib/util/readShebang.js.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/resolveCommand.cjs +0 -42
- package/dist/__node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +0 -1
- package/dist/__node_modules/cross-spawn/lib/util/resolveCommand.js +0 -43
- package/dist/__node_modules/cross-spawn/lib/util/resolveCommand.js.map +0 -1
- package/dist/__node_modules/decamelize/index.cjs +0 -38
- package/dist/__node_modules/decamelize/index.cjs.map +0 -1
- package/dist/__node_modules/decamelize/index.js +0 -39
- package/dist/__node_modules/decamelize/index.js.map +0 -1
- package/dist/__node_modules/decamelize-keys/__node_modules/decamelize/index.cjs +0 -10
- package/dist/__node_modules/decamelize-keys/__node_modules/decamelize/index.cjs.map +0 -1
- package/dist/__node_modules/decamelize-keys/__node_modules/decamelize/index.js +0 -11
- package/dist/__node_modules/decamelize-keys/__node_modules/decamelize/index.js.map +0 -1
- package/dist/__node_modules/decamelize-keys/__node_modules/map-obj/index.cjs +0 -13
- package/dist/__node_modules/decamelize-keys/__node_modules/map-obj/index.cjs.map +0 -1
- package/dist/__node_modules/decamelize-keys/__node_modules/map-obj/index.js +0 -14
- package/dist/__node_modules/decamelize-keys/__node_modules/map-obj/index.js.map +0 -1
- package/dist/__node_modules/decamelize-keys/index.cjs +0 -20
- package/dist/__node_modules/decamelize-keys/index.cjs.map +0 -1
- package/dist/__node_modules/decamelize-keys/index.js +0 -21
- package/dist/__node_modules/decamelize-keys/index.js.map +0 -1
- package/dist/__node_modules/dir-glob/index.cjs +0 -63
- package/dist/__node_modules/dir-glob/index.cjs.map +0 -1
- package/dist/__node_modules/dir-glob/index.js +0 -64
- package/dist/__node_modules/dir-glob/index.js.map +0 -1
- package/dist/__node_modules/error-ex/index.cjs +0 -108
- package/dist/__node_modules/error-ex/index.cjs.map +0 -1
- package/dist/__node_modules/error-ex/index.js +0 -109
- package/dist/__node_modules/error-ex/index.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/index.cjs +0 -77
- package/dist/__node_modules/fast-glob/out/index.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/index.js +0 -78
- package/dist/__node_modules/fast-glob/out/index.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/managers/patterns.cjs +0 -15
- package/dist/__node_modules/fast-glob/out/managers/patterns.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/managers/patterns.js +0 -16
- package/dist/__node_modules/fast-glob/out/managers/patterns.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/managers/tasks.cjs +0 -83
- package/dist/__node_modules/fast-glob/out/managers/tasks.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/managers/tasks.js +0 -84
- package/dist/__node_modules/fast-glob/out/managers/tasks.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/async.cjs +0 -29
- package/dist/__node_modules/fast-glob/out/providers/async.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/async.js +0 -28
- package/dist/__node_modules/fast-glob/out/providers/async.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/deep.cjs +0 -65
- package/dist/__node_modules/fast-glob/out/providers/filters/deep.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/deep.js +0 -64
- package/dist/__node_modules/fast-glob/out/providers/filters/deep.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/entry.cjs +0 -65
- package/dist/__node_modules/fast-glob/out/providers/filters/entry.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/entry.js +0 -64
- package/dist/__node_modules/fast-glob/out/providers/filters/entry.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/error.cjs +0 -19
- package/dist/__node_modules/fast-glob/out/providers/filters/error.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/filters/error.js +0 -18
- package/dist/__node_modules/fast-glob/out/providers/filters/error.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/matchers/matcher.cjs +0 -50
- package/dist/__node_modules/fast-glob/out/providers/matchers/matcher.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/matchers/matcher.js +0 -49
- package/dist/__node_modules/fast-glob/out/providers/matchers/matcher.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/matchers/partial.cjs +0 -35
- package/dist/__node_modules/fast-glob/out/providers/matchers/partial.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/matchers/partial.js +0 -34
- package/dist/__node_modules/fast-glob/out/providers/matchers/partial.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/provider.cjs +0 -59
- package/dist/__node_modules/fast-glob/out/providers/provider.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/provider.js +0 -58
- package/dist/__node_modules/fast-glob/out/providers/provider.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/stream.cjs +0 -35
- package/dist/__node_modules/fast-glob/out/providers/stream.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/stream.js +0 -34
- package/dist/__node_modules/fast-glob/out/providers/stream.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/sync.cjs +0 -29
- package/dist/__node_modules/fast-glob/out/providers/sync.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/sync.js +0 -28
- package/dist/__node_modules/fast-glob/out/providers/sync.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/transformers/entry.cjs +0 -30
- package/dist/__node_modules/fast-glob/out/providers/transformers/entry.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/providers/transformers/entry.js +0 -29
- package/dist/__node_modules/fast-glob/out/providers/transformers/entry.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/async.cjs +0 -41
- package/dist/__node_modules/fast-glob/out/readers/async.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/async.js +0 -40
- package/dist/__node_modules/fast-glob/out/readers/async.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/reader.cjs +0 -40
- package/dist/__node_modules/fast-glob/out/readers/reader.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/reader.js +0 -39
- package/dist/__node_modules/fast-glob/out/readers/reader.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/stream.cjs +0 -60
- package/dist/__node_modules/fast-glob/out/readers/stream.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/stream.js +0 -59
- package/dist/__node_modules/fast-glob/out/readers/stream.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/sync.cjs +0 -50
- package/dist/__node_modules/fast-glob/out/readers/sync.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/readers/sync.js +0 -49
- package/dist/__node_modules/fast-glob/out/readers/sync.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/settings.cjs +0 -59
- package/dist/__node_modules/fast-glob/out/settings.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/settings.js +0 -58
- package/dist/__node_modules/fast-glob/out/settings.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/array.cjs +0 -24
- package/dist/__node_modules/fast-glob/out/utils/array.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/array.js +0 -25
- package/dist/__node_modules/fast-glob/out/utils/array.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/errno.cjs +0 -10
- package/dist/__node_modules/fast-glob/out/utils/errno.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/errno.js +0 -11
- package/dist/__node_modules/fast-glob/out/utils/errno.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/fs.cjs +0 -22
- package/dist/__node_modules/fast-glob/out/utils/fs.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/fs.js +0 -23
- package/dist/__node_modules/fast-glob/out/utils/fs.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/index.cjs +0 -34
- package/dist/__node_modules/fast-glob/out/utils/index.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/index.js +0 -35
- package/dist/__node_modules/fast-glob/out/utils/index.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/path.cjs +0 -32
- package/dist/__node_modules/fast-glob/out/utils/path.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/path.js +0 -33
- package/dist/__node_modules/fast-glob/out/utils/path.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/pattern.cjs +0 -144
- package/dist/__node_modules/fast-glob/out/utils/pattern.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/pattern.js +0 -145
- package/dist/__node_modules/fast-glob/out/utils/pattern.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/stream.cjs +0 -21
- package/dist/__node_modules/fast-glob/out/utils/stream.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/stream.js +0 -22
- package/dist/__node_modules/fast-glob/out/utils/stream.js.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/string.cjs +0 -14
- package/dist/__node_modules/fast-glob/out/utils/string.cjs.map +0 -1
- package/dist/__node_modules/fast-glob/out/utils/string.js +0 -15
- package/dist/__node_modules/fast-glob/out/utils/string.js.map +0 -1
- package/dist/__node_modules/fastq/queue.cjs +0 -239
- package/dist/__node_modules/fastq/queue.cjs.map +0 -1
- package/dist/__node_modules/fastq/queue.js +0 -240
- package/dist/__node_modules/fastq/queue.js.map +0 -1
- package/dist/__node_modules/fill-range/index.cjs +0 -210
- package/dist/__node_modules/fill-range/index.cjs.map +0 -1
- package/dist/__node_modules/fill-range/index.js +0 -211
- package/dist/__node_modules/fill-range/index.js.map +0 -1
- package/dist/__node_modules/function-bind/implementation.cjs +0 -46
- package/dist/__node_modules/function-bind/implementation.cjs.map +0 -1
- package/dist/__node_modules/function-bind/implementation.js +0 -47
- package/dist/__node_modules/function-bind/implementation.js.map +0 -1
- package/dist/__node_modules/function-bind/index.cjs +0 -6
- package/dist/__node_modules/function-bind/index.cjs.map +0 -1
- package/dist/__node_modules/function-bind/index.js +0 -7
- package/dist/__node_modules/function-bind/index.js.map +0 -1
- package/dist/__node_modules/glob-parent/index.cjs +0 -28
- package/dist/__node_modules/glob-parent/index.cjs.map +0 -1
- package/dist/__node_modules/glob-parent/index.js +0 -29
- package/dist/__node_modules/glob-parent/index.js.map +0 -1
- package/dist/__node_modules/globby/ignore.cjs +0 -61
- package/dist/__node_modules/globby/ignore.cjs.map +0 -1
- package/dist/__node_modules/globby/ignore.js +0 -61
- package/dist/__node_modules/globby/ignore.js.map +0 -1
- package/dist/__node_modules/globby/index.cjs +0 -137
- package/dist/__node_modules/globby/index.cjs.map +0 -1
- package/dist/__node_modules/globby/index.js +0 -137
- package/dist/__node_modules/globby/index.js.map +0 -1
- package/dist/__node_modules/globby/utilities.cjs +0 -9
- package/dist/__node_modules/globby/utilities.cjs.map +0 -1
- package/dist/__node_modules/globby/utilities.js +0 -9
- package/dist/__node_modules/globby/utilities.js.map +0 -1
- package/dist/__node_modules/hard-rejection/index.cjs +0 -22
- package/dist/__node_modules/hard-rejection/index.cjs.map +0 -1
- package/dist/__node_modules/hard-rejection/index.js +0 -23
- package/dist/__node_modules/hard-rejection/index.js.map +0 -1
- package/dist/__node_modules/has/src/index.cjs +0 -6
- package/dist/__node_modules/has/src/index.cjs.map +0 -1
- package/dist/__node_modules/has/src/index.js +0 -7
- package/dist/__node_modules/has/src/index.js.map +0 -1
- package/dist/__node_modules/ignore/index.cjs +0 -368
- package/dist/__node_modules/ignore/index.cjs.map +0 -1
- package/dist/__node_modules/ignore/index.js +0 -369
- package/dist/__node_modules/ignore/index.js.map +0 -1
- package/dist/__node_modules/is-arrayish/index.cjs +0 -9
- package/dist/__node_modules/is-arrayish/index.cjs.map +0 -1
- package/dist/__node_modules/is-arrayish/index.js +0 -10
- package/dist/__node_modules/is-arrayish/index.js.map +0 -1
- package/dist/__node_modules/is-core-module/core.json.cjs +0 -487
- package/dist/__node_modules/is-core-module/core.json.cjs.map +0 -1
- package/dist/__node_modules/is-core-module/core.json.js +0 -487
- package/dist/__node_modules/is-core-module/core.json.js.map +0 -1
- package/dist/__node_modules/is-core-module/index.cjs +0 -61
- package/dist/__node_modules/is-core-module/index.cjs.map +0 -1
- package/dist/__node_modules/is-core-module/index.js +0 -62
- package/dist/__node_modules/is-core-module/index.js.map +0 -1
- package/dist/__node_modules/is-extglob/index.cjs +0 -21
- package/dist/__node_modules/is-extglob/index.cjs.map +0 -1
- package/dist/__node_modules/is-extglob/index.js +0 -22
- package/dist/__node_modules/is-extglob/index.js.map +0 -1
- package/dist/__node_modules/is-glob/index.cjs +0 -135
- package/dist/__node_modules/is-glob/index.cjs.map +0 -1
- package/dist/__node_modules/is-glob/index.js +0 -136
- package/dist/__node_modules/is-glob/index.js.map +0 -1
- package/dist/__node_modules/is-number/index.cjs +0 -18
- package/dist/__node_modules/is-number/index.cjs.map +0 -1
- package/dist/__node_modules/is-number/index.js +0 -19
- package/dist/__node_modules/is-number/index.js.map +0 -1
- package/dist/__node_modules/is-plain-obj/index.cjs +0 -8
- package/dist/__node_modules/is-plain-obj/index.cjs.map +0 -1
- package/dist/__node_modules/is-plain-obj/index.js +0 -9
- package/dist/__node_modules/is-plain-obj/index.js.map +0 -1
- package/dist/__node_modules/isexe/index.cjs +0 -55
- package/dist/__node_modules/isexe/index.cjs.map +0 -1
- package/dist/__node_modules/isexe/index.js +0 -56
- package/dist/__node_modules/isexe/index.js.map +0 -1
- package/dist/__node_modules/isexe/mode.cjs +0 -40
- package/dist/__node_modules/isexe/mode.cjs.map +0 -1
- package/dist/__node_modules/isexe/mode.js +0 -40
- package/dist/__node_modules/isexe/mode.js.map +0 -1
- package/dist/__node_modules/isexe/windows.cjs +0 -47
- package/dist/__node_modules/isexe/windows.cjs.map +0 -1
- package/dist/__node_modules/isexe/windows.js +0 -47
- package/dist/__node_modules/isexe/windows.js.map +0 -1
- package/dist/__node_modules/js-tokens/index.cjs +0 -27
- package/dist/__node_modules/js-tokens/index.cjs.map +0 -1
- package/dist/__node_modules/js-tokens/index.js +0 -26
- package/dist/__node_modules/js-tokens/index.js.map +0 -1
- package/dist/__node_modules/json-parse-even-better-errors/index.cjs +0 -89
- package/dist/__node_modules/json-parse-even-better-errors/index.cjs.map +0 -1
- package/dist/__node_modules/json-parse-even-better-errors/index.js +0 -90
- package/dist/__node_modules/json-parse-even-better-errors/index.js.map +0 -1
- package/dist/__node_modules/kind-of/index.cjs +0 -128
- package/dist/__node_modules/kind-of/index.cjs.map +0 -1
- package/dist/__node_modules/kind-of/index.js +0 -129
- package/dist/__node_modules/kind-of/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.cjs.map +0 -1
- package/dist/__node_modules/lines-and-columns/build/index.js +0 -63
- package/dist/__node_modules/lines-and-columns/build/index.js.map +0 -1
- package/dist/__node_modules/map-obj/index.cjs +0 -46
- package/dist/__node_modules/map-obj/index.cjs.map +0 -1
- package/dist/__node_modules/map-obj/index.js +0 -47
- package/dist/__node_modules/map-obj/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/find-up/index.cjs +0 -48
- package/dist/__node_modules/meow/__node_modules/find-up/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/find-up/index.js +0 -48
- package/dist/__node_modules/meow/__node_modules/find-up/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host-info.cjs +0 -165
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host-info.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host-info.js +0 -166
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host-info.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host.cjs +0 -90
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host.js +0 -91
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/git-host.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/index.cjs +0 -124
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/index.js +0 -123
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/parse-url.cjs +0 -50
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/parse-url.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/parse-url.js +0 -51
- package/dist/__node_modules/meow/__node_modules/hosted-git-info/lib/parse-url.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/indent-string/index.cjs +0 -34
- package/dist/__node_modules/meow/__node_modules/indent-string/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/indent-string/index.js +0 -35
- package/dist/__node_modules/meow/__node_modules/indent-string/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/locate-path/index.cjs +0 -38
- package/dist/__node_modules/meow/__node_modules/locate-path/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/locate-path/index.js +0 -38
- package/dist/__node_modules/meow/__node_modules/locate-path/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/lru-cache/index.cjs +0 -834
- package/dist/__node_modules/meow/__node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/lru-cache/index.js +0 -835
- package/dist/__node_modules/meow/__node_modules/lru-cache/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/extract_description.cjs +0 -23
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/extract_description.js +0 -24
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/fixer.cjs +0 -438
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/fixer.js +0 -439
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/fixer.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/make_warning.cjs +0 -25
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/make_warning.js +0 -26
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/normalize.cjs +0 -56
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/normalize.js +0 -57
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/normalize.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/typos.json.js +0 -41
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
- package/dist/__node_modules/meow/__node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host-info.cjs +0 -158
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host-info.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host-info.js +0 -159
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host-info.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host.cjs +0 -87
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host.js +0 -88
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/git-host.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/index.cjs +0 -179
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/index.js +0 -178
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/hosted-git-info/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/lru-cache/index.cjs +0 -267
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/lru-cache/index.js +0 -268
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/lru-cache/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/extract_description.cjs +0 -19
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/extract_description.js +0 -20
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/fixer.cjs +0 -438
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/fixer.js +0 -439
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/fixer.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/make_warning.cjs +0 -25
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/make_warning.js +0 -26
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/normalize.cjs +0 -56
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/normalize.js +0 -57
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/normalize.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/typos.json.js +0 -41
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
- package/dist/__node_modules/meow/__node_modules/read-pkg/__node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/index.cjs +0 -20
- package/dist/__node_modules/meow/__node_modules/read-pkg/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg/index.js +0 -20
- package/dist/__node_modules/meow/__node_modules/read-pkg/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg-up/index.cjs +0 -17
- package/dist/__node_modules/meow/__node_modules/read-pkg-up/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/read-pkg-up/index.js +0 -17
- package/dist/__node_modules/meow/__node_modules/read-pkg-up/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/redent/index.cjs +0 -8
- package/dist/__node_modules/meow/__node_modules/redent/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/redent/index.js +0 -9
- package/dist/__node_modules/meow/__node_modules/redent/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/strip-indent/index.cjs +0 -12
- package/dist/__node_modules/meow/__node_modules/strip-indent/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/strip-indent/index.js +0 -13
- package/dist/__node_modules/meow/__node_modules/strip-indent/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yallist/iterator.cjs +0 -19
- package/dist/__node_modules/meow/__node_modules/yallist/iterator.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yallist/iterator.js +0 -19
- package/dist/__node_modules/meow/__node_modules/yallist/iterator.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yallist/yallist.cjs +0 -366
- package/dist/__node_modules/meow/__node_modules/yallist/yallist.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yallist/yallist.js +0 -367
- package/dist/__node_modules/meow/__node_modules/yallist/yallist.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/index.cjs +0 -56
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/index.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/index.js +0 -57
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/index.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/string-utils.cjs +0 -63
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/string-utils.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/string-utils.js +0 -63
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/string-utils.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -39
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -39
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +0 -15
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -16
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser.cjs +0 -847
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +0 -1
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser.js +0 -847
- package/dist/__node_modules/meow/__node_modules/yargs-parser/build/lib/yargs-parser.js.map +0 -1
- package/dist/__node_modules/meow/index.cjs +0 -202
- package/dist/__node_modules/meow/index.cjs.map +0 -1
- package/dist/__node_modules/meow/index.js +0 -203
- package/dist/__node_modules/meow/index.js.map +0 -1
- package/dist/__node_modules/merge-stream/index.cjs +0 -37
- package/dist/__node_modules/merge-stream/index.cjs.map +0 -1
- package/dist/__node_modules/merge-stream/index.js +0 -38
- package/dist/__node_modules/merge-stream/index.js.map +0 -1
- package/dist/__node_modules/merge2/index.cjs +0 -116
- package/dist/__node_modules/merge2/index.cjs.map +0 -1
- package/dist/__node_modules/merge2/index.js +0 -117
- package/dist/__node_modules/merge2/index.js.map +0 -1
- package/dist/__node_modules/micromatch/index.cjs +0 -164
- package/dist/__node_modules/micromatch/index.cjs.map +0 -1
- package/dist/__node_modules/micromatch/index.js +0 -165
- package/dist/__node_modules/micromatch/index.js.map +0 -1
- package/dist/__node_modules/min-indent/index.cjs +0 -10
- package/dist/__node_modules/min-indent/index.cjs.map +0 -1
- package/dist/__node_modules/min-indent/index.js +0 -11
- package/dist/__node_modules/min-indent/index.js.map +0 -1
- package/dist/__node_modules/minimist-options/index.cjs +0 -91
- package/dist/__node_modules/minimist-options/index.cjs.map +0 -1
- package/dist/__node_modules/minimist-options/index.js +0 -92
- package/dist/__node_modules/minimist-options/index.js.map +0 -1
- package/dist/__node_modules/parse-json/index.cjs +0 -52
- package/dist/__node_modules/parse-json/index.cjs.map +0 -1
- package/dist/__node_modules/parse-json/index.js +0 -53
- package/dist/__node_modules/parse-json/index.js.map +0 -1
- package/dist/__node_modules/path-key/index.cjs +0 -14
- package/dist/__node_modules/path-key/index.cjs.map +0 -1
- package/dist/__node_modules/path-key/index.js +0 -15
- package/dist/__node_modules/path-key/index.js.map +0 -1
- package/dist/__node_modules/path-type/index.cjs +0 -41
- package/dist/__node_modules/path-type/index.cjs.map +0 -1
- package/dist/__node_modules/path-type/index.js +0 -42
- package/dist/__node_modules/path-type/index.js.map +0 -1
- package/dist/__node_modules/picomatch/index.cjs +0 -7
- package/dist/__node_modules/picomatch/index.cjs.map +0 -1
- package/dist/__node_modules/picomatch/index.js +0 -6
- package/dist/__node_modules/picomatch/index.js.map +0 -1
- package/dist/__node_modules/picomatch/lib/constants.cjs +0 -194
- package/dist/__node_modules/picomatch/lib/constants.cjs.map +0 -1
- package/dist/__node_modules/picomatch/lib/constants.js +0 -195
- package/dist/__node_modules/picomatch/lib/constants.js.map +0 -1
- package/dist/__node_modules/picomatch/lib/parse.cjs +0 -780
- package/dist/__node_modules/picomatch/lib/parse.cjs.map +0 -1
- package/dist/__node_modules/picomatch/lib/parse.js +0 -781
- package/dist/__node_modules/picomatch/lib/parse.js.map +0 -1
- package/dist/__node_modules/picomatch/lib/picomatch.cjs +0 -146
- package/dist/__node_modules/picomatch/lib/picomatch.cjs.map +0 -1
- package/dist/__node_modules/picomatch/lib/picomatch.js +0 -147
- package/dist/__node_modules/picomatch/lib/picomatch.js.map +0 -1
- package/dist/__node_modules/picomatch/lib/scan.cjs +0 -332
- package/dist/__node_modules/picomatch/lib/scan.cjs.map +0 -1
- package/dist/__node_modules/picomatch/lib/scan.js +0 -333
- package/dist/__node_modules/picomatch/lib/scan.js.map +0 -1
- package/dist/__node_modules/picomatch/lib/utils.cjs +0 -64
- package/dist/__node_modules/picomatch/lib/utils.cjs.map +0 -1
- package/dist/__node_modules/picomatch/lib/utils.js +0 -65
- package/dist/__node_modules/picomatch/lib/utils.js.map +0 -1
- package/dist/__node_modules/queue-microtask/index.cjs +0 -9
- package/dist/__node_modules/queue-microtask/index.cjs.map +0 -1
- package/dist/__node_modules/queue-microtask/index.js +0 -10
- package/dist/__node_modules/queue-microtask/index.js.map +0 -1
- package/dist/__node_modules/quick-lru/index.cjs +0 -234
- package/dist/__node_modules/quick-lru/index.cjs.map +0 -1
- package/dist/__node_modules/quick-lru/index.js +0 -235
- package/dist/__node_modules/quick-lru/index.js.map +0 -1
- package/dist/__node_modules/reusify/reusify.cjs +0 -27
- package/dist/__node_modules/reusify/reusify.cjs.map +0 -1
- package/dist/__node_modules/reusify/reusify.js +0 -28
- package/dist/__node_modules/reusify/reusify.js.map +0 -1
- package/dist/__node_modules/run-parallel/index.cjs +0 -52
- package/dist/__node_modules/run-parallel/index.cjs.map +0 -1
- package/dist/__node_modules/run-parallel/index.js +0 -53
- package/dist/__node_modules/run-parallel/index.js.map +0 -1
- package/dist/__node_modules/shebang-command/index.cjs +0 -17
- package/dist/__node_modules/shebang-command/index.cjs.map +0 -1
- package/dist/__node_modules/shebang-command/index.js +0 -18
- package/dist/__node_modules/shebang-command/index.js.map +0 -1
- package/dist/__node_modules/shebang-regex/index.cjs +0 -4
- package/dist/__node_modules/shebang-regex/index.cjs.map +0 -1
- package/dist/__node_modules/shebang-regex/index.js +0 -5
- package/dist/__node_modules/shebang-regex/index.js.map +0 -1
- package/dist/__node_modules/signal-exit/index.cjs +0 -148
- package/dist/__node_modules/signal-exit/index.cjs.map +0 -1
- package/dist/__node_modules/signal-exit/index.js +0 -149
- package/dist/__node_modules/signal-exit/index.js.map +0 -1
- package/dist/__node_modules/signal-exit/signals.cjs +0 -45
- package/dist/__node_modules/signal-exit/signals.cjs.map +0 -1
- package/dist/__node_modules/signal-exit/signals.js +0 -45
- package/dist/__node_modules/signal-exit/signals.js.map +0 -1
- package/dist/__node_modules/slash/index.cjs +0 -11
- package/dist/__node_modules/slash/index.cjs.map +0 -1
- package/dist/__node_modules/slash/index.js +0 -12
- package/dist/__node_modules/slash/index.js.map +0 -1
- package/dist/__node_modules/spdx-correct/index.cjs +0 -317
- package/dist/__node_modules/spdx-correct/index.cjs.map +0 -1
- package/dist/__node_modules/spdx-correct/index.js +0 -318
- package/dist/__node_modules/spdx-correct/index.js.map +0 -1
- package/dist/__node_modules/spdx-exceptions/index.json.cjs +0 -43
- package/dist/__node_modules/spdx-exceptions/index.json.cjs.map +0 -1
- package/dist/__node_modules/spdx-exceptions/index.json.js +0 -44
- package/dist/__node_modules/spdx-exceptions/index.json.js.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/index.cjs +0 -10
- package/dist/__node_modules/spdx-expression-parse/index.cjs.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/index.js +0 -11
- package/dist/__node_modules/spdx-expression-parse/index.js.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/parse.cjs +0 -110
- package/dist/__node_modules/spdx-expression-parse/parse.cjs.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/parse.js +0 -111
- package/dist/__node_modules/spdx-expression-parse/parse.js.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/scan.cjs +0 -103
- package/dist/__node_modules/spdx-expression-parse/scan.cjs.map +0 -1
- package/dist/__node_modules/spdx-expression-parse/scan.js +0 -104
- package/dist/__node_modules/spdx-expression-parse/scan.js.map +0 -1
- package/dist/__node_modules/spdx-license-ids/deprecated.json.cjs +0 -30
- package/dist/__node_modules/spdx-license-ids/deprecated.json.cjs.map +0 -1
- package/dist/__node_modules/spdx-license-ids/deprecated.json.js +0 -31
- package/dist/__node_modules/spdx-license-ids/deprecated.json.js.map +0 -1
- package/dist/__node_modules/spdx-license-ids/index.json.cjs +0 -470
- package/dist/__node_modules/spdx-license-ids/index.json.cjs.map +0 -1
- package/dist/__node_modules/spdx-license-ids/index.json.js +0 -471
- package/dist/__node_modules/spdx-license-ids/index.json.js.map +0 -1
- package/dist/__node_modules/to-regex-range/index.cjs +0 -215
- package/dist/__node_modules/to-regex-range/index.cjs.map +0 -1
- package/dist/__node_modules/to-regex-range/index.js +0 -216
- package/dist/__node_modules/to-regex-range/index.js.map +0 -1
- package/dist/__node_modules/trim-newlines/index.cjs +0 -29
- package/dist/__node_modules/trim-newlines/index.cjs.map +0 -1
- package/dist/__node_modules/trim-newlines/index.js +0 -30
- package/dist/__node_modules/trim-newlines/index.js.map +0 -1
- package/dist/__node_modules/validate-npm-package-license/index.cjs +0 -70
- package/dist/__node_modules/validate-npm-package-license/index.cjs.map +0 -1
- package/dist/__node_modules/validate-npm-package-license/index.js +0 -71
- package/dist/__node_modules/validate-npm-package-license/index.js.map +0 -1
- package/dist/__node_modules/which/which.cjs +0 -95
- package/dist/__node_modules/which/which.cjs.map +0 -1
- package/dist/__node_modules/which/which.js +0 -96
- package/dist/__node_modules/which/which.js.map +0 -1
- package/dist/_virtual/_commonjsHelpers.cjs +0 -5
- package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/array.cjs +0 -5
- package/dist/_virtual/array.cjs.map +0 -1
- package/dist/_virtual/array.js +0 -5
- package/dist/_virtual/array.js.map +0 -1
- package/dist/_virtual/async.cjs +0 -5
- package/dist/_virtual/async.cjs.map +0 -1
- package/dist/_virtual/async.js +0 -5
- package/dist/_virtual/async.js.map +0 -1
- package/dist/_virtual/async2.cjs +0 -5
- package/dist/_virtual/async2.cjs.map +0 -1
- package/dist/_virtual/async2.js +0 -5
- package/dist/_virtual/async2.js.map +0 -1
- package/dist/_virtual/async3.cjs +0 -5
- package/dist/_virtual/async3.cjs.map +0 -1
- package/dist/_virtual/async3.js +0 -5
- package/dist/_virtual/async3.js.map +0 -1
- package/dist/_virtual/async4.cjs +0 -5
- package/dist/_virtual/async4.cjs.map +0 -1
- package/dist/_virtual/async4.js +0 -5
- package/dist/_virtual/async4.js.map +0 -1
- package/dist/_virtual/async5.cjs +0 -5
- package/dist/_virtual/async5.cjs.map +0 -1
- package/dist/_virtual/async5.js +0 -5
- package/dist/_virtual/async5.js.map +0 -1
- package/dist/_virtual/async6.cjs +0 -5
- package/dist/_virtual/async6.cjs.map +0 -1
- package/dist/_virtual/async6.js +0 -5
- package/dist/_virtual/async6.js.map +0 -1
- package/dist/_virtual/common.cjs +0 -5
- package/dist/_virtual/common.cjs.map +0 -1
- package/dist/_virtual/common.js +0 -5
- package/dist/_virtual/common.js.map +0 -1
- package/dist/_virtual/common2.cjs +0 -5
- package/dist/_virtual/common2.cjs.map +0 -1
- package/dist/_virtual/common2.js +0 -5
- package/dist/_virtual/common2.js.map +0 -1
- package/dist/_virtual/constants.cjs +0 -5
- package/dist/_virtual/constants.cjs.map +0 -1
- package/dist/_virtual/constants.js +0 -5
- package/dist/_virtual/constants.js.map +0 -1
- package/dist/_virtual/deep.cjs +0 -5
- package/dist/_virtual/deep.cjs.map +0 -1
- package/dist/_virtual/deep.js +0 -5
- package/dist/_virtual/deep.js.map +0 -1
- package/dist/_virtual/entry.cjs +0 -5
- package/dist/_virtual/entry.cjs.map +0 -1
- package/dist/_virtual/entry.js +0 -5
- package/dist/_virtual/entry.js.map +0 -1
- package/dist/_virtual/entry2.cjs +0 -5
- package/dist/_virtual/entry2.cjs.map +0 -1
- package/dist/_virtual/entry2.js +0 -5
- package/dist/_virtual/entry2.js.map +0 -1
- package/dist/_virtual/errno.cjs +0 -5
- package/dist/_virtual/errno.cjs.map +0 -1
- package/dist/_virtual/errno.js +0 -5
- package/dist/_virtual/errno.js.map +0 -1
- package/dist/_virtual/error.cjs +0 -5
- package/dist/_virtual/error.cjs.map +0 -1
- package/dist/_virtual/error.js +0 -5
- package/dist/_virtual/error.js.map +0 -1
- package/dist/_virtual/escape.cjs +0 -5
- package/dist/_virtual/escape.cjs.map +0 -1
- package/dist/_virtual/escape.js +0 -5
- package/dist/_virtual/escape.js.map +0 -1
- package/dist/_virtual/fs.cjs +0 -5
- package/dist/_virtual/fs.cjs.map +0 -1
- package/dist/_virtual/fs.js +0 -5
- package/dist/_virtual/fs.js.map +0 -1
- package/dist/_virtual/fs2.cjs +0 -5
- package/dist/_virtual/fs2.cjs.map +0 -1
- package/dist/_virtual/fs2.js +0 -5
- package/dist/_virtual/fs2.js.map +0 -1
- package/dist/_virtual/fs3.cjs +0 -5
- package/dist/_virtual/fs3.cjs.map +0 -1
- package/dist/_virtual/fs3.js +0 -5
- package/dist/_virtual/fs3.js.map +0 -1
- package/dist/_virtual/fs4.cjs +0 -5
- package/dist/_virtual/fs4.cjs.map +0 -1
- package/dist/_virtual/fs4.js +0 -5
- package/dist/_virtual/fs4.js.map +0 -1
- package/dist/_virtual/identifier.cjs +0 -5
- package/dist/_virtual/identifier.cjs.map +0 -1
- package/dist/_virtual/identifier.js +0 -5
- package/dist/_virtual/identifier.js.map +0 -1
- package/dist/_virtual/index.cjs +0 -13
- package/dist/_virtual/index.cjs.map +0 -1
- package/dist/_virtual/index.js +0 -14
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index10.cjs +0 -13
- package/dist/_virtual/index10.cjs.map +0 -1
- package/dist/_virtual/index10.js +0 -14
- package/dist/_virtual/index10.js.map +0 -1
- package/dist/_virtual/index11.cjs +0 -5
- package/dist/_virtual/index11.cjs.map +0 -1
- package/dist/_virtual/index11.js +0 -5
- package/dist/_virtual/index11.js.map +0 -1
- package/dist/_virtual/index12.cjs +0 -5
- package/dist/_virtual/index12.cjs.map +0 -1
- package/dist/_virtual/index12.js +0 -5
- package/dist/_virtual/index12.js.map +0 -1
- package/dist/_virtual/index13.cjs +0 -13
- package/dist/_virtual/index13.cjs.map +0 -1
- package/dist/_virtual/index13.js +0 -14
- package/dist/_virtual/index13.js.map +0 -1
- package/dist/_virtual/index14.cjs +0 -5
- package/dist/_virtual/index14.cjs.map +0 -1
- package/dist/_virtual/index14.js +0 -5
- package/dist/_virtual/index14.js.map +0 -1
- package/dist/_virtual/index15.cjs +0 -5
- package/dist/_virtual/index15.cjs.map +0 -1
- package/dist/_virtual/index15.js +0 -5
- package/dist/_virtual/index15.js.map +0 -1
- package/dist/_virtual/index16.cjs +0 -13
- package/dist/_virtual/index16.cjs.map +0 -1
- package/dist/_virtual/index16.js +0 -14
- package/dist/_virtual/index16.js.map +0 -1
- package/dist/_virtual/index17.cjs +0 -5
- package/dist/_virtual/index17.cjs.map +0 -1
- package/dist/_virtual/index17.js +0 -5
- package/dist/_virtual/index17.js.map +0 -1
- package/dist/_virtual/index18.cjs +0 -13
- package/dist/_virtual/index18.cjs.map +0 -1
- package/dist/_virtual/index18.js +0 -14
- package/dist/_virtual/index18.js.map +0 -1
- package/dist/_virtual/index19.cjs +0 -5
- package/dist/_virtual/index19.cjs.map +0 -1
- package/dist/_virtual/index19.js +0 -5
- package/dist/_virtual/index19.js.map +0 -1
- package/dist/_virtual/index2.cjs +0 -13
- package/dist/_virtual/index2.cjs.map +0 -1
- package/dist/_virtual/index2.js +0 -14
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index20.cjs +0 -5
- package/dist/_virtual/index20.cjs.map +0 -1
- package/dist/_virtual/index20.js +0 -5
- package/dist/_virtual/index20.js.map +0 -1
- package/dist/_virtual/index21.cjs +0 -5
- package/dist/_virtual/index21.cjs.map +0 -1
- package/dist/_virtual/index21.js +0 -5
- package/dist/_virtual/index21.js.map +0 -1
- package/dist/_virtual/index22.cjs +0 -5
- package/dist/_virtual/index22.cjs.map +0 -1
- package/dist/_virtual/index22.js +0 -5
- package/dist/_virtual/index22.js.map +0 -1
- package/dist/_virtual/index3.cjs +0 -13
- package/dist/_virtual/index3.cjs.map +0 -1
- package/dist/_virtual/index3.js +0 -14
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.cjs +0 -13
- package/dist/_virtual/index4.cjs.map +0 -1
- package/dist/_virtual/index4.js +0 -14
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.cjs +0 -5
- package/dist/_virtual/index5.cjs.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/index6.cjs +0 -5
- package/dist/_virtual/index6.cjs.map +0 -1
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index6.js.map +0 -1
- package/dist/_virtual/index7.cjs +0 -13
- package/dist/_virtual/index7.cjs.map +0 -1
- package/dist/_virtual/index7.js +0 -14
- package/dist/_virtual/index7.js.map +0 -1
- package/dist/_virtual/index8.cjs +0 -13
- package/dist/_virtual/index8.cjs.map +0 -1
- package/dist/_virtual/index8.js +0 -14
- package/dist/_virtual/index8.js.map +0 -1
- package/dist/_virtual/index9.cjs +0 -13
- package/dist/_virtual/index9.cjs.map +0 -1
- package/dist/_virtual/index9.js +0 -14
- package/dist/_virtual/index9.js.map +0 -1
- package/dist/_virtual/keyword.cjs +0 -5
- package/dist/_virtual/keyword.cjs.map +0 -1
- package/dist/_virtual/keyword.js +0 -5
- package/dist/_virtual/keyword.js.map +0 -1
- package/dist/_virtual/matcher.cjs +0 -5
- package/dist/_virtual/matcher.cjs.map +0 -1
- package/dist/_virtual/matcher.js +0 -5
- package/dist/_virtual/matcher.js.map +0 -1
- package/dist/_virtual/partial.cjs +0 -5
- package/dist/_virtual/partial.cjs.map +0 -1
- package/dist/_virtual/partial.js +0 -5
- package/dist/_virtual/partial.js.map +0 -1
- package/dist/_virtual/path.cjs +0 -5
- package/dist/_virtual/path.cjs.map +0 -1
- package/dist/_virtual/path.js +0 -5
- package/dist/_virtual/path.js.map +0 -1
- package/dist/_virtual/pattern.cjs +0 -5
- package/dist/_virtual/pattern.cjs.map +0 -1
- package/dist/_virtual/pattern.js +0 -5
- package/dist/_virtual/pattern.js.map +0 -1
- package/dist/_virtual/patterns.cjs +0 -5
- package/dist/_virtual/patterns.cjs.map +0 -1
- package/dist/_virtual/patterns.js +0 -5
- package/dist/_virtual/patterns.js.map +0 -1
- package/dist/_virtual/provider.cjs +0 -5
- package/dist/_virtual/provider.cjs.map +0 -1
- package/dist/_virtual/provider.js +0 -5
- package/dist/_virtual/provider.js.map +0 -1
- package/dist/_virtual/queue.cjs +0 -13
- package/dist/_virtual/queue.cjs.map +0 -1
- package/dist/_virtual/queue.js +0 -14
- package/dist/_virtual/queue.js.map +0 -1
- package/dist/_virtual/reader.cjs +0 -5
- package/dist/_virtual/reader.cjs.map +0 -1
- package/dist/_virtual/reader.js +0 -5
- package/dist/_virtual/reader.js.map +0 -1
- package/dist/_virtual/reader2.cjs +0 -5
- package/dist/_virtual/reader2.cjs.map +0 -1
- package/dist/_virtual/reader2.js +0 -5
- package/dist/_virtual/reader2.js.map +0 -1
- package/dist/_virtual/settings.cjs +0 -5
- package/dist/_virtual/settings.cjs.map +0 -1
- package/dist/_virtual/settings.js +0 -5
- package/dist/_virtual/settings.js.map +0 -1
- package/dist/_virtual/settings2.cjs +0 -5
- package/dist/_virtual/settings2.cjs.map +0 -1
- package/dist/_virtual/settings2.js +0 -5
- package/dist/_virtual/settings2.js.map +0 -1
- package/dist/_virtual/settings3.cjs +0 -5
- package/dist/_virtual/settings3.cjs.map +0 -1
- package/dist/_virtual/settings3.js +0 -5
- package/dist/_virtual/settings3.js.map +0 -1
- package/dist/_virtual/settings4.cjs +0 -5
- package/dist/_virtual/settings4.cjs.map +0 -1
- package/dist/_virtual/settings4.js +0 -5
- package/dist/_virtual/settings4.js.map +0 -1
- package/dist/_virtual/signals.cjs +0 -13
- package/dist/_virtual/signals.cjs.map +0 -1
- package/dist/_virtual/signals.js +0 -14
- package/dist/_virtual/signals.js.map +0 -1
- package/dist/_virtual/stream.cjs +0 -5
- package/dist/_virtual/stream.cjs.map +0 -1
- package/dist/_virtual/stream.js +0 -5
- package/dist/_virtual/stream.js.map +0 -1
- package/dist/_virtual/stream2.cjs +0 -5
- package/dist/_virtual/stream2.cjs.map +0 -1
- package/dist/_virtual/stream2.js +0 -5
- package/dist/_virtual/stream2.js.map +0 -1
- package/dist/_virtual/stream3.cjs +0 -5
- package/dist/_virtual/stream3.cjs.map +0 -1
- package/dist/_virtual/stream3.js +0 -5
- package/dist/_virtual/stream3.js.map +0 -1
- package/dist/_virtual/stream4.cjs +0 -5
- package/dist/_virtual/stream4.cjs.map +0 -1
- package/dist/_virtual/stream4.js +0 -5
- package/dist/_virtual/stream4.js.map +0 -1
- package/dist/_virtual/string.cjs +0 -5
- package/dist/_virtual/string.cjs.map +0 -1
- package/dist/_virtual/string.js +0 -5
- package/dist/_virtual/string.js.map +0 -1
- package/dist/_virtual/sync.cjs +0 -5
- package/dist/_virtual/sync.cjs.map +0 -1
- package/dist/_virtual/sync.js +0 -5
- package/dist/_virtual/sync.js.map +0 -1
- package/dist/_virtual/sync2.cjs +0 -5
- package/dist/_virtual/sync2.cjs.map +0 -1
- package/dist/_virtual/sync2.js +0 -5
- package/dist/_virtual/sync2.js.map +0 -1
- package/dist/_virtual/sync3.cjs +0 -5
- package/dist/_virtual/sync3.cjs.map +0 -1
- package/dist/_virtual/sync3.js +0 -5
- package/dist/_virtual/sync3.js.map +0 -1
- package/dist/_virtual/sync4.cjs +0 -5
- package/dist/_virtual/sync4.cjs.map +0 -1
- package/dist/_virtual/sync4.js +0 -5
- package/dist/_virtual/sync4.js.map +0 -1
- package/dist/_virtual/sync5.cjs +0 -5
- package/dist/_virtual/sync5.cjs.map +0 -1
- package/dist/_virtual/sync5.js +0 -5
- package/dist/_virtual/sync5.js.map +0 -1
- package/dist/_virtual/sync6.cjs +0 -5
- package/dist/_virtual/sync6.cjs.map +0 -1
- package/dist/_virtual/sync6.js +0 -5
- package/dist/_virtual/sync6.js.map +0 -1
- package/dist/_virtual/tasks.cjs +0 -5
- package/dist/_virtual/tasks.cjs.map +0 -1
- package/dist/_virtual/tasks.js +0 -5
- package/dist/_virtual/tasks.js.map +0 -1
- package/dist/_virtual/utils.cjs +0 -5
- package/dist/_virtual/utils.cjs.map +0 -1
- package/dist/_virtual/utils.js +0 -5
- package/dist/_virtual/utils.js.map +0 -1
- package/dist/_virtual/utils2.cjs +0 -5
- package/dist/_virtual/utils2.cjs.map +0 -1
- package/dist/_virtual/utils2.js +0 -5
- package/dist/_virtual/utils2.js.map +0 -1
- package/dist/cli.cjs +0 -78
- package/dist/cli.cjs.map +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -77
- package/dist/cli.js.map +0 -1
- package/dist/constants.cjs +0 -7
- package/dist/constants.cjs.map +0 -1
- package/dist/constants.d.ts +0 -2
- package/dist/constants.js +0 -7
- package/dist/constants.js.map +0 -1
- package/dist/index.cjs +0 -6
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -6
- package/dist/index.js.map +0 -1
- package/dist/lib/assertExists.cjs +0 -9
- package/dist/lib/assertExists.cjs.map +0 -1
- package/dist/lib/assertExists.d.ts +0 -1
- package/dist/lib/assertExists.js +0 -9
- package/dist/lib/assertExists.js.map +0 -1
- package/dist/lib/framework.cjs +0 -77
- package/dist/lib/framework.cjs.map +0 -1
- package/dist/lib/framework.d.ts +0 -45
- package/dist/lib/framework.js +0 -77
- package/dist/lib/framework.js.map +0 -1
- package/dist/lib/listr.cjs +0 -13
- package/dist/lib/listr.cjs.map +0 -1
- package/dist/lib/listr.d.ts +0 -3
- package/dist/lib/listr.js +0 -13
- package/dist/lib/listr.js.map +0 -1
- package/dist/lib/packageManager.cjs +0 -47
- package/dist/lib/packageManager.cjs.map +0 -1
- package/dist/lib/packageManager.d.ts +0 -22
- package/dist/lib/packageManager.js +0 -47
- package/dist/lib/packageManager.js.map +0 -1
- package/dist/lib/prompt.cjs +0 -15
- package/dist/lib/prompt.cjs.map +0 -1
- package/dist/lib/prompt.d.ts +0 -10
- package/dist/lib/prompt.js +0 -15
- package/dist/lib/prompt.js.map +0 -1
- package/dist/lib/repositoryDomain.cjs +0 -130
- package/dist/lib/repositoryDomain.cjs.map +0 -1
- package/dist/lib/repositoryDomain.d.ts +0 -25
- package/dist/lib/repositoryDomain.js +0 -130
- package/dist/lib/repositoryDomain.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/index.cjs +0 -141
- package/dist/packages/init/__node_modules/execa/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/index.js +0 -141
- package/dist/packages/init/__node_modules/execa/index.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/command.cjs +0 -35
- package/dist/packages/init/__node_modules/execa/lib/command.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/command.js +0 -35
- package/dist/packages/init/__node_modules/execa/lib/command.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/error.cjs +0 -73
- package/dist/packages/init/__node_modules/execa/lib/error.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/error.js +0 -73
- package/dist/packages/init/__node_modules/execa/lib/error.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/kill.cjs +0 -81
- package/dist/packages/init/__node_modules/execa/lib/kill.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/kill.js +0 -81
- package/dist/packages/init/__node_modules/execa/lib/kill.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/promise.cjs +0 -31
- package/dist/packages/init/__node_modules/execa/lib/promise.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/promise.js +0 -31
- package/dist/packages/init/__node_modules/execa/lib/promise.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/stdio.cjs +0 -26
- package/dist/packages/init/__node_modules/execa/lib/stdio.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/stdio.js +0 -26
- package/dist/packages/init/__node_modules/execa/lib/stdio.js.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/stream.cjs +0 -68
- package/dist/packages/init/__node_modules/execa/lib/stream.cjs.map +0 -1
- package/dist/packages/init/__node_modules/execa/lib/stream.js +0 -68
- package/dist/packages/init/__node_modules/execa/lib/stream.js.map +0 -1
- package/dist/packages/init/__node_modules/get-stream/buffer-stream.cjs +0 -42
- package/dist/packages/init/__node_modules/get-stream/buffer-stream.cjs.map +0 -1
- package/dist/packages/init/__node_modules/get-stream/buffer-stream.js +0 -43
- package/dist/packages/init/__node_modules/get-stream/buffer-stream.js.map +0 -1
- package/dist/packages/init/__node_modules/get-stream/index.cjs +0 -56
- package/dist/packages/init/__node_modules/get-stream/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/get-stream/index.js +0 -57
- package/dist/packages/init/__node_modules/get-stream/index.js.map +0 -1
- 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/dist/packages/init/__node_modules/is-stream/index.cjs +0 -7
- package/dist/packages/init/__node_modules/is-stream/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/is-stream/index.js +0 -7
- package/dist/packages/init/__node_modules/is-stream/index.js.map +0 -1
- package/dist/packages/init/__node_modules/mimic-fn/index.cjs +0 -46
- package/dist/packages/init/__node_modules/mimic-fn/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/mimic-fn/index.js +0 -47
- package/dist/packages/init/__node_modules/mimic-fn/index.js.map +0 -1
- package/dist/packages/init/__node_modules/npm-run-path/index.cjs +0 -34
- package/dist/packages/init/__node_modules/npm-run-path/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/npm-run-path/index.js +0 -34
- package/dist/packages/init/__node_modules/npm-run-path/index.js.map +0 -1
- package/dist/packages/init/__node_modules/onetime/index.cjs +0 -32
- package/dist/packages/init/__node_modules/onetime/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/onetime/index.js +0 -33
- package/dist/packages/init/__node_modules/onetime/index.js.map +0 -1
- package/dist/packages/init/__node_modules/path-key/index.cjs +0 -13
- package/dist/packages/init/__node_modules/path-key/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/path-key/index.js +0 -14
- package/dist/packages/init/__node_modules/path-key/index.js.map +0 -1
- package/dist/packages/init/__node_modules/strip-final-newline/index.cjs +0 -14
- package/dist/packages/init/__node_modules/strip-final-newline/index.cjs.map +0 -1
- package/dist/packages/init/__node_modules/strip-final-newline/index.js +0 -15
- package/dist/packages/init/__node_modules/strip-final-newline/index.js.map +0 -1
- package/dist/packages/init/package.json.cjs +0 -7
- package/dist/packages/init/package.json.cjs.map +0 -1
- package/dist/packages/init/package.json.js +0 -7
- package/dist/packages/init/package.json.js.map +0 -1
- package/src/lib/packageManager.ts +0 -83
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { parseNr, parseNx, parseNi, detect } from "@antfu/ni";
|
|
2
|
-
import { execaCommand } from './../packages/init/__node_modules/execa/index.js';
|
|
3
|
-
const EXTRA_AGENT_FLAGS = {
|
|
4
|
-
npm: ["--color=always", "--loglevel=info"],
|
|
5
|
-
pnpm: ["--color"],
|
|
6
|
-
yarn: ["--color"],
|
|
7
|
-
"yarn@berry": ["--color"],
|
|
8
|
-
"pnpm@6": ["--color"],
|
|
9
|
-
bun: ["--color"]
|
|
10
|
-
// TODO: Validate that flags are correct
|
|
11
|
-
};
|
|
12
|
-
const installDependencies = async (args) => {
|
|
13
|
-
const commandArgs = args.dependencies ? Object.entries(args.dependencies).map(([pkg, range]) => `${pkg}@${range}`) : [];
|
|
14
|
-
if (commandArgs.length && args.dev) {
|
|
15
|
-
commandArgs.unshift("-D");
|
|
16
|
-
}
|
|
17
|
-
commandArgs.push(...EXTRA_AGENT_FLAGS[args.agent]);
|
|
18
|
-
const command = await parseNi(args.agent, commandArgs);
|
|
19
|
-
if (!command) {
|
|
20
|
-
throw new Error("Failed to begin dependency installation (could not parse command)");
|
|
21
|
-
}
|
|
22
|
-
const execaProcess = execaCommand(command, {
|
|
23
|
-
encoding: "utf-8",
|
|
24
|
-
...args.execa
|
|
25
|
-
});
|
|
26
|
-
return { execaProcess };
|
|
27
|
-
};
|
|
28
|
-
const getRunScriptCommand = async (args) => {
|
|
29
|
-
return await parseNr(args.agent, [args.script]) || `npm run ${args.script}`;
|
|
30
|
-
};
|
|
31
|
-
const getExecuteCommand = async (args) => {
|
|
32
|
-
return await parseNx(args.agent, [args.script]) || `npx ${args.script}`;
|
|
33
|
-
};
|
|
34
|
-
const detectPackageManager = async (cwd) => {
|
|
35
|
-
const agent = await detect({ autoInstall: true, cwd });
|
|
36
|
-
if (!agent) {
|
|
37
|
-
throw new Error("Failed to detect project's package manager");
|
|
38
|
-
}
|
|
39
|
-
return agent;
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
detectPackageManager,
|
|
43
|
-
getExecuteCommand,
|
|
44
|
-
getRunScriptCommand,
|
|
45
|
-
installDependencies
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=packageManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"packageManager.js","sources":["../../../src/lib/packageManager.ts"],"sourcesContent":["import { parseNi, parseNr, detect as niDetect, parseNx } from \"@antfu/ni\";\nimport {\n\tExecaChildProcess,\n\texecaCommand,\n\tOptions as ExacaOptions,\n} from \"execa\";\n\nexport type PackageManagerAgent = Exclude<\n\tAwaited<ReturnType<typeof niDetect>>,\n\tnull\n>;\n\nconst EXTRA_AGENT_FLAGS: Record<PackageManagerAgent, string[]> = {\n\tnpm: [\"--color=always\", \"--loglevel=info\"],\n\tpnpm: [\"--color\"], // TODO: Validate that flags are correct\n\tyarn: [\"--color\"],\n\t\"yarn@berry\": [\"--color\"], // TODO: Validate that flags are correct\n\t\"pnpm@6\": [\"--color\"], // TODO: Validate that flags are correct\n\tbun: [\"--color\"], // TODO: Validate that flags are correct\n};\n\ntype InstallDependenciesArgs = {\n\tagent: PackageManagerAgent;\n\tdependencies?: Record<string, string>;\n\tdev?: boolean;\n\texeca?: ExacaOptions;\n};\n\nexport const installDependencies = async (\n\targs: InstallDependenciesArgs,\n): Promise<{ execaProcess: ExecaChildProcess }> => {\n\tconst commandArgs = args.dependencies\n\t\t? Object.entries(args.dependencies).map(([pkg, range]) => `${pkg}@${range}`)\n\t\t: [];\n\n\tif (commandArgs.length && args.dev) {\n\t\tcommandArgs.unshift(\"-D\");\n\t}\n\n\tcommandArgs.push(...EXTRA_AGENT_FLAGS[args.agent]);\n\n\tconst command = await parseNi(args.agent, commandArgs);\n\n\tif (!command) {\n\t\tthrow new Error(\n\t\t\t\"Failed to begin dependency installation (could not parse command)\",\n\t\t);\n\t}\n\n\tconst execaProcess = execaCommand(command, {\n\t\tencoding: \"utf-8\",\n\t\t...args.execa,\n\t});\n\n\treturn { execaProcess };\n};\n\nexport const getRunScriptCommand = async (args: {\n\tagent: PackageManagerAgent;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNr(args.agent, [args.script])) || `npm run ${args.script}`;\n};\n\nexport const getExecuteCommand = async (args: {\n\tagent: PackageManagerAgent;\n\tscript: string;\n}): Promise<string> => {\n\treturn (await parseNx(args.agent, [args.script])) || `npx ${args.script}`;\n};\n\nexport const detectPackageManager = async (\n\tcwd?: string,\n): Promise<PackageManagerAgent> => {\n\t// We auto install agent for now otherwise ni could cause some issues with prompt\n\tconst agent = await niDetect({ autoInstall: true, cwd });\n\n\tif (!agent) {\n\t\tthrow new Error(\"Failed to detect project's package manager\");\n\t}\n\n\treturn agent;\n};\n"],"names":["niDetect"],"mappings":";;AAYA,MAAM,oBAA2D;AAAA,EAChE,KAAK,CAAC,kBAAkB,iBAAiB;AAAA,EACzC,MAAM,CAAC,SAAS;AAAA,EAChB,MAAM,CAAC,SAAS;AAAA,EAChB,cAAc,CAAC,SAAS;AAAA,EACxB,UAAU,CAAC,SAAS;AAAA,EACpB,KAAK,CAAC,SAAS;AAAA;;AAUH,MAAA,sBAAsB,OAClC,SACiD;AACjD,QAAM,cAAc,KAAK,eACtB,OAAO,QAAQ,KAAK,YAAY,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,GAAG,OAAO,OAAO,IACzE;AAEC,MAAA,YAAY,UAAU,KAAK,KAAK;AACnC,gBAAY,QAAQ,IAAI;AAAA,EACxB;AAED,cAAY,KAAK,GAAG,kBAAkB,KAAK,KAAK,CAAC;AAEjD,QAAM,UAAU,MAAM,QAAQ,KAAK,OAAO,WAAW;AAErD,MAAI,CAAC,SAAS;AACP,UAAA,IAAI,MACT,mEAAmE;AAAA,EAEpE;AAEK,QAAA,eAAe,aAAa,SAAS;AAAA,IAC1C,UAAU;AAAA,IACV,GAAG,KAAK;AAAA,EAAA,CACR;AAED,SAAO,EAAE,aAAY;AACtB;AAEa,MAAA,sBAAsB,OAAO,SAGpB;AACb,SAAA,MAAM,QAAQ,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,WAAW,KAAK;AACtE;AAEa,MAAA,oBAAoB,OAAO,SAGlB;AACb,SAAA,MAAM,QAAQ,KAAK,OAAO,CAAC,KAAK,MAAM,CAAC,KAAM,OAAO,KAAK;AAClE;AAEa,MAAA,uBAAuB,OACnC,QACiC;AAEjC,QAAM,QAAQ,MAAMA,OAAS,EAAE,aAAa,MAAM,KAAK;AAEvD,MAAI,CAAC,OAAO;AACL,UAAA,IAAI,MAAM,4CAA4C;AAAA,EAC5D;AAEM,SAAA;AACR;"}
|
package/dist/lib/prompt.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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
|
package/dist/lib/prompt.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;;"}
|
package/dist/lib/prompt.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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 {};
|
package/dist/lib/prompt.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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
|
package/dist/lib/prompt.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;"}
|
|
@@ -1,130 +0,0 @@
|
|
|
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.replaceAll(" ", "-").replaceAll("_", "-");
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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.replaceAll(\" \", \"-\").replaceAll(\"_\", \"-\");\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 = 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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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,130 +0,0 @@
|
|
|
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.replaceAll(" ", "-").replaceAll("_", "-");
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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.replaceAll(\" \", \"-\").replaceAll(\"_\", \"-\");\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 = 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":"AAAA,MAAM,SAAS;AAGf,MAAM,aAAa;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACA,EAAC,OAAO,CAAC,cAAc,UAAU,UAAU,EAAE;AAG9C,MAAM,WAAW;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACA,EAAC,OAAO,CAAC,WAAW,OAAO,UAAU,EAAE;AAExC,MAAM,aAAa,CAAC,gBAA0C;AACtD,SAAA,YAAY,KAAK,MAAM,KAAK,WAAW,YAAY,MAAM,CAAC;AAClE;AAEA,MAAM,eAAe,CAAC,WAA0B;AAC/C,MAAI,SAAS;AAEb,WAAS,IAAI,GAAG,IAAI,QAAQ,KAAK;AAChC,cAAU,WAAW,MAAM;AAAA,EAC3B;AAEM,SAAA;AACR;AAEO,MAAM,4BAA4B,MAAa;AAC9C,SAAA,uBACN,GAAG,WAAW,UAAU,KAAK,WAAW,QAAQ,KAAK,aAAa,CAAC,GAAG;AAExE;AAEa,MAAA,yBAAyB,CAAC,cAA6B;AAE/D,MAAA,SAAS,UAAU;AAKvB,WAAS,OAAO,WAAW,KAAK,GAAG,EAAE,WAAW,KAAK,GAAG;AAO/C,WAAA,OAAO,QAAQ,eAAe,EAAE;AAOhC,WAAA,OAAO,QAAQ,gBAAgB,EAAE;AAOjC,WAAA,OAAO,QAAQ,UAAU,GAAG;AAE9B,SAAA;AACR;AAEA,MAAM,8BAA8B,CACnC,mCACY;AAEX,SAAA,mCACA,uBAAuB,8BAA8B;AAEvD;AAEA,MAAM,kCAAkC,CACvC,gCACA,WACS;AACL,MAAA,CAAC,4BAA4B,8BAA8B,GAAG;AAC3D,UAAA,IAAI,UACT,KAAK,wGAAwG;AAAA,EAE9G;AACF;AAEO,MAAM,mBAAmB;AAAA,EAC/B,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;;AASH,MAAA,2BAA2B,CACvC,SACuC;AACP,kCAAA,KAAK,QAAQ,0BAA0B;AAEvE,QAAM,SAAsE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM3E,CAAC,iBAAiB,SAAS,GAAG,KAAK,OAAO,SAAS;AAAA,IACnD,CAAC,iBAAiB,UAAU,GAAG,KAAK,OAAO,SAAS;AAAA,EAAA;AAG9C,SAAA;AAAA,IACN,GAAG;AAAA,IACH,WAAW,OAAO,OAAO,MAAM,EAAE,KAAK,OAAO;AAAA,EAAA;AAE/C;AAUa,MAAA,0CAA0C,OACtD,SAC+D;AAE9D,kCAAA,KAAK,QACL,yCAAyC;AAGpC,QAAA,SAAS,yBAAyB,IAAI;AAExC,MAAA,CAAC,OAAO,aAAc,MAAM,KAAK,SAAS,KAAK,MAAM,GAAI;AACrD,WAAA;AAAA,MACN,GAAG;AAAA,MACH,CAAC,iBAAiB,aAAa,GAAG;AAAA,MAClC,WAAW;AAAA,IAAA;AAAA,EAEZ;AAEM,SAAA;AAAA,IACN,GAAG;AAAA,IACH,CAAC,iBAAiB,aAAa,GAAG;AAAA,EAAA;AAEpC;AAQa,MAAA,+CAA+C,CAC3D,SACkB;AACd,MAAA,KAAK,WAAW,WAAW;AAC9B,UAAM,kBAA4B,CAAA;AAE9B,QAAA,KAAK,WAAW,WAAW;AAC9B,sBAAgB,KAAK,mCAAmC;AAAA,IACxD;AACG,QAAA,KAAK,WAAW,YAAY;AAC/B,sBAAgB,KAAK,oCAAoC;AAAA,IACzD;AACD,QACC,iBAAiB,iBAAiB,KAAK,cACvC,KAAK,WAAW,eACf;AACD,sBAAgB,KAAK,kBAAkB;AAAA,IACvC;AAEG,QAAA,CAAC,gBAAgB,QAAQ;AAC5B,sBAAgB,KACf,wBAAwB,KAAK,UAAU,KAAK,UAAU,GAAG;AAAA,IAE1D;AAEM,WAAA,kBACN,KAAK,gBAAgB,IAAI,KAAK,kBAAkB,MAC7C,gBAAgB,KAAK,OAAO;AAAA,EAChC;AAEM,SAAA;AACR;"}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const node_buffer = require("node:buffer");
|
|
4
|
-
const path = require("node:path");
|
|
5
|
-
const childProcess = require("node:child_process");
|
|
6
|
-
const process = require("node:process");
|
|
7
|
-
require('./../../../../__node_modules/cross-spawn/index.cjs');
|
|
8
|
-
const index$3 = require("../strip-final-newline/index.cjs");
|
|
9
|
-
const index$2 = require("../npm-run-path/index.cjs");
|
|
10
|
-
const index = require("../onetime/index.cjs");
|
|
11
|
-
const error = require("./lib/error.cjs");
|
|
12
|
-
const stdio = require("./lib/stdio.cjs");
|
|
13
|
-
const kill = require("./lib/kill.cjs");
|
|
14
|
-
const stream = require("./lib/stream.cjs");
|
|
15
|
-
const promise = require("./lib/promise.cjs");
|
|
16
|
-
const command = require("./lib/command.cjs");
|
|
17
|
-
const index$1 = require("../../../../_virtual/index4.cjs");
|
|
18
|
-
const DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
19
|
-
const getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
20
|
-
const env = extendEnv ? { ...process.env, ...envOption } : envOption;
|
|
21
|
-
if (preferLocal) {
|
|
22
|
-
return index$2.npmRunPathEnv({ env, cwd: localDir, execPath });
|
|
23
|
-
}
|
|
24
|
-
return env;
|
|
25
|
-
};
|
|
26
|
-
const handleArguments = (file, args, options = {}) => {
|
|
27
|
-
const parsed = index$1.exports._parse(file, args, options);
|
|
28
|
-
file = parsed.command;
|
|
29
|
-
args = parsed.args;
|
|
30
|
-
options = parsed.options;
|
|
31
|
-
options = {
|
|
32
|
-
maxBuffer: DEFAULT_MAX_BUFFER,
|
|
33
|
-
buffer: true,
|
|
34
|
-
stripFinalNewline: true,
|
|
35
|
-
extendEnv: true,
|
|
36
|
-
preferLocal: false,
|
|
37
|
-
localDir: options.cwd || process.cwd(),
|
|
38
|
-
execPath: process.execPath,
|
|
39
|
-
encoding: "utf8",
|
|
40
|
-
reject: true,
|
|
41
|
-
cleanup: true,
|
|
42
|
-
all: false,
|
|
43
|
-
windowsHide: true,
|
|
44
|
-
...options
|
|
45
|
-
};
|
|
46
|
-
options.env = getEnv(options);
|
|
47
|
-
options.stdio = stdio.normalizeStdio(options);
|
|
48
|
-
if (process.platform === "win32" && path.basename(file, ".exe") === "cmd") {
|
|
49
|
-
args.unshift("/q");
|
|
50
|
-
}
|
|
51
|
-
return { file, args, options, parsed };
|
|
52
|
-
};
|
|
53
|
-
const handleOutput = (options, value, error2) => {
|
|
54
|
-
if (typeof value !== "string" && !node_buffer.Buffer.isBuffer(value)) {
|
|
55
|
-
return error2 === void 0 ? void 0 : "";
|
|
56
|
-
}
|
|
57
|
-
if (options.stripFinalNewline) {
|
|
58
|
-
return index$3(value);
|
|
59
|
-
}
|
|
60
|
-
return value;
|
|
61
|
-
};
|
|
62
|
-
function execa(file, args, options) {
|
|
63
|
-
const parsed = handleArguments(file, args, options);
|
|
64
|
-
const command$1 = command.joinCommand(file, args);
|
|
65
|
-
const escapedCommand = command.getEscapedCommand(file, args);
|
|
66
|
-
kill.validateTimeout(parsed.options);
|
|
67
|
-
let spawned;
|
|
68
|
-
try {
|
|
69
|
-
spawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);
|
|
70
|
-
} catch (error$1) {
|
|
71
|
-
const dummySpawned = new childProcess.ChildProcess();
|
|
72
|
-
const errorPromise = Promise.reject(error.makeError({
|
|
73
|
-
error: error$1,
|
|
74
|
-
stdout: "",
|
|
75
|
-
stderr: "",
|
|
76
|
-
all: "",
|
|
77
|
-
command: command$1,
|
|
78
|
-
escapedCommand,
|
|
79
|
-
parsed,
|
|
80
|
-
timedOut: false,
|
|
81
|
-
isCanceled: false,
|
|
82
|
-
killed: false
|
|
83
|
-
}));
|
|
84
|
-
return promise.mergePromise(dummySpawned, errorPromise);
|
|
85
|
-
}
|
|
86
|
-
const spawnedPromise = promise.getSpawnedPromise(spawned);
|
|
87
|
-
const timedPromise = kill.setupTimeout(spawned, parsed.options, spawnedPromise);
|
|
88
|
-
const processDone = kill.setExitHandler(spawned, parsed.options, timedPromise);
|
|
89
|
-
const context = { isCanceled: false };
|
|
90
|
-
spawned.kill = kill.spawnedKill.bind(null, spawned.kill.bind(spawned));
|
|
91
|
-
spawned.cancel = kill.spawnedCancel.bind(null, spawned, context);
|
|
92
|
-
const handlePromise = async () => {
|
|
93
|
-
const [{ error: error$1, exitCode, signal, timedOut }, stdoutResult, stderrResult, allResult] = await stream.getSpawnedResult(spawned, parsed.options, processDone);
|
|
94
|
-
const stdout = handleOutput(parsed.options, stdoutResult);
|
|
95
|
-
const stderr = handleOutput(parsed.options, stderrResult);
|
|
96
|
-
const all = handleOutput(parsed.options, allResult);
|
|
97
|
-
if (error$1 || exitCode !== 0 || signal !== null) {
|
|
98
|
-
const returnedError = error.makeError({
|
|
99
|
-
error: error$1,
|
|
100
|
-
exitCode,
|
|
101
|
-
signal,
|
|
102
|
-
stdout,
|
|
103
|
-
stderr,
|
|
104
|
-
all,
|
|
105
|
-
command: command$1,
|
|
106
|
-
escapedCommand,
|
|
107
|
-
parsed,
|
|
108
|
-
timedOut,
|
|
109
|
-
isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),
|
|
110
|
-
killed: spawned.killed
|
|
111
|
-
});
|
|
112
|
-
if (!parsed.options.reject) {
|
|
113
|
-
return returnedError;
|
|
114
|
-
}
|
|
115
|
-
throw returnedError;
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
command: command$1,
|
|
119
|
-
escapedCommand,
|
|
120
|
-
exitCode: 0,
|
|
121
|
-
stdout,
|
|
122
|
-
stderr,
|
|
123
|
-
all,
|
|
124
|
-
failed: false,
|
|
125
|
-
timedOut: false,
|
|
126
|
-
isCanceled: false,
|
|
127
|
-
killed: false
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
const handlePromiseOnce = index(handlePromise);
|
|
131
|
-
stream.handleInput(spawned, parsed.options.input);
|
|
132
|
-
spawned.all = stream.makeAllStream(spawned, parsed.options);
|
|
133
|
-
return promise.mergePromise(spawned, handlePromiseOnce);
|
|
134
|
-
}
|
|
135
|
-
function execaCommand(command$1, options) {
|
|
136
|
-
const [file, ...args] = command.parseCommand(command$1);
|
|
137
|
-
return execa(file, args, options);
|
|
138
|
-
}
|
|
139
|
-
exports.execa = execa;
|
|
140
|
-
exports.execaCommand = execaCommand;
|
|
141
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {handleInput, getSpawnedResult, makeAllStream, validateInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, getEscapedCommand} from './lib/command.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["npmRunPathEnv","crossSpawn","normalizeStdio","error","Buffer","stripFinalNewline","command","joinCommand","getEscapedCommand","validateTimeout","makeError","mergePromise","getSpawnedPromise","setupTimeout","setExitHandler","spawnedKill","spawnedCancel","getSpawnedResult","onetime","handleInput","makeAllStream","parseCommand"],"mappings":"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"}
|