Run npm install (#43)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m18s
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m18s
Reviewed-on: #43
This commit was merged in pull request #43.
This commit is contained in:
12
node_modules/jackspeak/dist/commonjs/index.d.ts
generated
vendored
12
node_modules/jackspeak/dist/commonjs/index.d.ts
generated
vendored
@@ -195,9 +195,21 @@ export interface JackOptions {
|
||||
export declare class Jack<C extends ConfigSet = {}> {
|
||||
#private;
|
||||
constructor(options?: JackOptions);
|
||||
/**
|
||||
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
|
||||
* but also including `description` and `short` fields, if set.
|
||||
*/
|
||||
get definitions(): C;
|
||||
/** map of `{ <short>: <long> }` strings for each short name defined */
|
||||
get shorts(): Record<string, string>;
|
||||
/**
|
||||
* options passed to the {@link Jack} constructor
|
||||
*/
|
||||
get jackOptions(): JackOptions;
|
||||
/**
|
||||
* the data used to generate {@link Jack#usage} and
|
||||
* {@link Jack#usageMarkdown} content.
|
||||
*/
|
||||
get usageFields(): UsageField[];
|
||||
/**
|
||||
* Set the default value (which will still be overridden by env or cli)
|
||||
|
||||
2
node_modules/jackspeak/dist/commonjs/index.d.ts.map
generated
vendored
2
node_modules/jackspeak/dist/commonjs/index.d.ts.map
generated
vendored
File diff suppressed because one or more lines are too long
13
node_modules/jackspeak/dist/commonjs/index.js
generated
vendored
13
node_modules/jackspeak/dist/commonjs/index.js
generated
vendored
@@ -243,15 +243,27 @@ class Jack {
|
||||
this.#configSet = Object.create(null);
|
||||
this.#shorts = Object.create(null);
|
||||
}
|
||||
/**
|
||||
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
|
||||
* but also including `description` and `short` fields, if set.
|
||||
*/
|
||||
get definitions() {
|
||||
return this.#configSet;
|
||||
}
|
||||
/** map of `{ <short>: <long> }` strings for each short name defined */
|
||||
get shorts() {
|
||||
return this.#shorts;
|
||||
}
|
||||
/**
|
||||
* options passed to the {@link Jack} constructor
|
||||
*/
|
||||
get jackOptions() {
|
||||
return this.#options;
|
||||
}
|
||||
/**
|
||||
* the data used to generate {@link Jack#usage} and
|
||||
* {@link Jack#usageMarkdown} content.
|
||||
*/
|
||||
get usageFields() {
|
||||
return this.#fields;
|
||||
}
|
||||
@@ -270,6 +282,7 @@ class Jack {
|
||||
/* c8 ignore next */
|
||||
const cause = typeof er.cause === 'object' ? er.cause : {};
|
||||
er.cause = { ...cause, path: source };
|
||||
Error.captureStackTrace(er, this.setConfigValues);
|
||||
}
|
||||
throw er;
|
||||
}
|
||||
|
||||
2
node_modules/jackspeak/dist/commonjs/index.js.map
generated
vendored
2
node_modules/jackspeak/dist/commonjs/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
12
node_modules/jackspeak/dist/esm/index.d.ts
generated
vendored
12
node_modules/jackspeak/dist/esm/index.d.ts
generated
vendored
@@ -195,9 +195,21 @@ export interface JackOptions {
|
||||
export declare class Jack<C extends ConfigSet = {}> {
|
||||
#private;
|
||||
constructor(options?: JackOptions);
|
||||
/**
|
||||
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
|
||||
* but also including `description` and `short` fields, if set.
|
||||
*/
|
||||
get definitions(): C;
|
||||
/** map of `{ <short>: <long> }` strings for each short name defined */
|
||||
get shorts(): Record<string, string>;
|
||||
/**
|
||||
* options passed to the {@link Jack} constructor
|
||||
*/
|
||||
get jackOptions(): JackOptions;
|
||||
/**
|
||||
* the data used to generate {@link Jack#usage} and
|
||||
* {@link Jack#usageMarkdown} content.
|
||||
*/
|
||||
get usageFields(): UsageField[];
|
||||
/**
|
||||
* Set the default value (which will still be overridden by env or cli)
|
||||
|
||||
2
node_modules/jackspeak/dist/esm/index.d.ts.map
generated
vendored
2
node_modules/jackspeak/dist/esm/index.d.ts.map
generated
vendored
File diff suppressed because one or more lines are too long
13
node_modules/jackspeak/dist/esm/index.js
generated
vendored
13
node_modules/jackspeak/dist/esm/index.js
generated
vendored
@@ -234,15 +234,27 @@ export class Jack {
|
||||
this.#configSet = Object.create(null);
|
||||
this.#shorts = Object.create(null);
|
||||
}
|
||||
/**
|
||||
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
|
||||
* but also including `description` and `short` fields, if set.
|
||||
*/
|
||||
get definitions() {
|
||||
return this.#configSet;
|
||||
}
|
||||
/** map of `{ <short>: <long> }` strings for each short name defined */
|
||||
get shorts() {
|
||||
return this.#shorts;
|
||||
}
|
||||
/**
|
||||
* options passed to the {@link Jack} constructor
|
||||
*/
|
||||
get jackOptions() {
|
||||
return this.#options;
|
||||
}
|
||||
/**
|
||||
* the data used to generate {@link Jack#usage} and
|
||||
* {@link Jack#usageMarkdown} content.
|
||||
*/
|
||||
get usageFields() {
|
||||
return this.#fields;
|
||||
}
|
||||
@@ -261,6 +273,7 @@ export class Jack {
|
||||
/* c8 ignore next */
|
||||
const cause = typeof er.cause === 'object' ? er.cause : {};
|
||||
er.cause = { ...cause, path: source };
|
||||
Error.captureStackTrace(er, this.setConfigValues);
|
||||
}
|
||||
throw er;
|
||||
}
|
||||
|
||||
2
node_modules/jackspeak/dist/esm/index.js.map
generated
vendored
2
node_modules/jackspeak/dist/esm/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user