0.2.3-test • Published 3 years ago

frs-common v0.2.3-test

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

frs-common

Change Log

Please see: CHANGELOG.md.

如何开发

  1. 启动调试 打开两个终端,一个输入 yarn build:dev 启动监听子模块修改

  2. 父项目引入(详细文档地址待补充)

import { product as productModule } from 'frs-common';
const routerConfig = productModule.getRouterConfig({
  project: 'srm',
  store: store,
  i18n: i18n,
  api: api,
  Vue: Vue,
  ...
})
// 将 routerConfig 配置进自身路由

如何发布

  1. 打包
yarn build
  1. 修改版本号
// 修改中位数,feature功能增加 0.1.0-test => 0.2.0-test
yarn release:feat

// 修改末位数,patch功能修改 0.1.0-test => 0.1.1-test
yarn release:patch
  1. 发布
yarn release:npm

Upload and download backend keys

# get and upload keys
node transity/backend-keys.js
# download all keys
npx ssc-tsf download