Skip to content

Commit 5bc8bae

Browse files
committed
fix(dashboard): correct dependencies wording — Pantry is the registry
Pantry is the package manager + registry, not tea. Renamed every "tea / pantry" mention to just "Pantry", linked the helper text to the actual repo (github.com/stacksjs/pantry), updated the install- location example to `pantry/.bin`, dropped `'npm'` as a Source literal (Pantry / system are the only sources surfaced), and swapped the placeholder NPM row for Node.js + bumped the other sample versions so the page doesn't ship looking like it's referencing the wrong toolchain.
1 parent 16615dc commit 5bc8bae

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

  • storage/framework/defaults/views/dashboard/dependencies

storage/framework/defaults/views/dashboard/dependencies/index.stx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ interface Dependency {
1717
name: string
1818
version: string
1919
status: 'installed' | 'pending' | 'outdated' | 'failed'
20-
source?: 'pantry' | 'npm' | 'system'
20+
source?: 'pantry' | 'system'
2121
description?: string
2222
}
2323

2424
// Placeholder rows. Wire this up to `pantry list --json` (or whatever
25-
// the real source of truth is) once the dependency manager has an API
26-
// surface. The shape above is what the table renders against — keep
27-
// it stable so the wiring is a one-line swap of `dependencies = …`.
25+
// the real source of truth is) once the Pantry CLI exposes a listing
26+
// API. The shape above is what the table renders against — keep it
27+
// stable so the wiring is a one-line swap of `dependencies = …`.
2828
const dependencies: Dependency[] = [
29-
{ name: 'NPM', version: '18.15.1', status: 'pending', source: 'pantry' },
30-
{ name: 'Redis', version: '6.9.0', status: 'installed', source: 'pantry' },
31-
{ name: 'PostgreSQL', version: '16.2', status: 'installed', source: 'pantry' },
29+
{ name: 'Node.js', version: '22.11.0', status: 'pending', source: 'pantry' },
30+
{ name: 'Redis', version: '8.0.0', status: 'installed', source: 'pantry' },
31+
{ name: 'PostgreSQL', version: '18.3', status: 'installed', source: 'pantry' },
3232
{ name: 'Bun', version: '1.3.14', status: 'installed', source: 'system' },
3333
]
3434

@@ -49,7 +49,7 @@ function statusVariant(status: string) {
4949

5050
<PageHeader
5151
title="Dependencies"
52-
description="Discover and manage system dependencies installed via tea / pantry"
52+
description="Discover and manage system dependencies installed via Pantry"
5353
/>
5454

5555
<!-- Search row -->
@@ -74,8 +74,8 @@ function statusVariant(status: string) {
7474
<Button type="submit" variant="primary" size="md">Search</Button>
7575
</div>
7676
<p class="mt-3 text-neutral-500 text-xs dark:text-neutral-400">
77-
Dependencies install through <a href="https://pkgx.dev/" target="_blank" rel="noopener" class="font-medium text-blue-600 dark:text-blue-400 hover:underline">tea</a> /
78-
pantry. Installed binaries land in <code class="px-1 py-0.5 font-mono text-[11px] bg-black/5 dark:bg-white/10 rounded">~/.local/share/pantry</code>.
77+
Dependencies install through <a href="https://github.com/stacksjs/pantry" target="_blank" rel="noopener" class="font-medium text-blue-600 dark:text-blue-400 hover:underline">Pantry</a>
78+
our package manager and registry. Installed binaries land in <code class="px-1 py-0.5 font-mono text-[11px] bg-black/5 dark:bg-white/10 rounded">pantry/.bin</code>.
7979
</p>
8080
</Card>
8181

@@ -129,7 +129,7 @@ function statusVariant(status: string) {
129129
<div>
130130
<h3 class="font-semibold text-base text-neutral-900 dark:text-white">Installed</h3>
131131
<p class="mt-0.5 text-neutral-500 text-xs dark:text-neutral-400">
132-
{{ totalCount }} {{ totalCount === 1 ? 'dependency' : 'dependencies' }} tracked by pantry
132+
{{ totalCount }} {{ totalCount === 1 ? 'dependency' : 'dependencies' }} tracked by Pantry
133133
</p>
134134
</div>
135135
</div>

0 commit comments

Comments
 (0)