@forumone/throughline-reference-ds 0.3.3 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @forumone/throughline-reference-ds
2
2
 
3
+ ## 0.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 957403b: One `@types/node`, so a host does not end up with two copies of `@payloadcms/ui`
8
+
9
+ Twelve packages asked for `@types/node@^20.17.0` and `design-system-payload`
10
+ asked for `^24.13.2`. Inside this repository that is untidy. Inside a host that
11
+ consumes the suite from source — which is how `forumone/forumone-2026` uses it,
12
+ as a git submodule in one pnpm workspace — it is a runtime failure.
13
+
14
+ pnpm hashes a package's identity with its resolved peers. `publishing` and
15
+ `integrations` both take `@payloadcms/ui` as a peer _and_ as a devDependency, so
16
+ each got its own copy resolved against `@types/node@20`, while the host's copy
17
+ resolved against `@types/node@24`. Same version, 3.87.1, two directories:
18
+
19
+ apps/web → @payloadcms+ui@3.87.1_…_9ce0de5c…
20
+ packages/publishing → @payloadcms+ui@3.87.1_…_13184ec4…
21
+ packages/integrations → @payloadcms+ui@3.87.1_…_13184ec4…
22
+
23
+ Two directories are two module instances. Two instances of `@payloadcms/ui` are
24
+ two `ConfigContext` objects, and `PublishButton` read the one the admin's
25
+ provider had never populated:
26
+
27
+ TypeError: Cannot destructure property 'config' of useConfig() as it is undefined
28
+
29
+ The host saw an intermittent 500 on every admin document view — `PublishButton`
30
+ is installed on each collection with a publish policy, so lists, `/admin` and
31
+ the login screen were all fine and only editing broke. Nothing caught it:
32
+ install, `--frozen-lockfile`, typecheck, lint and every test passed, because the
33
+ two copies are byte-identical and the split exists only at module resolution.
34
+ forumone/forumone-2026#498.
35
+
36
+ Aligning on `^24.13.2` collapses them to one instance. Nothing here targets a
37
+ Node 20 API deliberately; the packages typecheck and test unchanged against the
38
+ newer types.
39
+
40
+ `create-throughline` keeps `^20.17.0` on purpose. It is the one package
41
+ declaring `engines.node: >=20.9.0`, and typechecking a CLI against types newer
42
+ than the runtime it promises to support is how a Node 24-only call ships to
43
+ somebody on Node 20.
44
+
45
+ - Updated dependencies [957403b]
46
+ - @forumone/throughline-design-contract@0.5.1
47
+
3
48
  ## 0.3.3
4
49
 
5
50
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  "contractVersion": "1.0.0",
3
3
  "designSystem": {
4
4
  "name": "@forumone/throughline-reference-ds",
5
- "version": "0.3.3",
5
+ "version": "0.3.4",
6
6
  "description": "A brand-neutral reference design system demonstrating contract compliance for Throughline."
7
7
  },
8
8
  "tokens": [
@@ -2053,7 +2053,7 @@
2053
2053
  }
2054
2054
  },
2055
2055
  "build": {
2056
- "timestamp": "2026-08-30T20:51:05.011Z",
2056
+ "timestamp": "2026-08-30T23:27:38.647Z",
2057
2057
  "source": "scripts/build-manifest.ts"
2058
2058
  }
2059
2059
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumone/throughline-reference-ds",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A competent, brand-neutral reference design system demonstrating contract compliance for Throughline.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -51,14 +51,14 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "clsx": "^2.1.1",
54
- "@forumone/throughline-design-contract": "0.5.0"
54
+ "@forumone/throughline-design-contract": "0.5.1"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@storybook/addon-a11y": "^10.3.5",
58
58
  "@storybook/react-vite": "^10.3.5",
59
59
  "@testing-library/jest-dom": "^6.9.1",
60
60
  "@testing-library/react": "^16.3.2",
61
- "@types/node": "^20.17.0",
61
+ "@types/node": "^24.13.2",
62
62
  "@types/react": "^19.2.0",
63
63
  "@types/react-dom": "^19.2.0",
64
64
  "@vitejs/plugin-react": "^6.0.1",