0.0.15 • Published 10 months ago

aimhigh3-test-web-components v0.0.15

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

aha-web-components

This repo contains common React Web Components for use in other Aim High projects.

Setup

Install dependencies:

yarn

Assets

SVGs

SVGs should be included as components; they can be generated via the SVGR Cli (https://react-svgr.com/docs/cli/). This allows the build to be done with a simple tsc command instead of needing webpack or another non-js bundling solution.

Single Icon:

npx @svgr/cli -- src/assets/icons/my-icon.svg > src/components/NewComponent/MyIcon.ts

Directory:

npx @svgr/cli --out-dir src/components/NewComponent -- src/assets/icons

Publishing

  1. Build the package yarn build
  2. Login to npm using npm login
  3. Increment the version using yarn version --patch|--minor|--major (Note that this will also commit/tag any staged changes)
  4. Dry run the publish to verify everything works npm publish --dry-run
  5. Publish using npm publish --access public
0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago