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