Skip to content

feat: remove unnecessary chapter level #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"format": "prettier src --write"
},
"dependencies": {
"@tutorialkit/react": "^1.2.0",
"@tutorialkit/react": "1.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@astrojs/check": "^0.6.0",
"@astrojs/react": "^3.3.4",
"@tutorialkit/astro": "^1.2.0",
"@tutorialkit/theme": "^1.2.0",
"@tutorialkit/types": "^1.2.0",
"@tutorialkit/astro": "1.3.0",
"@tutorialkit/theme": "1.3.0",
"@tutorialkit/types": "1.3.0",
"@types/node": "^20.12.7",
"astro": "^4.15.0",
"prettier": "^3.3.3",
Expand Down
66 changes: 33 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/components/TopBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
</a>
</div>

<div class="mr-2">
<slot name="download-button" />
</div>

<div class="mr-2">
<slot name="open-in-stackblitz-link" />
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
type: chapter
type: part
lessons:
- env-vars-in-node
- importing-virtual-module
Expand Down
7 changes: 6 additions & 1 deletion src/content/tutorial/meta.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
---
type: tutorial
parts:
- vite-plugin
- yaml-plugin
- env-plugin
- replace-plugin
mainCommand: ["npm run dev", "Starting http server"]
prepareCommands:
- ["npm install", "Installing dependencies"]
editPageLink: https://github.com/AriPerkkio/tutorial-vite-plugin/blob/main/src/content/tutorial/${path}?plain=1
i18n:
partTemplate: ${title}
downloadAsZip: true
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
type: chapter
type: part
lessons:
- transforming-code
- defining-transform-hook
Expand Down
8 changes: 0 additions & 8 deletions src/content/tutorial/vite-plugin/meta.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
type: chapter
type: part
lessons:
- importing-yaml-files
- defining-custom-plugin
Expand Down