@genesisx/next
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

next

This Generator allows creating Genesis themed nextjs templates

Usage

Prerequisites

For Using this package into your app, to create nextjs micro apps, please follow the below steps

  • Install this npm package to your repo first

  • yarn add @genesisx/next

  • or run

  • npm install @genesisx/next

  • Now follow the either of the two modes to use this generator

Using Via NX Console

  1. Goto nx console and search for nx generate @genesisx/next:templated
  2. Enter the following
    • appName: Genesis sample react name
    • docs: Not a required field but full https url to the docs can be entered
  3. This creates a new working directory

Using Via Command line

Alternatively, you can use

  • nx generate @genesisx/next:templated <appName> <optional_doc_path> --no-interactive

  • or just run the command without params and supply the parameters later

  • nx generate @genesisx/next:templated

  • If nx is not already installed then install it using npm install -g nx

Contribution

Running build and lints

Run nx lint next to execute the lint checks on this package.

Run nx build next to build this package.

Run nx test next to execute the unit tests via Jest.

Publish to NPM

To publish the package you must first be logged into NPM (npm login) then run this command from the root of the project.

  • Make sure the package name in package.json should start with @genesisx/
  • Also use the correct version number in package.json same will be used for the published package.
  • Use your NPM js credentials (Publicis Sapient) with publish rights
  • Verify the package at https://www.npmjs.com/settings/genesisx/packages
npm publish dist/packages/next --access public

Readme

Keywords

none

Package Sidebar

Install

npm i @genesisx/next

Weekly Downloads

364

Version

4.0.2

License

SEE LICENSE IN LICENSE

Unpacked Size

37.8 kB

Total Files

59

Last publish

Collaborators

  • varkisebi
  • devesh.kaushal
  • paribhasika
  • sophiacmcg
  • shashixt
  • vigneshpushkaranps
  • tolalitnegi
  • nareshbhatia
  • iamdavidjackson
  • genesisy
  • venkateshmishra
  • dreamzmaster
  • harshi14
  • areai51