From 534c148ba459a398e30f63b2d582c689666463d1 Mon Sep 17 00:00:00 2001 From: Kathy Lee Date: Wed, 27 Jul 2022 16:05:46 +0200 Subject: [PATCH 1/3] Remove IE support and replace travis CI config file by circle CI one --- .circleci/config.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 23 ----------------------- CHANGELOG.md | 13 +++++++++++++ index.js | 1 - package.json | 2 +- 5 files changed, 58 insertions(+), 25 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c3d2af5 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,44 @@ +# version: 2.1 # use CircleCI 2.1 +# +# Check https://circleci.com/docs/language-javascript/ for more details +# +version: 2.1 + +workflows: + build: + jobs: + - build: + context: web-core + filters: + branches: + only: master + + +jobs: + build: + docker: + # specify the version you desire here + - image: cimg/node:16.15 # For latest available images check – https://circleci.com/docs/2.0/docker-image-tags.json + + working_directory: ~/repo + + steps: # a collection of executable commands + - checkout # special step to check out source code to working directory + - restore_cache: + name: Restore Yarn Package Cache + keys: + - yarn-packages-{{ checksum "yarn.lock" }} + - run: + name: Install Dependencies + command: yarn install --frozen-lockfile + - save_cache: + name: Save Yarn Package Cache + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn + - run: # Lint JS files + name: Run Lint Task on files + command: yarn lint + - run: # run PR checks + name: PR Checks (Dangerfile) + command: yarn danger ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 56501a4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: node_js - -node_js: - - "10" - - "12" - -cache: yarn - -sudo: false - -notifications: - email: false - -git: - depth: 1 - -branches: - only: - - master - -script: - - yarn lint - - yarn danger ci diff --git a/CHANGELOG.md b/CHANGELOG.md index e56fcf8..47ab7ff 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +v1.3.0 +------------------------------ +*July 27 2022* + +### Added +- CircleCI config file. + +### Changed +- Remove IE 11 from the supported browsers list. + +### Removed +- TravisCI config file. + v1.2.0 ------------------------------ *November 3 2020* diff --git a/index.js b/index.js index ab6a53d..2ce4f44 100755 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ module.exports = [ '>= 1% in GB', - 'ie 11', 'last 3 Chrome versions', 'last 2 Firefox versions', 'last 2 Edge versions', diff --git a/package.json b/package.json index eff91bd..5359c3b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@justeat/browserslist-config-fozzie", - "version": "1.2.0", + "version": "1.3.0", "description": "Just Eat's Browserslist config used in UI packages", "main": "index.js", "scripts": { From 3d78bdfe5d848e4182f6291effeb6d3abbdd7095 Mon Sep 17 00:00:00 2001 From: Kathy Lee Date: Wed, 27 Jul 2022 16:08:11 +0200 Subject: [PATCH 2/3] Remove job filter --- .circleci/config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c3d2af5..0ebf1eb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,9 +9,6 @@ workflows: jobs: - build: context: web-core - filters: - branches: - only: master jobs: From ac8b23e2f89f5120bb0622fd3c2418b36cf886f2 Mon Sep 17 00:00:00 2001 From: Kathy Lee Date: Thu, 28 Jul 2022 08:21:40 +0200 Subject: [PATCH 3/3] Bump major version instead --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47ab7ff..4252bb0 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -v1.3.0 +v2.0.0 ------------------------------ *July 27 2022* diff --git a/package.json b/package.json index 5359c3b..f9ad44a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@justeat/browserslist-config-fozzie", - "version": "1.3.0", + "version": "2.0.0", "description": "Just Eat's Browserslist config used in UI packages", "main": "index.js", "scripts": {