Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.33 KB

File metadata and controls

25 lines (22 loc) · 1.33 KB

connect-platform-package-boilerplate

the boilerplate project for CONNECT platform packages.

how to setup

I am going to assume you would want to version control your package using Git. Basically all you need to do is to clone this repo, change the origin URL, and then merge possible conflicts, which are general Git operations and not specific to CONNECT platform. but anyways:

  1. git clone https://github.com/loreanvictor/connect-platform-package-boilerplate.git
    1. simply clones the contents of this boilerplate project.
  2. mv connect-platform-package-boilerplate <your-package-name>
    1. and rename it to whatever your package name is.
  3. cd <your-package-name>
  4. git remote set-url origin <your-repository-url>
    1. now change the origin for your git repository.
    2. obviously you need to have created this repo before this step.
  5. git fetch
  6. git pull
  7. git merge --allow-unrelated-histories
    1. get the code (preferably empty) from your repository and merge it.
    2. here you might get some merge conflicts, which you would need to resolve manually.
  8. also update package.json to mirror your package information:
    1. do not forget package name and description.
    2. do not forget package repository link, readme link and issues link.
    3. do not forget package version.
  9. thats it. commit all changes and push.