Skip to content

Commit

Permalink
Bump Vitepress and switch to Bun
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <an@thundersquared.com>
  • Loading branch information
anatolinicolae committed Jun 21, 2024
1 parent 270f173 commit 78ee3b7
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 846 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: "18.x"
node-version: "20"
registry-url: "https://registry.npmjs.org"
scope: "@apiscp"
- run: yarn install
- run: yarn publish --access public
- uses: oven-sh/setup-bun@v1.2.2
- run: bun install --frozen-lockfile
- run: bun run publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: "18.x"
node-version: "20"
registry-url: "https://registry.npmjs.org"
scope: "@apiscp"
- run: yarn install
- run: yarn demo-build
- uses: oven-sh/setup-bun@v1.2.2
- run: bun install --frozen-lockfile
- run: bun run demo-build
Binary file added bun.lockb
Binary file not shown.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apiscp/vitepress-theme",
"version": "1.0.9",
"version": "1.0.10",
"description": "The VitePress theme for notes.apiscp.com.",
"main": "src/index.ts",
"exports": {
Expand Down Expand Up @@ -42,24 +42,24 @@
"serve": "npm run demo-build && vitepress serve demo"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.6",
"@vueuse/core": "^10.7.2"
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@vueuse/core": "^10.11.0"
},
"devDependencies": {
"@mdit-vue/types": "^2.0.0",
"@mdit-vue/types": "^2.1.0",
"@types/body-scroll-lock": "^3.1.2",
"@types/estree": "^1.0.5",
"@types/node": "^20.11.17",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"vitepress": "1.0.0-rc.42",
"vue": "^3.4.19"
"@types/node": "^20.14.7",
"prettier": "^3.3.2",
"typescript": "^5.5.2",
"vitepress": "^1.2.3",
"vue": "^3.4.29"
},
"peerDependencies": {
"vitepress": "^1.0.0-rc.42"
"vitepress": "^1.2.3"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
6 changes: 6 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ html.dark {
content: " ↗";
}

.vp-doc kbd {
border: 1px solid #ddd;
padding: 2px 6px;
border-radius: 4px;
}

html,
body {
shape-rendering: crispedges;
Expand Down
Loading

0 comments on commit 78ee3b7

Please sign in to comment.