🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@yumemi-inc/generate-next-cli

Package Overview
Dependencies
Maintainers
13
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yumemi-inc/generate-next-cli

nextのディレクトリ構造を保った対話型自動生成パッケージ

latest
npmnpm
Version
0.0.6
Version published
Maintainers
13
Created
Source

nextのディレクトリ構造を保った対話型自動生成パッケージ

下記のパッケージのwrapperです。

https://www.npmjs.com/package/generate-react-cli

getting started

npm install @yumemi-inc/generate-next-cli
npx generate-next-cli --init

設定ファイル

generate-react-cliのConfig File を参考に生成お願いします。

コマンド一覧

初期化

npx generate-next-cli --init

ページの生成

src/pagesへ生成を指示します

npm install @yumemi-inc/generate-next-cli -g page

下記から選択が可能です

  • ISR
  • CSR
  • SSR
  • API

コンポーネントの生成

src/componentsへ生成を指示します

npm install @yumemi-inc/generate-next-cli -g component

下記のファイルを選択的に生成をすることが可能です

  • component(index)
  • style (scss)
  • unit test
  • types
  • lazy(非同期読み込みコンポーネント)
  • hooks

generate-next-cli

FAQs

Package last updated on 03 Feb 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