Skip to content

Commit

Permalink
fix guide descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Jan 9, 2025
1 parent 577c74f commit 47a851a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Using Prisma with Turborepo'
metaTitle: 'Using Prisma with Turborepo'
metaDescription: 'Learn step-by-step how to integrate Prisma ORM with Turborepo to build modular, scalable monorepo architectures efficiently.'
description: 'Learn step-by-step how to integrate Prisma ORM with Turborepo to build modular, scalable monorepo architectures efficiently.'
sidebar_label: 'Prisma with Turborepo'
image: '/img/guides/prisma-turborepo-setup.png'
tags:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to migrate data using the expand and contract pattern'
metaTitle: 'How to migrate data using the expand and contract pattern'
metaDescription: 'Learn how to perform data migrations using the expand and contract pattern with Prisma ORM'
description: 'Learn how to perform data migrations using the expand and contract pattern with Prisma ORM'
sidebar_label: 'Data migration with expand and contract'
image: '/img/guides/data-migration-cover.png'
tags:
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/400-implementing-schema-changes.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to manage schema changes in a team'
metaTitle: 'How to manage schema changes in a team with Prisma Migrate'
metaDescription: 'Learn how to use Prisma Migrate effectively when collaborating on a project as a team'
description: 'Learn how to use Prisma Migrate effectively when collaborating on a project as a team'
sidebar_label: 'Team schema changes'
image: '/img/guides/schema-migration-cover.png'
---
Expand Down
4 changes: 1 addition & 3 deletions content/800-guides/500-migrate-from-typeorm.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
title: 'How to migrate from TypeORM to Prisma ORM'
metaTitle: 'How to migrate from TypeORM to Prisma ORM'
metaDescription: 'Learn how to migrate from TypeORM to Prisma ORM'
description: 'Learn how to migrate from TypeORM to Prisma ORM'
sidebar_label: 'Migrate from TypeORM'
image: '/img/guides/migrate-from-typeorm-cover.png'
---

# How to migrate from TypeORM to Prisma ORM

## Introduction

This guide shows you how to migrate your application from TypeORM to Prisma ORM. We'll use an extended version of the [TypeORM Express example](https://github.com/typeorm/typescript-express-example/) as a [sample project](https://github.com/prisma/migrate-from-typeorm-to-prisma) to demonstrate the migration steps.
Expand Down
8 changes: 4 additions & 4 deletions content/800-guides/5000-guide-on-making-guides.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to write guides for Prisma ORM'
metaTitle: 'How to write guides for Prisma ORM'
metaDescription: 'Learn how to write clear, consistent, and helpful guides for Prisma ORM documentation'
description: 'Learn how to write clear, consistent, and helpful guides for Prisma ORM documentation'
sidebar_label: 'Guide writing guide'
image: '/img/guides/guide-writing-guide-cover.png'
---
Expand Down Expand Up @@ -29,15 +29,15 @@ Every guide must include the following frontmatter at the top of the file:
---
title: 'How to [do something] with Prisma ORM'
metaTitle: 'How to [do something] with Prisma ORM'
metaDescription: 'Learn how to [do something] with Prisma ORM'
description: 'Learn how to [do something] with Prisma ORM'
sidebar_label: '[Concise Label]'
image: '/img/guides/[guide-name]-cover.png'
---
```

- `title`: Should be action-oriented and start with "How to"
- `metaTitle`: Usually matches the title
- `metaDescription`: A one-sentence summary starting with "Learn how to"
- `metaTitle`: Usually matches the title, used for SEO
- `description`: A one-sentence summary starting with "Learn how to", used for SEO
- `sidebar_label`: A concise label for the sidebar navigation
- `image`: A unique header image for social media sharing (coordinate with the design team)

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/600-migrate-from-sequelize.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to migrate from Sequelize to Prisma ORM'
metaTitle: 'How to migrate from Sequelize to Prisma ORM'
metaDescription: 'Learn how to migrate from Sequelize to Prisma ORM'
description: 'Learn how to migrate from Sequelize to Prisma ORM'
sidebar_label: 'Migrate from Sequelize'
image: '/img/guides/migrate-from-sequelize-cover.png'
---
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/700-migrate-from-mongoose.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to migrate from Mongoose to Prisma ORM'
metaTitle: 'How to migrate from Mongoose to Prisma ORM'
metaDescription: 'Learn how to migrate from Mongoose to Prisma ORM'
description: 'Learn how to migrate from Mongoose to Prisma ORM'
sidebar_label: 'Migrate from Mongoose'
image: '/img/guides/migrate-from-mongoose-cover.png'
---
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/800-migrate-from-drizzle.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to migrate from Drizzle to Prisma ORM'
metaTitle: 'How to migrate from Drizzle to Prisma ORM'
metaDescription: 'Learn how to migrate from Drizzle to Prisma ORM'
description: 'Learn how to migrate from Drizzle to Prisma ORM'
sidebar_label: 'Migrate from Drizzle'
image: '/img/guides/migrate-from-drizzle-cover.png'
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'How to use Prisma ORM with Cloudflare D1'
metaTitle: 'How to use Prisma ORM with Cloudflare D1'
metaDescription: 'Learn how to use Prisma ORM with Cloudflare D1'
description: 'Learn how to use Prisma ORM with Cloudflare D1'
sidebar_label: 'Use with Cloudflare D1'
image: '/img/guides/prisma-d1-setup-cover.png'
---
Expand Down

0 comments on commit 47a851a

Please sign in to comment.