deriva 0.0.3 → 0.0.5
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 +2 -2
- package/examples/output/web-names.pl +1 -1
- package/examples/web-names.pl +3 -3
- package/package.json +3 -3
- package/playground.html +1 -1
- package/test/run-regression.mjs +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deriva
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/deriva)
|
|
4
4
|
|
|
5
5
|
Deriva is a small reasoning language for turning facts and rules into answers and proofs.
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ console.log(result.stdout);
|
|
|
49
49
|
|
|
50
50
|
## Documentation
|
|
51
51
|
|
|
52
|
-
- [Playground](https://
|
|
52
|
+
- [Playground](https://eyereasoner.github.io/deriva/playground)
|
|
53
53
|
- [Guide](docs/guide.md)
|
|
54
54
|
- [Language reference](docs/language-reference.md)
|
|
55
55
|
- [A Compact Reasoning Workbench](docs/compact-reasoning-workbench.md)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
affiliated_with('<https://data.ugent.be/id/josd>', '<https://data.ugent.be/id/idlab>').
|
|
2
2
|
affiliated_with('<https://data.ugent.be/id/josd>', '<https://data.ugent.be/id/ugent>').
|
|
3
|
-
project_contact('<https://github.com/
|
|
3
|
+
project_contact('<https://github.com/eyereasoner/deriva>', '<https://data.ugent.be/id/josd>', "josderoo@gmail.com").
|
package/examples/web-names.pl
CHANGED
|
@@ -14,9 +14,9 @@ triple('<https://data.ugent.be/id/josd>', '<https://schema.org/email>', "josdero
|
|
|
14
14
|
triple('<https://data.ugent.be/id/josd>', '<https://schema.org/affiliation>', '<https://data.ugent.be/id/idlab>').
|
|
15
15
|
triple('<https://data.ugent.be/id/idlab>', '<https://schema.org/parentOrganization>', '<https://data.ugent.be/id/ugent>').
|
|
16
16
|
|
|
17
|
-
triple('<https://github.com/
|
|
18
|
-
triple('<https://github.com/
|
|
19
|
-
triple('<https://github.com/
|
|
17
|
+
triple('<https://github.com/eyereasoner/deriva>', '<https://schema.org/name>', "deriva").
|
|
18
|
+
triple('<https://github.com/eyereasoner/deriva>', '<https://schema.org/codeRepository>', '<https://github.com/eyereasoner/deriva>').
|
|
19
|
+
triple('<https://github.com/eyereasoner/deriva>', '<https://schema.org/maintainer>', '<https://data.ugent.be/id/josd>').
|
|
20
20
|
|
|
21
21
|
% Organization membership follows parentOrganization links transitively.
|
|
22
22
|
parent_organization(Unit, Org) :-
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.5",
|
|
7
7
|
"description": "Deriva turns facts and rules into answers and proofs.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./index.js",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"author": "Jos De Roo",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/
|
|
25
|
+
"url": "git+https://github.com/eyereasoner/deriva.git"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/
|
|
27
|
+
"homepage": "https://github.com/eyereasoner/deriva#readme",
|
|
28
28
|
"files": [
|
|
29
29
|
"LICENSE.md",
|
|
30
30
|
"README.md",
|
package/playground.html
CHANGED
package/test/run-regression.mjs
CHANGED
|
@@ -989,7 +989,7 @@ function playgroundStaticIssues() {
|
|
|
989
989
|
const html = fs.readFileSync(playgroundPath, 'utf8');
|
|
990
990
|
const readme = fs.readFileSync(path.join(packageRoot, 'README.md'), 'utf8');
|
|
991
991
|
if (!pkg.files?.includes('playground.html')) issues.push('package files must include playground.html');
|
|
992
|
-
if (!readme.includes('[Playground](https://
|
|
992
|
+
if (!readme.includes('[Playground](https://eyereasoner.github.io/deriva/playground)')) issues.push('README must link to the GitHub Pages playground URL');
|
|
993
993
|
if (!html.includes('<meta name="viewport" content="width=device-width, initial-scale=1">')) issues.push('missing mobile viewport meta');
|
|
994
994
|
if (!html.includes('main {') || !html.includes('display: block;')) {
|
|
995
995
|
issues.push('playground must use a simple vertical layout');
|