@hamak/ui-remote-resource-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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './providers/i-resource-provider';
2
- export * from './config/endpoint-definition';
3
- export * from './config/entity-definition';
4
- export * from './config/plugin-config';
1
+ /**
2
+ * @deprecated This package is deprecated. Please migrate to @hamak/ui-remote-resource/spi
3
+ */
4
+ export * from '@hamak/ui-remote-resource/spi';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iCAAiC,CAAC;AAGhD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,cAAc,+BAA+B,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
- // Providers (for custom implementations)
2
- export * from './providers/i-resource-provider';
3
- // Configuration (for plugin setup)
4
- export * from './config/endpoint-definition';
5
- export * from './config/entity-definition';
6
- export * from './config/plugin-config';
1
+ /**
2
+ * @deprecated This package is deprecated. Please migrate to @hamak/ui-remote-resource/spi
3
+ */
4
+ console.warn('[@hamak/ui-remote-resource-spi] This package is deprecated. Please migrate to @hamak/ui-remote-resource/spi');
5
+ export * from '@hamak/ui-remote-resource/spi';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@hamak/ui-remote-resource-spi",
3
- "version": "0.4.19",
3
+ "version": "0.5.1",
4
4
  "private": false,
5
5
  "type": "module",
6
- "description": "Remote Resource SPI - Service Provider Interface for plugin configuration",
6
+ "description": "DEPRECATED: Use @hamak/ui-remote-resource/spi instead",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "sideEffects": false,
@@ -18,33 +18,22 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
+ "deprecated": "Use @hamak/ui-remote-resource/spi instead",
21
22
  "scripts": {
22
- "build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json",
23
- "clean": "rm -rf dist",
24
- "test": "vitest run",
25
- "test:watch": "vitest"
23
+ "build": "tsc -p tsconfig.json",
24
+ "clean": "rm -rf dist"
26
25
  },
27
26
  "exports": {
28
27
  ".": {
29
28
  "types": "./dist/index.d.ts",
30
29
  "import": "./dist/index.js",
31
- "require": "./dist/es2015/index.js",
32
30
  "default": "./dist/index.js"
33
- },
34
- "./es2015": {
35
- "require": "./dist/es2015/index.js",
36
- "default": "./dist/es2015/index.js"
37
31
  }
38
32
  },
39
33
  "dependencies": {
40
- "@hamak/ui-remote-resource-api": "*"
41
- },
42
- "peerDependencies": {
43
- "@hamak/shared-utils": "*"
34
+ "@hamak/ui-remote-resource": "*"
44
35
  },
45
36
  "devDependencies": {
46
- "@hamak/shared-utils": "*",
47
- "typescript": "~5.4.0",
48
- "vitest": "^2.0.0"
37
+ "typescript": "~5.4.0"
49
38
  }
50
39
  }