Socket
Socket
Sign inDemoInstall

aiot-ucf-cli

Package Overview
Dependencies
200
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aiot-ucf-cli

A simple init for UCF scaffolding projects.


Version published
Maintainers
1
Created

Readme

Source

ucf-cli

npm version NPM downloads


NPM


介绍

通过该工具可以快速下载初始化UCF微服务前端工程所有资源到本机开发,并且可以快速创建指定的页面、带路由页面等,功能强大、操作简单易上手。

image

image

安装

# 全局安装
$ npm install ucf-cli -g

使用

安装完成全局后使用下面命令:


# 指定名称 `ucf-custom`,将会在ucf-custom里面创建资源
$ ucf init ucf-custom

# 快速下载工程到本地,并且不会创建文件夹直接在当前运行根目录进行平铺,适合初始化git仓库使用
$ ucf init


# 快速创建基础页面包含大致UCF微服务工程结构
$ ucf new app

# 查看现有微服务工程名
$ ucf list

说明

  • 查看帮助 ucf -h
  • 查看版本 ucf -v
  • 下载工程 ucf init myweb
  • 创建模块 ucf new app
  • 查看模块 ucf list

版本

  • 1.4.0 ucf new app模板去掉container.js文件,将路由与container.js合并
  • 1.3.1 去除多语模板、调整为统一兼容模板
  • 1.3.0 更换远程脚手架工程托管平台,下载速度更快
  • 1.2.3 解决人机问答第三包包异常的问题,锁定版本号
  • 1.2.2 调整模板CDN设置、更新代码
  • 1.2.1 调整ucf init初始化工程必须输入名字,而不是直接平铺到根目录,也可以ucf init webapp直接指定工程名
  • 1.2.0 调整i18n多语的机制问题,Intl多语文件夹调整到ucf-common
  • 1.1.1 修复没有选择多语微应用出现了Intl文件夹
  • 1.1.0 增加微应用命令ucf new app多语选项的支持
  • 1.0.7 调整微应用显示名称为 MPA , SPA
  • 1.0.6 调整微应用显示名称为 singleApp , spaApp
  • 1.0.5 在线更新最新微应用模板(仅测试)
  • 1.0.4 模板App入口修改为IndexView
  • 1.0.3 升级模板
  • 1.0.2 增加版本在线检测,有新版本会给出提示升级
  • 1.0.1 更新模板路由页面、ucf init 表示在当前根目录下平铺工程文件,适合初始化git仓库的时候
  • 1.0.0 支持远端UCF工程初始化到本地、创建微服务模块工程、模块查看、内置两种模板
  • 0.0.x 初步测试版本发布

Keywords

FAQs

Last updated on 06 Nov 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc