From d4259ef1f6923f1b739ad2d07199027ab87b42d5 Mon Sep 17 00:00:00 2001 From: David Joy Date: Wed, 2 Oct 2019 14:59:12 -0400 Subject: [PATCH] feat: handleAllTrackEvents is no longer used (#48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: use frontend-analytics directly 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. * fix: remove unused dependency of frontend-logging * fix: a little PR cleanup * fix: putting frontend logging back It’s needed by frontend-i18n and fails if it’s not there for tests. * fix: pinning npm at 6 --- .travis.yml | 17 +- README.rst | 2 - babel.config.js | 38 +- example/index.jsx | 3 - package-lock.json | 2696 +++++++++++++------------------- package.json | 76 +- src/components/Footer.jsx | 4 +- src/components/Footer.test.jsx | 10 +- stats.json | 1275 --------------- 9 files changed, 1171 insertions(+), 2950 deletions(-) delete mode 100644 stats.json diff --git a/.travis.yml b/.travis.yml index d2b3bd62..3d9516b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,18 @@ language: node_js node_js: 12 +before_install: +- npm install -g npm@6 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 - - npm run coveralls +- npx semantic-release +- codecov env: global: - secure: dxQadqP6tsoJzHcqs/Hs5AjE42z45q8ZeWKP5HcjbXoJURB4gc1uIxLky0FA6ZpulaTgRVTLcWQbx9yOODc9PQuFnFEDWlCg5EP8tONzeu7BVlJvV5eakgGUhl9w2pekBKsTGhK5dDg2y2D8bGfIL55UX81uiWeytp8s/y8QNs/FNXx9ScJnfhnC+2RfW52fB7iW12F1VYdQfVe43o5PsHze+YhB3FU/ztGe3iMaQiq9QplZWpvqQMpI7pTjyUAX8ITiiPS6UvLFObgpXpfjZdgd+yveFoi3z8o8F0NkmzBphFeSYFjFZE0qJ8bnGNIZldanMeuUgHmDeTwVmKQFhH2LqqnfcdGgW6UsKcHkSN1G51zzad2dEwAHrgxj1NkMp3JfEed2C7Kvntl6KRjVDmYZqHJvt+e+AHNbpjzblOW8tYMIrdz0TeJdk4D9pP3B3tRCtP6fvQ3GLzAMnaCrSsN6hZ9YVxWku8sg8WNEDHl14sZsdgk312MlHIdiUw97FHGrqx/NCix4IkUlCBDbKYbKzbZp20FfzZcwNRNH74+k6xpOnMGSfq8gByEhm9y02MBL76HiAI2VGct2La1ExaUfoikYGoNaZpFcZyOZKo6PYTYHpiUJmqrEnDyVQEOOXUaVsxWXwnYq/mU4nOEPKCRbNpPoksZdNxf6jlmMi8s= diff --git a/README.rst b/README.rst index 80d4ab24..c2c30a85 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,6 @@ Component Usage:: ...