Skip to content

Commit

Permalink
🔨 Rename docs: bun scripts, add script to update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
gwennlbh committed Apr 15, 2024
1 parent 59e1a00 commit 3162da0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install dependencies
run: bun install
- name: Build with VitePress
run: bun run docs:build
run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion ortfodb
Submodule ortfodb updated 2 files
+1 −1 CHANGELOG.md
+4 −158 tools/_README.md
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"type": "module",
"type": "module",
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "bun run jsonschemas:copy && bun run favicons:generate && bun run favicons:inject && vitepress build",
"docs:preview": "vitepress preview",
"dev": "bun run submodules:pull && vitepress dev",
"build": "bun run jsonschemas:copy && bun run favicons:generate && bun run favicons:inject && vitepress build",
"preview": "vitepress preview",
"favicons:generate": "real-favicon generate favicon.json .favicon-data.json public/ ",
"favicons:inject": "cp .vitepress/favicon.ts public/favicon.ts && real-favicon inject .favicon-data.json public favicon.ts && mv public/favicon.ts .vitepress/",
"jsonschemas:copy": "./copy-all-schemas"
"jsonschemas:copy": "./copy-all-schemas",
"submodules:pull": "git submodule update --init --recursive && git submodule foreach git pull origin main"
},
"devDependencies": {
"@types/json-schema": "^7.0.15",
Expand Down

0 comments on commit 3162da0

Please sign in to comment.