New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@datorama/app-components

Package Overview
Dependencies
Maintainers
21
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datorama/app-components

Datorama React components library

  • 2.2.2
  • npm
  • Socket score

Version published
Weekly downloads
40
decreased by-72.22%
Maintainers
21
Weekly downloads
 
Created
Source

app-components

Datorama React components library

GitHub package.json version GitHub issues GitHub package.json dependency version (dev dep on branch)

Installation

npm install --save @datorama/app-components
import { AppTheme, lightTheme } from '@datorama/app-components';
import { ThemeProvider } from 'styled-components';
    
const App = () => (
  <AppTheme theme={lightTheme} provider={ThemeProvider}>
    ...
  </AppTheme>
);

// CSS
// @import '~@datorama/app-components/index.css';

Local Development

Clone the repo, install packages and run;

npm run storybook

Publish a new release

  1. Make sure that everything is working, well documented and backward compatible.
  2. Clean up all the lint issues after running
npm run lint
  1. Add your release notes with the future version number to the notes page (src/stories/0_Notes.stories.mdx).

  2. In your pull request bump the package version to the updated version you documented in the notes (minor, major or patch) by running:

npm version **** [-m "message describing version changes"]
  1. Before merging to master, check that you aren't overriding an existing version. If you are - update your branch version and the notes page accordingly.

  2. After the pull request is merged to master, checkout to master and run:

npm run build:package
  1. To publish it to NPM - make sure you're in the root folder and run:
npm publish:package

Alternatively, you can go to the dist folder and run npm publish.

Importing images

With the current Rollup loader all images are loaded as components!

FAQs

Package last updated on 11 Mar 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