Skip to content

Commit

Permalink
Rhys/bp2 (#273)
Browse files Browse the repository at this point in the history
* more polyfills for the browser

* node-fetch 2

* change package.json to fix cache

* commit package-lock

* rename caches

* tidyup

* update prepublish -> prepublishOly

* avoid regenerating package-lock.json
  • Loading branch information
wheresrhys authored Mar 12, 2018
1 parent 1f94626 commit c8a9ad9
Show file tree
Hide file tree
Showing 6 changed files with 9,811 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
<<: *env
steps:
- checkout
- run: npm install
- run: npm install --no-package-lock
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules

Expand All @@ -29,23 +29,23 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: make lint

nodefetch2:
<<: *env
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: make coverage-report

nodefetch1:
<<: *env
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: npm install node-fetch@1
- run: make test-unit

Expand All @@ -54,15 +54,15 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: make test-chrome

firefox:
<<: *env-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: npm install karma-firefox-launcher
- run: make test-firefox

Expand All @@ -71,7 +71,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: npm-cache-{{ checksum "package-lock.json" }}
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ${HOME}/.npmrc'
- run: npm version --no-git-tag-version ${CIRCLE_TAG}
- run: npm publish --access public
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/es5/
package-lock.json
/node_modules/
npm-debug.log
/dist/
Expand Down
5 changes: 2 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/test/
.travis.yml
/.circleci/
.eslintrc
ISSUE_TEMPLATE
karma.conf.js
LICENSE
Makefile
PROTIPS.md
README.md
V4_V5_UPGRADE_NOTES.md
/docs/
Loading

0 comments on commit c8a9ad9

Please sign in to comment.