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

@tru_id/console-components

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tru_id/console-components

Components that should be shared between our internal console and the open source console should live here.

  • 0.1.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
34
Maintainers
4
Weekly downloads
 
Created
Source

Shared console components

Components that should be shared between our internal console and the open source console should live here.

We use Vite as it allows to have a local dev setup to build the components (located inside /lib) and test them with a React app (located inside /src) running on the local server.

Run it locally

Run yarn dev to start the local server, then you can edit the content of /src to help you test components locally before publishing them

Build

Run yarn build to generate the /dist folder that will contain the bundled library and the Typescript type declarations.

Publish

Make sure you are invited in the @tru_id npm org Before publishing run npm version [patch|minor|major] to bump the version. Let's try to respect semver, if there is a breaking change we should bump the major npm version major otherwise npm version patch should be fine. npm publish will publish the package to npm.

TODO

Test how to npm link locally as there are some challenges with React packages:

https://mcocirio.medium.com/unsolving-the-mysteries-of-yarn-npm-link-for-libraries-development-41daa51a7cc6

https://blog.maximeheckel.com/posts/duplicate-dependencies-npm-link

Code of Conduct

https://developer.tru.id/code-of-conduct

FAQs

Package last updated on 24 May 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