@grove-dev/cli 0.2.20 → 0.3.2
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 +8 -93
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +99 -1937
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +11 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +82 -0
- package/dist/init.js.map +1 -0
- package/dist/package.json +7 -18
- package/dist/site/.github/ISSUE_TEMPLATE/bug_report.md +33 -0
- package/dist/site/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/dist/site/.github/ISSUE_TEMPLATE/record_submission.md +48 -0
- package/dist/site/.github/pull_request_template.md +27 -0
- package/dist/site/.github/workflows/ci.yml +21 -0
- package/dist/site/.github/workflows/cleanup.yml +23 -0
- package/dist/site/.github/workflows/deploy.yml +36 -0
- package/dist/site/.github/workflows/sync-contributors.yml +28 -0
- package/dist/site/.github/workflows/sync-github.yml +31 -0
- package/dist/site/astro.config.mjs +24 -0
- package/dist/site/content/pages/about.md +63 -0
- package/dist/site/content/pages/methodology.md +103 -0
- package/dist/site/data/health.yml +13 -0
- package/dist/site/data/records/.gitkeep +0 -0
- package/dist/site/data/records/crewai.yml +21 -0
- package/dist/site/data/records/dify.yml +21 -0
- package/dist/site/data/records/flowise.yml +21 -0
- package/dist/site/data/records/llamaindex.yml +21 -0
- package/dist/site/data/records/ollama.yml +28 -0
- package/dist/site/data/records/open-webui.yml +21 -0
- package/dist/site/data/taxonomy/categories.yml +10 -0
- package/dist/site/data/taxonomy/distribution-channels.yml +43 -0
- package/dist/site/data/taxonomy/platforms.yml +27 -0
- package/dist/site/data/taxonomy/stacks.yml +18 -0
- package/dist/site/grove.config.ts +76 -0
- package/dist/site/package.json +33 -0
- package/dist/site/public/icons/platforms/android.svg +1 -0
- package/dist/site/public/icons/platforms/apple-dark.svg +1 -0
- package/dist/site/public/icons/platforms/apple-light.svg +1 -0
- package/dist/site/public/icons/platforms/chrome.svg +1 -0
- package/dist/site/public/icons/platforms/chromeos.svg +5 -0
- package/dist/site/public/icons/platforms/desktop.svg +4 -0
- package/dist/site/public/icons/platforms/embedded.svg +5 -0
- package/dist/site/public/icons/platforms/ios.svg +1 -0
- package/dist/site/public/icons/platforms/linux.svg +1 -0
- package/dist/site/public/icons/platforms/macos.svg +1 -0
- package/dist/site/public/icons/platforms/ubuntu.svg +1 -0
- package/dist/site/public/icons/platforms/web.svg +5 -0
- package/dist/site/public/icons/platforms/windows.svg +6 -0
- package/dist/site/public/icons/stacks/android.svg +1 -0
- package/dist/site/public/icons/stacks/apple-dark.svg +1 -0
- package/dist/site/public/icons/stacks/apple-light.svg +1 -0
- package/dist/site/public/icons/stacks/bun.svg +1 -0
- package/dist/site/public/icons/stacks/capacitor.svg +14 -0
- package/dist/site/public/icons/stacks/clojure.svg +1 -0
- package/dist/site/public/icons/stacks/clojurescript.svg +1 -0
- package/dist/site/public/icons/stacks/dart.svg +1 -0
- package/dist/site/public/icons/stacks/deno.svg +1 -0
- package/dist/site/public/icons/stacks/django.svg +1 -0
- package/dist/site/public/icons/stacks/docker.svg +1 -0
- package/dist/site/public/icons/stacks/firebase.svg +1 -0
- package/dist/site/public/icons/stacks/flutter.svg +1 -0
- package/dist/site/public/icons/stacks/go.svg +1 -0
- package/dist/site/public/icons/stacks/graphql.svg +1 -0
- package/dist/site/public/icons/stacks/ionic.svg +4 -0
- package/dist/site/public/icons/stacks/java.svg +1 -0
- package/dist/site/public/icons/stacks/javascript.svg +1 -0
- package/dist/site/public/icons/stacks/kotlin.svg +1 -0
- package/dist/site/public/icons/stacks/llm.svg +1 -0
- package/dist/site/public/icons/stacks/mongodb.svg +1 -0
- package/dist/site/public/icons/stacks/node.js.svg +1 -0
- package/dist/site/public/icons/stacks/nodejs.svg +1 -0
- package/dist/site/public/icons/stacks/python.svg +1 -0
- package/dist/site/public/icons/stacks/rag.svg +7 -0
- package/dist/site/public/icons/stacks/react-native.svg +1 -0
- package/dist/site/public/icons/stacks/react.svg +1 -0
- package/dist/site/public/icons/stacks/rust.svg +1 -0
- package/dist/site/public/icons/stacks/solidity.svg +1 -0
- package/dist/site/public/icons/stacks/sveltekit.svg +1 -0
- package/dist/site/public/icons/stacks/swift.svg +1 -0
- package/dist/site/public/icons/stacks/tensorflow.svg +1 -0
- package/dist/site/public/icons/stacks/typescript.svg +1 -0
- package/dist/site/public/icons/stacks/vue.svg +1 -0
- package/dist/site/public/og-image.svg +48 -0
- package/dist/site/public/robots.txt +53 -0
- package/dist/site/src/pages/404.astro +64 -0
- package/dist/site/src/pages/[slug]/[recordSlug].astro +527 -0
- package/dist/site/src/pages/[slug]/index.astro +242 -0
- package/dist/site/src/pages/about.astro +189 -0
- package/dist/site/src/pages/apps/[recordSlug].astro +34 -0
- package/dist/site/src/pages/contributors.astro +113 -0
- package/dist/site/src/pages/index.astro +131 -0
- package/dist/site/src/pages/submit.astro +170 -0
- package/dist/site/src/styles/global.css +33 -0
- package/dist/site/tsconfig.json +13 -0
- package/package.json +8 -19
- package/dist/helpers.d.ts +0 -27
- package/dist/helpers.d.ts.map +0 -1
- package/dist/helpers.js +0 -41
- package/dist/helpers.js.map +0 -1
- package/dist/template-loader.d.ts +0 -99
- package/dist/template-loader.d.ts.map +0 -1
- package/dist/template-loader.js +0 -338
- package/dist/template-loader.js.map +0 -1
- package/dist/template-loader.test.d.ts +0 -2
- package/dist/template-loader.test.d.ts.map +0 -1
- package/dist/template-loader.test.js +0 -270
- package/dist/template-loader.test.js.map +0 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
/**
|
|
3
|
+
* Home page — generic.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the openapps structure: Hero → WhyThisExists → three
|
|
6
|
+
* lens sections (hot / new / mature) → StackGrid → CategoryGrid →
|
|
7
|
+
* ContributorsGrid → OriginalCollection.
|
|
8
|
+
*
|
|
9
|
+
* All data derives from `data/generated/records.{index,full}.json`
|
|
10
|
+
* and `data/generated/site-config.json`. Nothing here is hardcoded
|
|
11
|
+
* to a specific blueprint — section copy uses singular/plural
|
|
12
|
+
* labels from `itemLabel()`/`itemLabelPlural()`.
|
|
13
|
+
*/
|
|
14
|
+
import BaseLayout from "@grove-dev/astro/layouts/BaseLayout.astro";
|
|
15
|
+
import Hero from "@grove-dev/astro/components/Hero.astro";
|
|
16
|
+
import WhyThisExists from "@grove-dev/astro/components/WhyThisExists.astro";
|
|
17
|
+
import RecordSection from "@grove-dev/astro/components/RecordSection.astro";
|
|
18
|
+
import StackGrid from "@grove-dev/astro/components/StackGrid.astro";
|
|
19
|
+
import CategoryGrid from "@grove-dev/astro/components/CategoryGrid.astro";
|
|
20
|
+
import ContributorsGrid from "@grove-dev/astro/components/ContributorsGrid.astro";
|
|
21
|
+
import OriginalCollection from "@grove-dev/astro/components/OriginalCollection.astro";
|
|
22
|
+
import FinalCta from "@grove-dev/astro/components/FinalCta.astro";
|
|
23
|
+
|
|
24
|
+
import { getHomePageModel } from "@grove-dev/astro/server";
|
|
25
|
+
import siteConfig from "@grove/generated/site-config.json";
|
|
26
|
+
|
|
27
|
+
const home = getHomePageModel(siteConfig);
|
|
28
|
+
const { slug, itemSingular, itemPlural } = home;
|
|
29
|
+
|
|
30
|
+
// ── Lens sectioning (Hot / New / Mature) ────────────────────────
|
|
31
|
+
const hotList = home.hot;
|
|
32
|
+
const newList = home.recentlyAdded;
|
|
33
|
+
const matureList = home.established;
|
|
34
|
+
|
|
35
|
+
const { stacks, categories } = home;
|
|
36
|
+
|
|
37
|
+
const { contributors, stats, title, description } = home;
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
<BaseLayout title={title} description={description} site={siteConfig}>
|
|
41
|
+
<Hero
|
|
42
|
+
name={`Find ${itemPlural} you can actually`}
|
|
43
|
+
tagline="run, study, and contribute to."
|
|
44
|
+
description={description}
|
|
45
|
+
eyebrow={`A directory of real curated ${itemPlural}`}
|
|
46
|
+
eyebrowBadge="Beta"
|
|
47
|
+
stats={{
|
|
48
|
+
totalApps: stats.apps,
|
|
49
|
+
totalCategories: stats.categories,
|
|
50
|
+
totalStacks: stats.stacks,
|
|
51
|
+
totalOwners: stats.owners,
|
|
52
|
+
totalStars: stats.stars,
|
|
53
|
+
originalRepo: stats.originalRepo,
|
|
54
|
+
}}
|
|
55
|
+
itemsLabel={itemPlural}
|
|
56
|
+
itemLabel={itemSingular}
|
|
57
|
+
searchHref={`/${slug}`}
|
|
58
|
+
searchPlaceholder={`Search ${itemPlural}, stacks, or categories...`}
|
|
59
|
+
quickFilters={[
|
|
60
|
+
{ label: `Trending ${itemPlural}`, href: `/${slug}?label=hot` },
|
|
61
|
+
{ label: "Recently added", href: `/${slug}?sort=recently-added` },
|
|
62
|
+
{ label: "Established", href: `/${slug}?label=mature` },
|
|
63
|
+
]}
|
|
64
|
+
ctas={[
|
|
65
|
+
{ label: `Browse ${itemPlural}`, href: `/${slug}`, variant: "primary" },
|
|
66
|
+
{ label: `Submit ${itemSingular}`, href: "/submit", variant: "outline" },
|
|
67
|
+
]}
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<WhyThisExists />
|
|
71
|
+
|
|
72
|
+
<RecordSection
|
|
73
|
+
id="hot"
|
|
74
|
+
title="Trending now"
|
|
75
|
+
description={`${itemPlural.charAt(0).toUpperCase() + itemPlural.slice(1)} gaining stars, activity, or attention recently.`}
|
|
76
|
+
eyebrow="Hot"
|
|
77
|
+
items={hotList}
|
|
78
|
+
hrefFor={(r) => `/${slug}/${r.slug}`}
|
|
79
|
+
viewAllHref={`/${slug}?label=hot`}
|
|
80
|
+
viewAllLabel={`View all trending ${itemPlural}`}
|
|
81
|
+
/>
|
|
82
|
+
|
|
83
|
+
<RecordSection
|
|
84
|
+
id="new"
|
|
85
|
+
title="Recently added"
|
|
86
|
+
description={`${itemPlural.charAt(0).toUpperCase() + itemPlural.slice(1)} added to the directory in the last few weeks.`}
|
|
87
|
+
eyebrow="New"
|
|
88
|
+
items={newList}
|
|
89
|
+
hrefFor={(r) => `/${slug}/${r.slug}`}
|
|
90
|
+
viewAllHref={`/${slug}?sort=recently-added`}
|
|
91
|
+
viewAllLabel={`View all recently added`}
|
|
92
|
+
/>
|
|
93
|
+
|
|
94
|
+
<RecordSection
|
|
95
|
+
id="mature"
|
|
96
|
+
title="Established"
|
|
97
|
+
description={`Long-running curated ${itemPlural} with strong history, active maintainers, and real-world usage.`}
|
|
98
|
+
eyebrow="Mature"
|
|
99
|
+
items={matureList}
|
|
100
|
+
hrefFor={(r) => `/${slug}/${r.slug}`}
|
|
101
|
+
viewAllHref={`/${slug}?label=mature`}
|
|
102
|
+
viewAllLabel={`View all established`}
|
|
103
|
+
/>
|
|
104
|
+
|
|
105
|
+
<StackGrid stacks={stacks} pathPrefix={`/${slug}`} itemLabelPlural={itemPlural} />
|
|
106
|
+
<CategoryGrid categories={categories} pathPrefix={`/${slug}`} itemLabelPlural={itemPlural} />
|
|
107
|
+
|
|
108
|
+
<ContributorsGrid
|
|
109
|
+
contributors={contributors}
|
|
110
|
+
total={contributors.length || undefined}
|
|
111
|
+
viewAllHref={`/contributors`}
|
|
112
|
+
viewAllLabel="Meet the community"
|
|
113
|
+
/>
|
|
114
|
+
|
|
115
|
+
{siteConfig.stats?.originalRepo && (
|
|
116
|
+
<OriginalCollection
|
|
117
|
+
repoUrl={siteConfig.stats.originalRepo}
|
|
118
|
+
stats={{
|
|
119
|
+
stars: siteConfig.stats.originalStars,
|
|
120
|
+
forks: siteConfig.stats.originalForks,
|
|
121
|
+
contributors: siteConfig.stats.originalContributors,
|
|
122
|
+
}}
|
|
123
|
+
/>
|
|
124
|
+
)}
|
|
125
|
+
|
|
126
|
+
<FinalCta
|
|
127
|
+
itemLabel={itemSingular}
|
|
128
|
+
itemsLabel={itemPlural}
|
|
129
|
+
browseHref={`/${slug}`}
|
|
130
|
+
/>
|
|
131
|
+
</BaseLayout>
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
import siteConfig from "@grove/generated/site-config.json";
|
|
3
|
+
import { getSubmissionPageModel } from "@grove-dev/astro/server";
|
|
4
|
+
import BaseLayout from "@grove-dev/astro/layouts/BaseLayout.astro";
|
|
5
|
+
import Container from "@grove-dev/astro/layouts/Container.astro";
|
|
6
|
+
import SubmissionClient from "@grove-dev/astro/components/SubmissionClient.astro";
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
singular,
|
|
10
|
+
title,
|
|
11
|
+
description,
|
|
12
|
+
repoUrl,
|
|
13
|
+
copy,
|
|
14
|
+
fields,
|
|
15
|
+
categories,
|
|
16
|
+
stacks,
|
|
17
|
+
existingSlugs,
|
|
18
|
+
existingFullNames,
|
|
19
|
+
platformOptions,
|
|
20
|
+
} = getSubmissionPageModel(siteConfig);
|
|
21
|
+
const goodSubmissions = [
|
|
22
|
+
...(copy.good?.length ? copy.good : [
|
|
23
|
+
`A real, usable ${singular}, not a tutorial or one-screen demo`,
|
|
24
|
+
"A public repository with a clear open-source license",
|
|
25
|
+
"Enough documentation to understand, run, or contribute",
|
|
26
|
+
"Recent maintenance, releases, or meaningful project history",
|
|
27
|
+
]),
|
|
28
|
+
];
|
|
29
|
+
const pleaseAvoid = [
|
|
30
|
+
...(copy.avoid?.length ? copy.avoid : [
|
|
31
|
+
"Snippets, exercises, abandoned experiments, or duplicate entries",
|
|
32
|
+
"Private repositories or projects without source",
|
|
33
|
+
"Marketing pages with no usable project behind them",
|
|
34
|
+
"Records with no license or verifiable repository",
|
|
35
|
+
]),
|
|
36
|
+
];
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
<BaseLayout title={title} description={description} site={siteConfig} noindex>
|
|
40
|
+
<Container>
|
|
41
|
+
<section class="py-10 sm:py-14">
|
|
42
|
+
<div class="max-w-3xl">
|
|
43
|
+
<p class="m-0 text-2xs font-semibold uppercase tracking-wider text-ink-500 dark:text-ink-400">
|
|
44
|
+
{copy.eyebrow ?? `${singular} submission`}
|
|
45
|
+
</p>
|
|
46
|
+
<h1 class="mt-2 text-[2rem] font-semibold tracking-tight text-ink-900 dark:text-ink-100">
|
|
47
|
+
{copy.title ?? `Add ${singular === "app" ? "an" : "a"} ${singular} to the directory`}
|
|
48
|
+
</h1>
|
|
49
|
+
<p class="m-0 mt-3 max-w-[60ch] text-[0.9375rem] leading-relaxed text-ink-500 dark:text-ink-400">
|
|
50
|
+
{copy.description ?? `Paste a GitHub URL to pull in the basics, edit the generated draft, then open a pull request. The data stays in this repository.`}
|
|
51
|
+
</p>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<ol class="mt-6 grid grid-cols-1 gap-2 text-2xs sm:grid-cols-3 sm:gap-3" aria-label="Submission steps">
|
|
55
|
+
{[
|
|
56
|
+
["1", "Paste a GitHub URL", "We'll pull the metadata automatically."],
|
|
57
|
+
["2", "Edit the draft", "Review the configured taxonomy and project details."],
|
|
58
|
+
["3", "Open a pull request", "Reviewers will validate and merge the record."],
|
|
59
|
+
].map(([number, heading, copy]) => (
|
|
60
|
+
<li class="rounded-[calc(var(--radius)+0.25rem)] border-0 bg-muted shadow-none transition-colors flex items-start gap-2 p-3">
|
|
61
|
+
<span class="mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full border border-ink-300 font-mono font-semibold text-ink-700 dark:border-ink-700 dark:text-ink-300">{number}</span>
|
|
62
|
+
<div>
|
|
63
|
+
<div class="font-medium text-ink-900 dark:text-ink-100">{heading}</div>
|
|
64
|
+
<div class="text-ink-500 dark:text-ink-400">{copy}</div>
|
|
65
|
+
</div>
|
|
66
|
+
</li>
|
|
67
|
+
))}
|
|
68
|
+
</ol>
|
|
69
|
+
|
|
70
|
+
<div class="mt-8 grid grid-cols-1 items-start gap-6 md:grid-cols-[minmax(0,1fr)_minmax(300px,0.72fr)]">
|
|
71
|
+
<form id="submit-form" class="rounded-[calc(var(--radius)+0.25rem)] border border-ink-200 bg-background p-5 shadow-sm dark:border-ink-800">
|
|
72
|
+
<div class="grid gap-5">
|
|
73
|
+
<label class="grid gap-1.5">
|
|
74
|
+
<span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">GitHub URL</span>
|
|
75
|
+
<div class="flex flex-col gap-2 sm:flex-row">
|
|
76
|
+
<input id="repo-url" type="url" required placeholder="https://github.com/owner/repo" class="min-h-10 flex-1 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" />
|
|
77
|
+
<button id="fetch-repo" type="button" class="inline-flex h-8 cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-[var(--radius)] border border-transparent bg-primary px-3 text-sm font-medium leading-none text-primary-foreground no-underline outline-none transition-colors hover:bg-primary/90 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35 min-h-10 justify-center">Generate draft</button>
|
|
78
|
+
</div>
|
|
79
|
+
<span class="text-2xs text-muted-foreground">The repository must be public. We never write to it.</span>
|
|
80
|
+
</label>
|
|
81
|
+
|
|
82
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
83
|
+
<label class="grid gap-1.5"><span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Name</span><input id="item-name" type="text" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" /></label>
|
|
84
|
+
<label class="grid gap-1.5"><span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Slug</span><input id="item-slug" type="text" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 font-mono text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" /><span class="text-2xs text-muted-foreground">URL fragment, auto-filled from the repository name.</span></label>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<label class="grid gap-1.5">
|
|
88
|
+
<span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Description</span>
|
|
89
|
+
<textarea id="item-description" rows="3" class="min-h-10 resize-y rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35"></textarea>
|
|
90
|
+
<span class="text-2xs text-muted-foreground">One or two sentences in plain language.</span>
|
|
91
|
+
</label>
|
|
92
|
+
|
|
93
|
+
{(fields.category || fields.stack) && <div class:list={["grid grid-cols-1 gap-4", fields.category && fields.stack && "sm:grid-cols-2"]}>
|
|
94
|
+
{fields.category && (
|
|
95
|
+
<label class="grid gap-1.5">
|
|
96
|
+
<span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Category</span>
|
|
97
|
+
<select id="item-category" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35">
|
|
98
|
+
<option value="">Choose a category</option>
|
|
99
|
+
{categories.map((option) => <option value={option.id}>{option.label}</option>)}
|
|
100
|
+
</select>
|
|
101
|
+
</label>
|
|
102
|
+
)}
|
|
103
|
+
{fields.stack && (
|
|
104
|
+
<label class="grid gap-1.5">
|
|
105
|
+
<span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Primary stack</span>
|
|
106
|
+
<select id="primary-stack" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35">
|
|
107
|
+
<option value="">Choose a stack</option>
|
|
108
|
+
{stacks.map((option) => <option value={option.id}>{option.label}</option>)}
|
|
109
|
+
</select>
|
|
110
|
+
</label>
|
|
111
|
+
)}
|
|
112
|
+
</div>}
|
|
113
|
+
|
|
114
|
+
{fields.platforms && <fieldset class="grid gap-2">
|
|
115
|
+
<legend class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Platforms</legend>
|
|
116
|
+
<div class="grid grid-cols-2 gap-2 sm:grid-cols-3">
|
|
117
|
+
{platformOptions.map((platform) => (
|
|
118
|
+
<label class="flex min-h-9 items-center gap-2 rounded-md border border-ink-200 px-2 text-sm dark:border-ink-800">
|
|
119
|
+
<input type="checkbox" name="platform" value={platform.id} class="h-4 w-4" />
|
|
120
|
+
<span>{platform.label}</span>
|
|
121
|
+
</label>
|
|
122
|
+
))}
|
|
123
|
+
</div>
|
|
124
|
+
</fieldset>}
|
|
125
|
+
|
|
126
|
+
{fields.tags && <label class="grid gap-1.5"><span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Tags</span><input id="item-tags" type="text" placeholder="self-hosted, developer-tools, offline-first" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" /></label>}
|
|
127
|
+
<label class="grid gap-1.5"><span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Website</span><input id="item-website" type="url" placeholder="https://example.com" class="min-h-10 rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" /></label>
|
|
128
|
+
<label class="grid gap-1.5"><span class="text-2xs font-medium uppercase tracking-[.05em] text-muted-foreground">Best for</span><textarea id="best-for" rows="3" class="min-h-10 resize-y rounded-[var(--radius)] border border-input bg-background px-3 py-2 text-sm text-foreground outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35" placeholder="One use case per line"></textarea></label>
|
|
129
|
+
</div>
|
|
130
|
+
</form>
|
|
131
|
+
|
|
132
|
+
<aside class="flex flex-col gap-4 md:sticky md:top-24">
|
|
133
|
+
<div class="rounded-[calc(var(--radius)+0.25rem)] border border-ink-200 bg-muted p-5 dark:border-ink-800">
|
|
134
|
+
<h2 class="m-0 text-[0.9375rem] font-semibold text-ink-900 dark:text-ink-100">Submission criteria</h2>
|
|
135
|
+
<p class="m-0 mt-1 text-2xs text-ink-500 dark:text-ink-400">Use this checklist before opening the draft.</p>
|
|
136
|
+
<div class="mt-4 grid grid-cols-1 gap-4 text-2xs sm:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2">
|
|
137
|
+
<div>
|
|
138
|
+
<div class="font-semibold uppercase tracking-wider text-emerald-700 dark:text-emerald-400">Good submissions</div>
|
|
139
|
+
<ul class="m-0 mt-2 list-none space-y-1 p-0 text-ink-700 dark:text-ink-200">{goodSubmissions.map((item) => <li class="flex gap-2"><span class="text-emerald-600">✓</span><span>{item}</span></li>)}</ul>
|
|
140
|
+
</div>
|
|
141
|
+
<div>
|
|
142
|
+
<div class="font-semibold uppercase tracking-wider text-amber-700 dark:text-amber-400">Please avoid</div>
|
|
143
|
+
<ul class="m-0 mt-2 list-none space-y-1 p-0 text-ink-700 dark:text-ink-200">{pleaseAvoid.map((item) => <li class="flex gap-2"><span class="text-amber-600">·</span><span>{item}</span></li>)}</ul>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div class="flex min-h-[360px] flex-col rounded-[calc(var(--radius)+0.25rem)] border border-ink-200 bg-muted p-5 dark:border-ink-800">
|
|
149
|
+
<div class="flex flex-wrap items-center justify-between gap-3">
|
|
150
|
+
<h2 class="m-0 text-base font-semibold text-ink-900 dark:text-ink-100">YAML draft</h2>
|
|
151
|
+
<div class="flex items-center gap-2">
|
|
152
|
+
<button id="copy-yaml" type="button" class="inline-flex h-8 cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-[var(--radius)] border border-border bg-secondary px-3 text-sm font-medium leading-none text-foreground no-underline outline-none transition-colors hover:bg-accent focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35 pointer-events-none opacity-50" disabled>Copy YAML</button>
|
|
153
|
+
<a id="open-pr-link" href="#" target="_blank" rel="noopener noreferrer" class="inline-flex h-8 cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-[var(--radius)] border border-border bg-secondary px-3 text-sm font-medium leading-none text-foreground no-underline outline-none transition-colors hover:bg-accent focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/35 pointer-events-none opacity-50">Open PR draft</a>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
<pre class="mt-4 min-h-0 flex-1 overflow-auto rounded-md border border-ink-200 bg-ink-50 p-3 text-xs leading-relaxed text-ink-800 dark:border-ink-800 dark:bg-ink-900/60 dark:text-ink-200"><code id="yaml-preview">Paste a GitHub URL to generate a draft.</code></pre>
|
|
157
|
+
<p id="submit-status" class="mt-3 min-h-5 text-2xs text-ink-500 dark:text-ink-400" aria-live="polite"></p>
|
|
158
|
+
</div>
|
|
159
|
+
</aside>
|
|
160
|
+
</div>
|
|
161
|
+
</section>
|
|
162
|
+
</Container>
|
|
163
|
+
|
|
164
|
+
<SubmissionClient
|
|
165
|
+
existingSlugs={existingSlugs}
|
|
166
|
+
existingFullNames={existingFullNames}
|
|
167
|
+
repoUrl={repoUrl}
|
|
168
|
+
fields={fields}
|
|
169
|
+
/>
|
|
170
|
+
</BaseLayout>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Grove V1 design tokens. Theme is overridable from `grove.config.ts`
|
|
5
|
+
* at scaffold time; we expose the same names as CSS variables so
|
|
6
|
+
* consumers can layer their own brand colors in without forking.
|
|
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.
|
|
12
|
+
*
|
|
13
|
+
* NOTE: do NOT add `@custom-variant dark` here. `@grove-dev/astro`'s
|
|
14
|
+
* `styles.css` already declares the `.dark`-class variant, and
|
|
15
|
+
* Tailwind v4 only honors one definition per build — adding a
|
|
16
|
+
* second one in this consumer file has been observed to confuse
|
|
17
|
+
* the variant resolution and produce utilities that key off
|
|
18
|
+
* `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
|
+
*/
|
|
22
|
+
@theme {
|
|
23
|
+
--color-grove-primary: var(--color-foreground);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@layer base {
|
|
27
|
+
:root {
|
|
28
|
+
--grove-color-primary: var(--color-grove-primary);
|
|
29
|
+
--grove-radius: 0.5rem;
|
|
30
|
+
--grove-container-width: 72rem;
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "astro/tsconfigs/base",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"types": ["node"],
|
|
6
|
+
"baseUrl": ".",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@grove/generated/*": ["data/generated/*"]
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"include": [".astro/types.d.ts", "**/*"],
|
|
12
|
+
"exclude": ["dist"]
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grove-dev/cli",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.12.0"
|
|
9
|
+
},
|
|
7
10
|
"keywords": [
|
|
8
11
|
"grove",
|
|
9
12
|
"cli",
|
|
@@ -39,29 +42,15 @@
|
|
|
39
42
|
"README.md"
|
|
40
43
|
],
|
|
41
44
|
"dependencies": {
|
|
42
|
-
"@clack/prompts": "^1.5.1",
|
|
43
|
-
"@grove-dev/astro": "0.2.16",
|
|
44
|
-
"@grove-dev/core": "0.2.16",
|
|
45
45
|
"commander": "^15.0.0",
|
|
46
|
-
"yaml": "^2.6.0"
|
|
47
|
-
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@grove-dev/nextjs": "0.2.16",
|
|
50
|
-
"@grove-dev/svelte": "0.2.16"
|
|
51
|
-
},
|
|
52
|
-
"peerDependenciesMeta": {
|
|
53
|
-
"@grove-dev/nextjs": {
|
|
54
|
-
"optional": true
|
|
55
|
-
},
|
|
56
|
-
"@grove-dev/svelte": {
|
|
57
|
-
"optional": true
|
|
58
|
-
}
|
|
46
|
+
"yaml": "^2.6.0",
|
|
47
|
+
"@grove-dev/core": "0.3.2"
|
|
59
48
|
},
|
|
60
49
|
"devDependencies": {
|
|
61
|
-
"tsx": "^4.
|
|
50
|
+
"tsx": "^4.23.0"
|
|
62
51
|
},
|
|
63
52
|
"scripts": {
|
|
64
|
-
"build": "tsc -p tsconfig.json && node -e \"require('fs').copyFileSync('package.json','dist/package.json')\"",
|
|
53
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && node -e \"require('fs').copyFileSync('package.json','dist/package.json')\" && node ../../scripts/package-site.mjs",
|
|
65
54
|
"check": "tsc -p tsconfig.json --noEmit",
|
|
66
55
|
"test": "cd ../.. && pnpm exec vitest run --project unit packages/cli",
|
|
67
56
|
"dev": "tsx src/index.ts --help"
|
package/dist/helpers.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared CLI helpers — pure functions, side-effect-free.
|
|
3
|
-
*
|
|
4
|
-
* Extracted from `index.ts` so they can be unit-tested without
|
|
5
|
-
* pulling in the whole commander program (whose
|
|
6
|
-
* `program.parseAsync()` at module-load time calls `process.exit(1)`
|
|
7
|
-
* when no args are present — a test-hostile side effect).
|
|
8
|
-
*/
|
|
9
|
-
export declare const DEPLOY_PROVIDERS: readonly ["vercel", "netlify", "cloudflare", "github-pages", "none"];
|
|
10
|
-
export type DeployProvider = (typeof DEPLOY_PROVIDERS)[number];
|
|
11
|
-
/**
|
|
12
|
-
* Parse a `--deploy` flag value into a typed `DeployProvider`.
|
|
13
|
-
*
|
|
14
|
-
* - `undefined` (flag not passed) → "github-pages" (the historical
|
|
15
|
-
* default; matches commander.js's default-arg behaviour).
|
|
16
|
-
* - A valid provider name → returned unchanged.
|
|
17
|
-
* - Anything else → process exits 1 with the list of valid providers.
|
|
18
|
-
*
|
|
19
|
-
* The previous implementation silently coerced invalid values to
|
|
20
|
-
* "github-pages", which masked typos in CI scripts (audit finding).
|
|
21
|
-
*
|
|
22
|
-
* Exported from `index.ts` via re-export — keeping the source of
|
|
23
|
-
* truth in this helper module means a test can import
|
|
24
|
-
* `parseDeployProvider` without booting the whole CLI program.
|
|
25
|
-
*/
|
|
26
|
-
export declare function parseDeployProvider(value: string | undefined): DeployProvider;
|
|
27
|
-
//# sourceMappingURL=helpers.d.ts.map
|
package/dist/helpers.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,gBAAgB,sEAMnB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,cAAc,CAQ7E"}
|
package/dist/helpers.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared CLI helpers — pure functions, side-effect-free.
|
|
3
|
-
*
|
|
4
|
-
* Extracted from `index.ts` so they can be unit-tested without
|
|
5
|
-
* pulling in the whole commander program (whose
|
|
6
|
-
* `program.parseAsync()` at module-load time calls `process.exit(1)`
|
|
7
|
-
* when no args are present — a test-hostile side effect).
|
|
8
|
-
*/
|
|
9
|
-
export const DEPLOY_PROVIDERS = [
|
|
10
|
-
"vercel",
|
|
11
|
-
"netlify",
|
|
12
|
-
"cloudflare",
|
|
13
|
-
"github-pages",
|
|
14
|
-
"none",
|
|
15
|
-
];
|
|
16
|
-
/**
|
|
17
|
-
* Parse a `--deploy` flag value into a typed `DeployProvider`.
|
|
18
|
-
*
|
|
19
|
-
* - `undefined` (flag not passed) → "github-pages" (the historical
|
|
20
|
-
* default; matches commander.js's default-arg behaviour).
|
|
21
|
-
* - A valid provider name → returned unchanged.
|
|
22
|
-
* - Anything else → process exits 1 with the list of valid providers.
|
|
23
|
-
*
|
|
24
|
-
* The previous implementation silently coerced invalid values to
|
|
25
|
-
* "github-pages", which masked typos in CI scripts (audit finding).
|
|
26
|
-
*
|
|
27
|
-
* Exported from `index.ts` via re-export — keeping the source of
|
|
28
|
-
* truth in this helper module means a test can import
|
|
29
|
-
* `parseDeployProvider` without booting the whole CLI program.
|
|
30
|
-
*/
|
|
31
|
-
export function parseDeployProvider(value) {
|
|
32
|
-
if (value === undefined)
|
|
33
|
-
return "github-pages";
|
|
34
|
-
if (DEPLOY_PROVIDERS.includes(value)) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
console.error(`Unknown deploy provider: ${value}.`);
|
|
38
|
-
console.error(`Try one of: ${DEPLOY_PROVIDERS.join(", ")}`);
|
|
39
|
-
process.exit(1);
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=helpers.js.map
|
package/dist/helpers.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,cAAc;IACd,MAAM;CACE,CAAC;AAIX;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAyB;IAC3D,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,cAAc,CAAC;IAC/C,IAAK,gBAAsC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5D,OAAO,KAAuB,CAAC;IACjC,CAAC;IACD,OAAO,CAAC,KAAK,CAAC,4BAA4B,KAAK,GAAG,CAAC,CAAC;IACpD,OAAO,CAAC,KAAK,CAAC,eAAe,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export type Framework = "astro";
|
|
2
|
-
export type DeployProvider = "vercel" | "netlify" | "cloudflare" | "github-pages" | "none";
|
|
3
|
-
export interface TemplateSummary {
|
|
4
|
-
framework: Framework;
|
|
5
|
-
template: string;
|
|
6
|
-
path: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
}
|
|
9
|
-
/** Frameworks that ship templates inside the adapter package. */
|
|
10
|
-
export declare const SUPPORTED_FRAMEWORKS: readonly Framework[];
|
|
11
|
-
export declare function isFramework(value: string): value is Framework;
|
|
12
|
-
/**
|
|
13
|
-
* Walk up from a starting directory looking for `pnpm-workspace.yaml`.
|
|
14
|
-
* That file marks the monorepo root — pnpm convention. We need it for
|
|
15
|
-
* the special case where the package we want to resolve IS the CLI
|
|
16
|
-
* itself (`@grove-dev/cli`): the CLI's `node_modules/@grove-dev/cli`
|
|
17
|
-
* doesn't exist because the CLI is a root package, not a dep of
|
|
18
|
-
* itself. From the monorepo root, `packages/cli` is always canonical.
|
|
19
|
-
*
|
|
20
|
-
* Throws if we never find a `pnpm-workspace.yaml` (we are not inside
|
|
21
|
-
* a monorepo, so `grove run` is the wrong tool anyway).
|
|
22
|
-
*/
|
|
23
|
-
declare function findMonorepoRoot(from: string): string;
|
|
24
|
-
/** List every available template for a framework. */
|
|
25
|
-
export declare function listTemplates(framework: Framework): Promise<TemplateSummary[]>;
|
|
26
|
-
/** Resolve the absolute path of a framework template directory. */
|
|
27
|
-
export declare function templatePath(framework: Framework, name?: string): string;
|
|
28
|
-
/**
|
|
29
|
-
* Read the version of the framework adapter package
|
|
30
|
-
* (`@grove-dev/<framework>`) that shipped the templates. This is the
|
|
31
|
-
* fallback for older templates that still contain loose dependencies;
|
|
32
|
-
* current templates already carry exact published versions.
|
|
33
|
-
*/
|
|
34
|
-
export declare function frameworkVersion(framework: Framework): string;
|
|
35
|
-
/**
|
|
36
|
-
* Copy a template directory into a project root. Honors `force: false`
|
|
37
|
-
* by default so an existing project isn't clobbered.
|
|
38
|
-
*
|
|
39
|
-
* V1: the `new` action runs `mkdir(root, { recursive: true })` before
|
|
40
|
-
* we get here, which means `targetRoot` already exists (and is empty)
|
|
41
|
-
* for a fresh scaffold. `cp` with `errorOnExist: true` would reject
|
|
42
|
-
* that empty dir with EEXIST, so we let `cp` overwrite it silently.
|
|
43
|
-
*
|
|
44
|
-
* The non-empty case is handled before the copy: a non-empty
|
|
45
|
-
* `targetRoot` with `force: false` raises up front (partial
|
|
46
|
-
* scaffolds are worse than a hard fail), and `force: true` proceeds
|
|
47
|
-
* and overwrites per `cp`'s `force: true` semantics.
|
|
48
|
-
*/
|
|
49
|
-
export declare function copyTemplate(framework: Framework, targetRoot: string, name?: string, options?: {
|
|
50
|
-
force?: boolean;
|
|
51
|
-
}): Promise<{
|
|
52
|
-
from: string;
|
|
53
|
-
to: string;
|
|
54
|
-
files: number;
|
|
55
|
-
}>;
|
|
56
|
-
/**
|
|
57
|
-
* Read the framework's `package.json` from the template, rewrite the
|
|
58
|
-
* `name` to a project-friendly slug, then normalize Grove dependencies
|
|
59
|
-
* for published or local development use.
|
|
60
|
-
*
|
|
61
|
-
* Two rewrite modes are supported:
|
|
62
|
-
*
|
|
63
|
-
* - `published` (default for `grove new`): pin `@grove-dev/*`
|
|
64
|
-
* dependencies to the published version of the framework adapter
|
|
65
|
-
* so a real end user installs from the npm registry.
|
|
66
|
-
*
|
|
67
|
-
* - `file` (used by `grove run`): rewrite `@grove-dev/*`
|
|
68
|
-
* dependencies to absolute `file:` paths pointing back at the
|
|
69
|
-
* monorepo's local `packages/*` siblings. This lets a developer
|
|
70
|
-
* (or a CI job) scaffold a project from the LOCAL template and
|
|
71
|
-
* `pnpm install` it without publishing — handy for smoke tests
|
|
72
|
-
* and template iteration.
|
|
73
|
-
*/
|
|
74
|
-
export type DepRewriteMode = "published" | "file";
|
|
75
|
-
export declare function renameProjectInTemplate(framework: Framework, targetRoot: string, projectName: string, templateName?: string, options?: {
|
|
76
|
-
mode?: DepRewriteMode;
|
|
77
|
-
}): Promise<{
|
|
78
|
-
packageJsonPath: string;
|
|
79
|
-
finalName: string;
|
|
80
|
-
rewrittenDeps: string[];
|
|
81
|
-
}>;
|
|
82
|
-
export declare function packageNameFromProjectName(name: string, framework: Framework, templateName: string): string;
|
|
83
|
-
/**
|
|
84
|
-
* Make sure a directory exists. Async wrapper around `mkdir -p`.
|
|
85
|
-
*/
|
|
86
|
-
export declare function ensureDir(path: string): Promise<void>;
|
|
87
|
-
/**
|
|
88
|
-
* Resolve a file path relative to the current module — handy for
|
|
89
|
-
* locating bundled assets the CLI ships with (e.g. .github templates).
|
|
90
|
-
*/
|
|
91
|
-
export declare function here(...parts: string[]): string;
|
|
92
|
-
/**
|
|
93
|
-
* Public re-export: `grove run` needs to find the monorepo root to
|
|
94
|
-
* place its scratch project under `<root>/.grove/run/...` and to run
|
|
95
|
-
* `pnpm install --filter` from there. The implementation lives above
|
|
96
|
-
* so this stays a thin alias.
|
|
97
|
-
*/
|
|
98
|
-
export { findMonorepoRoot };
|
|
99
|
-
//# sourceMappingURL=template-loader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template-loader.d.ts","sourceRoot":"","sources":["../src/template-loader.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC;AAChC,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,cAAc,GAAG,MAAM,CAAC;AAE3F,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,iEAAiE;AACjE,eAAO,MAAM,oBAAoB,EAAE,SAAS,SAAS,EAAuB,CAAC;AAE7E,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAE7D;AA6CD;;;;;;;;;;GAUG;AACH,iBAAS,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAY9C;AA2CD,qDAAqD;AACrD,wBAAsB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAIpF;AAED,mEAAmE;AACnE,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,SAAY,GAAG,MAAM,CAE3E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAS7D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,YAAY,CAChC,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,MAAM,EAClB,IAAI,SAAY,EAChB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAChC,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CA6CtD;AAsBD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,CAAC;AAElD,wBAAsB,uBAAuB,CAC3C,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,YAAY,SAAY,EACxB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAA;CAAO,GACtC,OAAO,CAAC;IAAE,eAAe,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAkBlF;AA+ED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAO3G;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3D;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAG/C;AAED;;;;;GAKG;AACH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|