1.0.7 • Published 6 years ago

nypr-widget-base v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

nypr-widget-base

CircleCI npm package

This component provides a base React class for NYPR engagement modules. It handles several shared bits:

  • parses query string for UI variables
  • looks up given theme for specific styles
  • initializes Pym and responds to messages from the toolkit site

Deploying

This is a React component generated using the nwb library. The source is written in JSX, which requires transpilation so it can be used by other React apps. The transpiled source is published to npm, but it is not checked into source control.

In order to publish an update, do the following:

  • update the changelog
  • yarn version [patch|minor|major]
  • yarn build. This will generate a transpiled version of the source suitable for publishing.
  • npm publish
  • git push origin <tag>. Don't forget to push the tag to github so it can be annotated and tracked.
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago