nextup-platforms
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

nextup-platforms

This library was generated with Nx.

Installing

pnpm i nextup-platforms

or

npm i nextup-platforms

Plugin Usage

Feature

Scaffolds sub feature into src/features directory

npx nx generate nextup-platforms:feature [name] [options,...]

or

npx nx g feature [name] [options,...]
nx generate nextup-platforms:feature [name] [options,...]

From:  nextup-platforms (v0.1.1)
Name:  feature

Options:
    --name              Name for the feature                         [string]
    --api, -a           Api related files (eg: getUsers, postSearch) [array]
    --components, -c    Components to create                         [array]
    --hooks, -h         React Hooks (eg: windowSize)                 [array]
    --stores, -s        Store files for persistence (eg: authModal,  [array]
                        playlist)
    --types, -t         Types to create                              [array]
    --utils, -u         Utility methods to create                    [array]

*Note*
    array options a comma separated

Route

npx nx generate nextup-platforms:route [name] [options,...]

or

npx nx g route [path] [options,...]
generate nextup-platforms:route [path] [options,...]

From:  nextup-platforms (v0.1.3)
Name:  route


  Next application API route generator


Options:
    --path           API route path                                   [string]
    --dynamic        The name if using a dynamic route                [string]
                    (eg: --dynamic id -> path/[id]/route.ts)                                          

Building

Run nx build nextup-platforms to build the library.

Running unit tests

Run nx test nextup-platforms to execute the unit tests via Jest.

Readme

Keywords

none

Package Sidebar

Install

npm i nextup-platforms

Weekly Downloads

4

Version

0.1.4

License

none

Unpacked Size

1.33 MB

Total Files

189

Last publish

Collaborators

  • dcat23