@rxova/brand 0.12.0 → 0.13.0
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/README.md +6 -5
- package/assets/og/overlock.png +0 -0
- package/assets/og/rxova.png +0 -0
- package/package.json +2 -2
- package/src/components/SiteFooter.astro +6 -5
- package/src/sites.ts +11 -2
package/README.md
CHANGED
|
@@ -9,17 +9,18 @@
|
|
|
9
9
|
|
|
10
10
|
## Why this exists
|
|
11
11
|
|
|
12
|
-
`rxova.org` serves
|
|
12
|
+
`rxova.org` serves one surface per project from a single origin — an Astro
|
|
13
|
+
landing at `/`, plus [overlock](https://github.com/rxova/overlock),
|
|
13
14
|
[journey](https://github.com/rxova/journey),
|
|
14
15
|
[react-inputs](https://github.com/rxova/react-inputs) and
|
|
15
16
|
[use-everywhere](https://github.com/rxova/use-everywhere) docs, each built in its
|
|
16
17
|
own repo and mounted as a static tree under `/packages/<name>/`.
|
|
17
18
|
|
|
18
|
-
They were built independently and ended up looking like
|
|
19
|
-
|
|
19
|
+
They were built independently and ended up looking like unrelated products:
|
|
20
|
+
a different accent colour each, a different footer each, no way to navigate from
|
|
20
21
|
one project's docs to another's. This package is the single source of truth that
|
|
21
|
-
makes them one site — and it lives in its own repo because it is consumed by
|
|
22
|
-
and owned by none.
|
|
22
|
+
makes them one site — and it lives in its own repo because it is consumed by all
|
|
23
|
+
of them and owned by none.
|
|
23
24
|
|
|
24
25
|
## Install
|
|
25
26
|
|
|
Binary file
|
package/assets/og/rxova.png
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxova/brand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Design tokens, Starlight theme and shared site chrome for rxova.org",
|
|
6
6
|
"keywords": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@resvg/resvg-js": "^2.6.2",
|
|
60
60
|
"@types/node": "^26.1.1",
|
|
61
61
|
"@vitest/coverage-v8": "^4.1.10",
|
|
62
|
-
"astro": "^7.
|
|
62
|
+
"astro": "^7.3.2",
|
|
63
63
|
"publint": "^0.3.21",
|
|
64
64
|
"satori": "^0.29.0",
|
|
65
65
|
"tsx": "^4.23.1",
|
|
@@ -67,14 +67,15 @@ const surfaces: readonly SiteLink[] = site ?? [
|
|
|
67
67
|
<span>Rxova</span>
|
|
68
68
|
</a>
|
|
69
69
|
{
|
|
70
|
-
/* Not "React libraries":
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
/* Not "React libraries": most of these ship a framework-agnostic core
|
|
71
|
+
that runs in a worker or a plain script, Journey also ships a browser
|
|
72
|
+
extension, and overlock is a command-line tool that never sees a
|
|
73
|
+
browser at all. React is a binding we provide, not the boundary of
|
|
73
74
|
what these are. Same correction as the landing's hero. */
|
|
74
75
|
}
|
|
75
76
|
<p class="rx-footer__blurb">
|
|
76
|
-
Small TypeScript libraries
|
|
77
|
-
the open.
|
|
77
|
+
Small TypeScript libraries and developer tools, documented in one place. MIT licensed, built
|
|
78
|
+
in the open.
|
|
78
79
|
</p>
|
|
79
80
|
</div>
|
|
80
81
|
|
package/src/sites.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* rxova.org is an aggregator: an Astro landing at `/`, plus each project's docs
|
|
5
5
|
* built in its own repo and mounted as a static tree under `/packages/<name>/`.
|
|
6
|
-
* That means
|
|
6
|
+
* That means every surface lives on one origin at its own base path, so
|
|
7
7
|
* **every cross-project link must be absolute**. A relative href would resolve
|
|
8
8
|
* against the local base and produce `/packages/journey/packages/react-inputs/`.
|
|
9
9
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/** Canonical origin. Override for a staging deploy (e.g. https://web.rxova.org). */
|
|
15
15
|
export const RXOVA_ORIGIN = process.env.RXOVA_ORIGIN ?? 'https://rxova.org'
|
|
16
16
|
|
|
17
|
-
export type ProjectId = 'journey' | 'react-inputs' | 'use-everywhere'
|
|
17
|
+
export type ProjectId = 'overlock' | 'journey' | 'react-inputs' | 'use-everywhere'
|
|
18
18
|
|
|
19
19
|
export interface Project {
|
|
20
20
|
id: ProjectId
|
|
@@ -31,6 +31,15 @@ export interface Project {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export const PROJECTS: readonly Project[] = [
|
|
34
|
+
{
|
|
35
|
+
id: 'overlock',
|
|
36
|
+
label: 'overlock',
|
|
37
|
+
mount: '/packages/overlock/',
|
|
38
|
+
tagline: 'A deterministic gate on test integrity in a git patch.',
|
|
39
|
+
repo: 'https://github.com/rxova/overlock',
|
|
40
|
+
npm: 'https://www.npmjs.com/package/overlock',
|
|
41
|
+
packages: ['overlock'],
|
|
42
|
+
},
|
|
34
43
|
{
|
|
35
44
|
id: 'journey',
|
|
36
45
|
label: 'Journey',
|