@ecomiq/storefront 0.1.2 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecomiq/storefront",
3
- "description": "SDK headless de storefront Ecomiq: dominio (core), hooks React y utilidades Next.js (sin @ecomiq/ui)",
3
+ "description": "SDK headless de storefront Ecomiq: adapters Next.js y TanStack Start sobre React (sin @ecomiq/ui)",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -11,6 +11,7 @@
11
11
  "storefront",
12
12
  "ecommerce",
13
13
  "nextjs",
14
+ "tanstack-start",
14
15
  "react"
15
16
  ],
16
17
  "sideEffects": [
@@ -25,14 +26,6 @@
25
26
  "types": "./dist/index.d.ts",
26
27
  "import": "./dist/index.js"
27
28
  },
28
- "./core": {
29
- "types": "./dist/core.d.ts",
30
- "import": "./dist/core.js"
31
- },
32
- "./react": {
33
- "types": "./dist/react.d.ts",
34
- "import": "./dist/react.js"
35
- },
36
29
  "./nextjs": {
37
30
  "types": "./dist/nextjs.d.ts",
38
31
  "import": "./dist/nextjs.js"
@@ -42,19 +35,34 @@
42
35
  "import": "./dist/nextjs/api.js"
43
36
  },
44
37
  "./nextjs/css": "./dist/nextjs/globals.css",
45
- "./nextjs/postcss": "./dist/postcss.config.mjs"
38
+ "./nextjs/postcss": "./dist/postcss.config.mjs",
39
+ "./tanstack": {
40
+ "types": "./dist/tanstack.d.ts",
41
+ "import": "./dist/tanstack.js"
42
+ },
43
+ "./tanstack/api": {
44
+ "types": "./dist/tanstack/api.d.ts",
45
+ "import": "./dist/tanstack/api.js"
46
+ }
46
47
  },
47
48
  "peerDependencies": {
48
- "next": "^15.3.0",
49
49
  "react": "^19.0.0",
50
- "react-dom": "^19.0.0"
50
+ "react-dom": "^19.0.0",
51
+ "next": "^15.3.0",
52
+ "@tanstack/react-start": "^1.0.0"
51
53
  },
52
54
  "peerDependenciesMeta": {
55
+ "next": {
56
+ "optional": true
57
+ },
58
+ "@tanstack/react-start": {
59
+ "optional": true
60
+ },
53
61
  "@opennextjs/cloudflare": {
54
62
  "optional": true
55
63
  }
56
64
  },
57
- "version": "0.1.2",
65
+ "version": "1.0.0",
58
66
  "dependencies": {
59
67
  "@opennextjs/cloudflare": "^1.3.1",
60
68
  "@hookform/resolvers": "5.0.1",