@8ux-co/eelzap 0.11.1 → 0.11.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +42 -76
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.11.2] - 2026-10-16
9
+
10
+ ### Fixed
11
+
12
+ - Packaging: 0.11.1 was published with `npm publish`, which ignores `publishConfig`, so its `main`, `types` and `exports` pointed at `./src/*.ts`, which the tarball doesn't ship, and installs failed to resolve the package. 0.11.2 is the same code published with `pnpm publish`, so the entry points are the built `./dist` files. Use 0.11.2; 0.11.1 is deprecated.
13
+
8
14
  ## [0.11.1] - 2026-10-16
9
15
 
10
16
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@8ux-co/eelzap",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "The Eel Zap client: typed content delivery and writes, stega-aware field helpers, Next.js and React preview helpers, and the on-demand preview overlay.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,79 +20,45 @@
20
20
  "preview"
21
21
  ],
22
22
  "type": "module",
23
- "main": "./src/index.ts",
24
- "types": "./src/index.ts",
23
+ "main": "./dist/index.cjs",
24
+ "types": "./dist/index.d.ts",
25
25
  "exports": {
26
26
  ".": {
27
- "types": "./src/index.ts",
28
- "default": "./src/index.ts"
27
+ "import": {
28
+ "types": "./dist/index.d.ts",
29
+ "default": "./dist/index.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/index.d.cts",
33
+ "default": "./dist/index.cjs"
34
+ }
29
35
  },
30
36
  "./fields": {
31
- "types": "./src/fields.ts",
32
- "default": "./src/fields.ts"
37
+ "import": {
38
+ "types": "./dist/fields.d.ts",
39
+ "default": "./dist/fields.js"
40
+ },
41
+ "require": {
42
+ "types": "./dist/fields.d.cts",
43
+ "default": "./dist/fields.cjs"
44
+ }
33
45
  },
34
46
  "./next": {
35
- "types": "./src/next.ts",
36
- "default": "./src/next.ts"
47
+ "types": "./dist/next.d.ts",
48
+ "default": "./dist/next.js"
37
49
  },
38
50
  "./react": {
39
- "types": "./src/react.ts",
40
- "default": "./src/react.ts"
51
+ "types": "./dist/react.d.ts",
52
+ "default": "./dist/react.js"
41
53
  },
42
54
  "./preview": {
43
- "types": "./src/preview/index.ts",
44
- "default": "./src/preview/index.ts"
45
- },
46
- "./internal/editor": {
47
- "types": "./src/internal/editor.ts",
48
- "default": "./src/internal/editor.ts"
49
- },
50
- "./internal/stega": {
51
- "types": "./src/internal/stega.ts",
52
- "default": "./src/internal/stega.ts"
55
+ "types": "./dist/preview.d.ts",
56
+ "default": "./dist/preview.js"
53
57
  },
54
58
  "./package.json": "./package.json"
55
59
  },
56
60
  "publishConfig": {
57
- "access": "public",
58
- "main": "./dist/index.cjs",
59
- "module": "./dist/index.js",
60
- "types": "./dist/index.d.ts",
61
- "exports": {
62
- ".": {
63
- "import": {
64
- "types": "./dist/index.d.ts",
65
- "default": "./dist/index.js"
66
- },
67
- "require": {
68
- "types": "./dist/index.d.cts",
69
- "default": "./dist/index.cjs"
70
- }
71
- },
72
- "./fields": {
73
- "import": {
74
- "types": "./dist/fields.d.ts",
75
- "default": "./dist/fields.js"
76
- },
77
- "require": {
78
- "types": "./dist/fields.d.cts",
79
- "default": "./dist/fields.cjs"
80
- }
81
- },
82
- "./next": {
83
- "types": "./dist/next.d.ts",
84
- "default": "./dist/next.js"
85
- },
86
- "./react": {
87
- "types": "./dist/react.d.ts",
88
- "default": "./dist/react.js"
89
- },
90
- "./preview": {
91
- "types": "./dist/preview.d.ts",
92
- "default": "./dist/preview.js"
93
- },
94
- "./package.json": "./package.json"
95
- }
61
+ "access": "public"
96
62
  },
97
63
  "files": [
98
64
  "dist",
@@ -104,20 +70,6 @@
104
70
  "node": ">=18"
105
71
  },
106
72
  "sideEffects": false,
107
- "scripts": {
108
- "build": "rm -rf dist && tsup",
109
- "release:cdn": "node scripts/release-cdn.mjs",
110
- "prepublishOnly": "node scripts/preflight-cdn.mjs && npm run build",
111
- "typecheck": "tsc --noEmit",
112
- "test": "vitest run",
113
- "test:watch": "vitest",
114
- "test:cov": "vitest run --coverage",
115
- "test:cov:check": "vitest run --coverage && node scripts/check-coverage.mjs",
116
- "test:cov:baseline": "vitest run --coverage && node scripts/update-coverage-baseline.mjs",
117
- "check:surface": "node scripts/surface.ts",
118
- "docs": "typedoc",
119
- "clean": "rm -rf dist coverage .turbo docs"
120
- },
121
73
  "peerDependencies": {
122
74
  "next": ">=14",
123
75
  "react": ">=18"
@@ -144,5 +96,19 @@
144
96
  "typedoc-plugin-markdown": "^4.9.0",
145
97
  "typescript": "5.9.3",
146
98
  "vitest": "^3.2.4"
147
- }
148
- }
99
+ },
100
+ "scripts": {
101
+ "build": "rm -rf dist && tsup",
102
+ "release:cdn": "node scripts/release-cdn.mjs",
103
+ "typecheck": "tsc --noEmit",
104
+ "test": "vitest run",
105
+ "test:watch": "vitest",
106
+ "test:cov": "vitest run --coverage",
107
+ "test:cov:check": "vitest run --coverage && node scripts/check-coverage.mjs",
108
+ "test:cov:baseline": "vitest run --coverage && node scripts/update-coverage-baseline.mjs",
109
+ "check:surface": "node scripts/surface.ts",
110
+ "docs": "typedoc",
111
+ "clean": "rm -rf dist coverage .turbo docs"
112
+ },
113
+ "module": "./dist/index.js"
114
+ }