1.0.1 • Published 3 years ago

component-lib-exporter-v2 v1.0.1

Weekly downloads
56
License
ISC
Repository
github
Last release
3 years ago

component-lib-exporter-v2 Version log

Application used to export version 2 of reusable components for CaseStack applications.

1.0.1-beta.1

  • text input clearX test

1.0.1

  • Updated Readme

1.0.0

  • dlv2-1.0.15: Updated icon prop for context menus, to allow for any existing icons in lib
  • dlv2-1.0.15: removed console.logs in text input component

  • dlv2-1.0.14: Added Modals and Sliders

  • dlv2-1.0.14: fixed dropdown box sizing to border-box
  • dlv2-1.0.14: added fixes from v1 1.0.1117 button disabled icon fixes to v2

  • dlv2-1.0.13: Added Dropdowns and Context Menus

  • dlv2-1.0.13: TextInput, updated naming of prop clearText to ClearX

  • dlv2-1.0.10 - dlv2-1.0.12: Fix: .jsx to .js for updated icons

  • dlv2-1.0.10 - dlv2-1.0.12: Fix: theme.v2 wasn't declared for OutlinedButton colors
  • dlv2-1.0.10 - dlv2-1.0.12: TextInput default background and showX prop updated

  • dlv2-1.0.8 - dlv2-1.0.9: Added TextInput, TextArea and Tabs to v2 library

  • dlv2-1.0.8 - dlv2-1.0.9: update to Guidance component to allow for error text with Icon
  • dlv2-1.0.8 - dlv2-1.0.9: update Info Icon to allow for error state and rotate prop

  • dlv2-1.0.1 - dlv2-1.0.7: Fix styled-components ThemeProvider references to allow for both v1 and v2 color references

  • dlv2-1.0.1 - dlv2-1.0.7: cleared .gitignore dist/ cache

  • dlv2-1.0.0: New DLV2 components: Primary, Outlined, Plain and Subdued buttons

  • dlv2-1.0.0: Cleaned up icons
  • dlv2-1.0.0: In Theme.js, updated all colors to new DLV2 colors

Instructions for Publishing a New Build Version to the NPM Package

  • After making sure you're in the correct branch with new updates, run: npm run prepublishOnly
    • Run BEFORE the package is prepared and packed, ONLY on npm publish
  • To update to the next latest version, make sure you run: npm version (manually write next version # here)
    • ex. npm version 1.0.1
    • Run AFTER bumping the package version, but BEFORE commit
  • Lastly to publish changes, run: npm publish

Npm Publish Tags

  • Similar to new version build, run: npm run prepublishOnly
  • To update version with a tag, run: npm version (manually write current version # and tag here)
    • ex. npm version 1.0.1-beta.1
  • Lastly to publish changes, run: npm publish --tag (tag name)
    • ex. npm publish --tag beta

There are two options for installing a package with a tag:

  • Always install beta with npm install packagename@beta
  • Install specific version with npm install package@0.1.120-beta.1

  • To read more about npm scripts: https://docs.npmjs.com/misc/scripts