Skip to content

Commit 75d9bf0

Browse files
authored
Feature/refatoramento monorepo (#11)
2 parents a335f1d + 1a4bf2a commit 75d9bf0

50 files changed

Lines changed: 10798 additions & 2395 deletions

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ jobs:
2020
- name: Instalar dependencias (raiz)
2121
run: npm ci
2222

23-
- name: Testes backend
24-
run: npm test
23+
- name: Workaround npm optional deps (rollup linux)
24+
run: npm i --no-save --workspace=frontend @rollup/rollup-linux-x64-gnu
2525

26-
- name: Instalar dependencias (frontend)
27-
run: npm ci --prefix frontend
26+
- name: Coverage frontend
27+
run: npm run test:coverage --workspace=frontend
28+
29+
- name: Coverage backend
30+
run: npm run test:coverage --workspace=backend
2831

2932
- name: Lint frontend
30-
run: npm run lint --prefix frontend
33+
run: npm run lint --workspace=frontend
3134

3235
- name: Build frontend
33-
run: npm run build --prefix frontend
36+
run: npm run build --workspace=frontend

.gitignore

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
1-
/node_modules/
1+
node_modules/
22
.DS_Store
33
.env
4+
.env.*
5+
!.env.example
46
.vscode/
5-
/output/
7+
dist/
8+
build/
9+
output/
10+
backend/output/
611
npm-debug.log
712
yarn-error.log
8-
yarn-debug.log
13+
yarn-debug.log
14+
15+
# Test coverage reports
16+
coverage/
17+
frontend/coverage/
18+
backend/coverage/
19+
*.lcov
20+
.nyc_output/

0 commit comments

Comments
 (0)