@hamak/ui-shell-spi 0.2.1 → 0.2.3
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/.turbo/turbo-build.log +1 -1
- package/dist/es2015/guards/NavigationGuard.js +5 -0
- package/dist/es2015/guards/index.js +5 -0
- package/dist/es2015/hooks/ShellHooks.js +5 -0
- package/dist/es2015/hooks/index.js +5 -0
- package/dist/es2015/index.js +21 -0
- package/dist/es2015/providers/IRouterStrategy.js +5 -0
- package/dist/es2015/providers/IStorageProvider.js +5 -0
- package/dist/es2015/providers/ITemplateProvider.js +5 -0
- package/dist/es2015/providers/IThemeProvider.js +5 -0
- package/dist/es2015/providers/index.js +8 -0
- package/dist/es2015/slots/LayoutSlotProvider.js +5 -0
- package/dist/es2015/slots/TemplateSlot.js +5 -0
- package/dist/es2015/slots/index.js +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -4
- package/src/index.ts +1 -1
- package/tsconfig.es2015.json +24 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
$ tsc -p tsconfig.json
|
|
1
|
+
$ tsc -p tsconfig.json && tsc -p tsconfig.es2015.json
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI Shell SPI (Service Provider Interface)
|
|
3
|
+
* Extension points and provider interfaces for UI Shell customization
|
|
4
|
+
*
|
|
5
|
+
* Implement these interfaces to customize shell behavior:
|
|
6
|
+
* - Storage providers (localStorage, cookies, etc.)
|
|
7
|
+
* - Theme providers (CSS vars, styled-components, etc.)
|
|
8
|
+
* - Router strategies (history, hash, memory)
|
|
9
|
+
* - Layout templates
|
|
10
|
+
* - Navigation guards
|
|
11
|
+
* - Lifecycle hooks
|
|
12
|
+
*/
|
|
13
|
+
export const version = '0.2.2';
|
|
14
|
+
// Export all providers
|
|
15
|
+
export * from './providers';
|
|
16
|
+
// Export all guards
|
|
17
|
+
export * from './guards';
|
|
18
|
+
// Export all hooks
|
|
19
|
+
export * from './hooks';
|
|
20
|
+
// Export all slots
|
|
21
|
+
export * from './slots';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/ui-shell-spi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "UI Shell SPI - Service Provider Interfaces for UI shell",
|
|
@@ -16,17 +16,23 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "tsc -p tsconfig.json",
|
|
19
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json",
|
|
20
20
|
"clean": "rm -rf dist"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
|
-
"import": "./dist/index.js"
|
|
25
|
+
"import": "./dist/index.js",
|
|
26
|
+
"default": "./dist/index.js",
|
|
27
|
+
"legacy": "./dist/es2015/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./es2015": {
|
|
30
|
+
"import": "./dist/es2015/index.js",
|
|
31
|
+
"default": "./dist/es2015/index.js"
|
|
26
32
|
}
|
|
27
33
|
},
|
|
28
34
|
"dependencies": {
|
|
29
|
-
"@hamak/ui-shell-api": "0.2.
|
|
35
|
+
"@hamak/ui-shell-api": "0.2.2"
|
|
30
36
|
},
|
|
31
37
|
"devDependencies": {
|
|
32
38
|
"typescript": "~5.4.0"
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES2015",
|
|
5
|
+
"lib": [
|
|
6
|
+
"ES2015",
|
|
7
|
+
"DOM",
|
|
8
|
+
"DOM.Iterable"
|
|
9
|
+
],
|
|
10
|
+
"outDir": "dist/es2015",
|
|
11
|
+
"declaration": false,
|
|
12
|
+
"declarationMap": false,
|
|
13
|
+
"sourceMap": false,
|
|
14
|
+
"downlevelIteration": true,
|
|
15
|
+
"composite": false
|
|
16
|
+
},
|
|
17
|
+
"include": [
|
|
18
|
+
"src/**/*"
|
|
19
|
+
],
|
|
20
|
+
"exclude": [
|
|
21
|
+
"node_modules",
|
|
22
|
+
"dist"
|
|
23
|
+
]
|
|
24
|
+
}
|