File tree Expand file tree Collapse file tree 4 files changed +32
-38
lines changed Expand file tree Collapse file tree 4 files changed +32
-38
lines changed Original file line number Diff line number Diff line change 14
14
"format" : " prettier src --write"
15
15
},
16
16
"dependencies" : {
17
- "@tutorialkit/components-react" : " ^0.0.1 " ,
17
+ "@tutorialkit/components-react" : " ^0.1.0 " ,
18
18
"react" : " ^18.2.0" ,
19
19
"react-dom" : " ^18.2.0"
20
20
},
23
23
"@astrojs/react" : " ^3.3.4" ,
24
24
"@iconify-json/ph" : " ^1.1.12" ,
25
25
"@iconify-json/svg-spinners" : " ^1.1.2" ,
26
- "@tutorialkit/astro" : " ^0.0.1 " ,
27
- "@tutorialkit/theme" : " ^0.0.1 " ,
28
- "@tutorialkit/types" : " ^0.0.1 " ,
26
+ "@tutorialkit/astro" : " ^0.1.0 " ,
27
+ "@tutorialkit/theme" : " ^0.1.0 " ,
28
+ "@tutorialkit/types" : " ^0.1.0 " ,
29
29
"@types/node" : " ^20.12.7" ,
30
30
"@unocss/reset" : " ^0.59.4" ,
31
31
"@unocss/transformer-directives" : " ^0.59.4" ,
Original file line number Diff line number Diff line change 1
- import {
2
- chapterSchema ,
3
- lessonSchema ,
4
- partSchema ,
5
- tutorialSchema
6
- } from "@tutorialkit/types" ;
1
+ import { contentSchema } from "@tutorialkit/types" ;
7
2
import { defineCollection } from "astro:content" ;
8
3
9
4
const tutorial = defineCollection ( {
10
5
type : "content" ,
11
- schema : tutorialSchema . or ( partSchema ) . or ( chapterSchema ) . or ( lessonSchema )
6
+ schema : contentSchema
12
7
} ) ;
13
8
14
9
export const collections = { tutorial } ;
Original file line number Diff line number Diff line change 2
2
type : tutorial
3
3
parts :
4
4
- vite-plugin
5
- title : Vite Plugin
6
5
mainCommand : ["npm run dev", "Starting http server"]
7
6
prepareCommands :
8
7
- ["npm install", "Installing dependencies"]
You can’t perform that action at this time.
0 commit comments