nextup-platforms
v0.1.4-dev2
Published
This library was generated with [Nx](https://nx.dev).
Readme
nextup-platforms
This library was generated with Nx.
Installing
pnpm i nextup-platformsor
npm i nextup-platformsPlugin 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 separatedRoute
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.
