jsrepo 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/commands/test.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -2047,7 +2047,7 @@ var schema6 = v8.object({
|
|
|
2047
2047
|
verbose: v8.boolean(),
|
|
2048
2048
|
cwd: v8.string()
|
|
2049
2049
|
});
|
|
2050
|
-
var test = new Command5("test").description("Tests local blocks against most recent remote tests.").addArgument(new Argument("[blocks...]", "The blocks you want to test.").default([])).option("
|
|
2050
|
+
var test = new Command5("test").description("Tests local blocks against most recent remote tests.").addArgument(new Argument("[blocks...]", "The blocks you want to test.").default([])).option("--repo <repo>", "Repository to download the blocks from.").option("-A, --allow", "Allow jsrepo to download code from the provided repo.", false).option("--debug", "Leaves the temp test file around for debugging upon failure.", false).option("--verbose", "Include debug logs.", false).option("--cwd <path>", "The current working directory.", process.cwd()).action(async (blockNames, opts) => {
|
|
2051
2051
|
const options = v8.parse(schema6, opts);
|
|
2052
2052
|
_intro(context.package.version);
|
|
2053
2053
|
await _test(blockNames, options);
|
package/package.json
CHANGED
package/src/commands/test.ts
CHANGED
|
@@ -30,8 +30,8 @@ type Options = v.InferInput<typeof schema>;
|
|
|
30
30
|
const test = new Command('test')
|
|
31
31
|
.description('Tests local blocks against most recent remote tests.')
|
|
32
32
|
.addArgument(new Argument('[blocks...]', 'The blocks you want to test.').default([]))
|
|
33
|
-
.option('-A, --allow', 'Allow jsrepo to download code from the provided repo.', false)
|
|
34
33
|
.option('--repo <repo>', 'Repository to download the blocks from.')
|
|
34
|
+
.option('-A, --allow', 'Allow jsrepo to download code from the provided repo.', false)
|
|
35
35
|
.option('--debug', 'Leaves the temp test file around for debugging upon failure.', false)
|
|
36
36
|
.option('--verbose', 'Include debug logs.', false)
|
|
37
37
|
.option('--cwd <path>', 'The current working directory.', process.cwd())
|