fragment-ts 1.1.12 → 1.1.13
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/cli/index.js
CHANGED
|
@@ -41,6 +41,8 @@ const envFiles = [".env", ".env.local"]
|
|
|
41
41
|
.map((f) => path.join(cwd, f))
|
|
42
42
|
.filter(fs.existsSync);
|
|
43
43
|
envFiles.forEach((f) => dotenv.config({ path: f }));
|
|
44
|
+
process.chdir(cwd);
|
|
45
|
+
// Import and register commands
|
|
44
46
|
const commander_1 = require("commander");
|
|
45
47
|
const init_command_1 = require("./commands/init.command");
|
|
46
48
|
const generate_command_1 = require("./commands/generate.command");
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,uCAAyB;AACzB,2CAA6B;AAE7B,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,uCAAyB;AACzB,2CAA6B;AAE7B,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC;KACpC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;KAC7B,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;AAEzB,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpD,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEnB,+BAA+B;AAC/B,yCAAoC;AACpC,0DAAsD;AACtD,kEAA8D;AAC9D,4DAAwD;AACxD,4DAAwD;AACxD,gEAA4D;AAC5D,wEAAoE;AACpE,0DAAsD;AACtD,wDAAoD;AAEpD,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CACV,yEAAyE,CAC1E;KACA,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,0BAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC9B,kCAAe,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAClC,4BAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC/B,4BAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC/B,0BAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC9B,gCAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjC,wCAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACrC,wBAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAE7B,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -3,12 +3,16 @@ import * as fs from "fs";
|
|
|
3
3
|
import * as path from "path";
|
|
4
4
|
|
|
5
5
|
const cwd = process.cwd();
|
|
6
|
+
|
|
6
7
|
const envFiles = [".env", ".env.local"]
|
|
7
8
|
.map((f) => path.join(cwd, f))
|
|
8
9
|
.filter(fs.existsSync);
|
|
9
10
|
|
|
10
11
|
envFiles.forEach((f) => dotenv.config({ path: f }));
|
|
11
12
|
|
|
13
|
+
process.chdir(cwd);
|
|
14
|
+
|
|
15
|
+
// Import and register commands
|
|
12
16
|
import { Command } from "commander";
|
|
13
17
|
import { InitCommand } from "./commands/init.command";
|
|
14
18
|
import { GenerateCommand } from "./commands/generate.command";
|