0.0.16 • Published 6 months ago

livepreso-layouts v0.0.16

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 months ago

LivePreso Layouts

This repository hosts shared layouts used by both LivePreso frontend and PSI apps.

LivePreso layouts are published as reusable npm package. Every new supported layout needs to be published as a separate version.

Development

In order to develop new layout do the following:

  1. Link layouts npm package:

    npm link
  2. Start development command:

    npm run dev
  3. In the project that uses livepreso-layouts package (PSI or LivePreso Frontend):

    npm link livepreso-layouts

Now any change in layouts will be reflected in other project (PSI or LivePreso Frontend).

Publishing new version

Once new version is ready for release it needs to be published to npm.

First bump package version. In MVP phase all layout additions or changes will be versioned as patches.

npm version patch

This will introduce a new commit, push it to MR as well. It's better to publish once MR is merged but nothing prevents from publishing before or even from a branch.

npm login
npm publish

After new version is published we need to remember upgrading it in PSI and LivePreso Frontend package.json files.

0.0.16

6 months ago