GRI-1941: use the npm package @grimoirix/design instead of a copied design/ folder #151

Merged
vivy merged 1 commit from chore/GRI-1941-design-package into dev 2026-11-13 09:20:24 +00:00
Owner

GRI-1941. The product owner chose option C: the design template is public and published as an npm package, so a project picks up a design change with npm update @grimoirix/design and not by copying files.

  • Removes the copied frontend-web/design/ folder.
  • Adds @grimoirix/design@^0.1.1 from the forge registry (public, no token). Same code as the copy (template v0.1.0) plus packaging.
  • frontend-web/.npmrc names the registry for the @grimoirix scope. It holds no token, and .gitignore lets this one file through. A mirror overrides it with npm config set @grimoirix:registry <url>.
  • Imports now read @grimoirix/design/theme, @grimoirix/design/react and @grimoirix/design/css.

Docs, colour scheme and example page: https://git.grimoirix.org/Grimoirix/grimoirix-frontend-template

Local front-end gates pass; fonts are bundled from the package.

GRI-1941. The product owner chose option C: the design template is public and published as an npm package, so a project picks up a design change with `npm update @grimoirix/design` and not by copying files. - Removes the copied `frontend-web/design/` folder. - Adds `@grimoirix/design@^0.1.1` from the forge registry (public, no token). Same code as the copy (template v0.1.0) plus packaging. - `frontend-web/.npmrc` names the registry for the `@grimoirix` scope. It holds no token, and `.gitignore` lets this one file through. A mirror overrides it with `npm config set @grimoirix:registry <url>`. - Imports now read `@grimoirix/design/theme`, `@grimoirix/design/react` and `@grimoirix/design/css`. Docs, colour scheme and example page: https://git.grimoirix.org/Grimoirix/grimoirix-frontend-template Local front-end gates pass; fonts are bundled from the package.
GRI-1941: use the npm package @grimoirix/design instead of a copied design/ folder
Some checks failed
CI / the pre-push hook (pull_request) Successful in 5s
CI / cargo fmt (pull_request) Successful in 6s
CI / cargo clippy (pull_request) Successful in 1m30s
CI / cargo deny (pull_request) Successful in 1m6s
CI / cargo deny advisories (pull_request) Failing after 1m12s
CI / repository boundary (pull_request) Successful in 27s
CI / frontend-web (pull_request) Successful in 1m26s
CI / cargo test (pull_request) Successful in 5m25s
CI / Notify gate failed (pull_request) Has been skipped
CI / CI (pull_request) Successful in 9s
c1d7535290
vivy merged commit 2f15e1ed9c into dev 2026-11-13 09:20:24 +00:00
vivy deleted branch chore/GRI-1941-design-package 2026-11-13 09:20:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoire-of-digital-signage!151
No description provided.