2.2.1 • Published 4 months ago

@activity-com/tab-product-category-list v2.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

@xmc/tab-product-category-list

Command

yarn start              # 启动调试,Editor & 页面
yarn start --list       # 启动调试,自动打开活动列表页
yarn start -d           # 启动调试,禁止自动打开浏览器(配合 vscode debugger 调试时推荐)
yarn start --editor     # 仅启动 editor 调试
yarn start --node       # 仅启动 SSR 页面调试

yarn build              # 编译打包

yarn pub                # 发布组件
yarn pub -r             # 发布组件,支持选择版本

yarn upg                # 升级组件调试编译核心能力(包含 @xmc/component-scripts、@xmly/component-core-dependencies 以及自动更新 package.json 等)
yarn upg --core         # 强制升级 @xmly/component-core-dependencies,即使已是最新版本也会重装(包含 @xmly/activity-maker-core、@xmly/activity-maker-actions 等)

yarn commit             # commit 提交(替代 git commit)

Documentation

Construction

├── .cca/                       # 调试工具的缓存目录(用于安装远程组件)
├── .vscode/                    # vscode 默认配置(推荐 git 提交)
├── dist/                       # 组件打包输出
├── node_modules/
├── src/                        # 源码
│   ├── node/                       # 组件渲染代码(SSR 服务端渲染,需要包含组件的完整功能)
│   ├── preview/                    # preview 编辑预览代码
│   ├── setting/                    # setting 配置
│   ├── default-props.ts            # 组件配置的默认值(forms props)—— 合适、恰当的默认 forms props,会有助于运营同学理解“你的组件怎样配置”
│   ├── setupProxy.js               # 接口调试 proxy(可删除)
│   ├── type.ts                     # form props TS 类型定义(仅用于定义 props)
│   └── typings.d.ts                # TS 全局类型定义(相当于 React 项目的 react-app-env.d.ts)
├── .env.development            # start:editor 环境变量
├── .env.node.development       # start:node 环境变量
├── .gitignore
├── .yarnrc
├── CHANGELOG.md
├── README.md
├── package.json
├── tsconfig.json
└── yarn.lock
2.2.1

4 months ago

2.2.0

9 months ago

2.1.0

9 months ago

2.0.0

9 months ago

1.20.0

9 months ago

1.19.0

9 months ago

1.18.0

9 months ago

1.17.0

9 months ago

1.16.0

9 months ago

1.15.0

9 months ago

1.14.0

9 months ago

1.13.0

9 months ago