0.0.9 • Published 2 years ago

@harshitpant/auto v0.0.9

Weekly downloads
2
License
MIT
Repository
-
Last release
2 years ago

@timsuchanek/auto

Helps you automate setting up projects.

Projects

Prisma

Includes the latest Prisma Client alpha with a running SQLite example. I'm using this myself a lot, to quickly get reproductions running.

This is not an official Prisma tool!

Usage

Default usage (SQLite)

mkdir test
cd test
npx @timsuchanek/auto prisma
ts-node main.ts

Postgres

mkdir test
cd test
npx @timsuchanek/auto prisma --pg DATABASE_NAME
ts-node main.ts

MySQL

mkdir test
cd test
npx @timsuchanek/auto prisma --mysql DATABASE_NAME
ts-node main.ts

Default url

If you want to set the default url use, add the following config file to ~/.autorc.json

{
  "prisma": {
    "postgres": "postgresql://postgres:postgres@localhost:5432/",
    "mysql": "mysql://root:root@localhost:3306/"
  }
}
0.0.9

2 years ago

0.0.8

2 years ago

0.0.4

3 years ago

0.0.3

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago