@manta-eu/cli 0.12.0 → 0.13.0

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 (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -84,14 +84,16 @@ after them (`todo.ts`). Declare your namespace with its prefix in the vocabulary
84
84
 
85
85
  ## Push your rules
86
86
 
87
- Keep your Datalog rules in a `.dlog` file, each one named by a `# s:` line in your own namespace. Use only the
88
- prefixes the realm's rules declare, and spell your own IRIs out in full: a realm deploy recommits your rules under the
89
- realm's prefixes, so a prefix of your own would stop them.
87
+ Keep your Datalog rules in a `.dlog` file, each one named by a `# s:` line in your own namespace. Use the realm's
88
+ prefixes without declaring them, and declare your own with a `PREFIX` line. The push stores each name in your own prefix
89
+ as its full IRI, so a realm deploy can still recommit your rules under the realm's prefixes.
90
90
 
91
91
  ```datalog
92
- # s: <https://todomvc.example/vocab#Rule_Done>
93
- <https://todomvc.example/vocab#isDone>[?todo, true] :-
94
- <https://todomvc.example/vocab#Todo>[?todo], <https://todomvc.example/vocab#completed>[?todo, true] .
92
+ PREFIX todo: <https://todomvc.example/vocab#>
93
+
94
+ # s: todo:Rule_Done
95
+ todo:isDone[?todo, true] :-
96
+ todo:Todo[?todo], todo:completed[?todo, true] .
95
97
  ```
96
98
 
97
99
  ```shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manta-eu/cli",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "CLI that keeps what a Manta datastore holds in line with files you track in git: your app's vocabulary, shapes and rules",
5
5
  "homepage": "https://developers.manta.eu",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
25
  "commander": "^15.0.0",
26
- "@manta-eu/auth": "0.12.0"
26
+ "@manta-eu/auth": "0.13.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^24.13.3",