Skip to content

Commit caf1498

Browse files
Solo App Helper (#1)
1 parent 76d3df0 commit caf1498

166 files changed

Lines changed: 22286 additions & 0 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.

.browserslistrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
>= 0.5%
2+
last 2 major versions
3+
not dead
4+
Chrome >= 90
5+
Firefox >= 91
6+
Firefox ESR
7+
iOS >= 15
8+
Safari >= 15
9+
not Explorer <= 11

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2+
charset = utf-8
3+
indent_size = 2
4+
indent_style = space
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>brdgm/renovate-config"
5+
]
6+
}

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: brdgm/github-action-build@v1
16+
with:
17+
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
18+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: Production
14+
url: "https://brdgm.me/${{ steps.deploy.outputs.app-deploy-name }}"
15+
16+
steps:
17+
- uses: brdgm/github-action-deploy@v1
18+
id: deploy
19+
with:
20+
gh-site-deploy-pat: ${{ secrets.GH_SITE_DEPLOY_PAT }}
21+
gh-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
22+
gh-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
23+
gh-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
24+
stats-forms-url: ${{ vars.VITE_STATS_FORM_URL }}
25+
stats-field-mapping: ${{ vars.VITE_STATS_FIELD_MAPPING }}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
update_release_draft:
13+
permissions:
14+
contents: write
15+
pull-requests: read
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: brdgm/github-action-release-drafter@v1
19+
with:
20+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release and Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: Production
14+
url: "https://brdgm.me/${{ steps.release.outputs.app-deploy-name }}"
15+
16+
permissions:
17+
contents: write
18+
pull-requests: read
19+
20+
steps:
21+
- uses: brdgm/github-action-release@v2
22+
id: release
23+
with:
24+
github-token: ${{ secrets.GITHUB_TOKEN }}
25+
gh-site-deploy-pat: ${{ secrets.GH_SITE_DEPLOY_PAT }}
26+
gh-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
27+
gh-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
28+
gh-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
29+
stats-forms-url: ${{ vars.VITE_STATS_FORM_URL }}
30+
stats-field-mapping: ${{ vars.VITE_STATS_FIELD_MAPPING }}

.github/workflows/test-e2e.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Test E2E
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
container:
14+
image: mcr.microsoft.com/playwright:v1.58.2-noble
15+
options: --user 1001
16+
17+
steps:
18+
- uses: brdgm/github-action-test-e2e@v1

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"i18n-ally.localesPaths": [
3+
"src/locales"
4+
]
5+
}

babel.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
],
5+
env: {
6+
test: {
7+
plugins: [
8+
['istanbul', {
9+
useInlineSourceMaps: false
10+
}]
11+
]
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)