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

Migrate Headings components into component package #79

Merged
merged 20 commits into from
Dec 3, 2018

Conversation

dr3
Copy link
Contributor

@dr3 dr3 commented Nov 29, 2018

Resolves #12

Moves the Headings components into a psammead package

  • Tests added for new features
  • Test engineer approval

@dr3 dr3 mentioned this pull request Nov 29, 2018
@dr3 dr3 changed the title Initally move heading components Migrate Headings components into component package Nov 29, 2018
@dr3
Copy link
Contributor Author

dr3 commented Nov 29, 2018

This PR has a new package-lock.json and package.json files from other repos that need updating, not sure why they didn't show up on merges. better late than never anyway :L

@dr3 dr3 self-assigned this Nov 30, 2018
@dr3 dr3 added the alpha-2 label Nov 30, 2018
@dr3 dr3 added the blocked This issue should not be worked on until another internal issue is completed - see desc for details label Nov 30, 2018
@dr3 dr3 mentioned this pull request Dec 3, 2018
1 task
@dr3 dr3 removed the blocked This issue should not be worked on until another internal issue is completed - see desc for details label Dec 3, 2018
pjlee11
pjlee11 previously approved these changes Dec 3, 2018
Copy link
Contributor

@pjlee11 pjlee11 left a comment

Choose a reason for hiding this comment

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

Nice work !

Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

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

Let's be consistent with naming of SubHeading (not SubHeadline or subheading).

package.json Outdated Show resolved Hide resolved

| Version | Description |
|---------|-------------|
| 0.1.0 | [PR#79](https://github.com/BBC-News/psammead/pull/79) Create initial package, pulled in from [simorgh](https://github.com/BBC-News/simorgh). |
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be 1.0.0? I appreciate we may still make tweaks to the component as and when we discover complexities, but wouldn't have thought we risk having to publish a v2 any time soon.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ChrisBAshton This issue that's just been opened against this component: #88 is removing a prop. This would require a major bump in the version number.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Re: it being 0.1.0 not 1.0.0 thats just the convention we have used for the other packages

Copy link
Contributor

Choose a reason for hiding this comment

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

Ha, fair point! I'd argue it's a minor (1.1) as continuing to supply the prop wouldn't break compilation. But maybe we should keep everything as 0.1.0 until all components are moved, then mass-upgrade them all to v1 when we're happy...

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree that it'd be good to keep it at 0.1.0 to start with, since there can be breaking changes before version 1.0.0 is released.

packages/components/psammead-headings/README.md Outdated Show resolved Hide resolved
packages/components/psammead-headings/README.md Outdated Show resolved Hide resolved
packages/components/psammead-headings/README.md Outdated Show resolved Hide resolved
packages/components/psammead-headings/package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@sareh sareh left a comment

Choose a reason for hiding this comment

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

Everything about psammead-headings looks good. I've added a comment about the other files included in this PR, that should be removed from here.

packages/utilities/psammead-assets/package-lock.json Outdated Show resolved Hide resolved
Co-Authored-By: dr3 <drew.mcmillan@bbc.co.uk>
ChrisBAshton and others added 5 commits December 3, 2018 14:05
Co-Authored-By: dr3 <drew.mcmillan@bbc.co.uk>
Co-Authored-By: dr3 <drew.mcmillan@bbc.co.uk>
Co-Authored-By: dr3 <drew.mcmillan@bbc.co.uk>
Co-Authored-By: dr3 <drew.mcmillan@bbc.co.uk>
Copy link
Contributor

@sareh sareh left a comment

Choose a reason for hiding this comment

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

👍 Looks great!

@ChrisBAshton ChrisBAshton merged commit b77618f into latest Dec 3, 2018
@ChrisBAshton ChrisBAshton deleted the psammead-headings branch December 3, 2018 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants