devfolio-page 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const program = new Command();
|
|
|
9
9
|
program
|
|
10
10
|
.name('devfolio-page')
|
|
11
11
|
.description('Your portfolio as code. Version control it like software.')
|
|
12
|
-
.version('0.1.
|
|
12
|
+
.version('0.1.3');
|
|
13
13
|
program
|
|
14
14
|
.command('init')
|
|
15
15
|
.description('Create a new portfolio.yaml with interactive prompts')
|
|
@@ -106,7 +106,7 @@ const richProjectSchema = z.object({
|
|
|
106
106
|
title: z.string().min(1, 'Project title is required'),
|
|
107
107
|
subtitle: z.string().optional(),
|
|
108
108
|
featured: z.boolean().optional(),
|
|
109
|
-
thumbnail: urlOrPath,
|
|
109
|
+
thumbnail: urlOrPath.optional(),
|
|
110
110
|
hero: urlOrPath.optional(),
|
|
111
111
|
meta: z.object({
|
|
112
112
|
year: z.union([z.string(), z.number()]),
|