Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrading package dependencies
- Loading branch information
1 parent
b5ef96e
commit ae2806c
Showing
33 changed files
with
6,527 additions
and
8,816 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
version: 2 | ||
|
||
docker_defaults: &docker_defaults | ||
docker: | ||
- image: circleci/node:12.16.2-browsers | ||
working_directory: ~/project/repo | ||
|
||
attach_workspace: &attach_workspace | ||
attach_workspace: | ||
at: ~/project | ||
|
||
install_steps: &install_steps | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
name: Restore node_modules cache | ||
keys: | ||
- dependency-cache-{{ .Branch }}-{{ checksum "package.json" }} | ||
- dependency-cache-{{ .Branch }}- | ||
- dependency-cache- | ||
- run: | ||
name: Installing Dependencies | ||
command: | | ||
yarn install --silent --frozen-lockfile | ||
- save_cache: | ||
name: Save node_modules cache | ||
key: dependency-cache-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
paths: | ||
- node_modules/ | ||
- persist_to_workspace: | ||
root: ~/project | ||
paths: | ||
- repo | ||
|
||
workflows: | ||
version: 2 | ||
build_pipeline: | ||
jobs: | ||
- build | ||
- unit_test: | ||
requires: | ||
- build | ||
- bundle_size: | ||
requires: | ||
- build | ||
# - end_to_end: | ||
# requires: | ||
# - build | ||
jobs: | ||
build: | ||
<<: *docker_defaults | ||
<<: *install_steps | ||
unit_test: | ||
<<: *docker_defaults | ||
steps: | ||
- *attach_workspace | ||
- run: | ||
name: Running unit tests | ||
command: | | ||
sudo yarn test:ci | ||
bundle_size: | ||
<<: *docker_defaults | ||
steps: | ||
- *attach_workspace | ||
- run: | ||
name: Checking bundle size | ||
command: | | ||
sudo yarn build | ||
sudo yarn bundlesize | ||
# end_to_end: | ||
# <<: *docker_defaults | ||
# steps: | ||
# - *attach_workspace | ||
# - run: | ||
# name: Running E2E tests | ||
# command: | | ||
# sudo yarn e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.github | ||
.jest | ||
coverage | ||
lib | ||
node_modules | ||
flow-typed | ||
.yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier/@typescript-eslint', | ||
'plugin:prettier/recommended', | ||
'plugin:compat/recommended', | ||
], | ||
settings: { | ||
// List of polyfills for `eslint-plugin-compat` check | ||
// To know how to add in case you have a new one to add, please check | ||
// https://github.com/amilajack/eslint-plugin-compat/wiki/Adding-polyfills-(v2) | ||
polyfills: [], | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
tsconfigRootDir: __dirname, | ||
project: './tsconfig.eslint.json', | ||
}, | ||
rules: { | ||
'@typescript-eslint/explicit-function-return-type': 0, | ||
'@typescript-eslint/no-explicit-any': 0, | ||
'@typescript-eslint/no-non-null-assertion': 1, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
/.*/ | ||
/demo/ | ||
/test/ | ||
/.* | ||
/bower.json | ||
/karma.conf.js | ||
/src | ||
/coverage | ||
/.nyc_output | ||
.* | ||
bower.json | ||
karma.conf.js | ||
src | ||
coverage | ||
.nyc_output | ||
.jest | ||
**/__tests__/ | ||
out-tsc | ||
images | ||
scripts | ||
jest*.js | ||
tsconfig.*.json | ||
tsconfig.json | ||
.coveralls.yml | ||
.banner | ||
package | ||
*.tgz | ||
|
||
# ignore OS generated files | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v10.9.0 | ||
v12.16.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"semi": true, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": false, | ||
"arrowParens": "avoid" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.