Skip to content

Commit 0a48af3

Browse files
authored
chore(deps): update tutorialkit 0.1.0 (#16)
1 parent d757878 commit 0a48af3

File tree

4 files changed

+32
-38
lines changed

4 files changed

+32
-38
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"format": "prettier src --write"
1515
},
1616
"dependencies": {
17-
"@tutorialkit/components-react": "^0.0.1",
17+
"@tutorialkit/components-react": "^0.1.0",
1818
"react": "^18.2.0",
1919
"react-dom": "^18.2.0"
2020
},
@@ -23,9 +23,9 @@
2323
"@astrojs/react": "^3.3.4",
2424
"@iconify-json/ph": "^1.1.12",
2525
"@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",
2929
"@types/node": "^20.12.7",
3030
"@unocss/reset": "^0.59.4",
3131
"@unocss/transformer-directives": "^0.59.4",

pnpm-lock.yaml

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/config.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
import {
2-
chapterSchema,
3-
lessonSchema,
4-
partSchema,
5-
tutorialSchema
6-
} from "@tutorialkit/types";
1+
import { contentSchema } from "@tutorialkit/types";
72
import { defineCollection } from "astro:content";
83

94
const tutorial = defineCollection({
105
type: "content",
11-
schema: tutorialSchema.or(partSchema).or(chapterSchema).or(lessonSchema)
6+
schema: contentSchema
127
});
138

149
export const collections = { tutorial };

src/content/tutorial/meta.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
type: tutorial
33
parts:
44
- vite-plugin
5-
title: Vite Plugin
65
mainCommand: ["npm run dev", "Starting http server"]
76
prepareCommands:
87
- ["npm install", "Installing dependencies"]

0 commit comments

Comments
 (0)