Skip to content

Commit 2d742d4

Browse files
committed
Rewrite site with Vue 3 and Bun
1 parent 15f893d commit 2d742d4

768 files changed

Lines changed: 571190 additions & 31 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: oven-sh/setup-bun@v2
18+
with:
19+
bun-version: latest
20+
- name: Install dependencies
21+
run: bun install
22+
- name: Build
23+
run: bun run build
24+
- name: Upload artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: ./dist
28+
29+
deploy:
30+
needs: build
31+
runs-on: ubuntu-latest
32+
environment:
33+
name: github-pages
34+
url: ${{ steps.deployment.outputs.page_url }}
35+
steps:
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v4

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files.exclude": {
3+
"**/*.rpyc": true,
4+
"**/*.rpa": true,
5+
"**/*.rpymc": true,
6+
"**/cache/": true
7+
}
8+
}

.vscode/tasks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "bun install",
6+
"type": "shell",
7+
"command": "bun install",
8+
"options": {
9+
"cwd": "${workspaceFolder}"
10+
},
11+
"problemMatcher": []
12+
},
13+
{
14+
"label": "bun build",
15+
"type": "shell",
16+
"command": "bun run build",
17+
"options": {
18+
"cwd": "${workspaceFolder}"
19+
},
20+
"problemMatcher": []
21+
},
22+
{
23+
"label": "bun install",
24+
"type": "shell",
25+
"command": "bun install",
26+
"args": [],
27+
"isBackground": false,
28+
"problemMatcher": [],
29+
"group": "build"
30+
},
31+
{
32+
"label": "bun build",
33+
"type": "shell",
34+
"command": "bun run build",
35+
"args": [],
36+
"isBackground": false,
37+
"problemMatcher": [],
38+
"group": "build"
39+
}
40+
]
41+
}

bun.lock

Lines changed: 176 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/HomeView-5BzRNUR9.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/PoemView-BtvNUFff.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index-CLp_YBUp.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index-DlJzeh55.js

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/poems-BSct1NBw.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="ru">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="description" content="Сборник стихов Валдемара Громова" />
7+
<title>PoemBook</title>
8+
<script type="module" crossorigin src="/poembook/assets/index-DlJzeh55.js"></script>
9+
<link rel="stylesheet" crossorigin href="/poembook/assets/index-CLp_YBUp.css">
10+
</head>
11+
<body>
12+
<div id="app"></div>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)