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

@dfo/components

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfo/components

A collection of frontend components and building blocks for Direktoratet for forvaltning og Økonomistyring (DFØ).

  • 5.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
4
Weekly downloads
 
Created
Source

@dfo/components

A collection of frontend components and building blocks for Direktoratet for forvaltning og Økonomistyring (DFØ).

Build Status npm version

The components are built with react and SCSS. The components are documented using storybook. To start it, run npm start storybook after you've cloned the repository and installed the [storybook] dependencies.

The documentation is deployed to https://komponenter.dfo.no.

See also documentation chapters:

  1. How to use components in your project.
  2. Developing new components.

🥁 Publishing new versions to NPM

When you want to release a new version of @dfo/components on npm, go to your terminal, navigate to the repo root and do npm run release and follow the instructions. Be sure to check if the new version complies with the rules.

🚀 Deploying the storybook

This project is hosted on DFØ's server. To access this you need to connect with a VPN client. Talk to Netlife Design and DFØ about getting access to deploy.

Before deploying you need to add git remotes for staging and production. Pushing to these remotes will trigger a build on DFØ's server. Don't forget to push your changes to GitHub as well.

Remotes:

  • Staging: ssh://kom@test.dfo.no:/home/kom/git/dfo-storybook
  • Production: ssh://kom@dfo.no:/home/kom/git/dfo-storybook

🦹 Handling security vulnerabilities

Github and NPM will periodically notify us of security vulnerabilities in this codebase. Most of it are irrelevant vulnerabilities, located in outdated examples or within devDependencies related to local development with Storybook. Because we deploy Storybook as flat files running on Nginx the attack surface of the deployed code is actually very small.

Run npm audit --production to scan for any vulnerabilities that may affect consumers of this library.

FAQs

Package last updated on 01 Dec 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