From ecf58a8934785700770b33300b1756b742643ca8 Mon Sep 17 00:00:00 2001 From: AniaMakes Date: Mon, 20 Sep 2021 11:48:38 +0100 Subject: [PATCH] branch renaming chores --- .circleci/config.yml | 10 +++++----- .github/settings.yml | 2 +- README.md | 4 ++-- package.json | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ae93840..7fd5737 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,13 +36,13 @@ references: restore_cache: <<: *npm_cache_keys - filters_only_master: &filters_only_master + filters_only_main: &filters_only_main branches: - only: master + only: main - filters_ignore_master: &filters_ignore_master + filters_ignore_main: &filters_ignore_main branches: - ignore: master + ignore: main filters_ignore_tags: &filters_ignore_tags tags: @@ -123,7 +123,7 @@ workflows: - schedule: cron: "0 0 * * *" filters: - <<: *filters_only_master + <<: *filters_only_main jobs: - build: context: next-nightly-build diff --git a/.github/settings.yml b/.github/settings.yml index 590c4c7..207df86 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -1,7 +1,7 @@ _extends: github-apps-config-next branches: - - name: master + - name: main protection: required_pull_request_reviews: null required_status_checks: diff --git a/README.md b/README.md index 686401e..f57d909 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,10 @@ The Content API has the property `canBeSyndicated` which is a string containing ## This is just some javascript - is there other code elsewhere? Yep - These links will probably be wrong pretty soon but will hopefully point you in the right direction: -**n-teaser** - https://github.com/Financial-Times/n-teaser/blob/master/src/presenters/teaser-presenter.js#L77 +**n-teaser** - https://github.com/Financial-Times/n-teaser/blob/main/src/presenters/teaser-presenter.js#L77 Here we add an additional modifier if syndication is available on this article -**next-article** - https://github.com/Financial-Times/next-article/blob/master/views/content.html#L20 +**next-article** - https://github.com/Financial-Times/next-article/blob/main/views/content.html#L20 Here a data attribute is added containing the syndication status of the article. **generic** - add the following data attributes to your markup: diff --git a/package.json b/package.json index 2c81589..00eec75 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "Implementation for the syndication indicator, for users who subscribe to the new FT syndication platform", "devDependencies": { "@babel/runtime": "^7.10.2", - "@financial-times/n-gage": "^5.1.2", + "@financial-times/n-gage": "^8.3.2", "@financial-times/n-heroku-tools": "^8.0.0", "@sucrase/jest-plugin": "^2.0.0", "autoprefixer": "^6.3.6", @@ -59,4 +59,4 @@ "pre-push": "make verify -j3" } } -} \ No newline at end of file +}