Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions blog-cloudflare/.agents/skills/building-emdash-site/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Write `seed/seed.json` with collections, fields, taxonomies, menus, widgets, and
### 6. Run and verify

```bash
npx emdash dev # Start dev server (runs migrations + seeds, and generates types)
pnpm dev # Start the Astro dev server
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`.

## Quick API Cheat Sheet

Expand Down Expand Up @@ -102,13 +102,12 @@ import { getByline, getBylineBySlug } from "emdash";
import {
PortableText,
Image,
Comments,
CommentForm,
WidgetArea,
EmDashHead,
EmDashBodyStart,
EmDashBodyEnd,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import LiveSearch from "emdash/ui/search";

// Page context (for plugin contributions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ For Cloudflare, replace `@astrojs/node` with `@astrojs/cloudflare` and add `@emd
## Dev Server

```bash
npx emdash dev # Start dev server (runs migrations, applies seed)
npx emdash dev --types # Start and generate types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Refresh types from the running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Built-in comments system:

```astro
---
import { Comments, CommentForm } from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
---
<Comments collection="posts" contentId={post.data.id} threaded />
<CommentForm collection="posts" contentId={post.data.id} />
Expand Down
9 changes: 3 additions & 6 deletions blog-cloudflare/.agents/skills/emdash-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ npx emdash login --url https://example.com -H "X-API-Key: secret123"

### Database Setup

Migrations and seed application happen automatically inside the runtime — there's no separate init/seed step. Just start the dev server (or deploy) and the first request runs pending migrations and applies the bundled seed if the database is empty.
For normal site startup, use the project's package script. The first request runs pending migrations and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts.

```bash
# Start dev server (runs migrations, applies seed on empty DB, starts Astro)
npx emdash dev

# Start dev server and generate types from remote
npx emdash dev --types
# Start the site with its package script
pnpm dev

# Export an existing database as a seed file
# (the runtime auto-discovers .emdash/seed.json on first boot;
Expand Down
4 changes: 2 additions & 2 deletions blog-cloudflare/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ This is an EmDash site -- a CMS built on Astro with a full admin UI.
## Commands

```bash
npx emdash dev # Start dev server (runs migrations, seeds, generates types)
npx emdash types # Regenerate TypeScript types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Regenerate TypeScript types from a running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
Expand Down
4 changes: 2 additions & 2 deletions blog-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependencies": {
"@astrojs/cloudflare": "^14.0.0",
"@astrojs/react": "^6.0.0",
"@emdash-cms/cloudflare": "^0.30.0",
"@emdash-cms/cloudflare": "^0.33.0",
"@emdash-cms/plugin-forms": "^0.2.4",
"@emdash-cms/plugin-webhook-notifier": "^0.2.0",
"astro": "^7.0.0",
"emdash": "^0.30.0",
"emdash": "^0.33.0",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down
3 changes: 1 addition & 2 deletions blog-cloudflare/src/pages/posts/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import {
import {
Image,
PortableText,
Comments,
CommentForm,
WidgetArea,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import Base from "../../layouts/Base.astro";
import PostCard from "../../components/PostCard.astro";
import { getReadingTime } from "../../utils/reading-time";
Expand Down
7 changes: 3 additions & 4 deletions blog/.agents/skills/building-emdash-site/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Write `seed/seed.json` with collections, fields, taxonomies, menus, widgets, and
### 6. Run and verify

```bash
npx emdash dev # Start dev server (runs migrations + seeds, and generates types)
pnpm dev # Start the Astro dev server
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`.

## Quick API Cheat Sheet

Expand Down Expand Up @@ -102,13 +102,12 @@ import { getByline, getBylineBySlug } from "emdash";
import {
PortableText,
Image,
Comments,
CommentForm,
WidgetArea,
EmDashHead,
EmDashBodyStart,
EmDashBodyEnd,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import LiveSearch from "emdash/ui/search";

// Page context (for plugin contributions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ For Cloudflare, replace `@astrojs/node` with `@astrojs/cloudflare` and add `@emd
## Dev Server

```bash
npx emdash dev # Start dev server (runs migrations, applies seed)
npx emdash dev --types # Start and generate types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Refresh types from the running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Built-in comments system:

```astro
---
import { Comments, CommentForm } from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
---
<Comments collection="posts" contentId={post.data.id} threaded />
<CommentForm collection="posts" contentId={post.data.id} />
Expand Down
9 changes: 3 additions & 6 deletions blog/.agents/skills/emdash-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ npx emdash login --url https://example.com -H "X-API-Key: secret123"

### Database Setup

Migrations and seed application happen automatically inside the runtime — there's no separate init/seed step. Just start the dev server (or deploy) and the first request runs pending migrations and applies the bundled seed if the database is empty.
For normal site startup, use the project's package script. The first request runs pending migrations and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts.

```bash
# Start dev server (runs migrations, applies seed on empty DB, starts Astro)
npx emdash dev

# Start dev server and generate types from remote
npx emdash dev --types
# Start the site with its package script
pnpm dev

# Export an existing database as a seed file
# (the runtime auto-discovers .emdash/seed.json on first boot;
Expand Down
4 changes: 2 additions & 2 deletions blog/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ This is an EmDash site -- a CMS built on Astro with a full admin UI.
## Commands

```bash
npx emdash dev # Start dev server (runs migrations, seeds, generates types)
npx emdash types # Regenerate TypeScript types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Regenerate TypeScript types from a running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
Expand Down
2 changes: 1 addition & 1 deletion blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@emdash-cms/plugin-audit-log": "^0.2.0",
"astro": "^7.0.0",
"better-sqlite3": "^12.8.0",
"emdash": "^0.30.0",
"emdash": "^0.33.0",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down
3 changes: 1 addition & 2 deletions blog/src/pages/posts/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import {
import {
Image,
PortableText,
Comments,
CommentForm,
WidgetArea,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import Base from "../../layouts/Base.astro";
import PostCard from "../../components/PostCard.astro";
import { getReadingTime } from "../../utils/reading-time";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Write `seed/seed.json` with collections, fields, taxonomies, menus, widgets, and
### 6. Run and verify

```bash
npx emdash dev # Start dev server (runs migrations + seeds, and generates types)
pnpm dev # Start the Astro dev server
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`.

## Quick API Cheat Sheet

Expand Down Expand Up @@ -102,13 +102,12 @@ import { getByline, getBylineBySlug } from "emdash";
import {
PortableText,
Image,
Comments,
CommentForm,
WidgetArea,
EmDashHead,
EmDashBodyStart,
EmDashBodyEnd,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import LiveSearch from "emdash/ui/search";

// Page context (for plugin contributions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ For Cloudflare, replace `@astrojs/node` with `@astrojs/cloudflare` and add `@emd
## Dev Server

```bash
npx emdash dev # Start dev server (runs migrations, applies seed)
npx emdash dev --types # Start and generate types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Refresh types from the running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Built-in comments system:

```astro
---
import { Comments, CommentForm } from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
---
<Comments collection="posts" contentId={post.data.id} threaded />
<CommentForm collection="posts" contentId={post.data.id} />
Expand Down
9 changes: 3 additions & 6 deletions marketing-cloudflare/.agents/skills/emdash-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ npx emdash login --url https://example.com -H "X-API-Key: secret123"

### Database Setup

Migrations and seed application happen automatically inside the runtime — there's no separate init/seed step. Just start the dev server (or deploy) and the first request runs pending migrations and applies the bundled seed if the database is empty.
For normal site startup, use the project's package script. The first request runs pending migrations and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts.

```bash
# Start dev server (runs migrations, applies seed on empty DB, starts Astro)
npx emdash dev

# Start dev server and generate types from remote
npx emdash dev --types
# Start the site with its package script
pnpm dev

# Export an existing database as a seed file
# (the runtime auto-discovers .emdash/seed.json on first boot;
Expand Down
4 changes: 2 additions & 2 deletions marketing-cloudflare/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ This is an EmDash site -- a CMS built on Astro with a full admin UI.
## Commands

```bash
npx emdash dev # Start dev server (runs migrations, seeds, generates types)
npx emdash types # Regenerate TypeScript types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Regenerate TypeScript types from a running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
Expand Down
4 changes: 2 additions & 2 deletions marketing-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependencies": {
"@astrojs/cloudflare": "^14.0.0",
"@astrojs/react": "^6.0.0",
"@emdash-cms/cloudflare": "^0.30.0",
"@emdash-cms/cloudflare": "^0.33.0",
"@iconify-json/ph": "^1.2.2",
"astro": "^7.0.0",
"astro-iconset": "^0.0.4",
"emdash": "^0.30.0",
"emdash": "^0.33.0",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down
7 changes: 3 additions & 4 deletions marketing/.agents/skills/building-emdash-site/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Write `seed/seed.json` with collections, fields, taxonomies, menus, widgets, and
### 6. Run and verify

```bash
npx emdash dev # Start dev server (runs migrations + seeds, and generates types)
pnpm dev # Start the Astro dev server
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`.

## Quick API Cheat Sheet

Expand Down Expand Up @@ -102,13 +102,12 @@ import { getByline, getBylineBySlug } from "emdash";
import {
PortableText,
Image,
Comments,
CommentForm,
WidgetArea,
EmDashHead,
EmDashBodyStart,
EmDashBodyEnd,
} from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
import LiveSearch from "emdash/ui/search";

// Page context (for plugin contributions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ For Cloudflare, replace `@astrojs/node` with `@astrojs/cloudflare` and add `@emd
## Dev Server

```bash
npx emdash dev # Start dev server (runs migrations, applies seed)
npx emdash dev --types # Start and generate types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Refresh types from the running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
The runtime runs pending migrations on the first request and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts. The admin UI is at `http://localhost:4321/_emdash/admin`. On first run, you'll go through setup to create an admin account.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Built-in comments system:

```astro
---
import { Comments, CommentForm } from "emdash/ui";
import { Comments, CommentForm } from "emdash/ui/comments";
---
<Comments collection="posts" contentId={post.data.id} threaded />
<CommentForm collection="posts" contentId={post.data.id} />
Expand Down
9 changes: 3 additions & 6 deletions marketing/.agents/skills/emdash-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ npx emdash login --url https://example.com -H "X-API-Key: secret123"

### Database Setup

Migrations and seed application happen automatically inside the runtime — there's no separate init/seed step. Just start the dev server (or deploy) and the first request runs pending migrations and applies the bundled seed if the database is empty.
For normal site startup, use the project's package script. The first request runs pending migrations and applies the bundled seed when the database is empty and setup has not been completed. The Astro integration generates `emdash-env.d.ts` when the server starts.

```bash
# Start dev server (runs migrations, applies seed on empty DB, starts Astro)
npx emdash dev

# Start dev server and generate types from remote
npx emdash dev --types
# Start the site with its package script
pnpm dev

# Export an existing database as a seed file
# (the runtime auto-discovers .emdash/seed.json on first boot;
Expand Down
4 changes: 2 additions & 2 deletions marketing/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ This is an EmDash site -- a CMS built on Astro with a full admin UI.
## Commands

```bash
npx emdash dev # Start dev server (runs migrations, seeds, generates types)
npx emdash types # Regenerate TypeScript types from schema
pnpm dev # Start the Astro dev server
npx emdash types # Regenerate TypeScript types from a running site
```

The admin UI is at `http://localhost:4321/_emdash/admin`.
Expand Down
2 changes: 1 addition & 1 deletion marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"astro": "^7.0.0",
"astro-iconset": "^0.0.4",
"better-sqlite3": "^12.8.0",
"emdash": "^0.30.0",
"emdash": "^0.33.0",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down
Loading
Loading