@polagram/core 0.0.2 → 0.0.4
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 -0
- package/dist/index.d.ts +104 -6
- package/dist/polagram-core.js +2689 -2157
- package/dist/polagram-core.umd.cjs +20 -14
- package/dist/src/api.d.ts +12 -3
- package/dist/src/api.js +26 -3
- package/dist/src/config/schema.d.ts +16 -0
- package/dist/src/config/schema.js +5 -1
- package/dist/src/generator/generators/plantuml.d.ts +17 -0
- package/dist/src/generator/generators/plantuml.js +131 -0
- package/dist/src/generator/generators/plantuml.test.d.ts +1 -0
- package/dist/src/generator/generators/plantuml.test.js +143 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +4 -0
- package/dist/src/parser/base/lexer.d.ts +3 -3
- package/dist/src/parser/base/parser.d.ts +9 -9
- package/dist/src/parser/base/token.d.ts +18 -0
- package/dist/src/parser/base/token.js +1 -0
- package/dist/src/parser/base/tokens.d.ts +8 -0
- package/dist/src/parser/base/tokens.js +1 -0
- package/dist/src/parser/format-detector.d.ts +55 -0
- package/dist/src/parser/format-detector.js +98 -0
- package/dist/src/parser/index.d.ts +1 -0
- package/dist/src/parser/index.js +4 -0
- package/dist/src/parser/languages/mermaid/lexer.d.ts +1 -1
- package/dist/src/parser/languages/mermaid/parser.d.ts +2 -1
- package/dist/src/parser/languages/plantuml/index.d.ts +4 -0
- package/dist/src/parser/languages/plantuml/index.js +11 -0
- package/dist/src/parser/languages/plantuml/lexer.d.ts +15 -0
- package/dist/src/parser/languages/plantuml/lexer.js +143 -0
- package/dist/src/parser/languages/plantuml/parser.d.ts +23 -0
- package/dist/src/parser/languages/plantuml/parser.js +481 -0
- package/dist/src/parser/languages/plantuml/parser.test.d.ts +1 -0
- package/dist/src/parser/languages/plantuml/parser.test.js +236 -0
- package/dist/src/parser/languages/plantuml/tokens.d.ts +9 -0
- package/dist/src/parser/languages/plantuml/tokens.js +1 -0
- package/dist/src/transformer/orchestration/engine.test.js +12 -1
- package/dist/src/transformer/selector/matcher.test.js +17 -0
- package/dist/src/transformer/traverse/walker.test.js +67 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polagram/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/Jun-T-git/polagram.git"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://polagram.org/",
|
|
12
13
|
"license": "MIT",
|
|
13
14
|
"keywords": [
|
|
14
15
|
"polagram",
|
|
@@ -28,18 +29,22 @@
|
|
|
28
29
|
"files": [
|
|
29
30
|
"dist"
|
|
30
31
|
],
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@types/js-yaml": "^4.0.9",
|
|
33
|
-
"js-yaml": "^4.1.1"
|
|
34
|
-
},
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"zod": "^4.2.1"
|
|
37
|
-
},
|
|
38
32
|
"scripts": {
|
|
39
33
|
"dev": "vite build --watch",
|
|
40
34
|
"build": "tsc && vite build",
|
|
41
35
|
"test": "vitest run",
|
|
42
36
|
"test:watch": "vitest",
|
|
43
37
|
"gen:docs": "node ../cli/dist/index.js run -c docs/sequence/polagram.yml"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/js-yaml": "^4.0.9",
|
|
41
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
42
|
+
"js-yaml": "^4.1.1",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"vite": "^7.3.0",
|
|
45
|
+
"vitest": "^4.0.16"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"zod": "^4.2.1"
|
|
44
49
|
}
|
|
45
|
-
}
|
|
50
|
+
}
|