wiki-graph 0.3.1 → 0.4.1

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.
Files changed (44) hide show
  1. package/README.md +17 -0
  2. package/dist/cli.js +2221 -37548
  3. package/dist/cli.js.map +1 -1
  4. package/dist/data/editor/text_compressor.jinja +17 -13
  5. package/dist/data/help/commands/archive/next.jinja +7 -2
  6. package/dist/data/help/commands/gc.jinja +2 -1
  7. package/dist/data/help/commands/legacy/migrate.jinja +6 -1
  8. package/dist/data/help/commands/legacy.jinja +3 -2
  9. package/dist/data/help/commands/library-predicate.jinja +296 -0
  10. package/dist/data/help/commands/library.jinja +237 -0
  11. package/dist/data/help/commands/maintenance/chapter/add.jinja +3 -3
  12. package/dist/data/help/commands/maintenance/chapter/list.jinja +4 -4
  13. package/dist/data/help/commands/maintenance/chapter/move.jinja +4 -4
  14. package/dist/data/help/commands/maintenance/chapter/remove.jinja +1 -1
  15. package/dist/data/help/commands/maintenance/chapter/reset.jinja +1 -1
  16. package/dist/data/help/commands/maintenance/chapter/set-source.jinja +2 -2
  17. package/dist/data/help/commands/maintenance/chapter/set-summary.jinja +1 -1
  18. package/dist/data/help/commands/maintenance/chapter/set-title.jinja +3 -3
  19. package/dist/data/help/commands/maintenance/chapter/tree.jinja +6 -6
  20. package/dist/data/help/commands/maintenance/chapter.jinja +10 -10
  21. package/dist/data/help/commands/maintenance/meta.jinja +7 -7
  22. package/dist/data/help/commands/maintenance/upgrade.jinja +35 -0
  23. package/dist/data/help/commands/maintenance.jinja +23 -0
  24. package/dist/data/help/commands/predicate.jinja +204 -28
  25. package/dist/data/help/commands/root.jinja +10 -3
  26. package/dist/data/help/commands/uri.jinja +165 -6
  27. package/dist/data/help/topics/config.jinja +10 -3
  28. package/dist/data/help/topics/library.jinja +90 -0
  29. package/dist/data/help/topics/readiness.jinja +32 -2
  30. package/dist/data/help/topics/recipe.jinja +42 -17
  31. package/dist/data/help/topics/runtime.jinja +20 -3
  32. package/dist/data/help/topics/uri.jinja +53 -25
  33. package/dist/gc-worker.d.ts +1 -0
  34. package/dist/gc-worker.js +548 -0
  35. package/dist/gc-worker.js.map +1 -0
  36. package/dist/index.cjs +12678 -33444
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +36 -2649
  39. package/dist/index.d.ts +36 -2649
  40. package/dist/index.js +12901 -33331
  41. package/dist/index.js.map +1 -1
  42. package/dist/queue-worker.js +1367 -24052
  43. package/dist/queue-worker.js.map +1 -1
  44. package/package.json +15 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-graph",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "CLI for building and querying .wikg knowledge-base archives from long-form text and ebooks.",
5
5
  "keywords": [
6
6
  "wiki-graph",
@@ -30,7 +30,8 @@
30
30
  },
31
31
  "files": [
32
32
  "dist",
33
- "LICENSE"
33
+ "LICENSE",
34
+ "README.md"
34
35
  ],
35
36
  "bin": {
36
37
  "wg": "dist/cli.js",
@@ -63,8 +64,19 @@
63
64
  "yazl": "^3.3.1",
64
65
  "zod": "^4.3.6"
65
66
  },
67
+ "devDependencies": {
68
+ "wiki-graph-core": "0.4.1"
69
+ },
70
+ "peerDependencies": {
71
+ "wiki-graph-core": "^0.4.1"
72
+ },
73
+ "peerDependenciesMeta": {
74
+ "wiki-graph-core": {
75
+ "optional": true
76
+ }
77
+ },
66
78
  "scripts": {
67
79
  "build": "rimraf dist && tsup --config tsup.config.ts && node ../../scripts/copy-package-data.mjs ../core/data dist/data",
68
- "dev": "tsx src/cli.ts"
80
+ "dev": "tsx src/bin/dev-cli.ts"
69
81
  }
70
82
  }