Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bergen-fusion-components

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bergen-fusion-components

Components for the fusion apps developed by the bergen app team(s)

  • 1.0.48-3
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
3
Weekly downloads
 
Created
Source

components used for the fusion apps developed by the bergen team(s)

Structure of the code

  • export everything in src/index.ts file.
  • use appropriate folders for different shared code (hooks, components, models, utils. etc)

Shared code principles

  • Create minimal necessary interfaces so they can be used as generally as possible.
  • When extracting existing code from apps and putting it here one might need to use other stuff in the app. This will thus also need to be moved here. Try to limit this somewhat, but more importantly: make sure that there is not duplicated code here and in the app.

versioning guide

select the appropriate one when running the interactive versioning tool np (described below)

  • patch: small fix or change.
  • minor: new components or larger change
  • major: big updates

Using np to publish new versions

Requirements

Install np globally $ npm install --global np

Be added as a maintainer of the package in the npm registry. For this you need a user on the npm site Ask a team member already added to add your user also.

Use cli with rm installed, if not the build command will fail. Alternatively you can use webpack directly npx webpack after deleting the dist folder if you have done builds before. then do npx tsc --emitDeclarationOnly true.

How to
  • ensure that you are not behind on the git origin branch

  • ensure that you are logged in: npm login

  • build the package using npm run build

  • run the command np --yolo to start interactive publishing or run npm run release

FAQs

Package last updated on 23 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc