A fullstack(NestJS、React) framework for building efficient and scalable applications

Overview

Kunlun Logo

A fullstack(NestJS、React) framework for building efficient and scalable applications.

NPM Version Package License NPM Downloads Coverage CircleCI

Description

The Kunlun CLI is a command-line interface tool that helps you to initialize, develop, and your Kunlun application. It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution. It embodies best-practice architectural patterns to encourage well-structured app. Read more here.

Installation

npm install -g @kunlunjs/cli
# or
yarn global add @kunlunjs/cli

Usage

Developing

Install @kunlunjs/cli to be able to use kunlun command

npm i -g @kunlunjs/cli
# or
yarn global add @kunlunjs/cli

kunlun new
kunlun start
kunlun build

Stay in touch

License

Kunlun is MIT licensed.

Comments
  • feat: ✨ add utils folder

    feat: ✨ add utils folder

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by bigfang 0
  • chore: 🔧 refine generate module

    chore: 🔧 refine generate module

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [x] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by bigfang 0
  • fix: 🐛 fix typo

    fix: 🐛 fix typo

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by bigfang 0
  • update generate cmd

    update generate cmd

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by bigfang 0
  • 新增命令 g res

    新增命令 g res

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [x] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [x] No
    

    Other information

    enhancement 
    opened by bigfang 0
  • feat: ✨ Add admin generate

    feat: ✨ Add admin generate

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [x] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [x] Tests for the changes have been added (for bug fixes / features)
    • [x] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [x] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by erguotou520 0
  • generate 命令

    generate 命令

    Is there an existing issue that is already proposing this?

    • [X] I have searched the existing issues

    Is your feature request related to a problem? Please describe it

    generate 命令

    Describe the solution you'd like

    just like nest g

    Teachability, documentation, adoption, migration strategy

    C V 大法

    What is the motivation / use case for changing the behavior?

    为了方便

    enhancement 
    opened by bigfang 0
  • fix: 🐛 remove config

    fix: 🐛 remove config

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [ ] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [ ] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [x] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [ ] No
    

    Other information

    opened by erguotou520 0
  • feat: ✨ fix prisma generated path issue, and 1to1, 1tomany, manytoman…

    feat: ✨ fix prisma generated path issue, and 1to1, 1tomany, manytoman…

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [x] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [x] Tests for the changes have been added (for bug fixes / features)
    • [x] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [x] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [x] No
    

    Other information

    opened by erguotou520 0
  • fix: 🐛 fix lock

    fix: 🐛 fix lock

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [x] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [x] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [x] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [x] No
    

    Other information

    opened by erguotou520 0
  • feat: Add online model designer

    feat: Add online model designer

    PR Checklist

    Please check if your PR fulfills the following requirements:

    • [x] The commit message follows our guidelines: https://github.com/turing-fe/kunlun-cli/blob/main/CONTRIBUTING.md
    • [x] Tests for the changes have been added (for bug fixes / features)
    • [ ] Docs have been added / updated (for bug fixes / features)

    PR Type

    What kind of change does this PR introduce?

    [ ] Bugfix
    [x] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Refactoring (no functional changes, no api changes)
    [ ] Build related changes
    [ ] CI related changes
    [ ] Other... Please describe:
    

    What is the current behavior?

    Issue Number: N/A

    What is the new behavior?

    Does this PR introduce a breaking change?

    [ ] Yes
    [x] No
    

    Other information

    opened by erguotou520 0
