@manta-eu/cli 0.11.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.
- package/README.md +8 -6
- 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
|
|
88
|
-
prefixes
|
|
89
|
-
|
|
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
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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.
|
|
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.
|
|
26
|
+
"@manta-eu/auth": "0.13.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^24.13.3",
|