Skip to content

Commit

Permalink
feat: remove unnecessary chapter level (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Nov 15, 2024
1 parent 7e779d6 commit 73078d9
Show file tree
Hide file tree
Showing 88 changed files with 50 additions and 49 deletions.
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

0 comments on commit 73078d9

Please sign in to comment.