Skip to content

Commit ddb61cb

Browse files
authoredMay 31, 2019
chore: bump versions and add code formatting (creditkarma#55)
* chore: bump versions andd add code formatting * fix: update to use TS strict mode * fix: trailing comma of const list * test: trailing comma of const list * 1.1.5 * cleanup * fix merge
1 parent ba7e354 commit ddb61cb

20 files changed

+3086
-4087
lines changed
 

‎.circleci/config.yml

+31-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
defaults: &defaults
22
working_directory: ~/thrift-parser
33
docker:
4-
- image: circleci/node:6.10.3
4+
- image: circleci/node:8.9.4
55

66
version: 2
77
jobs:
8-
test:
8+
test_node_8:
99
<<: *defaults
1010
steps:
1111
- checkout
@@ -20,6 +20,23 @@ jobs:
2020
paths:
2121
- ./node_modules
2222

23+
test_node_10:
24+
<<: *defaults
25+
docker:
26+
- image: circleci/node:10.14.0
27+
steps:
28+
- checkout
29+
- run:
30+
name: Install NPM Dependencies
31+
command: npm install
32+
- run:
33+
name: Run Test Suite
34+
command: npm test
35+
- save_cache:
36+
key: dependency-cache-{{ checksum "package.json" }}
37+
paths:
38+
- ./node_modules
39+
2340
publish:
2441
<<: *defaults
2542
steps:
@@ -37,7 +54,7 @@ jobs:
3754
name: Publish to NPM
3855
command: npm publish --access public
3956

40-
prerelease:
57+
publish_next:
4158
<<: *defaults
4259
steps:
4360
- checkout
@@ -58,23 +75,30 @@ workflows:
5875
version: 2
5976
build_publish:
6077
jobs:
61-
- test:
78+
- test_node_8:
79+
filters:
80+
tags:
81+
only: /.*/
82+
83+
- test_node_10:
6284
filters:
6385
tags:
6486
only: /.*/
6587

6688
- publish:
6789
requires:
68-
- test
90+
- test_node_8
91+
- test_node_10
6992
filters:
7093
tags:
7194
only: /^(v){1}[0-9]+(\.[0-9]+){2}$/
7295
branches:
7396
ignore: /.*/
7497

75-
- prerelease:
98+
- publish_next:
7699
requires:
77-
- test
100+
- test_node_8
101+
- test_node_10
78102
filters:
79103
tags:
80104
only: /^(v){1}[0-9]+(\.[0-9]+){2}(-)[0-9]+$/

‎.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "all",
3+
"tabWidth": 4,
4+
"semi": false,
5+
"singleQuote": true,
6+
"arrowParens": "always"
7+
}

0 commit comments

Comments
 (0)
Please sign in to comment.