From b3f2522f16c0e5595b71c1c907c8f83e17e3545a Mon Sep 17 00:00:00 2001 From: David Joy Date: Wed, 2 Oct 2019 13:16:01 -0400 Subject: [PATCH 1/2] feat: handleAllTrackEvents is no longer used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: handleAllTrackEvents is no longer part of the Footer props API. The footer uses frontend-analytics’s sendTrackEvent directly. Also updating other dependencies to keep them up to date. This part should probably be a separate PR, technically. --- .gitignore | 1 + .travis.yml | 17 +- README.rst | 2 - babel.config.js | 38 +- example/index.jsx | 3 - package-lock.json | 2665 +++++++---------- package.json | 77 +- src/components/Footer.jsx | 4 +- src/components/Footer.test.jsx | 22 +- .../__snapshots__/Footer.test.jsx.snap | 32 +- .../__snapshots__/SiteFooter.test.jsx.snap | 1166 -------- 11 files changed, 1146 insertions(+), 2881 deletions(-) delete mode 100644 src/components/__snapshots__/SiteFooter.test.jsx.snap diff --git a/.gitignore b/.gitignore index 32a85901..5c4411ee 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ temp src/i18n/transifex_input.json temp/babel-plugin-react-intl +/.vscode diff --git a/.travis.yml b/.travis.yml index b4f28f7e..1ee3b71a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,18 @@ language: node_js node_js: 12 +before_install: +- npm install -g npm@latest install: - - npm install +- npm install script: - - npm run lint - - npm run i18n_extract - - npm run test - - npm run build +- make validate-no-uncommitted-package-lock-changes +- npm run lint +- npm run i18n_extract +- npm run test +- npm run build after_success: - - npx semantic-release - - codecov +- npx semantic-release +- codecov env: global: # GH_TOKEN diff --git a/README.rst b/README.rst index 6385d8bb..36e74e93 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,6 @@ Component Usage:: ...