Skip to content

Commit 7cbb7b6

Browse files
authored
Make it work with babel-node (#323)
* Remove required dependancy on react-dom * update jobs * fix cache * increment version * awoind using window * migrate to yarn * awoid this rewriting
1 parent 39228f6 commit 7cbb7b6

File tree

8 files changed

+9102
-15049
lines changed

8 files changed

+9102
-15049
lines changed

.circleci/config.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
version: 2.1
22

33
cache_keys:
4-
- &deps_cache_key 'v1-deps-{{ checksum "package-lock-original.json" }}'
4+
- &deps_cache_key 'v2-deps-node-14.16-{{ checksum "yarn.lock" }}'
55

66
commands:
7-
npm_install:
7+
install:
88
steps:
9-
- run: cp package-lock.json package-lock-original.json
109
- restore_cache: { key: *deps_cache_key }
11-
- run: npm install
10+
- run: yarn install
1211
- save_cache:
1312
key: *deps_cache_key
1413
paths: [ node_modules ]
1514

1615
jobs:
1716
test:
1817
docker:
19-
- image: cimg/node:12.19
18+
- image: cimg/node:14.16
2019
steps:
2120
- checkout
22-
- npm_install
23-
- run: npm test
24-
- run: npm run lint
25-
- run: npm run build
21+
- install
22+
- run: yarn test
23+
- run: yarn lint
24+
- run: yarn build
2625

2726
deploy:
2827
docker:
29-
- image: cimg/node:12.19
28+
- image: cimg/node:14.16
3029
steps:
3130
- checkout
32-
- npm_install
33-
- run: npm run build
31+
- install
32+
- run: yarn build
3433
- run:
3534
name: publish
3635
command: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" && npm publish

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 12.9.1
1+
nodejs 14.16.1

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)