Socket
Socket
Sign inDemoInstall

@g123jp/app-ctr-navbar

Package Overview
Dependencies
93
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @g123jp/app-ctr-navbar

A react + ts package template with rollup,


Version published
Weekly downloads
1
decreased by-92.86%
Maintainers
6
Install size
30.7 MB
Created
Weekly downloads
 

Readme

Source

react-ts-package-template

A react + ts package template with rollup,

feel free using it to create a new UI package.

(ref to: tree-shakable-component-library)

links:

used dependencies

Important note

Deploying

  1. change version in package.json file
  2. run yarn build
  3. replace all the code in a types-package/index.d.ts file with the following code.
import React from 'react';

import { G123NavigationSideBarProps } from './type';

export declare function renderComponent(
  props: G123NavigationSideBarProps,
): void;

declare global {
  namespace G123NavigationSideBar {
    const NavigationSideBar: React.NamedExoticComponent<G123NavigationSideBarProps>;
    function renderComponent(props: G123NavigationSideBarProps): void;
    function login(jwt: string): void;
  }
}
  1. run
npm publish --access public --tag latest --registry https://registry.npmjs.org/ --package-lock false --json

FAQs

Last updated on 13 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc