Socket
Book a DemoInstallSign in
Socket

@g123jp/app-ctr-navbar

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@g123jp/app-ctr-navbar

A react + ts package template with rollup,

1.0.6
unpublished
latest
npmnpm
Version published
Maintainers
6
Created
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

  • change version in package.json file
  • run yarn build
  • 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;
  }
}
  • run
npm publish --access public --tag latest --registry https://registry.npmjs.org/ --package-lock false --json

FAQs

Package last updated on 13 Nov 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.