Skip to content

Commit

Permalink
Main Layout, tests and Prettier.
Browse files Browse the repository at this point in the history
- set up Main Layout
- set up unit tests
- add Prettier
- add primitive UI components: Button, Switch and Logo
  • Loading branch information
tomaszantas committed Apr 20, 2022
1 parent dc687b8 commit 602e6dd
Show file tree
Hide file tree
Showing 89 changed files with 35,273 additions and 11,926 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ commands:
- run:
name: npm -v
command: npm -v
- run:
name: Remove package-lock.json
command: rm package-lock.json
- run:
name: npm install
command: cd applications/launchpad_v2 && npm install
Expand Down
1 change: 1 addition & 0 deletions applications/launchpad_v2/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
'indent': [
'error',
2,
{ 'SwitchCase': 1 }
],
'linebreak-style': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions applications/launchpad_v2/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
.pnp.js

# testing
/coverage
.jest
/coverage/
.jest/

# production
/build
Expand Down
12 changes: 12 additions & 0 deletions applications/launchpad_v2/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": false,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"bracketSameLine": false,
"useTabs": false,
"arrowParens": "avoid",
"jsxSingleQuote": true,
"trailingComma": "all"
}
3 changes: 3 additions & 0 deletions applications/launchpad_v2/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ module.exports = {
collectCoverage: true,
reporters: ['jest-junit'],
coverageDirectory: 'temp/reports/tests',
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
]
}
Loading

0 comments on commit 602e6dd

Please sign in to comment.