Skip to content

Commit

Permalink
UPDATE: Automatic page routing script. Dynamic Scripting for componen…
Browse files Browse the repository at this point in the history
…ts. Added enums and structures.
  • Loading branch information
XQuestCode committed Dec 4, 2023
1 parent e217f5b commit 843351a
Show file tree
Hide file tree
Showing 34 changed files with 834 additions and 971 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ dist/
# generated types
.astro/
.vscode/
# incase we testedmdx script locally
src/content/docs/components/

# dependencies
node_modules/

Expand All @@ -14,6 +13,11 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

#mdx output files
src/components/components/*.mdx
src/components/guides/**/index.mdx
src/components/guides/index.mdx


# environment variables
.env
Expand Down
147 changes: 102 additions & 45 deletions package-lock.json

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

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"generate-mdx": "node ./test/script.js"
"generate-mdx": "node ./scripts/components.cjs node ./scripts/guides.cjs"
},
"dependencies": {
"@astrojs/netlify": "^3.0.4",
Expand All @@ -17,7 +17,15 @@
"@astrojs/starlight": "^0.13.1",
"astro": "^3.6.3",
"astro-expressive-code": "^0.29.2",
"chalk": "^5.3.0",
"cli-spinners": "^2.9.2",
"front-matter": "^4.0.2",
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"kleur": "^4.1.5",
"ora": "^7.0.1",
"path": "^0.12.7",
"sharp": "^0.32.6",
"solid-js": "^1.8.6",
"tailwindcss": "^3.3.5"
Expand Down
File renamed without changes.
Loading

0 comments on commit 843351a

Please sign in to comment.