- Use branches for every change. I.e. adding new component, branch and pull request for that.
- Change name in
package.json
to something@yourGithubUsername/resume-components
i.e.@mindaugas-jacionis/resume-components
(use only lowercase letters,@
and-
) - Transfer reusable components from your project to this project under
/components
just like example components there. Include styles too. - Create documentation of your components and their variations via storybook. Those
are created under
/stories/components
. Note: filenam must end with.story.js
or.story.mdx
- If there is more than components to document - add that too to stories. If needed create new directory for that (i.e. utility styles, tone of message and etc.)
- Every time some changes are done and you want to merge them - update
version
value inpackage.json
file - Using command
npm i git+ssh://git@github.com/your-username/repository-name.git
add your components library as a package to your resume project. (You can do the same with other projects) - Import components from your newly created package and use them instead of existing project components. Delete those old ones after you make sure everything is looking good.
-
Notifications
You must be signed in to change notification settings - Fork 1
Mindaugas-Jacionis/academy-components-lib-homework
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published