Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Mega packages bumps #4420

Merged
merged 19 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 4.0.109 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 4.0.107 | [PR#4368](https://github.com/bbc/psammead/pull/4368) Remove root dev dependencies |
| 4.0.106 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 4.0.105 | [PR#4402](https://github.com/bbc/psammead/pull/4402) remove dependabot config |
Expand Down
31 changes: 17 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead",
"version": "4.0.107",
"version": "4.0.109",
"description": "Core Components Library Developed & Maintained By The Articles and Reach & Languages Team",
"main": "index.js",
"private": true,
Expand All @@ -20,12 +20,14 @@
"bumpChangelogs": "node scripts/bumpChangelogs/cli",
"bumpPackages": "node scripts/bumpPackages/cli",
"changeScanner": "node scripts/changeScanner",
"check:pkgs": "manypkg check",
"ci": "rm -rf node_modules && yarn install --frozen-lockfile",
"create:package": "yo .yeoman",
"deploy-storybook": "gh-pages -d storybook_dist",
"fix:pkgs": "manypkg fix",
"postshrinkwrap": "if test -z $CI; then \n ./scripts/forcePackageLockHttps.sh \n fi",
"preinstall": "node scripts/check-package-manager.js && sh scripts/enforceVersions.sh && [ \"$npm_config_refer\" != \"ci\" ]",
"postinstall": "yarn build",
"postinstall": "yarn check:pkgs && yarn build",
"publish": "node scripts/publish",
"storybook": "NODE_ENV=development start-storybook -p 8180 -s .storybook/static -c .storybook",
"test": "yarn test:lint && yarn test:unit",
Expand All @@ -45,8 +47,6 @@
},
"homepage": "https://github.com/bbc/psammead#readme",
"dependencies": {
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@babel/cli": "^7.11.5",
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
Expand All @@ -65,11 +65,11 @@
"@bbc/psammead-calendars": "^2.0.23",
"@bbc/psammead-caption": "^4.1.8",
"@bbc/psammead-consent-banner": "^5.4.1",
"@bbc/psammead-content-anchor": "^1.0.0-alpha.1",
"@bbc/psammead-content-anchor": "^2.0.0-alpha.16",
"@bbc/psammead-copyright": "^3.0.12",
"@bbc/psammead-detokeniser": "^1.0.2",
"@bbc/psammead-embed-error": "^3.0.16",
"@bbc/psammead-episode-list": "1.0.21",
"@bbc/psammead-episode-list": "1.0.25",
"@bbc/psammead-figure": "^2.0.5",
"@bbc/psammead-grid": "^3.0.15",
"@bbc/psammead-heading-index": "^3.0.12",
Expand All @@ -78,14 +78,14 @@
"@bbc/psammead-image-placeholder": "^3.1.0",
"@bbc/psammead-inline-link": "^3.0.10",
"@bbc/psammead-live-label": "^2.0.15",
"@bbc/psammead-locales": "^5.0.3",
"@bbc/psammead-locales": "5.0.6",
"@bbc/psammead-media-indicator": "^6.0.16",
"@bbc/psammead-media-player": "^5.0.27",
"@bbc/psammead-most-read": "^6.0.24",
"@bbc/psammead-navigation": "^9.0.8",
"@bbc/psammead-paragraph": "^4.0.12",
"@bbc/psammead-play-button": "^3.0.16",
"@bbc/psammead-radio-schedule": "5.1.26",
"@bbc/psammead-radio-schedule": "5.1.29",
"@bbc/psammead-rich-text-transforms": "^2.0.3",
"@bbc/psammead-script-link": "^3.0.14",
"@bbc/psammead-section-label": "^7.0.14",
Expand All @@ -102,8 +102,11 @@
"@bbc/psammead-visually-hidden-text": "^2.0.3",
"@emotion/babel-plugin": "^11.1.2",
"@emotion/jest": "^11.1.0",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@loadable/babel-plugin": "^5.13.0",
"@loadable/component": "^5.13.1",
"@manypkg/cli": "^0.17.0",
"@storybook/addon-a11y": "^6.1.11",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-docs": "^6.1.11",
Expand All @@ -113,7 +116,7 @@
"@storybook/theming": "^6.1.11",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.2",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/react-hooks": "^5.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
Expand All @@ -124,13 +127,13 @@
"enquirer": "^2.3.6",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react": "7.22.0",
"gh-pages": "^3.1.0",
"github-api": "^3.3.0",
"glob-loader": "^0.3.0",
Expand All @@ -142,8 +145,8 @@
"prettier": "^2.0.5",
"prop-types": "^15.7.2",
"ramda": "^0.27.1",
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-test-renderer": ">=16.9.0",
"request": "^2.88.2",
Expand All @@ -161,7 +164,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-commit": "yarn check:pkgs && lint-staged",
"pre-push": "sh scripts/enforceVersions.sh && yarn test:unit -- --changedSince=latest"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-amp-geo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 1.2.5 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 1.2.4 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 1.2.3 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 1.2.2 | [PR#4303](https://github.com/bbc/psammead/pull/4303) Trigger rebuild following babel config update for emotion 11 |
Expand Down
8 changes: 6 additions & 2 deletions packages/components/psammead-amp-geo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-amp-geo",
"version": "1.2.4",
"version": "1.2.5",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand All @@ -27,5 +27,9 @@
"amp",
"amp-geo",
"geo"
]
],
"devDependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.1"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-brand/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
| ------- | ----------- |
| 7.1.3 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 7.1.2 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 7.1.1 | [PR#4382](https://github.com/bbc/psammead/pull/4382) Change focusRef prop-type |
| 7.1.0 | [PR#4380](https://github.com/bbc/psammead/pull/4380) Add focusRef prop |
Expand Down
6 changes: 4 additions & 2 deletions packages/components/psammead-brand/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-brand",
"version": "7.1.2",
"version": "7.1.3",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand All @@ -24,7 +24,9 @@
},
"devDependencies": {
"@bbc/psammead-script-link": "^3.0.14",
"@bbc/psammead-styles": "^7.2.2"
"@bbc/psammead-styles": "^7.2.2",
"@emotion/styled": "^11.0.0",
"react": "^17.0.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do these dev dependencies work with the peer dependencies here? I guess the peer dependencies declare that you can integrate and use this package with a project (Simorgh in our case) that uses Emotion styled > 11 and react > 16.9 ? Should we change the react one to be react 17? I imagine this will be needed across all packages

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we do then we introduce a backwards-incompatible breaking change because consumers who haven't upgraded to React v17 won't be able to use new versions of Psammead components.

},
"peerDependencies": {
"@emotion/styled": "^11.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-bulleted-list/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| Version | Description |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| 3.0.15 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 3.0.14 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 3.0.13 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 3.0.12 | [PR#4304](https://github.com/bbc/psammead/pull/4304) Talos - Bump Dependencies - @bbc/gel-foundations, @bbc/psammead-styles |
Expand Down
8 changes: 6 additions & 2 deletions packages/components/psammead-bulleted-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-bulleted-list",
"version": "3.0.14",
"version": "3.0.15",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand All @@ -24,6 +24,10 @@
},
"peerDependencies": {
"@emotion/styled": "^11.0.0",
"react-dom": "^16.12.0"
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@emotion/styled": "^11.0.0",
"react-dom": "^17.0.1"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-bulletin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 5.0.33 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 5.0.32 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 5.0.31 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 5.0.30 | [PR#4305](https://github.com/bbc/psammead/pull/4305) Talos - Bump Dependencies - @bbc/psammead-live-label, @bbc/psammead-story-promo |
Expand Down
7 changes: 6 additions & 1 deletion packages/components/psammead-bulletin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-bulletin",
"version": "5.0.32",
"version": "5.0.33",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down Expand Up @@ -30,5 +30,10 @@
"@emotion/styled": "^11.0.0",
"prop-types": "^15.7.2",
"react": ">=16.9.0"
},
"devDependencies": {
"@emotion/styled": "^11.0.0",
"prop-types": "^15.7.2",
"react": "^17.0.1"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-byline/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| Version | Description |
| ------------- | ----------------------------------------------------------------------------------------------------------- |
| 3.0.16 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 3.0.15 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 3.0.14 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 3.0.13 | [PR#4304](https://github.com/bbc/psammead/pull/4304) Talos - Bump Dependencies - @bbc/gel-foundations, @bbc/psammead-styles |
Expand Down
6 changes: 5 additions & 1 deletion packages/components/psammead-byline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-byline",
"version": "3.0.15",
"version": "3.0.16",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand All @@ -25,5 +25,9 @@
"peerDependencies": {
"@emotion/styled": "^11.0.0",
"react": ">=16.9.0"
},
"devDependencies": {
"@emotion/styled": "^11.0.0",
"react": "^17.0.1"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-caption/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 4.1.11 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 4.1.10 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 4.1.9 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 4.1.8 | [PR#4304](https://github.com/bbc/psammead/pull/4304) Talos - Bump Dependencies - @bbc/gel-foundations, @bbc/psammead-styles |
Expand Down
7 changes: 5 additions & 2 deletions packages/components/psammead-caption/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-caption",
"version": "4.1.10",
"version": "4.1.11",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down Expand Up @@ -29,5 +29,8 @@
"bbc",
"caption",
"figcaption"
]
],
"devDependencies": {
"@emotion/styled": "^11.0.0"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-consent-banner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 5.4.3 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 5.4.2 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 5.4.1 | [PR#4382](https://github.com/bbc/psammead/pull/4382) Change focusRef prop-type |
| 5.4.0 | [PR#4380](https://github.com/bbc/psammead/pull/4380) Make banner heading focusable |
Expand Down
9 changes: 7 additions & 2 deletions packages/components/psammead-consent-banner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-consent-banner",
"version": "5.4.2",
"version": "5.4.3",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down Expand Up @@ -34,5 +34,10 @@
"cookies,",
"privacy",
"policy"
]
],
"devDependencies": {
"@emotion/styled": "^11.0.0",
"prop-types": "^15.7.2",
"react": "^17.0.1"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-content-anchor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 2.0.0-alpha.17 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 2.0.0-alpha.16 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 2.0.0-alpha.15 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 2.0.0-alpha.14 | [PR#4305](https://github.com/bbc/psammead/pull/4305) Talos - Bump Dependencies - @bbc/psammead-headings |
Expand Down
9 changes: 6 additions & 3 deletions packages/components/psammead-content-anchor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-content-anchor",
"version": "2.0.0-alpha.16",
"version": "2.0.0-alpha.17",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand All @@ -20,15 +20,18 @@
"homepage": "https://github.com/BBC-News/psammead/blob/latest/packages/components/psammead-content-anchor/README.md",
"dependencies": {
"@juggle/resize-observer": "^2.4.0",
"intersection-observer": "^0.7.0"
"intersection-observer": "^0.12.0"
},
"peerDependencies": {
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"react": ">=16.9.0"
},
"devDependencies": {
"@bbc/psammead-headings": "^5.0.12"
"@bbc/psammead-headings": "^5.0.12",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"react": "^17.0.1"
},
"publishConfig": {
"tag": "alpha"
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-copyright/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 3.0.15 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 3.0.14 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 3.0.13 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 3.0.12 | [PR#4304](https://github.com/bbc/psammead/pull/4304) Talos - Bump Dependencies - @bbc/gel-foundations, @bbc/psammead-styles |
Expand Down
7 changes: 5 additions & 2 deletions packages/components/psammead-copyright/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-copyright",
"version": "3.0.14",
"version": "3.0.15",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down Expand Up @@ -31,5 +31,8 @@
"attribution",
"image",
"figure"
]
],
"devDependencies": {
"@emotion/styled": "^11.0.0"
}
}
1 change: 1 addition & 0 deletions packages/components/psammead-embed-error/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| Version | Description |
| -------------- | --------------------------------------------------------------------------------------------------------------------------- |
| 3.0.19 | [PR#4420](https://github.com/bbc/psammead/pull/4420) bumps 3rd-party dependencies |
| 3.0.18 | [PR#4368](https://github.com/bbc/psammead/pull/4368) use Yarn Workspaces |
| 3.0.17 | [PR#4335](https://github.com/bbc/psammead/pull/4335) switch to yarn for package management |
| 3.0.16 | [PR#4304](https://github.com/bbc/psammead/pull/4304) Talos - Bump Dependencies - @bbc/gel-foundations, @bbc/psammead-assets, @bbc/psammead-styles |
Expand Down
Loading