@decaf-ts/utils 1.3.2 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/lib/cjs/bin/modules.cjs +14 -0
- package/lib/cjs/bin/modules.cjs.map +1 -0
- package/lib/cjs/bin/npm-link.cjs +14 -0
- package/lib/cjs/bin/npm-link.cjs.map +1 -0
- package/lib/cjs/bin/npm-token.cjs +14 -0
- package/lib/cjs/bin/npm-token.cjs.map +1 -0
- package/lib/cjs/bin/run-all.cjs +14 -0
- package/lib/cjs/bin/run-all.cjs.map +1 -0
- package/lib/cjs/cli/commands/index.cjs +5 -0
- package/lib/cjs/cli/commands/index.cjs.map +1 -1
- package/lib/cjs/cli/commands/modules.cjs +66 -0
- package/lib/cjs/cli/commands/modules.cjs.map +1 -0
- package/lib/cjs/cli/commands/npm-link.cjs +165 -0
- package/lib/cjs/cli/commands/npm-link.cjs.map +1 -0
- package/lib/cjs/cli/commands/npm-token.cjs +63 -0
- package/lib/cjs/cli/commands/npm-token.cjs.map +1 -0
- package/lib/cjs/cli/commands/run-all.cjs +55 -0
- package/lib/cjs/cli/commands/run-all.cjs.map +1 -0
- package/lib/cjs/cli/commands/tag-release-shell.cjs +177 -0
- package/lib/cjs/cli/commands/tag-release-shell.cjs.map +1 -0
- package/lib/cjs/index.cjs +1 -1
- package/lib/esm/bin/modules.js +10 -0
- package/lib/esm/bin/modules.js.map +1 -0
- package/lib/esm/bin/npm-link.js +10 -0
- package/lib/esm/bin/npm-link.js.map +1 -0
- package/lib/esm/bin/npm-token.js +10 -0
- package/lib/esm/bin/npm-token.js.map +1 -0
- package/lib/esm/bin/run-all.js +10 -0
- package/lib/esm/bin/run-all.js.map +1 -0
- package/lib/esm/cli/commands/index.js +5 -0
- package/lib/esm/cli/commands/index.js.map +1 -1
- package/lib/esm/cli/commands/modules.js +56 -0
- package/lib/esm/cli/commands/modules.js.map +1 -0
- package/lib/esm/cli/commands/npm-link.js +157 -0
- package/lib/esm/cli/commands/npm-link.js.map +1 -0
- package/lib/esm/cli/commands/npm-token.js +55 -0
- package/lib/esm/cli/commands/npm-token.js.map +1 -0
- package/lib/esm/cli/commands/run-all.js +47 -0
- package/lib/esm/cli/commands/run-all.js.map +1 -0
- package/lib/esm/cli/commands/tag-release-shell.js +169 -0
- package/lib/esm/cli/commands/tag-release-shell.js.map +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/types/bin/modules.d.cts +1 -0
- package/lib/types/bin/modules.d.mts +1 -0
- package/lib/types/bin/npm-link.d.cts +1 -0
- package/lib/types/bin/npm-link.d.mts +1 -0
- package/lib/types/bin/npm-token.d.cts +1 -0
- package/lib/types/bin/npm-token.d.mts +1 -0
- package/lib/types/bin/run-all.d.cts +1 -0
- package/lib/types/bin/run-all.d.mts +1 -0
- package/lib/types/cli/commands/index.d.cts +5 -0
- package/lib/types/cli/commands/index.d.mts +5 -0
- package/lib/types/cli/commands/modules.d.cts +18 -0
- package/lib/types/cli/commands/modules.d.mts +18 -0
- package/lib/types/cli/commands/npm-link.d.cts +34 -0
- package/lib/types/cli/commands/npm-link.d.mts +34 -0
- package/lib/types/cli/commands/npm-token.d.cts +22 -0
- package/lib/types/cli/commands/npm-token.d.mts +22 -0
- package/lib/types/cli/commands/run-all.d.cts +21 -0
- package/lib/types/cli/commands/run-all.d.mts +21 -0
- package/lib/types/cli/commands/tag-release-shell.d.cts +56 -0
- package/lib/types/cli/commands/tag-release-shell.d.mts +56 -0
- package/lib/types/index.d.cts +1 -1
- package/lib/types/index.d.mts +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LoggingConfig } from "@decaf-ts/logging";
|
|
2
|
+
import { Command } from "../command.d.mts";
|
|
3
|
+
import { DefaultCommandValues } from "../constants.d.mts";
|
|
4
|
+
declare const options: {
|
|
5
|
+
maxTraversal: {
|
|
6
|
+
type: string;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
tokenFiles: {
|
|
10
|
+
type: string;
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
default: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare class NpmTokenCommand extends Command<typeof options, void> {
|
|
16
|
+
constructor();
|
|
17
|
+
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
|
|
18
|
+
maxTraversal: unknown;
|
|
19
|
+
tokenFiles: unknown;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LoggingConfig } from "@decaf-ts/logging";
|
|
2
|
+
import { Command } from "../command.d.cts";
|
|
3
|
+
import { DefaultCommandValues } from "../constants.d.cts";
|
|
4
|
+
declare const options: {
|
|
5
|
+
basePath: {
|
|
6
|
+
type: string;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
command: {
|
|
10
|
+
type: string;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare class RunAllCommand extends Command<typeof options, void> {
|
|
15
|
+
constructor();
|
|
16
|
+
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
|
|
17
|
+
basePath: unknown;
|
|
18
|
+
command: unknown;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LoggingConfig } from "@decaf-ts/logging";
|
|
2
|
+
import { Command } from "../command.d.mts";
|
|
3
|
+
import { DefaultCommandValues } from "../constants.d.mts";
|
|
4
|
+
declare const options: {
|
|
5
|
+
basePath: {
|
|
6
|
+
type: string;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
command: {
|
|
10
|
+
type: string;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare class RunAllCommand extends Command<typeof options, void> {
|
|
15
|
+
constructor();
|
|
16
|
+
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
|
|
17
|
+
basePath: unknown;
|
|
18
|
+
command: unknown;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LoggingConfig } from "@decaf-ts/logging";
|
|
2
|
+
import { Command } from "../command.d.cts";
|
|
3
|
+
import { DefaultCommandValues } from "../constants.d.cts";
|
|
4
|
+
declare const options: {
|
|
5
|
+
public: {
|
|
6
|
+
type: string;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
private: {
|
|
10
|
+
type: string;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
gitToken: {
|
|
14
|
+
type: string;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
npmToken: {
|
|
18
|
+
type: string;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
gitUser: {
|
|
22
|
+
type: string;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
allowFromBranch: {
|
|
26
|
+
type: string;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
tag: {
|
|
30
|
+
type: string;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
message: {
|
|
34
|
+
type: string;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class TagReleaseCommand extends Command<typeof options, void> {
|
|
39
|
+
constructor();
|
|
40
|
+
private ensureReleaseBranch;
|
|
41
|
+
private prepareTag;
|
|
42
|
+
private prepareMessage;
|
|
43
|
+
private hasToken;
|
|
44
|
+
private readToken;
|
|
45
|
+
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
|
|
46
|
+
public: unknown;
|
|
47
|
+
private: unknown;
|
|
48
|
+
gitToken: unknown;
|
|
49
|
+
npmToken: unknown;
|
|
50
|
+
gitUser: unknown;
|
|
51
|
+
allowFromBranch: unknown;
|
|
52
|
+
tag: unknown;
|
|
53
|
+
message: unknown;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LoggingConfig } from "@decaf-ts/logging";
|
|
2
|
+
import { Command } from "../command.d.mts";
|
|
3
|
+
import { DefaultCommandValues } from "../constants.d.mts";
|
|
4
|
+
declare const options: {
|
|
5
|
+
public: {
|
|
6
|
+
type: string;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
private: {
|
|
10
|
+
type: string;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
gitToken: {
|
|
14
|
+
type: string;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
npmToken: {
|
|
18
|
+
type: string;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
gitUser: {
|
|
22
|
+
type: string;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
allowFromBranch: {
|
|
26
|
+
type: string;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
tag: {
|
|
30
|
+
type: string;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
message: {
|
|
34
|
+
type: string;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class TagReleaseCommand extends Command<typeof options, void> {
|
|
39
|
+
constructor();
|
|
40
|
+
private ensureReleaseBranch;
|
|
41
|
+
private prepareTag;
|
|
42
|
+
private prepareMessage;
|
|
43
|
+
private hasToken;
|
|
44
|
+
private readToken;
|
|
45
|
+
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
|
|
46
|
+
public: unknown;
|
|
47
|
+
private: unknown;
|
|
48
|
+
gitToken: unknown;
|
|
49
|
+
npmToken: unknown;
|
|
50
|
+
gitUser: unknown;
|
|
51
|
+
allowFromBranch: unknown;
|
|
52
|
+
tag: unknown;
|
|
53
|
+
message: unknown;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
package/lib/types/index.d.cts
CHANGED
|
@@ -27,7 +27,7 @@ export * from "./release-chain/index.d.cts";
|
|
|
27
27
|
* @const VERSION
|
|
28
28
|
* @memberOf module:utils
|
|
29
29
|
*/
|
|
30
|
-
export declare const VERSION = "1.
|
|
30
|
+
export declare const VERSION = "1.5.0";
|
|
31
31
|
/**
|
|
32
32
|
* @description Represents the current version of the module.
|
|
33
33
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/lib/types/index.d.mts
CHANGED
|
@@ -27,7 +27,7 @@ export * from "./release-chain/index.d.mts";
|
|
|
27
27
|
* @const VERSION
|
|
28
28
|
* @memberOf module:utils
|
|
29
29
|
*/
|
|
30
|
-
export declare const VERSION = "1.
|
|
30
|
+
export declare const VERSION = "1.5.0";
|
|
31
31
|
/**
|
|
32
32
|
* @description Represents the current version of the module.
|
|
33
33
|
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "module management utils for decaf-ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"types": "./lib/types/index.d.mts",
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"bin": {
|
|
35
|
+
"modules": "lib/cjs/bin/modules.cjs",
|
|
36
|
+
"run-all": "lib/cjs/bin/run-all.cjs",
|
|
37
|
+
"npm-link": "lib/cjs/bin/npm-link.cjs",
|
|
38
|
+
"npm-token": "lib/cjs/bin/npm-token.cjs",
|
|
35
39
|
"tag-release": "lib/cjs/bin/tag-release.cjs",
|
|
36
40
|
"build-scripts": "lib/cjs/bin/build-scripts.cjs",
|
|
37
41
|
"release-chain": "lib/cjs/bin/release-chain.cjs",
|