1.0.0 • Published 1 year ago

jdlinker-web-libs v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

基础库项目

项目介绍

基础库项目是jdlinker前端所有项目的基础依赖。本项目基于 Monorepo 的 lerna 模块管理方式,包含的类库如下:

  • @jdlinker/cli:脚手架项目
  • @jdlinker/func:功能库
  • @jdlinker/ui: UI库
  • @jdlinker/utils:工具库
  • examples:示例项目

项目目录

│  .commitlintrc.js        # Git 提交校验配置文件
│  .editorconfig           # 编辑器配置文件
│  .eslintignore           # eslint 忽略校验配置文件
│  .eslintrc.js            # eslint 校验配置文件
│  .gitattributes          # Git 配置文件,设置行末字符为LF
│  .gitignore              # Git 忽略提交配置文件
│  .prettierrc.js          # 代码格式化配置文件
│  CHANGELOG.md            # Git 提交记录
│  lerna.json              # Lerna 配置文件
│  package.json            # 项目配置
│  README.md               # 说明文档
│  LICENSE                 # 开源协议文件
│  SUPPLEMENTAL_LICENSE.md # 补充协议文件
└─packages                 # 包的统一管理目录
    ├─examples             # 示例项目
    ├─cli                  # 脚手架项目,包名:@jdlinker/cli
    ├─func                 # 功能库,包名:@jdlinker/func
    ├─ui                   # UI库,包名:@jdlinker/ui
    └─utils                # 工具库,包名:@jdlinker/utils

开发环境

node

v 14.18.3

npm

v 6.14.15

jdlinker npm私服地址

http://verdaccio.jdlinker.net/

项目命令

全局安装 lernayalc

npm install -g yalc
npm install -g lerna
#npm install yalc lerna@^6.0.0 -g

安装依赖

npm run setup

启动服务

npm run dev

代码发布(本地调试)

npm run yalc:publish

代码构建

npm run build

Git代码提交

项目增加了Git提交规范,强烈建议使用 commitizen(格式化commit message的工具)来进行Git提交操作,请使用下面命令

npm run commit

生成Git提交记录

npm run changelog

开源协议

jdlinker主目录

jdlinker 微服务架构低代码平台(点击了解更多)

1.0.0

1 year ago