Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blocklang/codemods
Blocklang 客户端代码生成工具
https://github.com/blocklang/codemods
cli
Last synced: 15 days ago
JSON representation
Blocklang 客户端代码生成工具
- Host: GitHub
- URL: https://github.com/blocklang/codemods
- Owner: blocklang
- License: mit
- Created: 2019-11-27T01:27:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T18:02:03.000Z (4 months ago)
- Last Synced: 2024-10-28T15:26:29.122Z (23 days ago)
- Topics: cli
- Language: TypeScript
- Size: 272 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codemods
[![npm version](https://badge.fury.io/js/codemods.svg)](https://badge.fury.io/js/codemods)
[![Build Status](https://travis-ci.org/blocklang/codemods.svg?branch=master)](https://travis-ci.org/blocklang/codemods)
[![codecov](https://codecov.io/gh/blocklang/codemods/branch/master/graph/badge.svg)](https://codecov.io/gh/blocklang/codemods)[Block Lang](https://blocklang.com) 客户端代码生成工具。
## 如何使用
全局安装:
```sh
npm install codemods -g
```生成 dojo app:
```sh
codemods --library dojo --modelDir ./your/model/dir
```## 往 npm 发布
使用以下命令导航到 src 文件夹下
```sh
cd dist/src
```然后使用 `npm login` 和 `npm publish` 命令发布。
## 运行测试
```sh
npx intern
```