Skip to content

Commit 78ee3b7

Browse files
Bump Vitepress and switch to Bun
Signed-off-by: Anatoli Nicolae <an@thundersquared.com>
1 parent 270f173 commit 78ee3b7

File tree

6 files changed

+29
-846
lines changed

6 files changed

+29
-846
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4.1.1
9+
- uses: actions/checkout@v4.1.7
1010
- uses: actions/setup-node@v4.0.2
1111
with:
12-
node-version: "18.x"
12+
node-version: "20"
1313
registry-url: "https://registry.npmjs.org"
1414
scope: "@apiscp"
15-
- run: yarn install
16-
- run: yarn publish --access public
15+
- uses: oven-sh/setup-bun@v1.2.2
16+
- run: bun install --frozen-lockfile
17+
- run: bun run publish --access public
1718
env:
1819
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4.1.1
9+
- uses: actions/checkout@v4.1.7
1010
- uses: actions/setup-node@v4.0.2
1111
with:
12-
node-version: "18.x"
12+
node-version: "20"
1313
registry-url: "https://registry.npmjs.org"
1414
scope: "@apiscp"
15-
- run: yarn install
16-
- run: yarn demo-build
15+
- uses: oven-sh/setup-bun@v1.2.2
16+
- run: bun install --frozen-lockfile
17+
- run: bun run demo-build

bun.lockb

52.4 KB
Binary file not shown.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apiscp/vitepress-theme",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "The VitePress theme for notes.apiscp.com.",
55
"main": "src/index.ts",
66
"exports": {
@@ -42,24 +42,24 @@
4242
"serve": "npm run demo-build && vitepress serve demo"
4343
},
4444
"dependencies": {
45-
"@fortawesome/fontawesome-svg-core": "^6.5.1",
46-
"@fortawesome/free-regular-svg-icons": "^6.5.1",
47-
"@fortawesome/free-solid-svg-icons": "^6.5.1",
48-
"@fortawesome/vue-fontawesome": "^3.0.6",
49-
"@vueuse/core": "^10.7.2"
45+
"@fortawesome/fontawesome-svg-core": "^6.5.2",
46+
"@fortawesome/free-regular-svg-icons": "^6.5.2",
47+
"@fortawesome/free-solid-svg-icons": "^6.5.2",
48+
"@fortawesome/vue-fontawesome": "^3.0.8",
49+
"@vueuse/core": "^10.11.0"
5050
},
5151
"devDependencies": {
52-
"@mdit-vue/types": "^2.0.0",
52+
"@mdit-vue/types": "^2.1.0",
5353
"@types/body-scroll-lock": "^3.1.2",
5454
"@types/estree": "^1.0.5",
55-
"@types/node": "^20.11.17",
56-
"prettier": "^3.2.5",
57-
"typescript": "^5.3.3",
58-
"vitepress": "1.0.0-rc.42",
59-
"vue": "^3.4.19"
55+
"@types/node": "^20.14.7",
56+
"prettier": "^3.3.2",
57+
"typescript": "^5.5.2",
58+
"vitepress": "^1.2.3",
59+
"vue": "^3.4.29"
6060
},
6161
"peerDependencies": {
62-
"vitepress": "^1.0.0-rc.42"
62+
"vitepress": "^1.2.3"
6363
},
6464
"pnpm": {
6565
"peerDependencyRules": {

src/styles/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ html.dark {
8787
content: " ↗";
8888
}
8989

90+
.vp-doc kbd {
91+
border: 1px solid #ddd;
92+
padding: 2px 6px;
93+
border-radius: 4px;
94+
}
95+
9096
html,
9197
body {
9298
shape-rendering: crispedges;

0 commit comments

Comments
 (0)