edbyrnee-schematics-nestjs

0.0.10 • Public • Published

Tfg-Mat(erial)-Schematics

  1. Install the package into your angular-cli project
    • npm install --save tfg-mat-schematics
  2. Run any of the following:
    • schematics tfg-mat-schematics:tfgdatatable --dry-run=false --path=output/accounts/accounts-list --name=AccountsList --columns=account_namen,account_type_namen,count*n
    • schematics tfg-mat-schematics:tfgdialog

Development

Make sure you have both the tsc and typescript packages installed

schematics .:tfg-page --dry-run=false --path=../../output/test-page/page-list

Publish an update

  1. Update package version 0.0.4 -> 0.0.5
    • npm version patch
  2. Run the following to complie
    • npm run build
  3. Run the following to publish changes
    • npm publish

Test running the schematics

schematics edbyrnee-mat-schematics:tfg-page --dry-run=false --path jobs/jobs-list

Model with providers

Run edbyrnee-schematics-nestjs % schematics .:model-with-providers --dry-run=false --name=User --path=modules/users --properties user_name:string

Run (test) schematics .:model-with-providers --dry-run=false --name=User --path=users --properties user_name:string schematics .:model-with-providers --name=User --properties user_name:string

Install sequelize

Dependancies

npm install --save sequelize mysql2 sequelize-typescript

Run schematics edbyrnee-schematics-nestjs:sequelize-init

Run (test) schematics .:sequelize-init --dry-run=false

Create basic crud service

Run schematics .:service-basic-crud

Run (test) schematics .:service-basic-crud --dry-run=false

Readme

Keywords

Package Sidebar

Install

npm i edbyrnee-schematics-nestjs

Weekly Downloads

11

Version

0.0.10

License

MIT

Unpacked Size

133 kB

Total Files

61

Last publish

Collaborators

  • edbyrnee