@peasant-labs/fairtrade 0.0.10 → 0.0.11
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/LICENSE +1 -1
- package/README.md +3 -3
- package/package.json +9 -4
package/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright
|
|
190
|
+
Copyright 2026 Peasant Labs
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -77,9 +77,9 @@ their sources.
|
|
|
77
77
|
copy-token labels, decorative icons `aria-hidden`, scroll-spy, zone header gating, command palette, dialog
|
|
78
78
|
focus-trap, theme toggle, 0 overflow at 360/390/768/1024/1440, reduced-motion, no console errors).
|
|
79
79
|
`build-storybook` + `scripts/sbsmoke.mjs` load every story (incl. `play()`). all run in ci
|
|
80
|
-
([`.github/workflows/ci.yml`](./.github/workflows/ci.yml));
|
|
81
|
-
storybook nested under
|
|
80
|
+
([`.github/workflows/ci.yml`](./.github/workflows/ci.yml)); railway builds and serves the site, including
|
|
81
|
+
storybook nested under `/storybook/`.
|
|
82
82
|
|
|
83
83
|
## license
|
|
84
84
|
|
|
85
|
-
open source under the [
|
|
85
|
+
open source under the [Apache License 2.0](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peasant-labs/fairtrade",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.0.11",
|
|
5
|
+
"description": "Fairtrade design-system library: canonical tokens, base styles, component CSS, and React UI exports.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/peasant-labs/fairtrade-design-system"
|
|
11
|
+
},
|
|
8
12
|
"engines": {
|
|
9
13
|
"node": ">=24"
|
|
10
14
|
},
|
|
@@ -65,6 +69,7 @@
|
|
|
65
69
|
"dev": "vite",
|
|
66
70
|
"contrast": "node scripts/contrast.mjs",
|
|
67
71
|
"llm": "node scripts/gen-llm-artifacts.mjs",
|
|
72
|
+
"test:package-provenance": "node scripts/assert-package-provenance.mjs && node scripts/package-provenance.test.mjs",
|
|
68
73
|
"gen:check": "node scripts/gen-llm-artifacts.mjs && git diff --exit-code public/tokens.json public/components.json packages/tokens/tokens.css packages/tokens/tokens.json packages/tokens/base.css packages/tokens/fonts.css",
|
|
69
74
|
"build:app": "node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build",
|
|
70
75
|
"test:contract": "tsc -p tsconfig.contract.json",
|
|
@@ -104,7 +109,7 @@
|
|
|
104
109
|
"smoke:changes": "node scripts/smoke-changes.mjs",
|
|
105
110
|
"test:changes-overflow": "node scripts/changes-overflow.test.mjs",
|
|
106
111
|
"shoot:manage": "node scripts/shootmanage.mjs",
|
|
107
|
-
"build:lib": "pnpm test:contract && pnpm test:runtime-floor && pnpm test:code-map-state && pnpm test:code-map-ranking && pnpm test:code-map-ranking:mutations && pnpm test:code-map-ranking:bench && pnpm test:timeline-encoding-channels && pnpm test:timeline-highlight && pnpm test:code-map-interactions && pnpm test:code-map-drag-smoothness && pnpm test:code-map-wheel-zoom && pnpm test:code-map-descent-feedback && pnpm test:timeline-navigation && pnpm test:transcript-initial-position && pnpm test:transcript-initial-position:render && pnpm test:transcript-initial-position:mutations && node scripts/gates.test.mjs && node src/ui/analytics/metrics.test.mjs && node scripts/mobile-layout.test.mjs && node scripts/transcript-composite-width.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && pnpm test:graph-contract-enums && pnpm test:transcript-schema-adapter && pnpm test:transcript-schema-adapter:mutations && pnpm test:provider-harnesses && pnpm test:provider-harnesses:mutations && node scripts/smoke-map.mjs && node scripts/smoke-changes.mjs && pnpm test:changes-overflow && pnpm test:timeline-a11y && pnpm test:timeline-ghosts && pnpm test:insight-panel && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
112
|
+
"build:lib": "pnpm test:package-provenance && pnpm test:contract && pnpm test:runtime-floor && pnpm test:code-map-state && pnpm test:code-map-ranking && pnpm test:code-map-ranking:mutations && pnpm test:code-map-ranking:bench && pnpm test:timeline-encoding-channels && pnpm test:timeline-highlight && pnpm test:code-map-interactions && pnpm test:code-map-drag-smoothness && pnpm test:code-map-wheel-zoom && pnpm test:code-map-descent-feedback && pnpm test:timeline-navigation && pnpm test:transcript-initial-position && pnpm test:transcript-initial-position:render && pnpm test:transcript-initial-position:mutations && node scripts/gates.test.mjs && node src/ui/analytics/metrics.test.mjs && node scripts/mobile-layout.test.mjs && node scripts/transcript-composite-width.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && pnpm test:graph-contract-enums && pnpm test:transcript-schema-adapter && pnpm test:transcript-schema-adapter:mutations && pnpm test:provider-harnesses && pnpm test:provider-harnesses:mutations && node scripts/smoke-map.mjs && node scripts/smoke-changes.mjs && pnpm test:changes-overflow && pnpm test:timeline-a11y && pnpm test:timeline-ghosts && pnpm test:insight-panel && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
108
113
|
"pack:check": "node scripts/assert-pack-contents.mjs",
|
|
109
114
|
"smoke:tarball": "node scripts/smoke-tarball.mjs",
|
|
110
115
|
"oracle:graph": "node scripts/graph-oracle.mjs",
|
|
@@ -118,7 +123,7 @@
|
|
|
118
123
|
"start": "http-server dist -p ${PORT:-3000} -a 0.0.0.0 --silent"
|
|
119
124
|
},
|
|
120
125
|
"dependencies": {
|
|
121
|
-
"@peasant-labs/schema": "0.1.0
|
|
126
|
+
"@peasant-labs/schema": "0.1.0",
|
|
122
127
|
"@tanstack/react-table": "^8.21.3",
|
|
123
128
|
"lucide": "^1.20.0",
|
|
124
129
|
"lucide-react": "^1.18.0",
|