Skip to content

Commit 67a1da2

Browse files
feat: rewrite (#50)
Co-authored-by: HighOrderLogic <HighOrderLogic@users.noreply.github.com>
1 parent 182f919 commit 67a1da2

37 files changed

+6348
-6397
lines changed

renovate.json renamed to .github/renovate.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
"config:base",
55
"schedule:weekly",
66
"group:allNonMajor",
7-
":maintainLockFilesWeekly",
87
":rebaseStalePrs",
98
":semanticCommits"
109
],
1110
"labels": ["dependencies"],
1211
"packageRules": [
1312
{
14-
"matchUpdateTypes": ["patch", "lockFileMaintenance"],
13+
"matchUpdateTypes": ["patch"],
1514
"automerge": true
1615
}
1716
]

.github/workflows/ci.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,19 @@ on:
88

99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
11+
cancel-in-progress: true
1112

1213
jobs:
13-
linting:
14-
name: Linting
14+
should-deploy:
15+
name: Check if should deploy page
16+
runs-on: ubuntu-lastest
17+
if: github.event_name == 'push' || contains(github.ref, '/heads/master')
18+
steps:
19+
- name: Write output
20+
run: echo "deploy=true" >> "$GITHUB_OUTPUT"
21+
22+
lint:
23+
name: Lint
1524
runs-on: ubuntu-latest
1625
steps:
1726
- name: Checkout
@@ -29,7 +38,7 @@ jobs:
2938
typecheck:
3039
name: Typecheck
3140
runs-on: ubuntu-latest
32-
needs: linting
41+
needs: lint
3342
steps:
3443
- name: Checkout
3544
uses: actions/checkout@v4
@@ -42,13 +51,12 @@ jobs:
4251
run: yarn --immutable
4352
- name: Run typechecking
4453
continue-on-error: true
45-
run: yarn typecheck
54+
run: yarn run typecheck
4655

47-
building:
48-
name: Building
56+
build:
57+
name: Build
4958
runs-on: ubuntu-latest
50-
needs: linting
51-
if: github.event_name != 'push' || !contains(github.ref, '/heads/master')
59+
needs: lint
5260
steps:
5361
- name: Checkout
5462
uses: actions/checkout@v4
@@ -66,3 +74,18 @@ jobs:
6674
run: yarn --immutable
6775
- name: Building
6876
run: yarn run generate
77+
- name: Upload artifact
78+
if: ${{ steps.should-deploy.outputs.deploy }}
79+
uses: actions/upload-pages-artifact@v3
80+
with:
81+
path: .output/public
82+
83+
deploy-pages:
84+
name: Deploy pages
85+
runs-on: ubuntu-lastest
86+
needs:
87+
- build
88+
- should-deploy
89+
steps:
90+
- name: Deploy artifact to GitHub Pages
91+
uses: actions/deploy-pages@v4

.github/workflows/deploy-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.yarn/releases/yarn-4.3.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarn/releases/yarn-4.4.1.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ enableGlobalCache: true
22

33
nodeLinker: node-modules
44

5-
yarnPath: .yarn/releases/yarn-4.3.1.cjs
5+
yarnPath: .yarn/releases/yarn-4.4.1.cjs

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-present HigherOrderLogic
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

app.vue

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/app.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<nuxt-layout>
3+
<nuxt-page />
4+
</nuxt-layout>
5+
</template>

app/assets/css/index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
html {
2+
&.dark-mode {
3+
--at-apply: "bg-#050505"
4+
}
5+
}

0 commit comments

Comments
 (0)