🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@corrasion/typeorm-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@corrasion/typeorm-cli

A typeorm cli wrapper to injects ts-node and ts-path-mapping as required packages.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

TypeORM unnoficial CLI Wrapper

This is a wrapper for TypeORM CLI, which execute the original CLI, using ts-node and ts-path-mapping as required dependencies.

Implementation

First you must have a project with typescript, typeorm and its corresponding ormconfig.json file. Then, install ts-node:

npm i --save-dev ts-node

Optionally, if you want to use custom path alias, you can add ts-path-mapping too:

npm i --save ts-path-mapping

finally, install this package locally...

npm i --save-dev @corrasion/typeorm-cli

...or global if you want:

npm i --g @corrasion/typeorm-cli

Usage

If you was installed the package as local development dependency, simply type:

npx typeorm-cli ...commands

...or if you was installed this package globally:

typeorm-cli ...commands

Replace ...commands with any command from typeorm. For example:

typeorm-cli migration:generate -n Create-DB

Keywords

typeorm

FAQs

Package last updated on 14 Mar 2022

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