@fragno-dev/cli 0.1.13 → 0.1.15

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @fragno-dev/cli@0.1.13 build /home/runner/work/fragno/fragno/apps/fragno-cli
2
+ > @fragno-dev/cli@0.1.15 build /home/runner/work/fragno/fragno/apps/fragno-cli
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.15.12 powered by rolldown v1.0.0-beta.45
@@ -10,9 +10,9 @@
10
10
  ℹ Build start
11
11
  ℹ Granting execute permission to dist/cli.d.ts
12
12
  ℹ Granting execute permission to dist/cli.js
13
- ℹ dist/cli.js 15.22 kB │ gzip: 3.96 kB
14
- ℹ dist/cli.js.map 30.08 kB │ gzip: 7.78 kB
15
- ℹ dist/cli.d.ts.map  0.51 kB │ gzip: 0.29 kB
16
- ℹ dist/cli.d.ts  0.94 kB │ gzip: 0.30 kB
17
- ℹ 4 files, total: 46.75 kB
18
- ✔ Build complete in 14018ms
13
+ ℹ dist/cli.js 33.97 kB │ gzip: 8.15 kB
14
+ ℹ dist/cli.js.map 69.21 kB │ gzip: 16.57 kB
15
+ ℹ dist/cli.d.ts.map  0.82 kB │ gzip: 0.34 kB
16
+ ℹ dist/cli.d.ts  1.88 kB │ gzip: 0.44 kB
17
+ ℹ 4 files, total: 105.88 kB
18
+ ✔ Build complete in 8884ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # @fragno-dev/cli
2
2
 
3
+ ## 0.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - c3d52b8: feat: add `--start`, `--end`, `--headings`, and `--id` flags to corpus command
8
+ - c74bf81: fix: `corpus` command now shows full examples
9
+ - a2c6228: feat: properly render Markdown output in terminal (syntax highlighting etc)
10
+ - Updated dependencies [be537b1]
11
+ - Updated dependencies [b54ff8b]
12
+ - Updated dependencies [c3d52b8]
13
+ - Updated dependencies [c74bf81]
14
+ - @fragno-dev/corpus@0.0.3
15
+ - @fragno-dev/db@0.1.13
16
+
17
+ ## 0.1.14
18
+
19
+ ### Patch Changes
20
+
21
+ - 4ec7e78: feat: add search command for documentation lookup
22
+
23
+ Add a new `search` command to fragno-cli that searches the Fragno documentation directly from the
24
+ command line. Results are automatically grouped by page URL with all relevant sections displayed
25
+ together.
26
+
27
+ - 4ec7e78: feat: add corpus command to view code examples and documentation
28
+
29
+ The new `corpus` command allows users and LLMs to access tested, type-checked code examples
30
+ organized by subject. Examples include route definition, database querying, and adapter setup. Use
31
+ `fragno-cli corpus [topic...]` to view one or more topics.
32
+
33
+ - 27cc540: fix: Corpus dependency issue
34
+ - Updated dependencies [be1a630]
35
+ - Updated dependencies [b2a88aa]
36
+ - Updated dependencies [2900bfa]
37
+ - Updated dependencies [27cc540]
38
+ - Updated dependencies [059a249]
39
+ - Updated dependencies [f3f7bc2]
40
+ - Updated dependencies [a9f8159]
41
+ - Updated dependencies [9d4cd3a]
42
+ - Updated dependencies [fdb5aaf]
43
+ - @fragno-dev/core@0.1.6
44
+ - @fragno-dev/db@0.1.12
45
+ - @fragno-dev/corpus@0.0.2
46
+
3
47
  ## 0.1.13
4
48
 
5
49
  ### Patch Changes
package/dist/cli.d.ts CHANGED
@@ -31,9 +31,60 @@ declare const migrateCommand: gunshi4.Command<{}>;
31
31
  //#region src/commands/db/info.d.ts
32
32
  declare const infoCommand: gunshi4.Command<{}>;
