@hamak/ui-shell-spi 0.4.19 → 0.5.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.
@@ -1,21 +1,7 @@
1
1
  /**
2
- * UI Shell SPI (Service Provider Interface)
3
- * Extension points and provider interfaces for UI Shell customization
2
+ * @hamak/ui-shell-spi
4
3
  *
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
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/ui-shell/spi
12
5
  */
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';
6
+ console.warn('[@hamak/ui-shell-spi] This package is deprecated. Please migrate to @hamak/ui-shell/spi');
7
+ export * from '@hamak/ui-shell/spi';
package/dist/index.d.ts CHANGED
@@ -1,18 +1,7 @@
1
1
  /**
2
- * UI Shell SPI (Service Provider Interface)
3
- * Extension points and provider interfaces for UI Shell customization
2
+ * @hamak/ui-shell-spi
4
3
  *
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
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/ui-shell/spi
12
5
  */
13
- export declare const version = "0.2.2";
14
- export * from './providers';
15
- export * from './guards';
16
- export * from './hooks';
17
- export * from './slots';
6
+ export * from '@hamak/ui-shell/spi';
18
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,OAAO,UAAU,CAAC;AAG/B,cAAc,aAAa,CAAC;AAG5B,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,cAAc,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -1,21 +1,7 @@
1
1
  /**
2
- * UI Shell SPI (Service Provider Interface)
3
- * Extension points and provider interfaces for UI Shell customization
2
+ * @hamak/ui-shell-spi
4
3
  *
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
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/ui-shell/spi
12
5
  */
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';
6
+ console.warn('[@hamak/ui-shell-spi] This package is deprecated. Please migrate to @hamak/ui-shell/spi');
7
+ export * from '@hamak/ui-shell/spi';
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "@hamak/ui-shell-spi",
3
- "version": "0.4.19",
4
- "private": false,
3
+ "version": "0.5.1",
4
+ "description": "[DEPRECATED] Use @hamak/ui-shell/spi instead",
5
5
  "type": "module",
6
- "description": "UI Shell SPI - Service Provider Interfaces for UI shell",
7
- "main": "dist/index.js",
8
- "types": "dist/index.d.ts",
9
- "sideEffects": false,
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
10
15
  "files": [
11
16
  "dist"
12
17
  ],
@@ -19,25 +24,21 @@
19
24
  "access": "public"
20
25
  },
21
26
  "scripts": {
22
- "build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json",
27
+ "build": "tsc -p tsconfig.lib.json",
23
28
  "clean": "rm -rf dist"
24
29
  },
25
- "exports": {
26
- ".": {
27
- "types": "./dist/index.d.ts",
28
- "import": "./dist/index.js",
29
- "default": "./dist/index.js",
30
- "legacy": "./dist/es2015/index.js"
31
- },
32
- "./es2015": {
33
- "import": "./dist/es2015/index.js",
34
- "default": "./dist/es2015/index.js"
35
- }
36
- },
30
+ "keywords": [
31
+ "ui-shell",
32
+ "spi",
33
+ "deprecated"
34
+ ],
35
+ "author": "",
36
+ "license": "MIT",
37
37
  "dependencies": {
38
- "@hamak/ui-shell-api": "*"
38
+ "@hamak/ui-shell": "*"
39
39
  },
40
+ "deprecated": "Use @hamak/ui-shell/spi instead",
40
41
  "devDependencies": {
41
- "typescript": "~5.4.0"
42
+ "typescript": "^5.9.3"
42
43
  }
43
44
  }