Skip to content

Commit 0f63db0

Browse files
templates: bump for v3.7.0 (#10000)
🤖 Automated bump of templates for v3.7.0 Triggered by user: @paulpopus Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 12fa4fd commit 0f63db0

File tree

21 files changed

+126
-31
lines changed

21 files changed

+126
-31
lines changed

templates/with-postgres/src/migrations/20241213_192425_initial.json renamed to templates/with-postgres/src/migrations/20241216_183241_initial.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "20001806-b0fc-4802-9876-a09dc4c99242",
2+
"id": "7e088ab2-b3bd-4286-bf51-c78ce9ac732f",
33
"prevId": "00000000-0000-0000-0000-000000000000",
44
"version": "7",
55
"dialect": "postgresql",
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import * as migration_20241213_192425_initial from './20241213_192425_initial'
1+
import * as migration_20241216_183241_initial from './20241216_183241_initial'
22

33
export const migrations = [
44
{
5-
up: migration_20241213_192425_initial.up,
6-
down: migration_20241213_192425_initial.down,
7-
name: '20241213_192425_initial',
5+
up: migration_20241216_183241_initial.up,
6+
down: migration_20241216_183241_initial.down,
7+
name: '20241216_183241_initial',
88
},
99
]

templates/with-vercel-postgres/src/migrations/20241213_192401_initial.json renamed to templates/with-vercel-postgres/src/migrations/20241216_183217_initial.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "8f2699f4-cb17-4a86-b401-e9e83293c22a",
2+
"id": "62178519-5e26-4f24-a462-303f0ca4fb8c",
33
"prevId": "00000000-0000-0000-0000-000000000000",
44
"version": "7",
55
"dialect": "postgresql",
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import * as migration_20241213_192401_initial from './20241213_192401_initial'
1+
import * as migration_20241216_183217_initial from './20241216_183217_initial'
22

33
export const migrations = [
44
{
5-
up: migration_20241213_192401_initial.up,
6-
down: migration_20241213_192401_initial.down,
7-
name: '20241213_192401_initial',
5+
up: migration_20241216_183217_initial.up,
6+
down: migration_20241216_183217_initial.down,
7+
name: '20241216_183217_initial',
88
},
99
]

templates/with-vercel-website/src/blocks/RenderBlocks.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const RenderBlocks: React.FC<{
3636
if (Block) {
3737
return (
3838
<div className="my-16" key={index}>
39-
{/* @ts-expect-error */}
40-
<Block {...block} />
39+
{/* @ts-expect-error there may be some mismatch between the expected types here */}
40+
<Block {...block} disableInnerContainer />
4141
</div>
4242
)
4343
}

templates/with-vercel-website/src/collections/Posts/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ export const Posts: CollectionConfig<'posts'> = {
7979
tabs: [
8080
{
8181
fields: [
82+
{
83+
name: 'heroImage',
84+
type: 'upload',
85+
relationTo: 'media',
86+
},
8287
{
8388
name: 'content',
8489
type: 'richText',

templates/with-vercel-website/src/components/ui/card.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable jsx-a11y/heading-has-content */
21
import { cn } from 'src/utilities/cn'
32
import * as React from 'react'
43

templates/with-vercel-website/src/components/ui/pagination.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/button-has-type */
21
import type { ButtonProps } from '@/components/ui/button'
32

43
import { buttonVariants } from '@/components/ui/button'

0 commit comments

Comments
 (0)