Skip to content

Commit

Permalink
Agent package implementation (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Le Cam authored Aug 12, 2019
1 parent 6a8bb86 commit 990cd38
Show file tree
Hide file tree
Showing 30 changed files with 2,889 additions and 1,607 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"plugins": ["@babel/plugin-transform-runtime"],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"presets": ["@babel/preset-typescript"],
"env": {
"browser-cjs": {
Expand Down
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.1
version: 2

jobs:
build:
Expand All @@ -10,6 +10,7 @@ jobs:
PASSWORD: password123
command:
- >
--bzznetworkid=255
--nosync
--maxpeers=0
--verbosity=4
Expand Down Expand Up @@ -37,8 +38,11 @@ jobs:
- node_modules
key: deps-{{ checksum "yarn.lock" }}
- run:
name: Project tests
command: yarn test:ci
name: Build packages
command: yarn build
- run:
name: Tests
command: yarn lint && yarn test:ci
environment:
JEST_JUNIT_OUTPUT: '/tmp/test-reports/jest/results.xml'
- store_test_results:
Expand Down
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
module.exports = {
extends: ['mainframe', 'mainframe/jest', 'mainframe/typescript'],
rules: {
'@typescript-eslint/camelcase': {
ignoreDestructuring: true,
},
'@typescript-eslint/explicit-function-return-type': {
allowExpressions: true,
},
'@typescript-eslint/no-unused-vars': {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
'import/default': false,
},
}
Loading

0 comments on commit 990cd38

Please sign in to comment.