@tigerconnect/web-component-library
Advanced tools
Comparing version 1.0.2 to 1.0.3
/// <reference types="react" /> | ||
import { Colors } from '../../types'; | ||
import '../../globals.css'; | ||
export interface ButtonProps { | ||
@@ -4,0 +5,0 @@ color: Colors; |
@@ -6,4 +6,2 @@ import { Meta } from '@storybook/react/types-6-0'; | ||
export default _default; | ||
export declare const Primary: Story<ButtonProps>; | ||
export declare const Secondary: Story<ButtonProps>; | ||
export declare const Danger: Story<ButtonProps>; | ||
export declare const Base: Story<ButtonProps>; |
@@ -1,2 +0,2 @@ | ||
export declare type Colors = 'primary' | 'secondary' | 'danger'; | ||
export declare type Colors = 'primary' | 'secondary' | 'danger' | 'patient'; | ||
export declare enum ColorHexes { | ||
@@ -6,3 +6,4 @@ primary = "#3080df", | ||
danger = "#db524b", | ||
patient = "#4a657b", | ||
white = "#fff" | ||
} |
{ | ||
"name": "@tigerconnect/web-component-library", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "a shared component library for tc projects", | ||
@@ -13,3 +13,3 @@ "main": "lib/index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"publish": "npm run build && npm publish" | ||
"deploy": "npm run build; npm publish" | ||
}, | ||
@@ -16,0 +16,0 @@ "author": "", |
@@ -9,2 +9,3 @@ # Web Component Library | ||
locally | ||
4. `npm run deploy` to build and publish the library to NPM. | ||
@@ -19,1 +20,8 @@ ## Using the library in a project locally | ||
will break deployments to other environments. | ||
## Publishing | ||
1. Bump the package.json version higher than what is currently published | ||
2. Run `npm run deploy`. The command will run `npm run build` and then `npm publish`. | ||
3. Update any repo using this package to have the newly published version and reinstall | ||
respectively. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
583258
12
26
4527