@rxova/brand 1.6.0 → 1.7.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/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/sites.ts +11 -8
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/sites.ts
CHANGED
|
@@ -92,20 +92,23 @@ export function getProject(id: ProjectId): Project {
|
|
|
92
92
|
return project;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* The shipped applications, in display order: `/apps` lists them, the footer links them, and
|
|
97
|
+
* REPOS derives their entries. No `repo`: an app's source is private, so its page is the destination.
|
|
98
|
+
*/
|
|
99
|
+
export const APPS = [{ id: "nx-link", label: "NX LinkConnect", page: "/apps/nx-link/" }] as const;
|
|
100
|
+
|
|
101
|
+
export type App = (typeof APPS)[number];
|
|
102
|
+
|
|
103
|
+
export type AppId = (typeof APPS)[number]["id"];
|
|
104
|
+
|
|
95
105
|
/**
|
|
96
106
|
* Every rxova repo a changelog entry can be about: the projects, then repos that ship no package.
|
|
97
107
|
* Order is the changelog repo filter's display order.
|
|
98
108
|
*/
|
|
99
109
|
export const REPOS = [
|
|
100
110
|
...PROJECTS.map((p) => ({ id: p.id, label: p.label, repo: p.repo, project: true as const })),
|
|
101
|
-
{
|
|
102
|
-
id: "nx-link",
|
|
103
|
-
label: "NX LinkConnect",
|
|
104
|
-
// No `repo`: the iPhone app's source is private, so the app's own page is where a
|
|
105
|
-
// reader is sent instead of a GitHub URL that would 404 for everyone.
|
|
106
|
-
page: "/apps/nx-link/",
|
|
107
|
-
project: false as const,
|
|
108
|
-
},
|
|
111
|
+
...APPS.map((a) => ({ id: a.id, label: a.label, page: a.page, project: false as const })),
|
|
109
112
|
{
|
|
110
113
|
id: "rxova-website",
|
|
111
114
|
label: "Website",
|