@forumone/throughline-design-system 1.0.0-next.2 → 1.0.0-pr-266-2941b02

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,19 @@
1
1
  # @forumone/throughline-design-system
2
2
 
3
+ ## 1.0.0-pr-266-2941b02
4
+
5
+ ### Major Changes
6
+
7
+ - 825f4e9: `@forumone/throughline-design-system`: the 1.0 design-system package, from `@forumone/throughline-design-contract` and `@forumone/throughline-design-system-payload`, by `docs/spec/1.0-exports.md`. It is published for the first time: design-system-payload was private and shipped TypeScript source, and this package builds to `dist`.
8
+
9
+ - `@forumone/throughline-design-contract` is `/contract`, and its `/lint` is `/lint`.
10
+ - design-system-payload's `/generate`, `/render`, `/client` and `/testing` keep their names. Its root (`fieldOverride` and the override types) is part of `/generate`.
11
+ - The `check-block-props` bin is unchanged, and runs the built CLI.
12
+ - Admin component paths are `@forumone/throughline-design-system/client#BlockSummary`, `#BlockGuidance` and `#RowSummary`, so a site's `importMap.js` changes.
13
+ - `/contract` and `/lint` need no peers. `payload`, `react`, `@payloadcms/ui`, `typescript` (which `/generate` uses to read component source) and `vitest` (for `/testing`) are optional peers.
14
+
15
+ `@forumone/throughline/components` now reads manifests through `@forumone/throughline-design-system/contract`.
16
+
3
17
  ## 1.0.0-next.2
4
18
 
5
19
  ## 1.0.0-next.0
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The design-system side of Throughline. A design system describes its components in a manifest; this package defines that manifest, lints it, and turns it into Payload blocks, rendering and admin components for a Throughline site.
4
4
 
5
- > **1.0 is in progress.** This package is `@forumone/throughline-design-contract` and `@forumone/throughline-design-system-payload` together; [Upgrading from 0.x](https://github.com/forumone/throughline/blob/main/docs/guides/upgrading.md) moves a 0.x site onto it. Pre-releases publish as `1.0.0-next.N` under the `next` dist-tag.
5
+ > **Coming from 0.x?** This package is `@forumone/throughline-design-contract` and `@forumone/throughline-design-system-payload` together; [Upgrading from 0.x](https://github.com/forumone/throughline/blob/main/docs/guides/upgrading.md) moves a 0.x site onto it.
6
6
 
7
7
  | Subpath | Holds |
8
8
  | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -15,7 +15,7 @@ The design-system side of Throughline. A design system describes its components
15
15
  | bin | `check-block-props <manifest.json> <components-dir>…`: does each contract produce the props its component takes? |
16
16
 
17
17
  ```bash
18
- pnpm add @forumone/throughline-design-system@next
18
+ pnpm add @forumone/throughline-design-system
19
19
  ```
20
20
 
21
21
  `/contract` and `/lint` have no peers, so a design system that only publishes a manifest needs nothing else. The rest expects `payload` and `react`, `/client` expects `@payloadcms/ui`, `/generate` reads component source with `typescript`, and `/testing` is a vitest suite.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumone/throughline-design-system",
3
- "version": "1.0.0-next.2",
3
+ "version": "1.0.0-pr-266-2941b02",
4
4
  "description": "The design-system side of Throughline: the component contract and manifest a design system publishes, its linter, and the Payload blocks, rendering and admin components generated from it.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -94,8 +94,8 @@
94
94
  "payload": "3.90.2",
95
95
  "typescript": "^5.9.3",
96
96
  "vitest": "^4.1.10",
97
- "@forumone/throughline-eslint-config": "0.0.0",
98
- "@forumone/throughline-tsconfig": "0.0.0"
97
+ "@forumone/throughline-eslint-config": "0.0.1-pr-266-2941b02",
98
+ "@forumone/throughline-tsconfig": "0.0.1-pr-266-2941b02"
99
99
  },
100
100
  "scripts": {
101
101
  "build": "tsc -b",