@manta-eu/datalog-parser 0.1.1 → 0.1.2

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/dist/index.d.ts CHANGED
@@ -254,6 +254,8 @@ export declare const booleanLiteralTokenTypes: Set<TokenType>;
254
254
 
255
255
  export declare const builtinFunctionTokenTypes: Set<TokenType>;
256
256
 
257
+ export declare function canonicalRuleText(rule: string): string;
258
+
257
259
  export declare type ClassAssertion = {
258
260
  className: string;
259
261
  instance: DatalogTerm;
package/dist/index.js CHANGED
@@ -2766,6 +2766,7 @@ export {
2766
2766
  ei as binaryOperandNeedsParentheses,
2767
2767
  Ri as booleanLiteralTokenTypes,
2768
2768
  Ni as builtinFunctionTokenTypes,
2769
+ Qe as canonicalRuleText,
2769
2770
  Ze as classAssertionFromAtom,
2770
2771
  Ns as collectVariableTypeEvidence,
2771
2772
  dn as commitTransaction,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manta-eu/datalog-parser",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "RDFox Datalog parser and AST builder with inference verification",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  "access": "public"
45
45
  },
46
46
  "scripts": {
47
- "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && vite build",
47
+ "build": "vite build",
48
48
  "build:lib": "vite build",
49
49
  "test": "vitest --run",
50
50
  "test:coverage": "vitest --run --coverage",