Releases(0.0.34)
  • 0.0.34(Apr 4, 2022)

  • 0.0.33(Apr 1, 2022)

  • 0.0.32(Apr 1, 2022)

    • feat: ✨ [email protected] -> [email protected] index.html -> index.cjs (0118a06)
    • deps: update dependencies (7a9983e)
    • Merge pull request #16 from turing-fe/feature/parse (0f453d1)
    • fix: 🐛 fix tests (40b89cd)
    • feat: ✨ update validator (14cf01e)
    • feat: ✨ update types (532601a)
    • chore: 🔧 fix getLabels (3930b2c)
    • feat: ✨ update isXXX (4574cfa)
    • feat: ✨ update comment (6a531d6)
    • feat: ✨ update model (9057198)
    • feat: ✨ update dto (113a337)
    • feat: ✨ generate cmd (4bb9e44)
    • perf: ⚡️ optimize webpack (6ce3622)
    • style: 🎨 update .prettierrc.js (590b67d)
    • wip: simplify generate command config (5c542c2)
    • style: 🎨 update git commit msg check script (88dd91c)
    • fix: 🐛 TypeError [ERR_INVALID_URL]: Invalid URL (413a6fe)
    • wip: remove unused code (15a3fc6)
    • wip: remove unused code (6179ade)
    • wip: generate command remove unused code (de7d50e)
    • deps: update eslint rule and dependencies (c288a85)
    • wip: generate command (7b359c0)
    • wip: generate command (8874b7f)
    • wip: generate command (c4b4aad)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.31(Mar 25, 2022)

  • 0.0.30(Mar 23, 2022)

  • 0.0.29(Mar 22, 2022)

    • perf: ⚡️optimize development server shutdown (834d70a)
    • fix: 🐛 remove babel-plugin-lodash (6836e28)
    • perf: ⚡️ optimize webpack resolve fallback (e937a72)
    • perf: ⚡️ remove thread-loader (c5201cb)
    • feat: ✨ get-port-please -> portfinder optimize @mdx-js/loader (b312b61)
    • feat: ✨ add @mdx-js/loader (bc75df9)
    • feat: ✨ add html-loader json5-loader worker-loader (59b3fa9)
    • feat: ✨ add crypto-browserify stream-browserify dotenv-webpack (a839689)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.28(Mar 17, 2022)

  • 0.0.27(Mar 17, 2022)

    • perf: ⚡️ optimize type define and api (33cd79a)
    • types: add 'antd-dayjs-webpack-plugin' type define (a5a2671)
    • docs: 📚️ improve examples (d9651c1)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.26(Mar 17, 2022)

    • fix: 🐛 load kunlun.config.{js,ts} or .kunlunrc.{js,ts} (dcc6f2a)
    • Merge pull request #15 from turing-fe/feat/cmd-g (a923327)
    • feat: ✨ can parse kl.config.json (ce902b3)
    • feat: ✨ cli works (0ee00dd)
    • fix: 🐛 fix project type (7fc631f)
    • feat: ✨ add generate command (c538109)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.25(Mar 15, 2022)

  • 0.0.24(Mar 9, 2022)

  • 0.0.23(Mar 9, 2022)

    • fix: 🐛 支持kunlun.config.ts文件导入,兼容 default和module.exports (8f7b76a)
    • fix: 🐛 update dep version, reuse user's tsconfig file (3afa4c3)
    • fix: 🐛 fix test (981a2dc)
    • fix: 🐛 update model-design version (953e9a7)
    • fix: 🐛 exclude template when build (0d489b8)
    • feat: ✨ Add admin generate (bf65597)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.22(Mar 6, 2022)

  • 0.0.21(Mar 6, 2022)

  • 0.0.20(Mar 6, 2022)

  • 0.0.19(Mar 3, 2022)

  • 0.0.18(Mar 3, 2022)

  • 0.0.17(Mar 3, 2022)

  • 0.0.16(Mar 3, 2022)

    • refactor: ♻️ add kunlun.config.ts (7ceb7f1)
    • refactor: ♻️ update file structure (305e50d)
    • perf: ⚡️ optimize webpack compiler output (42538ea)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.14(Mar 2, 2022)

  • 0.0.13(Mar 1, 2022)

    • Merge pull request #12 from turing-fe/feat/model (8a3121c)
    • perf: ⚡️ optimize webpack compiler (f101420)
    • perf: ⚡️ optimize typescript config and import (d2e34ca)
    • perf: ⚡️ optimize babel config (26225cf)
    • perf: ⚡️ optimize webpack compiler (687d047)
    • fix: 🐛 Add ignore (44bf8e5)
    • fix: 🐛 remove config (0e98d89)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.12(Feb 28, 2022)

    • perf: ⚡️ optimize webpack compiler (0ca1562)
    • Merge pull request #11 from turing-fe/feat/model (5a5e55e)
    • feat: ✨ fix prisma generated path issue, and 1to1, 1tomany, manytomany example (3d79200)
    • perf: ⚡️ get environment (60d9cee)
    • fix: 🐛 style loader (e0bee2c)
    • Merge pull request #10 from turing-fe/feat/model (5267159)
    • fix: 🐛 fix lock (e40fc67)
    • Merge pull request #9 from turing-fe/feat/model (b6ea70d)
    • fix: 🐛 fix lock (e9d030d)
    • fix: 🐛 fix lock issue (9147674)
    • feat: Add nestjs example (858dafb)
    • feat: Add online model designer (7dd7e60)
    • refactor: ♻️ update loaders (8fedbb2)
    • Merge pull request #7 from turing-fe/fix/publish (55b2295)
    • build: 📦️ Add npm files field (1130e89)
    • build: 📦️ Add package.json files (adead2f)
    • Merge pull request #6 from turing-fe/feat/postcss (c1c1a04)
    • fix: 🐛 fix postcss build issue (87f6929)
    • feat: ✨ Add postcss plugins (25a1057)
    • Merge pull request #5 from turing-fe/feat/vite (148032a)
    • fix: 🐛 fix ForkTsCheckerWebpackPlugin context error (002ba12)
    • fix: 🐛 fix webpack build (4338dda)
    • feat: ✨ 添加react/vue和webpack/vite的组合实例 (a6c56ac)
    • Merge pull request #4 from turing-fe/feat/command (a29e343)
    • feat: ✨ Add vite compiler support (c980b28)
    • Merge pull request #3 from turing-fe/feat/command (a430d6b)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.8(Feb 18, 2022)

    • fix: 🐛 fix circle issue (a77d09b)
    • chore: 🔧 remove npm lock file (ed94879)
    • fix: 🐛 fix circle ci issue (a5cea40)
    • ci: 👷 Update circle ci (df48c19)
    • chore: 🔧 merge info action (b143ea4)
    • refactor: ♻️ fix new action issue while upgrade commander to 9 (2ec7708)
    • fix: 🐛 美化报错信息 (97f5293)
    • feat: ✨ 添加命令 info (b387cce)
    • feat: ✨ 更新命令行参数获取方式,更新commander版本 (04aa86b)
    • docs: 📚️ add circleci bdage (da63acc)
    • fix: 🐛 remove npm install --registry (f350baa)
    • fix: 🐛 variable does not exist (e7b5fd4)
    • test: 🚨 npm install (b3a24b5)
    • perf: ⚡️ optimize function (1699557)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.7(Feb 15, 2022)

  • 0.0.6(Feb 15, 2022)

  • 0.0.5(Feb 15, 2022)

  • 0.0.4(Feb 15, 2022)

  • 0.0.3(Feb 14, 2022)

  • 0.0.2(Feb 14, 2022)

  • 0.0.1(Feb 14, 2022)

