@fragno-dev/cli 0.2.1 → 0.2.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/.turbo/turbo-build.log +11 -7
- package/CHANGELOG.md +71 -0
- package/dist/cli.d.ts +4 -52
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +55 -719
- package/dist/cli.js.map +1 -1
- package/dist/find-fragno-databases-Depht1jV.js +184 -0
- package/dist/find-fragno-databases-Depht1jV.js.map +1 -0
- package/dist/serve-eh3Tpjhc.js +87 -0
- package/dist/serve-eh3Tpjhc.js.map +1 -0
- package/package.json +28 -30
- package/src/cli.ts +8 -15
- package/src/commands/db/generate.ts +3 -1
- package/src/commands/db/info.ts +2 -0
- package/src/commands/db/migrate.ts +3 -1
- package/src/commands/search.ts +1 -0
- package/src/commands/serve.ts +5 -2
- package/src/utils/find-fragno-databases.ts +11 -6
- package/src/utils/load-config.test.ts +42 -36
- package/src/utils/load-config.ts +5 -9
- package/tsconfig.json +1 -1
- package/vitest.config.ts +1 -0
- package/src/commands/corpus.test.ts +0 -1129
- package/src/commands/corpus.ts +0 -632
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @fragno-dev/cli@0.2.
|
|
2
|
+
> @fragno-dev/cli@0.2.3 build /home/runner/work/fragno/fragno/apps/fragno-cli
|
|
3
3
|
> tsdown
|
|
4
4
|
|
|
5
5
|
[34mℹ[39m tsdown [2mv0.15.12[22m powered by rolldown [2mv1.0.0-beta.45[22m
|
|
@@ -10,9 +10,13 @@
|
|
|
10
10
|
[34mℹ[39m Build start
|
|
11
11
|
[34mℹ[39m Granting execute permission to [4mdist/cli.d.ts[24m
|
|
12
12
|
[34mℹ[39m Granting execute permission to [4mdist/cli.js[24m
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[1mcli.js[22m
|
|
14
|
-
[34mℹ[39m [2mdist/[22mcli.js.map
|
|
15
|
-
[34mℹ[39m [2mdist/[
|
|
16
|
-
[34mℹ[39m [2mdist/[
|
|
17
|
-
[34mℹ[39m
|
|
18
|
-
[
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mcli.js[22m [2m17.07 kB[22m [2m│ gzip: 4.57 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22mcli.js.map [2m34.34 kB[22m [2m│ gzip: 8.67 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22mfind-fragno-databases-Depht1jV.js.map [2m14.84 kB[22m [2m│ gzip: 4.47 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22mfind-fragno-databases-Depht1jV.js [2m 7.53 kB[22m [2m│ gzip: 2.38 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22mserve-eh3Tpjhc.js.map [2m 6.70 kB[22m [2m│ gzip: 2.36 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22mserve-eh3Tpjhc.js [2m 3.40 kB[22m [2m│ gzip: 1.40 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22mcli.d.ts.map [2m 0.71 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
20
|
+
[34mℹ[39m [2mdist/[22m[32m[1mcli.d.ts[22m[39m [2m 1.50 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
21
|
+
[34mℹ[39m 8 files, total: 86.08 kB
|
|
22
|
+
[32m✔[39m Build complete in [32m11345ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
# @fragno-dev/cli
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 490a8b5: refactor: remove the corpus command and its package from the Fragno CLI
|
|
8
|
+
- Updated dependencies [0020e39]
|
|
9
|
+
- @fragno-dev/core@0.2.2
|
|
10
|
+
- @fragno-dev/db@0.4.1
|
|
11
|
+
- @fragno-dev/node@0.0.9
|
|
12
|
+
|
|
13
|
+
## 0.2.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 4d141f8: fix: remove development exports from published packages
|
|
18
|
+
- 14c23a0: fixed bug parsing tsconfig files
|
|
19
|
+
- Updated dependencies [8a96998]
|
|
20
|
+
- Updated dependencies [3e2ff94]
|
|
21
|
+
- Updated dependencies [f34d7d7]
|
|
22
|
+
- Updated dependencies [4d141f8]
|
|
23
|
+
- Updated dependencies [c8841b5]
|
|
24
|
+
- Updated dependencies [83f6223]
|
|
25
|
+
- Updated dependencies [ae54a60]
|
|
26
|
+
- Updated dependencies [7dd7055]
|
|
27
|
+
- Updated dependencies [e178bf4]
|
|
28
|
+
- Updated dependencies [d2f68ba]
|
|
29
|
+
- Updated dependencies [567c3b3]
|
|
30
|
+
- Updated dependencies [75191db]
|
|
31
|
+
- Updated dependencies [d395ad2]
|
|
32
|
+
- Updated dependencies [75407f3]
|
|
33
|
+
- Updated dependencies [8a2da9d]
|
|
34
|
+
- Updated dependencies [bfdd4b1]
|
|
35
|
+
- Updated dependencies [3ffa711]
|
|
36
|
+
- Updated dependencies [c2c3229]
|
|
37
|
+
- Updated dependencies [e559425]
|
|
38
|
+
- Updated dependencies [fc5c256]
|
|
39
|
+
- Updated dependencies [93fa469]
|
|
40
|
+
- Updated dependencies [14e00b1]
|
|
41
|
+
- Updated dependencies [f33286c]
|
|
42
|
+
- Updated dependencies [b3ad7eb]
|
|
43
|
+
- Updated dependencies [95cdf95]
|
|
44
|
+
- Updated dependencies [eabdb9c]
|
|
45
|
+
- Updated dependencies [9eeba53]
|
|
46
|
+
- Updated dependencies [49a9f4f]
|
|
47
|
+
- Updated dependencies [dcba383]
|
|
48
|
+
- Updated dependencies [c895c07]
|
|
49
|
+
- Updated dependencies [ed4b4a0]
|
|
50
|
+
- Updated dependencies [1102ce0]
|
|
51
|
+
- Updated dependencies [2ae432c]
|
|
52
|
+
- Updated dependencies [ad2ef56]
|
|
53
|
+
- Updated dependencies [9f87189]
|
|
54
|
+
- Updated dependencies [0f9b7ef]
|
|
55
|
+
- Updated dependencies [6d043ea]
|
|
56
|
+
- Updated dependencies [fe55a13]
|
|
57
|
+
- Updated dependencies [01fc2cb]
|
|
58
|
+
- Updated dependencies [f4aedad]
|
|
59
|
+
- Updated dependencies [f042c9d]
|
|
60
|
+
- Updated dependencies [0176aa8]
|
|
61
|
+
- Updated dependencies [00f2631]
|
|
62
|
+
- Updated dependencies [c13c1c1]
|
|
63
|
+
- Updated dependencies [0a6c8da]
|
|
64
|
+
- Updated dependencies [7a40517]
|
|
65
|
+
- Updated dependencies [91a2ac0]
|
|
66
|
+
- Updated dependencies [7bda0b2]
|
|
67
|
+
- Updated dependencies [c115600]
|
|
68
|
+
- Updated dependencies [b84a3d0]
|
|
69
|
+
- @fragno-dev/db@0.4.0
|
|
70
|
+
- @fragno-dev/core@0.2.1
|
|
71
|
+
- @fragno-dev/corpus@0.0.8
|
|
72
|
+
- @fragno-dev/node@0.0.9
|
|
73
|
+
|
|
3
74
|
## 0.2.1
|
|
4
75
|
|
|
5
76
|
### Patch Changes
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import * as gunshi4 from "gunshi";
|
|
3
|
-
import "@fragno-dev/corpus";
|
|
4
3
|
|
|
5
4
|
//#region src/commands/db/generate.d.ts
|
|
6
5
|
declare const generateCommand: gunshi4.Command<{
|
|
@@ -30,12 +29,12 @@ declare const generateCommand: gunshi4.Command<{
|
|
|
30
29
|
};
|
|
31
30
|
}>;
|
|
32
31
|
//#endregion
|
|
33
|
-
//#region src/commands/db/migrate.d.ts
|
|
34
|
-
declare const migrateCommand: gunshi4.Command<{}>;
|
|
35
|
-
//#endregion
|
|
36
32
|
//#region src/commands/db/info.d.ts
|
|
37
33
|
declare const infoCommand: gunshi4.Command<{}>;
|
|
38
34
|
//#endregion
|
|
35
|
+
//#region src/commands/db/migrate.d.ts
|
|
36
|
+
declare const migrateCommand: gunshi4.Command<{}>;
|
|
37
|
+
//#endregion
|
|
39
38
|
//#region src/commands/search.d.ts
|
|
40
39
|
declare const searchCommand: gunshi4.Command<{
|
|
41
40
|
limit: {
|
|
@@ -60,57 +59,10 @@ declare const searchCommand: gunshi4.Command<{
|
|
|
60
59
|
};
|
|
61
60
|
}>;
|
|
62
61
|
//#endregion
|
|
63
|
-
//#region src/commands/corpus.d.ts
|
|
64
|
-
declare const corpusCommand: gunshi4.Command<{
|
|
65
|
-
"no-line-numbers": {
|
|
66
|
-
type: "boolean";
|
|
67
|
-
short: string;
|
|
68
|
-
description: string;
|
|
69
|
-
};
|
|
70
|
-
start: {
|
|
71
|
-
type: "number";
|
|
72
|
-
short: string;
|
|
73
|
-
description: string;
|
|
74
|
-
};
|
|
75
|
-
end: {
|
|
76
|
-
type: "number";
|
|
77
|
-
short: string;
|
|
78
|
-
description: string;
|
|
79
|
-
};
|
|
80
|
-
headings: {
|
|
81
|
-
type: "boolean";
|
|
82
|
-
description: string;
|
|
83
|
-
};
|
|
84
|
-
id: {
|
|
85
|
-
type: "string";
|
|
86
|
-
description: string;
|
|
87
|
-
};
|
|
88
|
-
tree: {
|
|
89
|
-
type: "boolean";
|
|
90
|
-
description: string;
|
|
91
|
-
};
|
|
92
|
-
}>;
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region src/commands/serve.d.ts
|
|
95
|
-
declare const serveCommand: gunshi4.Command<{
|
|
96
|
-
port: {
|
|
97
|
-
type: "number";
|
|
98
|
-
short: string;
|
|
99
|
-
description: string;
|
|
100
|
-
default: number;
|
|
101
|
-
};
|
|
102
|
-
host: {
|
|
103
|
-
type: "string";
|
|
104
|
-
short: string;
|
|
105
|
-
description: string;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
}>;
|
|
109
|
-
//#endregion
|
|
110
62
|
//#region src/cli.d.ts
|
|
111
63
|
declare const dbCommand: gunshi4.Command<gunshi4.Args>;
|
|
112
64
|
declare const mainCommand: gunshi4.Command<gunshi4.Args>;
|
|
113
65
|
declare function run(): Promise<void>;
|
|
114
66
|
//#endregion
|
|
115
|
-
export {
|
|
67
|
+
export { dbCommand, generateCommand, infoCommand, mainCommand, migrateCommand, run, searchCommand };
|
|
116
68
|
//# sourceMappingURL=cli.d.ts.map
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","names":[],"sources":["../src/commands/db/generate.ts","../src/commands/db/
|
|
1
|
+
{"version":3,"file":"cli.d.ts","names":[],"sources":["../src/commands/db/generate.ts","../src/commands/db/info.ts","../src/commands/db/migrate.ts","../src/commands/search.ts","../src/cli.ts"],"sourcesContent":[],"mappings":";;;;cASa,iBAqHX,OAAA,CArH0B;;;;EAAf,CAAA;;;;ICHA,WAmIX,EAAA,MAAA;;;;IClIW,KAAA,EAAA,MAqEX;;;;ICvDW,IAAA,EAAA,QAoFX;;;;ECjFW,MAAA,EAAA;IAMA,IAAA,EAAA,QAGX;IAEoB,KAAG,EAAA,MAAA;;;;;;cH7BZ,aAmIX,OAAA,CAnIsB;;;cCCX,gBAqEX,OAAA,CArEyB;;;cCcd,eAoFX,OAAA,CApFwB;;;;IHZb,OAAA,EAAA,MAqHX;;;;ICxHW,WAmIX,EAAA,MAAA;;;;IClIW,IAAA,EAAA,SAqEX;;;;ECvDW,UAAA,EAAA;;;;ECGA,CAAA;AAMb,CAAA,CAAA;;;cANa,WAAS,OAAA,CAAA,QAGpB,OAAA,CAHoB,IAAA;cAMT,aAAW,OAAA,CAAA,QAGtB,OAAA,CAHsB,IAAA;iBAKF,GAAA,CAAA,GAAG"}
|