@stealthscale/sdk-host 0.1.0 → 0.3.1
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 +274 -59
- package/dist/app.d.ts +79 -0
- package/dist/app.js +3 -0
- package/dist/{create-routes-CkgZV-dU.js → create-routes-D4iCBYZe.js} +1244 -468
- package/dist/cyclonedx/bom.json +1 -1
- package/dist/deploy.d.ts +98 -0
- package/dist/deploy.js +254 -0
- package/dist/document-CeEtZo2E.js +38 -0
- package/dist/frame-alSrG57-.js +2499 -0
- package/dist/index.d.ts +36 -97
- package/dist/index.js +2 -2
- package/dist/options-DBsArZKT.d.ts +91 -0
- package/dist/{page-7ScZC_LI.js → page-DzeycJUh.js} +2 -2
- package/dist/releases.d.ts +131 -0
- package/dist/releases.js +404 -0
- package/dist/render-CGRJqVed.js +238 -0
- package/dist/render-DRndY-TD.d.ts +54 -0
- package/dist/standalone/app.d.ts +3 -0
- package/dist/standalone/app.js +214 -343
- package/dist/standalone.js +1 -1
- package/locales/en/host.json +46 -0
- package/package.json +59 -49
package/dist/standalone.js
CHANGED
|
@@ -91,7 +91,7 @@ function kept(initial) {
|
|
|
91
91
|
*/
|
|
92
92
|
function pageOf(routeId, contract) {
|
|
93
93
|
return async () => {
|
|
94
|
-
const { placeholderPageOf } = await import("./page-
|
|
94
|
+
const { placeholderPageOf } = await import("./page-DzeycJUh.js");
|
|
95
95
|
return { PlaceholderPage: placeholderPageOf(routeId, contract) };
|
|
96
96
|
};
|
|
97
97
|
}
|
package/locales/en/host.json
CHANGED
|
@@ -10,6 +10,49 @@
|
|
|
10
10
|
"flags": {
|
|
11
11
|
"killSwitch": "Turns the whole plugin off"
|
|
12
12
|
},
|
|
13
|
+
"frame": {
|
|
14
|
+
"aside": "Aside",
|
|
15
|
+
"bar": "Application bar",
|
|
16
|
+
"clear": "Clear the search",
|
|
17
|
+
"darkMode": "Dark mode",
|
|
18
|
+
"edge": {
|
|
19
|
+
"close": {
|
|
20
|
+
"aside": "Close the aside",
|
|
21
|
+
"navigation": "Close the navigation",
|
|
22
|
+
"panel": "Close the side panel",
|
|
23
|
+
"rail": "Close the sections"
|
|
24
|
+
},
|
|
25
|
+
"open": {
|
|
26
|
+
"aside": "Open the aside",
|
|
27
|
+
"navigation": "Open the navigation",
|
|
28
|
+
"panel": "Open the side panel",
|
|
29
|
+
"rail": "Open the sections"
|
|
30
|
+
},
|
|
31
|
+
"resize": {
|
|
32
|
+
"aside": "Resize the aside",
|
|
33
|
+
"navigation": "Resize the navigation",
|
|
34
|
+
"panel": "Resize the side panel",
|
|
35
|
+
"rail": "Resize the sections"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"empty": "No page matches",
|
|
39
|
+
"find": "Find a page",
|
|
40
|
+
"language": "Language",
|
|
41
|
+
"menu": "Main menu",
|
|
42
|
+
"more": "More",
|
|
43
|
+
"navigation": "Navigation",
|
|
44
|
+
"panel": "Side panel",
|
|
45
|
+
"search": "Search",
|
|
46
|
+
"sections": "Sections",
|
|
47
|
+
"skip": {
|
|
48
|
+
"aside": "Skip to the aside",
|
|
49
|
+
"main": "Skip to the page",
|
|
50
|
+
"navigation": "Skip to the navigation",
|
|
51
|
+
"panel": "Skip to the side panel"
|
|
52
|
+
},
|
|
53
|
+
"status": "Status",
|
|
54
|
+
"theme": "Theme"
|
|
55
|
+
},
|
|
13
56
|
"notFound": {
|
|
14
57
|
"off": {
|
|
15
58
|
"action": "Turn on {{plugin}}",
|
|
@@ -34,6 +77,9 @@
|
|
|
34
77
|
"failed": {
|
|
35
78
|
"description": "Reload the page, or try again later.",
|
|
36
79
|
"title": "This page could not be shown"
|
|
80
|
+
},
|
|
81
|
+
"loading": {
|
|
82
|
+
"title": "Loading the page"
|
|
37
83
|
}
|
|
38
84
|
},
|
|
39
85
|
"palette": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stealthscale/sdk-host",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Hosts a product composed from plugins: the state its plugins read, its routes, the parts of its frame, its palette and its settings pages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plugins",
|
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
30
|
".": "./dist/index.js",
|
|
31
|
+
"./app": "./dist/app.js",
|
|
32
|
+
"./deploy": "./dist/deploy.js",
|
|
31
33
|
"./openfeature": "./dist/openfeature.js",
|
|
34
|
+
"./releases": "./dist/releases.js",
|
|
32
35
|
"./standalone": "./dist/standalone.js",
|
|
33
36
|
"./standalone/app": "./dist/standalone/app.js",
|
|
34
37
|
"./package.json": "./package.json"
|
|
@@ -37,80 +40,87 @@
|
|
|
37
40
|
"access": "public"
|
|
38
41
|
},
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"@stealthscale/sdk-core": "^0.
|
|
43
|
+
"@stealthscale/sdk-core": "^0.3.0"
|
|
41
44
|
},
|
|
42
45
|
"devDependencies": {
|
|
43
46
|
"@arethetypeswrong/core": "^0.18",
|
|
44
47
|
"@openfeature/core": "^1.12",
|
|
45
48
|
"@openfeature/web-sdk": "^1.10",
|
|
46
|
-
"@stealthscale/component-
|
|
47
|
-
"@stealthscale/component-
|
|
48
|
-
"@stealthscale/component-
|
|
49
|
-
"@stealthscale/component-
|
|
50
|
-
"@stealthscale/component-
|
|
51
|
-
"@stealthscale/component-
|
|
52
|
-
"@stealthscale/component-
|
|
53
|
-
"@stealthscale/component-
|
|
54
|
-
"@stealthscale/
|
|
55
|
-
"@stealthscale/
|
|
56
|
-
"@stealthscale/
|
|
49
|
+
"@stealthscale/component-a11y": "^0.1.2",
|
|
50
|
+
"@stealthscale/component-actions": "^0.2.1",
|
|
51
|
+
"@stealthscale/component-feedback": "^0.2.1",
|
|
52
|
+
"@stealthscale/component-forms": "^0.3.0",
|
|
53
|
+
"@stealthscale/component-layout": "^0.2.1",
|
|
54
|
+
"@stealthscale/component-media": "^0.2.1",
|
|
55
|
+
"@stealthscale/component-modals": "^0.2.1",
|
|
56
|
+
"@stealthscale/component-navigation": "^0.3.0",
|
|
57
|
+
"@stealthscale/component-screen": "^0.2.1",
|
|
58
|
+
"@stealthscale/component-typography": "^0.3.0",
|
|
59
|
+
"@stealthscale/hooks": "^0.3.0",
|
|
60
|
+
"@stealthscale/provider-color-mode": "^0.2.2",
|
|
61
|
+
"@stealthscale/provider-data": "^0.2.2",
|
|
57
62
|
"@stealthscale/provider-environment": "^0.1.0",
|
|
58
|
-
"@stealthscale/provider-form": "^0.
|
|
59
|
-
"@stealthscale/provider-hotkeys": "^0.
|
|
63
|
+
"@stealthscale/provider-form": "^0.3.0",
|
|
64
|
+
"@stealthscale/provider-hotkeys": "^0.3.0",
|
|
60
65
|
"@stealthscale/provider-i18n": "^0.1.0",
|
|
61
|
-
"@stealthscale/provider-locale": "^0.1.
|
|
62
|
-
"@stealthscale/provider-router": "^0.
|
|
63
|
-
"@stealthscale/provider-shell": "^0.
|
|
64
|
-
"@stealthscale/provider-viewport": "^0.1
|
|
65
|
-
"@stealthscale/sdk-plugin": "^0.1
|
|
66
|
-
"@stealthscale/settings": "^0.
|
|
67
|
-
"@stealthscale/testing-config": "^0.
|
|
68
|
-
"@stealthscale/theme": "^0.
|
|
69
|
-
"@stealthscale/vite-config": "^0.
|
|
70
|
-
"@stealthscale/vite-config-i18n": "^0.1
|
|
71
|
-
"@stealthscale/vite-config-react": "^0.
|
|
66
|
+
"@stealthscale/provider-locale": "^0.1.1",
|
|
67
|
+
"@stealthscale/provider-router": "^0.4.0",
|
|
68
|
+
"@stealthscale/provider-shell": "^0.2.2",
|
|
69
|
+
"@stealthscale/provider-viewport": "^0.2.1",
|
|
70
|
+
"@stealthscale/sdk-plugin": "^0.3.1",
|
|
71
|
+
"@stealthscale/settings": "^0.2.0",
|
|
72
|
+
"@stealthscale/testing-config": "^0.6.0",
|
|
73
|
+
"@stealthscale/theme": "^0.5.0",
|
|
74
|
+
"@stealthscale/vite-config": "^0.8.0",
|
|
75
|
+
"@stealthscale/vite-config-i18n": "^0.2.1",
|
|
76
|
+
"@stealthscale/vite-config-react": "^0.9.1",
|
|
72
77
|
"@stealthscale/vite-config-typescript": "^0.3.0",
|
|
73
78
|
"@tanstack/react-form": "^1.33",
|
|
74
|
-
"@tanstack/react-hotkeys": "^0.
|
|
79
|
+
"@tanstack/react-hotkeys": "^0.13",
|
|
75
80
|
"@tanstack/react-query": "^5.104",
|
|
76
|
-
"@tanstack/react-router": "1.170.
|
|
81
|
+
"@tanstack/react-router": "1.170.41",
|
|
77
82
|
"@tanstack/react-router-ssr-query": "^1.167",
|
|
78
83
|
"@testing-library/react": "^16.3",
|
|
79
84
|
"@types/react": "^19.3",
|
|
80
85
|
"@types/react-dom": "^19.3",
|
|
81
|
-
"@vitest/coverage-v8": "5.0.
|
|
86
|
+
"@vitest/coverage-v8": "5.0.3",
|
|
82
87
|
"happy-dom": "^20.14",
|
|
83
88
|
"i18next": "^26.4",
|
|
84
|
-
"
|
|
89
|
+
"lucide-react": "^1.52",
|
|
90
|
+
"oxc-transform-react": "^0.153",
|
|
85
91
|
"publint": "^0.3",
|
|
86
92
|
"react": "^19.3",
|
|
87
93
|
"react-dom": "^19.3",
|
|
88
94
|
"react-i18next": "^17.0",
|
|
89
95
|
"typescript": "^7.0",
|
|
90
|
-
"vitest": "5.0.
|
|
96
|
+
"vitest": "5.0.3"
|
|
91
97
|
},
|
|
92
98
|
"peerDependencies": {
|
|
93
99
|
"@openfeature/web-sdk": "^1.10",
|
|
94
|
-
"@stealthscale/component-
|
|
95
|
-
"@stealthscale/component-
|
|
96
|
-
"@stealthscale/component-
|
|
97
|
-
"@stealthscale/component-
|
|
98
|
-
"@stealthscale/component-
|
|
99
|
-
"@stealthscale/component-
|
|
100
|
-
"@stealthscale/component-
|
|
101
|
-
"@stealthscale/component-
|
|
102
|
-
"@stealthscale/
|
|
103
|
-
"@stealthscale/
|
|
104
|
-
"@stealthscale/
|
|
105
|
-
"@stealthscale/provider-
|
|
106
|
-
"@stealthscale/provider-
|
|
100
|
+
"@stealthscale/component-a11y": "^0.1.2",
|
|
101
|
+
"@stealthscale/component-actions": "^0.2.1",
|
|
102
|
+
"@stealthscale/component-feedback": "^0.2.1",
|
|
103
|
+
"@stealthscale/component-forms": "^0.3.0",
|
|
104
|
+
"@stealthscale/component-layout": "^0.2.1",
|
|
105
|
+
"@stealthscale/component-media": "^0.2.1",
|
|
106
|
+
"@stealthscale/component-modals": "^0.2.1",
|
|
107
|
+
"@stealthscale/component-navigation": "^0.3.0",
|
|
108
|
+
"@stealthscale/component-screen": "^0.2.1",
|
|
109
|
+
"@stealthscale/component-typography": "^0.3.0",
|
|
110
|
+
"@stealthscale/hooks": "^0.3.0",
|
|
111
|
+
"@stealthscale/provider-color-mode": "^0.2.2",
|
|
112
|
+
"@stealthscale/provider-data": "^0.2.2",
|
|
113
|
+
"@stealthscale/provider-form": "^0.3.0",
|
|
114
|
+
"@stealthscale/provider-hotkeys": "^0.3.0",
|
|
107
115
|
"@stealthscale/provider-i18n": "^0.1.0",
|
|
108
|
-
"@stealthscale/provider-locale": "^0.1.
|
|
109
|
-
"@stealthscale/provider-router": "^0.
|
|
110
|
-
"@stealthscale/provider-shell": "^0.
|
|
111
|
-
"@stealthscale/
|
|
112
|
-
"@stealthscale/
|
|
116
|
+
"@stealthscale/provider-locale": "^0.1.1",
|
|
117
|
+
"@stealthscale/provider-router": "^0.4.0",
|
|
118
|
+
"@stealthscale/provider-shell": "^0.2.2",
|
|
119
|
+
"@stealthscale/provider-viewport": "^0.2.1",
|
|
120
|
+
"@stealthscale/sdk-plugin": "^0.3.1",
|
|
121
|
+
"@stealthscale/settings": "^0.2.0",
|
|
113
122
|
"@tanstack/react-router-ssr-query": "^1.167",
|
|
123
|
+
"lucide-react": "^1.52",
|
|
114
124
|
"react": "^19.3",
|
|
115
125
|
"react-dom": "^19.3"
|
|
116
126
|
},
|