tutorial-package

0.0.1 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i tutorial-package

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    10.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • lorean.victor