@grove-dev/cli 0.4.1 → 0.5.0-next.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 +2 -0
- package/dist/import-cli.d.ts +28 -0
- package/dist/import-cli.d.ts.map +1 -0
- package/dist/import-cli.js +46 -0
- package/dist/import-cli.js.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/readme-cli.d.ts +3 -0
- package/dist/readme-cli.d.ts.map +1 -0
- package/dist/readme-cli.js +120 -0
- package/dist/readme-cli.js.map +1 -0
- package/dist/site/.github/workflows/readme.yml +41 -0
- package/dist/site/README.md +45 -0
- package/dist/site/content/records/crewai.md +898 -0
- package/dist/site/content/records/dify.md +35 -0
- package/dist/site/content/records/flowise.md +38 -0
- package/dist/site/content/records/llamaindex.md +45 -0
- package/dist/site/content/records/ollama.md +39 -0
- package/dist/site/content/records/open-webui.md +35 -0
- package/dist/site/data/records/crewai.yml +2 -0
- package/dist/site/data/records/dify.yml +2 -0
- package/dist/site/data/records/flowise.yml +2 -0
- package/dist/site/data/records/llamaindex.yml +2 -0
- package/dist/site/data/records/ollama.yml +2 -0
- package/dist/site/data/records/open-webui.yml +2 -0
- package/dist/site/data/taxonomy/licenses.yml +24 -0
- package/dist/site/grove.config.ts +15 -1
- package/dist/site/package.json +4 -4
- package/dist/site/src/components/TaxonomyList.astro +110 -0
- package/dist/site/src/pages/[slug]/[recordSlug].astro +35 -502
- package/dist/site/src/pages/categories/[name].astro +42 -0
- package/dist/site/src/pages/empty.astro +4 -3
- package/dist/site/src/pages/licenses/[name].astro +42 -0
- package/dist/site/src/pages/stacks/[name].astro +36 -7
- package/dist/site/src/styles/global.css +5 -12
- package/package.json +2 -2
- package/dist/site/src/layouts/Base.astro +0 -22
|
@@ -1,11 +1,40 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
2
|
+
import BaseLayout from "@grove-dev/astro/layouts/BaseLayout.astro";
|
|
3
|
+
import { filterRecords } from "@grove-dev/core";
|
|
4
|
+
import indexPayload from "@grove/generated/records.index.json";
|
|
5
|
+
import siteConfig from "@grove/generated/site-config.json";
|
|
6
|
+
import TaxonomyList from "../../components/TaxonomyList.astro";
|
|
7
|
+
|
|
3
8
|
export function getStaticPaths() {
|
|
4
|
-
|
|
9
|
+
const stacks = siteConfig.taxonomy?.stacks ?? [];
|
|
10
|
+
return stacks.map(({ id, name }) => ({
|
|
11
|
+
params: { name: id },
|
|
12
|
+
props: { displayName: name },
|
|
13
|
+
}));
|
|
5
14
|
}
|
|
6
|
-
|
|
15
|
+
|
|
16
|
+
const { displayName } = Astro.props;
|
|
17
|
+
const name = Astro.params.name;
|
|
18
|
+
const indexRecords = (indexPayload as { records: unknown[] }).records as never;
|
|
19
|
+
const stackRecords = filterRecords(indexRecords, { stacks: [name] }) as Array<{
|
|
20
|
+
slug: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
repoUrl?: string;
|
|
25
|
+
}>;
|
|
7
26
|
---
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
27
|
+
|
|
28
|
+
<BaseLayout
|
|
29
|
+
title={`${displayName} projects`}
|
|
30
|
+
description={`Open-source projects built with ${displayName}.`}
|
|
31
|
+
site={siteConfig}
|
|
32
|
+
>
|
|
33
|
+
<TaxonomyList
|
|
34
|
+
name={name}
|
|
35
|
+
eyebrow="Stack"
|
|
36
|
+
displayName={displayName}
|
|
37
|
+
lede={`Browse open-source projects in this directory built with ${displayName}.`}
|
|
38
|
+
records={stackRecords}
|
|
39
|
+
/>
|
|
40
|
+
</BaseLayout>
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
* Grove V1
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* The package owns the Starlight-aligned palette, semantic theme tokens,
|
|
9
|
-
* font stacks, and light/dark base styles. This consumer sheet contains
|
|
10
|
-
* only scaffold-level overrides so those foundations cannot drift when
|
|
11
|
-
* the package theme changes.
|
|
4
|
+
* Grove V1 scaffold overrides. The package's `@grove-dev/astro/styles.css`
|
|
5
|
+
* owns the full design system (`.grove-prose`, sidebar, table wrap,
|
|
6
|
+
* task list, details, kbd, activity-tone selectors, etc.). This file
|
|
7
|
+
* only ships brand-level overrides and theme remap.
|
|
12
8
|
*
|
|
13
9
|
* NOTE: do NOT add `@custom-variant dark` here. `@grove-dev/astro`'s
|
|
14
10
|
* `styles.css` already declares the `.dark`-class variant, and
|
|
@@ -16,8 +12,6 @@
|
|
|
16
12
|
* second one in this consumer file has been observed to confuse
|
|
17
13
|
* the variant resolution and produce utilities that key off
|
|
18
14
|
* `prefers-color-scheme` instead of the `.dark` class on <html>.
|
|
19
|
-
* The net effect: `<html class="dark">` is set but the page stays
|
|
20
|
-
* in light mode because the `dark:` utilities never match.
|
|
21
15
|
*/
|
|
22
16
|
@theme {
|
|
23
17
|
--color-grove-primary: var(--color-foreground);
|
|
@@ -28,6 +22,5 @@
|
|
|
28
22
|
--grove-color-primary: var(--color-grove-primary);
|
|
29
23
|
--grove-radius: 0.5rem;
|
|
30
24
|
--grove-container-width: 72rem;
|
|
31
|
-
|
|
32
25
|
}
|
|
33
|
-
}
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grove-dev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-next.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lighthouse": "^12.8.2",
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
49
|
"yaml": "^2.6.0",
|
|
50
|
-
"@grove-dev/core": "0.
|
|
50
|
+
"@grove-dev/core": "0.5.0-next.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"tsx": "^4.23.0"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
interface Props {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
}
|
|
6
|
-
const { title, description } = Astro.props;
|
|
7
|
-
const favicon =
|
|
8
|
-
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%2318181b'/%3E%3C/svg%3E";
|
|
9
|
-
---
|
|
10
|
-
<!doctype html>
|
|
11
|
-
<html lang="en">
|
|
12
|
-
<head>
|
|
13
|
-
<meta charset="utf-8" />
|
|
14
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
15
|
-
<title>{title}</title>
|
|
16
|
-
<meta name="description" content={description} />
|
|
17
|
-
<link rel="icon" href={favicon} />
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<slot />
|
|
21
|
-
</body>
|
|
22
|
-
</html>
|