2.0.0 • Published 2 years ago

vl-global-header v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Global header v3 (static components)

Run the project locally

yarn
yarn dev

This initializes all build processes with development in mind, starts watching files for changes and serves everything on localhost. Changing any HTML file (both in a package as in the html directory) will trigger a reload.

Dependency management and publishing

Intro

All components used in the Global header, footer and widgets are defined by separate packages. Every package is published separately on NPM as well. Dependency management and publishing is handled by Lerna.

As in all projects, we use Semver methodology to version our packages.

Publishing

If you made a change, run the command lerna publish in your console. It will prompt you the question to select a version for every package you updated. For now, we update all packages at once. To do so, use lerna publish --force-publish=*.

Package contents

Every package contains it's scoped styling (scss) and an html snippet.