@usemeno/meno-cli 0.1.1 → 0.1.2
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 +0 -10
- package/package.json +5 -4
- package/src/logo-ascii.ts +0 -7
package/dist/index.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
-
}) : x)(function(x) {
|
|
5
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
2
|
|
|
9
3
|
// src/index.ts
|
|
10
4
|
import { Command } from "commander";
|
|
@@ -828,10 +822,6 @@ async function printLogoAscii(width = 64) {
|
|
|
828
822
|
return;
|
|
829
823
|
}
|
|
830
824
|
}
|
|
831
|
-
if (__require.main === module) {
|
|
832
|
-
printLogoAscii().catch(() => {
|
|
833
|
-
});
|
|
834
|
-
}
|
|
835
825
|
|
|
836
826
|
// src/index.ts
|
|
837
827
|
var program = new Command();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usemeno/meno-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Command-line interface for Meno time tracking",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,12 +21,13 @@
|
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"chalk": "^5.3.0",
|
|
24
25
|
"commander": "^12.0.0",
|
|
25
26
|
"conf": "^13.0.1",
|
|
26
|
-
"ora": "^8.0.1",
|
|
27
27
|
"enquirer": "^2.4.1",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"node-fetch": "^3.3.2",
|
|
29
|
+
"ora": "^8.0.1",
|
|
30
|
+
"sharp": "^0.34.5"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@types/node": "^20.11.0",
|
package/src/logo-ascii.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import fs from "fs";
|
|
2
|
-
import path from "path";
|
|
3
|
-
|
|
4
1
|
const SVG_EMBED = `<?xml version="1.0" encoding="UTF-8"?>
|
|
5
2
|
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55.44 45.4">
|
|
6
3
|
<g id="MenoLogo">
|
|
@@ -55,7 +52,3 @@ export async function printLogoAscii(width = 64) {
|
|
|
55
52
|
return;
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
|
-
|
|
59
|
-
if (require.main === module) {
|
|
60
|
-
printLogoAscii().catch(() => {});
|
|
61
|
-
}
|