Owner
图灵人工智能研究院前端技术团队
图灵人工智能研究院前端技术团队
Node.js Open CLI Framework. Built with 💜 by Heroku.

oclif: Node.JS Open CLI Framework ?? Description ?? Getting Started Tutorial ✨ Features ?? Requirements ?? CLI Types ?? Usage ?? Examples ?? Commands

oclif 8k Jan 4, 2023
NodeJS Framework for Interactive CLIs

Cliffy - A Framework For Interactive CLIs Cliffy is a simple, powerful utility for making interactive command line interfaces. Cliffy is run as a REPL

Drew Youngwerth 318 Dec 30, 2022
Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Ignite - the hottest React Native boilerplate Battle-tested React Native boilerplate The culmination of five years of constant React Native developmen

Infinite Red, Inc. 14.7k Dec 29, 2022
🌈 React for interactive command-line apps

React for CLIs. Build and test your CLI output using components. Ink provides the same component-based UI building experience that React offers in the

Vadim Demedes 19.7k Jan 9, 2023
A CLI to add and remove local development environments and create HTTPS certificates for them.

A CLI used to create a local https dev environment with the green lock. Setup takes less than 5 minutes and all of your projects will be running locally over HTTPS with custom domain names in no time!

Entrostat (Pty) Ltd 5 Sep 19, 2022
Find and fix problems in your JavaScript code.

