@jay-framework/compiler-shared 0.15.6 → 0.16.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/dist/index.d.ts +14 -0
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -601,6 +601,20 @@ interface PluginManifest {
|
|
|
601
601
|
description?: string;
|
|
602
602
|
doc?: string;
|
|
603
603
|
}>;
|
|
604
|
+
/** Plugin-provided routes — full pages served by the dev server (DL#130).
|
|
605
|
+
* Each route is a headless component + jay-html template + route path. */
|
|
606
|
+
routes?: Array<{
|
|
607
|
+
/** Route path (e.g., "/aiditor", "/aiditor/pages/[route]") */
|
|
608
|
+
path: string;
|
|
609
|
+
/** Export subpath for the jay-html file (resolved via package.json exports) */
|
|
610
|
+
jayHtml: string;
|
|
611
|
+
/** Export subpath for the CSS file (optional, resolved via package.json exports) */
|
|
612
|
+
css?: string;
|
|
613
|
+
/** Exported member name for the page component */
|
|
614
|
+
component: string;
|
|
615
|
+
/** Human-readable description */
|
|
616
|
+
description?: string;
|
|
617
|
+
}>;
|
|
604
618
|
/** Plugin setup configuration (Design Log #87) */
|
|
605
619
|
setup?: {
|
|
606
620
|
/** Export name (NPM) or relative path (local) to setup handler function */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/compiler-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"author": "",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@jay-framework/component": "^0.
|
|
29
|
-
"@jay-framework/runtime": "^0.
|
|
30
|
-
"@jay-framework/secure": "^0.
|
|
31
|
-
"@jay-framework/typescript-bridge": "^0.
|
|
28
|
+
"@jay-framework/component": "^0.16.0",
|
|
29
|
+
"@jay-framework/runtime": "^0.16.0",
|
|
30
|
+
"@jay-framework/secure": "^0.16.0",
|
|
31
|
+
"@jay-framework/typescript-bridge": "^0.16.0",
|
|
32
32
|
"@types/js-yaml": "^4.0.9",
|
|
33
33
|
"change-case": "^4.1.2",
|
|
34
34
|
"js-beautify": "^1.14.11",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@caiogondim/strip-margin": "^1.0.0",
|
|
44
|
-
"@jay-framework/dev-environment": "^0.
|
|
44
|
+
"@jay-framework/dev-environment": "^0.16.0",
|
|
45
45
|
"@testing-library/jest-dom": "^6.2.0",
|
|
46
46
|
"@types/js-beautify": "^1",
|
|
47
47
|
"@types/node": "^20.11.5",
|