33
33
  //#endregion
34
+ //#region src/commands/search.d.ts
35
+ declare const searchCommand: gunshi4.Command<{
36
+ limit: {
37
+ type: "number";
38
+ description: string;
39
+ default: number;
40
+ };
41
+ json: {
42
+ type: "boolean";
43
+ description: string;
44
+ default: false;
45
+ };
46
+ markdown: {
47
+ type: "boolean";
48
+ description: string;
49
+ default: true;
50
+ };
51
+ "base-url": {
52
+ type: "string";
53
+ description: string;
54
+ default: string;
55
+ };
56
+ }>;
57
+ //#endregion
58
+ //#region src/commands/corpus.d.ts
59
+ declare const corpusCommand: gunshi4.Command<{
60
+ "no-line-numbers": {
61
+ type: "boolean";
62
+ short: string;
63
+ description: string;
64
+ };
65
+ start: {
66
+ type: "number";
67
+ short: string;
68
+ description: string;
69
+ };
70
+ end: {
71
+ type: "number";
72
+ short: string;
73
+ description: string;
74
+ };
75
+ headings: {
76
+ type: "boolean";
77
+ description: string;
78
+ };
79
+ id: {
80
+ type: "string";
81
+ description: string;
82
+ };
83
+ }>;
84
+ //#endregion
34
85
  //#region src/cli.d.ts
35
86
  declare const dbCommand: gunshi4.Command<gunshi4.Args>;
36
87
  declare const mainCommand: gunshi4.Command<gunshi4.Args>;
37
88
  //#endregion
38
- export { dbCommand, generateCommand, infoCommand, mainCommand, migrateCommand };
89
+ export { corpusCommand, dbCommand, generateCommand, infoCommand, mainCommand, migrateCommand, searchCommand };
39
90
  //# 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/migrate.ts","../src/commands/db/info.ts","../src/cli.ts"],"sourcesContent":[],"mappings":";;;;cAOa,iBAyGX,OAAA,CAzG0B;;;;IAAf,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;ECpGW,MAAA,EAAA;IAWA,IAAA,EAAA,QAaX;;;;;;;cF/CW,gBAqEX,OAAA,CArEyB;;;cCDd,aA4HX,OAAA,CA5HsB;;;AFGX,cGqBA,SHoFX,EGpFoB,OAAA,CAAA,OHrBM,CGyB1B,OAAA,CAJoB,IAAA,CHrBM;cGgCf,aAAW,OAAA,CAAA,QAatB,OAAA,CAbsB,IAAA"}
1
+ {"version":3,"file":"cli.d.ts","names":[],"sources":["../src/commands/db/generate.ts","../src/commands/db/migrate.ts","../src/commands/db/info.ts","../src/commands/search.ts","../src/commands/corpus.ts","../src/cli.ts"],"sourcesContent":[],"mappings":";;;;cAOa,iBAyGX,OAAA,CAzG0B;;;;IAAf,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;EC5GW,MAAA,EAAA;;;;EC0eA,CAAA;;;;cHzfA,gBAqEX,OAAA,CArEyB;;;cCDd,aA4HX,OAAA,CA5HsB;;;cCgBX,eAoFX,OAAA,CApFwB;;;;IHbb,OAAA,EAAA,MAyGX;;;;IC3GW,WAAA,EAqEX,MAAA;;;;ICtEW,IAAA,EAAA,SA4HX;;;;EC5GW,UAAA,EAAA;;;;EC0eA,CAAA;;;;cAAA,eAsEX,OAAA,CAtEwB;;;;IJvfb,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;EC5GW,QAAA,EAAA;;;;EC0eA,EAAA,EAAA;;;;ACveb,CAAA,CAAA;;;cAAa,WAAS,OAAA,CAAA,QAGpB,OAAA,CAHoB,IAAA;cAMT,aAAW,OAAA,CAAA,QAGtB,OAAA,CAHsB,IAAA"}