@codemarc/blt 1.4.2 → 1.4.4
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 +400 -156
- package/dist/blt +2 -0
- package/dist/blt.d.ts.map +1 -1
- package/dist/blt.js.map +1 -1
- package/dist/commands/deploy/functions.d.ts +6 -0
- package/dist/commands/deploy/functions.d.ts.map +1 -0
- package/dist/commands/deploy/functions.js +197 -0
- package/dist/commands/deploy/functions.js.map +1 -0
- package/dist/commands/deploy/secrets.d.ts +3 -0
- package/dist/commands/deploy/secrets.d.ts.map +1 -0
- package/dist/commands/deploy/secrets.js +111 -0
- package/dist/commands/deploy/secrets.js.map +1 -0
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +37 -0
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/init/script.d.ts +13 -0
- package/dist/commands/init/script.d.ts.map +1 -0
- package/dist/commands/init/script.js +126 -0
- package/dist/commands/init/script.js.map +1 -0
- package/dist/commands/init.d.ts +6 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +46 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/show/repo.d.ts.map +1 -1
- package/dist/commands/show/repo.js +1 -41
- package/dist/commands/show/repo.js.map +1 -1
- package/dist/lib/repositories.d.ts +11 -0
- package/dist/lib/repositories.d.ts.map +1 -0
- package/dist/lib/repositories.js +54 -0
- package/dist/lib/repositories.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,OAAgB;IACnD,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;CAiBrB,CAAC;IAED,OAAO;SACL,OAAO,CAAC,MAAM,EAAE,mBAAmB,CAAC;SACpC,IAAI,CAAC,YAAY,CAAC;SAClB,MAAM,CAAC,qBAAqB,EAAE,4BAA4B,EAAE;QAC5D,OAAO,EAAE,aAAa;KACtB,CAAC;SACD,MAAM,CAAC,WAAW,EAAE,oCAAoC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;SAC7E,MAAM,CAAC,iBAAiB,EAAE,iEAAiE,EAAE;QAC7F,OAAO,EAAE,KAAK;KACd,CAAC;SACD,MAAM,CAAC,mBAAmB,EAAE,+CAA+C,EAAE;QAC7E,OAAO,EAAE,KAAK;KACd,CAAC;SACD,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;QACrC,MAAM,kBAAkB,CACvB;YACC,MAAM,EAAE,OAAO,CAAC,MAAgB;YAChC,GAAG,EAAE,OAAO,CAAC,GAAc;YAC3B,SAAS,EAAE,OAAO,CAAC,SAAoB;YACvC,kBAAkB,EAAE,OAAO,CAAC,WAAsB;SAClD,EACD,MAAM,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../src/commands/show/repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../src/commands/show/repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,UAAU,WAAW;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAgBD;;GAEG;AACH,wBAAsB,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAmClF"}
|
|
@@ -1,44 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Hardcoded list of valid repositories in the current working set
|
|
3
|
-
*/
|
|
4
|
-
const REPOSITORIES = [
|
|
5
|
-
{
|
|
6
|
-
name: "cli",
|
|
7
|
-
url: "https://github.com/codemarc/blt-cli.git",
|
|
8
|
-
sshUrl: "git@github.com:codemarc/blt-cli.git",
|
|
9
|
-
description: "BLT command line interface",
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
name: "pos",
|
|
13
|
-
url: "https://github.com/bltcore-com/blt-core-pos.git",
|
|
14
|
-
sshUrl: "git@github.com:bltcore-com/blt-core-pos.git",
|
|
15
|
-
description: "core pos application",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: "data",
|
|
19
|
-
url: "https://github.com/bltcore-com/blt-core-data.git",
|
|
20
|
-
sshUrl: "git@github.com:bltcore-com/blt-core-data.git",
|
|
21
|
-
description: "data schema & sample data",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: "gateway",
|
|
25
|
-
url: "https://github.com/bltcore-com/blt-device-gateway.git",
|
|
26
|
-
sshUrl: "git@github.com:bltcore-com/blt-device-gateway.git",
|
|
27
|
-
description: "device gateway",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: "deploy",
|
|
31
|
-
url: "https://github.com/bltcore-com/deploy.git",
|
|
32
|
-
sshUrl: "git@github.com:bltcore-com/deploy.git",
|
|
33
|
-
description: "deployment scripts",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: "customers",
|
|
37
|
-
url: "https://github.com/bltcore-com/customers.git",
|
|
38
|
-
sshUrl: "git@github.com:bltcore-com/customers.git",
|
|
39
|
-
description: "customer repository",
|
|
40
|
-
},
|
|
41
|
-
];
|
|
1
|
+
import { REPOSITORIES } from "../../lib/repositories";
|
|
42
2
|
/**
|
|
43
3
|
* Render a table row for ASCII table display
|
|
44
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.js","sourceRoot":"","sources":["../../../src/commands/show/repo.ts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+
* Hardcoded list of valid repositories in the current working set
|
|
9
|
+
*/
|
|
10
|
+
export declare const REPOSITORIES: Repository[];
|
|
11
|
+
//# sourceMappingURL=repositories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositories.d.ts","sourceRoot":"","sources":["../../src/lib/repositories.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,EAiDpC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hardcoded list of valid repositories in the current working set
|
|
3
|
+
*/
|
|
4
|
+
export const REPOSITORIES = [
|
|
5
|
+
{
|
|
6
|
+
name: "cli",
|
|
7
|
+
url: "https://github.com/codemarc/blt-cli.git",
|
|
8
|
+
sshUrl: "git@github.com:codemarc/blt-cli.git",
|
|
9
|
+
description: "BLT command line interface",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: "tools",
|
|
13
|
+
url: "https://github.com/bltcore-com/tools.git",
|
|
14
|
+
sshUrl: "git@github.com:bltcore-com/tools.git",
|
|
15
|
+
description: "BLT core repository",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "pos",
|
|
19
|
+
url: "https://github.com/bltcore-com/blt-core-pos.git",
|
|
20
|
+
sshUrl: "git@github.com:bltcore-com/blt-core-pos.git",
|
|
21
|
+
description: "core pos application",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "data",
|
|
25
|
+
url: "https://github.com/bltcore-com/blt-core-data.git",
|
|
26
|
+
sshUrl: "git@github.com:bltcore-com/blt-core-data.git",
|
|
27
|
+
description: "data schema & sample data",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "gateway",
|
|
31
|
+
url: "https://github.com/bltcore-com/blt-device-gateway.git",
|
|
32
|
+
sshUrl: "git@github.com:bltcore-com/blt-device-gateway.git",
|
|
33
|
+
description: "device gateway",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "deploy",
|
|
37
|
+
url: "https://github.com/bltcore-com/deploy.git",
|
|
38
|
+
sshUrl: "git@github.com:bltcore-com/deploy.git",
|
|
39
|
+
description: "deployment scripts",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "customers",
|
|
43
|
+
url: "https://github.com/bltcore-com/customers.git",
|
|
44
|
+
sshUrl: "git@github.com:bltcore-com/customers.git",
|
|
45
|
+
description: "customer repository",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "logz",
|
|
49
|
+
url: "https://github.com/bltcore-com/blt-core-logz.git",
|
|
50
|
+
sshUrl: "git@github.com:bltcore-com/blt-core-logz.git",
|
|
51
|
+
description: "BLT core logz repository",
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
//# sourceMappingURL=repositories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositories.js","sourceRoot":"","sources":["../../src/lib/repositories.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAiB;IACxC;QACE,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,yCAAyC;QAC9C,MAAM,EAAE,qCAAqC;QAC7C,WAAW,EAAE,4BAA4B;KAC1C;IACD;QACE,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,0CAA0C;QAC/C,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,qBAAqB;KACnC;IACD;QACE,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,iDAAiD;QACtD,MAAM,EAAE,6CAA6C;QACrD,WAAW,EAAE,sBAAsB;KACpC;IACD;QACE,IAAI,EAAE,MAAM;QACZ,GAAG,EAAE,kDAAkD;QACvD,MAAM,EAAE,8CAA8C;QACtD,WAAW,EAAE,2BAA2B;KACzC;IACD;QACE,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,uDAAuD;QAC5D,MAAM,EAAE,mDAAmD;QAC3D,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,2CAA2C;QAChD,MAAM,EAAE,uCAAuC;QAC/C,WAAW,EAAE,oBAAoB;KAClC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,8CAA8C;QACnD,MAAM,EAAE,0CAA0C;QAClD,WAAW,EAAE,qBAAqB;KACnC;IACD;QACE,IAAI,EAAE,MAAM;QACZ,GAAG,EAAE,kDAAkD;QACvD,MAAM,EAAE,8CAA8C;QACtD,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAC"}
|