Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More →
Socket
Sign inDemoInstall
Socket

aca.ts

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aca.ts - npm Package Compare versions

Comparing version 0.0.63 to 0.0.64

25

dist/index.js

@@ -31,16 +31,17 @@ #!/usr/bin/env node

const comment = {
create: 'Init a new aca project [dirname]',
server: 'Create a server [dirname] application, [dirname] default: server.',
client: 'Create a client [dirname] application, [dirname] default: client.',
add: 'Add a app config. -s(--server) or -c(--client): server app or client app, -a [name]: apiDir name, default src/aca.server or src/aca.client',
up: 'Alter database schema and generate api',
rollback: 'Rollback to previous release',
create: 'create a new aca project <projectName>',
server: 'create a server app, [appName] default: server',
client: 'create a client app, [appName] default: client',
add: 'add yourself app to the project, -s(--server) -c(--client), -a(--apiDir) [path]: default src/aca.server src/aca.client',
up: 'create or alter database schema, and generate api',
rollback: 'rollback to previous release',
};
const usage = `
aca create [dirname] ${comment.create}
aca server [dirname] ${comment.server}
aca client [dirname] ${comment.client}
aca add [dirname] <-s or -c> -a [name] ${comment.add}
aca up ${comment.up}
aca rollback ${comment.rollback}
aca create <projectName> ${comment.create}
aca server [appName] ${comment.server}
aca client [appName] ${comment.client}
aca add [appName] -s -c -a [path] ${comment.add}
aca up ${comment.up}
aca rollback ${comment.rollback}
aca --version show current version
`;

@@ -47,0 +48,0 @@ if (yargs.argv._.length) {

{
"name": "aca.ts",
"version": "0.0.63",
"version": "0.0.64",
"description": "Aca.ts is a CLI based on Typescript and Knex.js. It can automatically sync database schema, automatically generate APIs for accessing the database, automatically create frontend APIs through backend functions (like RPC).",

@@ -5,0 +5,0 @@ "keywords": [

@@ -70,3 +70,3 @@ English | [įŽ€äŊ“中文](https://aca.ts.center)

<img with="80px" hight="180px" src="https://aca.ts.center/static/config.jpg">
<img with="80px" hight="180px" src="https://aca.ts.center/config.jpg">

@@ -104,7 +104,7 @@ 3. Use the following method to create aca.ts apps:

> <font color=red>The generated backend APIs usage example are as follows:</font> <img with="80px" hight="180px" src="https://aca.ts.center/static/server-koa-index.jpg">
> <font color=red>The generated backend APIs usage example are as follows:</font> <img with="80px" hight="180px" src="https://aca.ts.center/server-koa-index.jpg">
#
> <font color=red>The generated frontend APIs usage example are as follows:</font> <img with="80px" hight="180px" src="https://aca.ts.center/static/client-react-app.jpg">
> <font color=red>The generated frontend APIs usage example are as follows:</font> <img with="80px" hight="180px" src="https://aca.ts.center/client-react-app.jpg">

@@ -111,0 +111,0 @@ #

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡ī¸ by Socket Inc