Skip to content

Commit 31f758b

Browse files
committed
new app
1 parent 14c955d commit 31f758b

File tree

130 files changed

+9636
-12464
lines changed

Some content is hidden

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

130 files changed

+9636
-12464
lines changed

.github/FUNDING.yml

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

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/feature_request.md

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

.github/workflows/deploy.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch's name
64
push:
7-
branches: [ main ]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
5+
branches: [main]
96
workflow_dispatch:
107

11-
# Allow this job to clone the repo and create a page deployment
128
permissions:
139
contents: read
1410
pages: write
@@ -20,20 +16,18 @@ jobs:
2016
steps:
2117
- name: Checkout your repository using git
2218
uses: actions/checkout@v4
23-
- name: Install, build, and upload your site
24-
uses: withastro/action@v2
25-
# with:
26-
# path: . # The root location of your Astro project inside the repository. (optional)
27-
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28-
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
19+
20+
- name: Install, build, and upload your site output
21+
uses: withastro/action@v1
2922

3023
deploy:
3124
needs: build
3225
runs-on: ubuntu-latest
3326
environment:
3427
name: github-pages
3528
url: ${{ steps.deployment.outputs.page_url }}
29+
3630
steps:
3731
- name: Deploy to GitHub Pages
3832
id: deployment
39-
uses: actions/deploy-pages@v4
33+
uses: actions/deploy-pages@v2

.github/workflows/test.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build Astro site
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
cache-install-and-build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Install Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
20+
- uses: pnpm/action-setup@v2
21+
name: Install pnpm
22+
id: pnpm-install
23+
with:
24+
version: 8
25+
run_install: false
26+
27+
- name: Get pnpm store directory
28+
id: pnpm-cache
29+
shell: bash
30+
run: |
31+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
32+
- uses: actions/cache@v3
33+
name: Setup pnpm cache
34+
with:
35+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
36+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
37+
restore-keys: |
38+
${{ runner.os }}-pnpm-store-
39+
- name: Install dependencies
40+
run: |
41+
pnpm install
42+
- name: Build site
43+
run: |
44+
pnpm build

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ pnpm-debug.log*
1919

2020
# macOS-specific files
2121
.DS_Store
22-
23-
# jetbrains setting folder
24-
.idea/

.gitpod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
vscode:
2+
extensions:
3+
- astro-build.astro-vscode
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: pnpm install && pnpm run build
9+
command: pnpm run start

.prettierignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# build output
2+
dist/
3+
.output/
4+
5+
# dependencies
6+
node_modules/
7+
8+
# logs
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
pnpm-debug.log*
13+
14+
# Ignore files for PNPM, NPM and YARN
15+
pnpm-lock.yaml
16+
package-lock.json
17+
yarn.lock
18+
19+
# environment variables
20+
.env
21+
.env.production
22+
23+
# macOS-specific files
24+
.DS_Store

.prettierrc.mjs

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

.stylelintrc.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"extends": "stylelint-config-recommended-scss",
3+
"rules": {
4+
"color-named": "never",
5+
"font-family-name-quotes": "always-where-required",
6+
"font-weight-notation": "named-where-possible",
7+
"function-url-no-scheme-relative": true,
8+
"function-url-quotes": "always",
9+
"value-keyword-case": "lower",
10+
"unit-disallowed-list": [],
11+
"no-descending-specificity": true,
12+
"no-duplicate-selectors": true,
13+
"font-family-no-missing-generic-family-keyword": null,
14+
"property-no-unknown": [
15+
true,
16+
{
17+
"ignoreProperties": ["/^lost-/"]
18+
}
19+
],
20+
"selector-pseudo-class-no-unknown": [
21+
true,
22+
{ "ignorePseudoClasses": ["global"] }
23+
]
24+
},
25+
"ignoreFiles": ["node_modules/*"],
26+
"defaultSeverity": "error",
27+
"customSyntax": "postcss-html"
28+
}

0 commit comments

Comments
 (0)