@gluhar/cli 6.0.0-next.0 → 6.0.0-next.3
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 +3 -5
- package/src/commands/build/build.d.ts.map +1 -1
- package/src/commands/build/build.js +15 -3
- package/src/commands/release/ReleaseOptions.d.ts +0 -1
- package/src/commands/release/ReleaseOptions.d.ts.map +1 -1
- package/src/commands/release/index.d.ts.map +1 -1
- package/src/commands/release/index.js +1 -2
- package/src/commands/release/publish.d.ts +5 -2
- package/src/commands/release/publish.d.ts.map +1 -1
- package/src/commands/release/publish.js +8 -13
- package/src/commands/release/release.js +1 -1
- package/src/scripts/cmd/executeBash.d.ts.map +1 -1
- package/src/scripts/cmd/executeBash.js +2 -1
- package/src/scripts/cmd/exitOnFailure.d.ts +1 -1
- package/src/scripts/cmd/exitOnFailure.js +1 -1
- package/src/scripts/cmd/parseArgs.d.ts +6 -1
- package/src/scripts/cmd/parseArgs.d.ts.map +1 -1
- package/src/scripts/cmd/parseArgs.js +10 -2
- package/src/scripts/cmd/parseBashArgs.d.ts +1 -1
- package/src/scripts/cmd/parseBashArgs.d.ts.map +1 -1
- package/src/scripts/cmd/parseBashArgs.js +2 -2
- package/src/scripts/lerna/index.d.ts +0 -1
- package/src/scripts/lerna/index.d.ts.map +1 -1
- package/src/scripts/lerna/index.js +0 -1
- package/src/commands/danka/DankaOptions.d.ts +0 -4
- package/src/commands/danka/DankaOptions.d.ts.map +0 -1
- package/src/commands/danka/DankaOptions.js +0 -2
- package/src/commands/danka/danka.d.ts +0 -3
- package/src/commands/danka/danka.d.ts.map +0 -1
- package/src/commands/danka/danka.js +0 -8
- package/src/commands/danka/index.d.ts +0 -4
- package/src/commands/danka/index.d.ts.map +0 -1
- package/src/commands/danka/index.js +0 -9
- package/src/commands/danka/log.d.ts +0 -2
- package/src/commands/danka/log.d.ts.map +0 -1
- package/src/commands/danka/log.js +0 -5
- package/src/commands/kiss/KissOptions.d.ts +0 -4
- package/src/commands/kiss/KissOptions.d.ts.map +0 -1
- package/src/commands/kiss/KissOptions.js +0 -2
- package/src/commands/kiss/index.d.ts +0 -4
- package/src/commands/kiss/index.d.ts.map +0 -1
- package/src/commands/kiss/index.js +0 -9
- package/src/commands/kiss/kiss.d.ts +0 -3
- package/src/commands/kiss/kiss.d.ts.map +0 -1
- package/src/commands/kiss/kiss.js +0 -8
- package/src/commands/kiss/log.d.ts +0 -2
- package/src/commands/kiss/log.d.ts.map +0 -1
- package/src/commands/kiss/log.js +0 -5
- package/src/scripts/lerna/publish.sh +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/cli",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.3",
|
|
4
4
|
"description": "Gluhar cli commands and scripts",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"directory": "packages/cli"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
|
-
".": "./src/index.
|
|
12
|
-
"./*": "./src/*/index.ts"
|
|
11
|
+
".": "./src/index.js"
|
|
13
12
|
},
|
|
14
13
|
"main": "./src/index.js",
|
|
15
14
|
"bin": {
|
|
@@ -50,6 +49,5 @@
|
|
|
50
49
|
"tsc-alias": "^1.8.10",
|
|
51
50
|
"tsconfig-paths": "^4.2.0",
|
|
52
51
|
"typescript": "^5.5.4"
|
|
53
|
-
}
|
|
54
|
-
"gitHead": "8773cd99c43cbe6a7dc415e50af8b13a7b8d4daf"
|
|
52
|
+
}
|
|
55
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/build.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,eAAO,MAAM,KAAK,GAAI,SAAS,YAAY,SAmC1C,CAAC"}
|
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.build = void 0;
|
|
4
|
+
const fs_1 = require("fs");
|
|
4
5
|
const cmd_1 = require("../../scripts/cmd");
|
|
5
6
|
const log_1 = require("./log");
|
|
6
7
|
const build = (options) => {
|
|
7
8
|
const { type } = options;
|
|
8
9
|
// INFO Nuxt modules need a structure of [pkg.json, dist/] to function properly where as my release script needs all pkgs to be released from a dist folder
|
|
9
10
|
if (type === "module") {
|
|
11
|
+
// The package's own builder, not whatever `nuxt-module-build` is first on PATH: the CLI runs
|
|
12
|
+
// through the root workspace, whose .bin holds @nuxtjs/device's module-builder 0.8.3 (Nuxt 3).
|
|
13
|
+
// Every 6.0.0-next.* up to .1 was built with it instead of the declared ^1. npm only nests ^1
|
|
14
|
+
// under each package while that conflict lasts; once it can hoist ^1, the root bin is right.
|
|
15
|
+
const local = "./node_modules/.bin/nuxt-module-build";
|
|
16
|
+
const builder = (0, fs_1.existsSync)(local) ? local : "nuxt-module-build";
|
|
17
|
+
// Every module's tsconfig extends ./.nuxt/tsconfig.json, which only `prepare` generates.
|
|
18
|
+
// Locally `dev:prepare` has always run; on a clean CI checkout it hasn't, the build
|
|
19
|
+
// fails, and an empty dist used to get published (6.0.0-next.1).
|
|
20
|
+
log_1.log.info("Prepare nuxt module types");
|
|
21
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)(`${builder} prepare`), "nuxt-module-build prepare");
|
|
10
22
|
log_1.log.info("Build nuxt module in dist");
|
|
11
|
-
(0, cmd_1.executeCmd)("nuxt-module-build build");
|
|
23
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)(`${builder} build`), "nuxt-module-build build");
|
|
12
24
|
log_1.log.info("Copy contents of dist on level down");
|
|
13
|
-
(0, cmd_1.executeCmd)('copyfiles "dist/**/*" dist');
|
|
25
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)('copyfiles "dist/**/*" dist'), "copyfiles dist");
|
|
14
26
|
// log.info("Delete the copied files");
|
|
15
27
|
// executeCmd(
|
|
16
28
|
// "find ./dist -mindepth 1 ! -path './dist/dist*' -exec rm -rf {} +"
|
|
17
29
|
// );
|
|
18
30
|
log_1.log.info("Copy pkg.json and mds to dist as well");
|
|
19
|
-
(0, cmd_1.executeCmd)("copyfiles package.json README.md CHANGELOG.md dist");
|
|
31
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)("copyfiles package.json README.md CHANGELOG.md dist"), "copyfiles package.json");
|
|
20
32
|
}
|
|
21
33
|
};
|
|
22
34
|
exports.build = build;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/ReleaseOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"ReleaseOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/ReleaseOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;;AAIpC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;;AAIpC,wBAwCmB"}
|
|
@@ -12,8 +12,7 @@ exports.default = new commander_1.Command()
|
|
|
12
12
|
.option("-y, --yes", "When run with this flag, we will skip all confirmation prompts. NOTE does not currently work.", false)
|
|
13
13
|
.option("--pre [id]", "Prerelease identifier. Use this when releasing a prerelease version.", false)
|
|
14
14
|
.option("-d, --dev", "Release a dev version. This is a shorthand for a prerelease with a 'dev' identifier.", false)
|
|
15
|
-
.option("--publish", "Also publish from this machine with
|
|
16
|
-
.option("--dir, --directory <path>", "Subdirectory to publish with --publish. Must apply to ALL packages, and MUST contain a package.json file.", "dist")
|
|
15
|
+
.option("--publish", "Also publish from this machine with scripts/publish.mjs (npm asks for 2FA in the browser). Only needed for packages that aren't on npm yet, since trusted publishing can't be set up before a first publish.", false)
|
|
17
16
|
.option("--no-version", "Disable versioning and changelog gen.")
|
|
18
17
|
.option("--git-tag [tag]", [
|
|
19
18
|
"Create and push git tag(s). Optionally provide a template.",
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Publishes from this machine with the same script CI runs. Plain `npm publish` handles
|
|
3
|
+
* passkey 2FA in the browser, which lerna's OTP prompt can't. Run from the monorepo root.
|
|
4
|
+
*/
|
|
5
|
+
export declare const publish: () => void;
|
|
3
6
|
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/publish.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/publish.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,OAAO,YAInB,CAAC"}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.publish = void 0;
|
|
4
|
-
const lerna_1 = require("../../scripts/lerna");
|
|
5
4
|
const cmd_1 = require("../../scripts/cmd");
|
|
6
5
|
const log_1 = require("./log");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
log_1.log.info("
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
contents: directory,
|
|
16
|
-
yes,
|
|
17
|
-
});
|
|
18
|
-
(0, cmd_1.exitOnFailure)(result, "lerna publish");
|
|
6
|
+
/**
|
|
7
|
+
* Publishes from this machine with the same script CI runs. Plain `npm publish` handles
|
|
8
|
+
* passkey 2FA in the browser, which lerna's OTP prompt can't. Run from the monorepo root.
|
|
9
|
+
*/
|
|
10
|
+
const publish = () => {
|
|
11
|
+
log_1.log.info("Building and publishing from this machine (npm will ask for 2FA).");
|
|
12
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)("npm run build"), "npm run build");
|
|
13
|
+
(0, cmd_1.exitOnFailure)((0, cmd_1.executeCmd)("node scripts/publish.mjs"), "scripts/publish.mjs");
|
|
19
14
|
};
|
|
20
15
|
exports.publish = publish;
|
|
@@ -19,7 +19,7 @@ const release = async (options) => {
|
|
|
19
19
|
commit: "chore: Releasing gluhar packages.",
|
|
20
20
|
});
|
|
21
21
|
if (options.publish)
|
|
22
|
-
(0, publish_1.publish)(
|
|
22
|
+
(0, publish_1.publish)();
|
|
23
23
|
await (0, tag_1.tag)(options);
|
|
24
24
|
if (!options.publish) {
|
|
25
25
|
if (options.gitTag)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeBash.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/executeBash.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,EAAE,WAAW,OAAO,
|
|
1
|
+
{"version":3,"file":"executeBash.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/executeBash.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,EAAE,WAAW,OAAO,qDASxE,CAAC"}
|
|
@@ -11,7 +11,8 @@ const parseBashArgs_1 = require("./parseBashArgs");
|
|
|
11
11
|
* @returns Executes the bash script file in the same stdio.
|
|
12
12
|
*/
|
|
13
13
|
const executeBash = (path, args, absolute) => {
|
|
14
|
-
|
|
14
|
+
// An argv array, not a shell line: values must not be quoted
|
|
15
|
+
const bashArgs = (0, parseBashArgs_1.parseBashArgs)(path, args, absolute, false);
|
|
15
16
|
// TODO make stdio configurable
|
|
16
17
|
// TODO make an async option
|
|
17
18
|
return (0, child_process_1.spawnSync)('bash', bashArgs, {
|
|
@@ -2,7 +2,7 @@ import type { SpawnSyncReturns } from 'child_process';
|
|
|
2
2
|
/**
|
|
3
3
|
* Exits the process when a spawned command failed, so later steps don't run on a broken state.
|
|
4
4
|
* @param result The return value of `executeBash` / `executeCmd`.
|
|
5
|
-
* @param label What failed, for the error message: 'lerna
|
|
5
|
+
* @param label What failed, for the error message: 'lerna version'.
|
|
6
6
|
*/
|
|
7
7
|
export declare const exitOnFailure: (result: SpawnSyncReturns<Buffer>, label: string) => void;
|
|
8
8
|
//# sourceMappingURL=exitOnFailure.d.ts.map
|
|
@@ -5,7 +5,7 @@ const log_1 = require("./log");
|
|
|
5
5
|
/**
|
|
6
6
|
* Exits the process when a spawned command failed, so later steps don't run on a broken state.
|
|
7
7
|
* @param result The return value of `executeBash` / `executeCmd`.
|
|
8
|
-
* @param label What failed, for the error message: 'lerna
|
|
8
|
+
* @param label What failed, for the error message: 'lerna version'.
|
|
9
9
|
*/
|
|
10
10
|
const exitOnFailure = (result, label) => {
|
|
11
11
|
if (result.error) {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { Args } from "./types";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @param shell The result is joined into a shell command line, so values with spaces stay
|
|
4
|
+
* quoted. Pass `false` for an argv array (`spawnSync` without a shell), where quotes would
|
|
5
|
+
* end up in the value itself.
|
|
6
|
+
*/
|
|
7
|
+
export declare const parseArgs: (args: Args, shell?: boolean) => string[];
|
|
3
8
|
//# sourceMappingURL=parseArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseArgs.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/parseArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAQjE,eAAO,MAAM,SAAS,GAAI,MAAM,IAAI,KAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"parseArgs.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/parseArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAQjE;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,IAAI,EAAE,eAAY,KAAG,MAAM,EAoC1D,CAAC"}
|
|
@@ -9,7 +9,12 @@ const hyphenize = (s) => humps_1.default.decamelize(s, { separator: "-" });
|
|
|
9
9
|
const hasValue = (arg) => {
|
|
10
10
|
return arg.value !== undefined;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* @param shell The result is joined into a shell command line, so values with spaces stay
|
|
14
|
+
* quoted. Pass `false` for an argv array (`spawnSync` without a shell), where quotes would
|
|
15
|
+
* end up in the value itself.
|
|
16
|
+
*/
|
|
17
|
+
const parseArgs = (args, shell = true) => {
|
|
13
18
|
return Object.entries(args)
|
|
14
19
|
.map(([name, value]) => ({
|
|
15
20
|
name,
|
|
@@ -26,7 +31,10 @@ const parseArgs = (args) => {
|
|
|
26
31
|
result.push(`-${parsedName}`);
|
|
27
32
|
}
|
|
28
33
|
value.toString();
|
|
29
|
-
if (value !== true) {
|
|
34
|
+
if (value !== true && !shell) {
|
|
35
|
+
result.push(String(value));
|
|
36
|
+
}
|
|
37
|
+
else if (value !== true) {
|
|
30
38
|
let v = parsedValue;
|
|
31
39
|
if (v.length > 2 &&
|
|
32
40
|
v[0] === '"' &&
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Args } from './types';
|
|
2
|
-
export declare const parseBashArgs: (path: string, args?: Args, absolute?: boolean) => string[];
|
|
2
|
+
export declare const parseBashArgs: (path: string, args?: Args, absolute?: boolean, shell?: boolean) => string[];
|
|
3
3
|
//# sourceMappingURL=parseBashArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseBashArgs.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/parseBashArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAGpC,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,OAAO,IAAI,EACX,WAAW,OAAO,
|
|
1
|
+
{"version":3,"file":"parseBashArgs.d.ts","sourceRoot":"","sources":["../../../../src/scripts/cmd/parseBashArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAGpC,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,OAAO,IAAI,EACX,WAAW,OAAO,EAClB,eAAY,aAab,CAAC"}
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parseBashArgs = void 0;
|
|
4
4
|
const log_1 = require("./log");
|
|
5
5
|
const parseArgs_1 = require("./parseArgs");
|
|
6
|
-
const parseBashArgs = (path, args, absolute) => {
|
|
6
|
+
const parseBashArgs = (path, args, absolute, shell = true) => {
|
|
7
7
|
const filePath = path.endsWith('.sh') ? path : `${path}.sh`;
|
|
8
8
|
const absolutePath = !absolute ? `${__dirname}/../${filePath}` : filePath;
|
|
9
9
|
const flags = [absolutePath];
|
|
10
10
|
if (args) {
|
|
11
|
-
flags.push(...(0, parseArgs_1.parseArgs)(args));
|
|
11
|
+
flags.push(...(0, parseArgs_1.parseArgs)(args, shell));
|
|
12
12
|
}
|
|
13
13
|
log_1.log.verbose('executeBash:', flags.join(' '));
|
|
14
14
|
return flags;
|
|
@@ -3,7 +3,6 @@ import { filterByDependency } from './filterByDependency';
|
|
|
3
3
|
import type { Args } from '../cmd/types';
|
|
4
4
|
export declare const lerna: {
|
|
5
5
|
version: (args?: Args) => import("child_process").SpawnSyncReturns<Buffer>;
|
|
6
|
-
publish: (args?: Args) => import("child_process").SpawnSyncReturns<Buffer>;
|
|
7
6
|
list: (args?: Args) => import("child_process").SpawnSyncReturns<Buffer>;
|
|
8
7
|
changed: () => import("./types").LernaPackage[];
|
|
9
8
|
getConfig: () => import("./types").LernaConfig | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scripts/lerna/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,KAAK;qBACC,IAAI;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scripts/lerna/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,KAAK;qBACC,IAAI;kBACP,IAAI;;;;;;CAMnB,CAAC"}
|
|
@@ -9,7 +9,6 @@ const filterByDependency_1 = require("./filterByDependency");
|
|
|
9
9
|
const getDetails_1 = require("./getDetails");
|
|
10
10
|
exports.lerna = {
|
|
11
11
|
version: (args) => (0, cmd_1.executeBash)('lerna/version', args),
|
|
12
|
-
publish: (args) => (0, cmd_1.executeBash)('lerna/publish', args),
|
|
13
12
|
list: (args) => (0, cmd_1.executeBash)('lerna/list', args),
|
|
14
13
|
changed: changed_1.changed,
|
|
15
14
|
getConfig: getConfig_1.getConfig,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DankaOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/danka/DankaOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"danka.d.ts","sourceRoot":"","sources":["../../../../src/commands/danka/danka.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,eAAO,MAAM,KAAK,YAAa,YAAY,SAE1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/danka/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;;AAGpC,wBAIiB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const commander_1 = require("commander");
|
|
4
|
-
const danka_1 = require("./danka");
|
|
5
|
-
exports.default = new commander_1.Command()
|
|
6
|
-
.name("danka")
|
|
7
|
-
.description("Description of command.")
|
|
8
|
-
.option("-b, --danka", "A boolean option.")
|
|
9
|
-
.action(danka_1.danka);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/commands/danka/log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,4BAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KissOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/kiss/KissOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/kiss/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;;AAGpC,wBAIgB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const commander_1 = require("commander");
|
|
4
|
-
const kiss_1 = require("./kiss");
|
|
5
|
-
exports.default = new commander_1.Command()
|
|
6
|
-
.name("kiss")
|
|
7
|
-
.description("Description of command.")
|
|
8
|
-
.option("-b, --kiss", "A boolean option.")
|
|
9
|
-
.action(kiss_1.kiss);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kiss.d.ts","sourceRoot":"","sources":["../../../../src/commands/kiss/kiss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,eAAO,MAAM,IAAI,YAAa,WAAW,SAExC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/commands/kiss/log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,4BAAiB,CAAC"}
|
package/src/commands/kiss/log.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
npx lerna publish from-package "$@"
|