gomtm-cli 0.6.50 → 0.6.53
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/bin/gomtm +0 -0
- package/package.json +23 -23
- package/src/cli/{main.ts → main.ts--} +2 -6
- package/dist/gomtm-cli.js/main.js +0 -2236
package/bin/gomtm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "gomtm-cli",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.6.53",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"files": ["bin", "dist", "src"],
|
|
12
|
+
"bin": {
|
|
13
|
+
"gomtm": "./bin/gomtm"
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build--": "bun build src/cli/main.ts --outdir=dist/gomtm-cli.js --target node",
|
|
18
|
+
"build": "echo "
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"commander": "^12.1.0",
|
|
23
|
+
"vite": "^6.0.3"
|
|
24
|
+
}
|
|
25
25
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { program } from "commander";
|
|
3
|
-
import { fileURLToPath } from 'node:url'
|
|
4
3
|
import dotenv from "dotenv";
|
|
5
4
|
import fs from "node:fs";
|
|
6
5
|
import path from "node:path";
|
|
7
|
-
import
|
|
8
|
-
// import { buildWithTsc } from "./build_tsc";
|
|
9
|
-
// import { buildWithViteBuild } from "./build_vite";
|
|
10
|
-
// import { compileMigrations } from "./compile-migrations";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
11
7
|
|
|
12
|
-
const __dirname = fileURLToPath(new URL(
|
|
8
|
+
const __dirname = fileURLToPath(new URL(".", import.meta.url));
|
|
13
9
|
|
|
14
10
|
const envFiles = ["../../env/dev.env", "./env/dev.env", ".env"];
|
|
15
11
|
function loadEnv() {
|