Skip to content

Commit a249d3c

Browse files
committed
2 parents c1c14d9 + 9ec4fec commit a249d3c

Some content is hidden

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

55 files changed

+5313
-4956
lines changed

.babelrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
module.exports = function (api) {
22
const plugins = [
33
'@babel/plugin-transform-flow-strip-types',
4-
'@babel/plugin-syntax-dynamic-import',
5-
'@babel/plugin-proposal-export-default-from',
6-
'@babel/plugin-proposal-export-namespace-from',
7-
'@babel/plugin-proposal-object-rest-spread',
84
'babel-plugin-flow-react-proptypes',
95
'@babel/plugin-proposal-class-properties',
106
]
@@ -13,7 +9,7 @@ module.exports = function (api) {
139
'@babel/preset-env',
1410
api.env('es5')
1511
? { forceAllTransforms: true }
16-
: { targets: { node: 'current' } },
12+
: { targets: { node: '12' } },
1713
],
1814
'@babel/preset-react',
1915
'@babel/preset-flow',

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:12.16
5+
- image: circleci/node:14
66

77
steps:
88
- checkout

.eslintrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
"eslint-config-prettier"
66
],
77
"parser": "babel-eslint",
8-
"parserOptions": {
9-
"ecmaVersion": 6,
10-
"sourceType": "module"
11-
},
128
"env": {
13-
"es6": true
9+
"es2017": true
1410
},
1511
"settings": {
1612
"react": {

.flowconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,3 @@
1414
[libs]
1515

1616
[options]
17-
module.system=node
18-
esproposal.class_static_fields=enable
19-
esproposal.class_instance_fields=enable
20-
well_formed_exports=true
21-
types_first=true

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
.eslintcache
2-
.nyc_output
3-
coverage
4-
es
1+
/coverage
2+
/.nyc_output
53
node_modules
4+
/lib
5+
/es
66
.eslintcache
7-
/*.js
8-
/*.js.flow
7+
*.js
8+
*.js.flow
9+
!/src/**/*.js
10+
!/test/**/*.js
911
!/.babelrc.js
1012
!/webpack.config.js

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
**
22
!**/*.js
33
!**/*.js.flow
4+
!**/*.d.ts
45
!/*.md
5-
!yarn.lock
66
/lib
77
/src
88
/stories
@@ -11,4 +11,3 @@
1111
/flow-typed
1212
__tests__
1313
/.*
14-
!/.flowconfig
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: d20b171cfc8709a5f47b0deca90bbe52
2-
// flow-typed version: <<STUB>>/@babel/cli_v^7.12.10/flow_v0.141.0
1+
// flow-typed signature: 4c4d15d7be5e11edd59bb9e69070cf20
2+
// flow-typed version: <<STUB>>/@babel/cli_v^7.12.10/flow_v0.143.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -14,7 +14,7 @@
1414
*/
1515

1616
declare module '@babel/cli' {
17-
declare module.exports: any
17+
declare module.exports: any;
1818
}
1919

2020
/**
@@ -23,68 +23,68 @@ declare module '@babel/cli' {
2323
* needed.
2424
*/
2525
declare module '@babel/cli/bin/babel-external-helpers' {
26-
declare module.exports: any
26+
declare module.exports: any;
2727
}
2828

2929
declare module '@babel/cli/bin/babel' {
30-
declare module.exports: any
30+
declare module.exports: any;
3131
}
3232

3333
declare module '@babel/cli/lib/babel-external-helpers' {
34-
declare module.exports: any
34+
declare module.exports: any;
3535
}
3636

3737
declare module '@babel/cli/lib/babel/dir' {
38-
declare module.exports: any
38+
declare module.exports: any;
3939
}
4040

4141
declare module '@babel/cli/lib/babel/file' {
42-
declare module.exports: any
42+
declare module.exports: any;
4343
}
4444

4545
declare module '@babel/cli/lib/babel' {
46-
declare module.exports: any
46+
declare module.exports: any;
4747
}
4848

4949
declare module '@babel/cli/lib/babel/options' {
50-
declare module.exports: any
50+
declare module.exports: any;
5151
}
5252

5353
declare module '@babel/cli/lib/babel/util' {
54-
declare module.exports: any
54+
declare module.exports: any;
5555
}
5656

5757
// Filename aliases
5858
declare module '@babel/cli/bin/babel-external-helpers.js' {
59-
declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'>
59+
declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'>;
6060
}
6161
declare module '@babel/cli/bin/babel.js' {
62-
declare module.exports: $Exports<'@babel/cli/bin/babel'>
62+
declare module.exports: $Exports<'@babel/cli/bin/babel'>;
6363
}
6464
declare module '@babel/cli/index' {
65-
declare module.exports: $Exports<'@babel/cli'>
65+
declare module.exports: $Exports<'@babel/cli'>;
6666
}
6767
declare module '@babel/cli/index.js' {
68-
declare module.exports: $Exports<'@babel/cli'>
68+
declare module.exports: $Exports<'@babel/cli'>;
6969
}
7070
declare module '@babel/cli/lib/babel-external-helpers.js' {
71-
declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'>
71+
declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'>;
7272
}
7373
declare module '@babel/cli/lib/babel/dir.js' {
74-
declare module.exports: $Exports<'@babel/cli/lib/babel/dir'>
74+
declare module.exports: $Exports<'@babel/cli/lib/babel/dir'>;
7575
}
7676
declare module '@babel/cli/lib/babel/file.js' {
77-
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>
77+
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>;
7878
}
7979
declare module '@babel/cli/lib/babel/index' {
80-
declare module.exports: $Exports<'@babel/cli/lib/babel'>
80+
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
8181
}
8282
declare module '@babel/cli/lib/babel/index.js' {
83-
declare module.exports: $Exports<'@babel/cli/lib/babel'>
83+
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
8484
}
8585
declare module '@babel/cli/lib/babel/options.js' {
86-
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>
86+
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>;
8787
}
8888
declare module '@babel/cli/lib/babel/util.js' {
89-
declare module.exports: $Exports<'@babel/cli/lib/babel/util'>
89+
declare module.exports: $Exports<'@babel/cli/lib/babel/util'>;
9090
}

0 commit comments

Comments
 (0)