Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ __screenshots__/
.emdash-bundle-tmp

# Downloaded test data (fetched on demand in CI)
examples/wp-theme-unit-test/
examples/wp-theme-unit-test/
.opencode
1 change: 1 addition & 0 deletions demos/cloudflare/emdash-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface Page {
slug: string | null;
status: string;
title: string;
template?: "Default" | "Full Width";
content?: PortableTextBlock[];
createdAt: Date;
updatedAt: Date;
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function ContentListPage() {
queryFn: ({ pageParam }) =>
fetchContentList(collection, {
locale: activeLocale,
cursor: pageParam as string | undefined,
cursor: pageParam,
limit: 100,
}),
initialPageParam: undefined as string | undefined,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/cli/commands/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export const bundleCommand = defineCommand({
// Plugins published to npm with source exports will break site builds
// because the sandbox module generator embeds the resolved file as-is.
if (pkg.exports) {
for (const issue of findSourceExports(pkg.exports as Record<string, unknown>)) {
for (const issue of findSourceExports(pkg.exports)) {
consola.error(
`Export "${issue.exportPath}" points to source (${issue.resolvedPath}). ` +
`Package exports must point to built files (e.g. dist/*.mjs). ` +
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/database/migrations/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const MIGRATIONS: Readonly<Record<string, Migration>> = Object.freeze({
"030_widen_scheduled_index": m030,
"031_bylines": m031,
"032_rate_limits": m032,
"033_optimize_content_indexes": m033,
});

/** Total number of registered migrations. Exported for use in tests. */
Expand Down
Loading