Skip to content

Commit cbf8555

Browse files
committed
fea: initialize podcodar template
0 parents  commit cbf8555

Some content is hidden

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

92 files changed

+3236
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Set default charset
12+
[*.{tsx,ts,jsx,js}]
13+
charset = utf-8
14+
15+
# Set tab width
16+
indent_style = space
17+
indent_size = 2

.env.gpg

511 Bytes
Binary file not shown.

.envrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /bin/bash
2+
3+
# for each valid key under .env, export it
4+
dotenv=.env
5+
export $(cat $dotenv | grep -v '^#' | xargs)
6+
7+
alias npm="bun"
8+
alias w="bunx wrangler"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
projects: 'webapp'
8+
---
9+
10+
## 🐛 Descreva o bug
11+
12+
A clear and concise description of what the bug is.
13+
14+
## Para reproduzir
15+
16+
Etapas para reproduzir o comportamento:
17+
18+
1. Go to '...'
19+
2. Click on '....'
20+
3. Scroll down to '....'
21+
4. See error
22+
23+
## Comportamento esperado
24+
25+
A clear and concise description of what you expected to happen.
26+
27+
## Screenshot
28+
29+
If applicable, add screenshots to help explain your problem.
30+
31+
<!-- if error in (desktop, webapp) -->
32+
33+
### Desktop (complete as informações abaixo)
34+
35+
- OS: [e.g. iOS]
36+
- Browser [e.g. chrome, safari]
37+
- Version [e.g. 22]
38+
39+
<!-- if error in (mobile) -->
40+
41+
### Smartphone (complete as informações abaixo)
42+
43+
- Device: [e.g. iPhone6]
44+
- OS: [e.g. iOS8.1]
45+
- Browser [e.g. stock browser, safari]
46+
- Version [e.g. 22]
47+
48+
## Additional context
49+
50+
Add any other context about the problem here.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: ⚒ Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: "feature"
6+
assignees: ""
7+
projects: "webapp"
8+
---
9+
10+
## Descrição
11+
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
- [ ] add subtasks with these checkboxes
15+
- [ ] ...
16+
17+
## Links uteis
18+
19+
- [Planning](https://podcodar.notion.site/Sprint-Planing-2-203c837559494a9887af633792c095ee)
20+
- [figma template](https://www.notion.so/podcodar/Sprint-Planing-2-203c837559494a9887af633792c095ee#e4c586f975564d0cb8310489432e0c64)
21+
- [Choc UI](https://www.notion.so/podcodar/Sprint-Planing-2-203c837559494a9887af633792c095ee#3fbfcf4f78d142978b8a29b190f0f17a)
22+
- [Eng wiki > Links uteis](https://www.notion.so/podcodar/Chakra-1e4429a361a844f9a5d5db6790dd154b#e624ab829d754dc591ee3c6bfd1b1d76)
23+
24+
**Piloto**: Ada King
25+
**Co-piloto**: Alan Turing

.github/ISSUE_TEMPLATE/story.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: 🦕 Story
3+
about: Story ticket to work on a feature
4+
title: "[story] "
5+
labels: "Story"
6+
assignees: ""
7+
projects: "webapp"
8+
---
9+
10+
## Description
11+
12+
Describe the feature or the problem we are trying to solve.
13+
14+
**Owner**: @alan-turing @ada-lovelace
15+
16+
### Task Breakdown
17+
18+
- [ ] sub task 1
19+
- [ ] sub task 2
20+
- [ ] ...

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Descrição
2+
3+
This task implements ...
4+
5+
## Changes
6+
7+
- fix: item 1
8+
- fea: item 2
9+
- ref: item 3
10+
- oth: item 4
11+
12+
## Notes
13+
14+
- nota 1
15+
- nota 2
16+
17+
## Preview
18+
19+
> If necessary, add screenshots or gifs to illustrate the changes.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# ref: https://vitepress.dev/guide/deploy#github-pages
2+
name: Deploy docs to GitHub Pages
3+
4+
on:
5+
push:
6+
branches: [main]
7+
paths:
8+
- 'docs/**'
9+
- '.github/workflows/**'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: setup bun
18+
uses: oven-sh/setup-bun@v2
19+
with:
20+
bun-version: latest
21+
22+
- name: build vitepress docs (bun)
23+
env:
24+
NODE_ENV: production
25+
run: bun install --frozen-lockfile && bun docs:build
26+
27+
- name: Upload artifact
28+
uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: docs/.vitepress/dist
31+
32+
deploy:
33+
needs: build
34+
runs-on: ubuntu-latest
35+
36+
permissions:
37+
pages: write # to deploy to Pages
38+
id-token: write # to verify the deployment originates from an appropriate source
39+
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
44+
steps:
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Running quality gateway on PR
2+
on: [pull_request]
3+
4+
jobs:
5+
quality_gateway:
6+
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
7+
runs-on: ubuntu-latest
8+
environment: Development
9+
env:
10+
TURSO_AUTH_TOKEN: ${{ secrets.TURSO_AUTH_TOKEN }}
11+
TURSO_CONNECTION_URL: ${{ secrets.TURSO_CONNECTION_URL }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: setup bun
15+
uses: oven-sh/setup-bun@v2
16+
with:
17+
bun-version: latest
18+
- run: bun install --frozen-lockfile
19+
- run: bun lint
20+
- run: bunx react-router build
21+
22+
biome:
23+
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
pull-requests: write
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: mongolyy/reviewdog-action-biome@v1
30+
with:
31+
github_token: ${{ secrets.github_token }}
32+
reporter: github-pr-review

.github/workflows/tag-release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Tag release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- package.json
9+
10+
jobs:
11+
gh-release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Create release with tag
17+
uses: marco-souza/tag-release@1.0.1
18+
with:
19+
version-file: package.json
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+

0 commit comments

Comments
 (0)