ESLint Website | Configuring | Rules | Contributing | Reporting Bugs | Code of Conduct | Twitter | Mailing List | Chat Room ESLint is a tool for ident

ESLint 22k Jan 8, 2023
Test your internet connection speed and ping using speedtest.net from the CLI

speed-test Test your internet connection speed and ping using speedtest.net from the CLI Install Ensure you have Node.js version 8+ installed. Then ru

Sindre Sorhus 3.8k Jan 7, 2023
Detect copy-pasted and structurally similar code

Detect copy-pasted and structurally similar JavaScript code. Requires Node.js 6.0+, and supports ES6, JSX as well as Flow. Note: the project has been

Daniel St. Jules 3.5k Dec 26, 2022
Move files and directories to the trash

Move files and folders to the trash Works on macOS (10.12+), Linux, and Windows (8+). Note: The Linux implementation is not very good and not maintain

Sindre Sorhus 2.4k Dec 29, 2022
Pipeable javascript. Quickly filter, map, and reduce from the terminal

Pipeable JavaScript - another utility like sed/awk/wc... but with JS! Quickly filter, map and reduce from the command line. Features a streaming API.

Daniel St. Jules 410 Dec 10, 2022
Kill all Chrome tabs to improve performance, decrease battery usage, and save memory

kill-tabs Kill all Chrome tabs to improve performance, decrease battery usage, and save memory Works on macOS, Linux, Windows. I'm a tab-abuser and I

Sindre Sorhus 371 Jan 8, 2023
📜 Create mutable log lines into the terminal, and give life to your logs!

Because Logging can be pretty and fun Installation $ npm install draftlog What it does It allows you to re-write a line of your log after being writt

Ivan Seidel 1.2k Dec 31, 2022
HMSC (How Much Stuffs CLI) analyst for your files and folders

HMSC ?? About HMSC (How Much Stuffs CLI) analyst for your files and folders ?? Screenshot ?? Requirements Node.js NPM ?? Installation $ npm i -g hmsc

Abdullah Veliyev 26 Jan 10, 2022
Add a hungry turtle to your terminal and feed it every time you mistype 'npm' as 'nom'

Nom Does this ever happen to you? You happily code away on a project, navigating the command line like a pro, testing, error logging, installing packa

Meike Hankewicz 5 Apr 26, 2022
replacement for comma.ai backend and useradmin dashboard. comes bundled with a modified cabana instance for seamless drive reviewing.

retropilot-server Replacement for comma.ai backend and useradmin dashboard. Bundled with a modified version of comma's cabana to allow viewing & analy

Florian Brede 39 Dec 4, 2022
Tasks Management CLI application with Nodejs, Mongodb, inquirer.js, and commander

Tasks CLI Tasks CLI is a program to manage your tasks in a database using terminal or console. This is a sample project for beginners Requirements Nod

Fazt Web 9 Nov 17, 2022
A simple CLI tool to create and manage xhelpers-api projects

A simple CLI tool to create and manage xhelpers-api projects

null 2 Feb 25, 2022
Wordle and Termooo style classic word guessing game for the command line. One new word per day!

Wordle and Termooo style classic word guessing game for the command line. One new word per day!

Anderson Silva 3 Nov 27, 2022