Commit 391b4c3a authored by 邓晓峰's avatar 邓晓峰

test publish

parents 732e1b25 9e627b15
{
"version": "independent",
"npmClient": "yarn",
"npmClient": "npm",
"useWorkspaces": true,
"changelog": {
"repo": "test/winsdom-components",
......
......@@ -104,7 +104,7 @@
"pre-commit": "pretty-quick --staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"publishConfig": {
"publishConfig": {
"registry": "https://g.civnet.cn:4873"
},
"size-limit": [
......@@ -113,6 +113,12 @@
"limit": "100 s",
"webpack": false,
"running": false
},
{
"path": "packages/list/dist/**/*.js",
"limit": "100 s",
"webpack": false,
"running": false
}
]
}
console.log('hello world');
export default 'hello world';
# `list`
> TODO: description
## Usage
```
const list = require('list');
// TODO: DEMONSTRATE API
```
{
"name": "@wisdom-components/pro-list",
"version": "1.0.0",
"description": "@wisdom-components/pro-list",
"author": "yefei <947371421@qq.com>",
"homepage": "",
"license": "ISC",
"main": "lib/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"registry": "https://g.civnet.cn:4873/"
},
"repository": {
"type": "git",
"url": "https://g.civnet.cn:8443/test/wisdom-components.git"
},
"dependencies": {
"antd": "^4.7.3",
"prop-types": "^15.7.2",
"react": "^17.0.1"
}
}
import React from 'react';
import List from '../index';
export default () => {
return <List />;
};
import React from 'react';
class List extends React.Component {
constructor(props) {
super(props);
this.state = {
// eslint-disable-next-line react/no-unused-state
name: 'list',
};
}
render() {
return <>list</>;
}
}
export default List;
---
title: ProList - 标准列表
nav:
title: 组件
path: /components
group:
path: /
---
# ProList 标准列表
页内容器卡片,提供标准卡片样式,卡片切分以及栅格布局能力。
## 何时使用
- 需要一个标准卡片容纳内容时。
- 需要多个卡片栅格,gutter 布局时。
- 需要进行卡片内切分布局时。
- 需要卡片可折叠时。
<code src="./demos/index.js">
......@@ -3,6 +3,7 @@ const { join } = require('path');
const exec = require('./utils/exec');
const getPackages = require('./utils/getPackages');
const isNextVersion = require('./utils/isNextVersion');
const { error } = require('console');
const { yParser, execa, chalk } = utils;
const cwd = process.cwd();
......@@ -72,7 +73,12 @@ async function release() {
// Build
if (!args.skipBuild) {
logStep('build');
await exec('npm', ['run', 'build']);
try {
await exec('npm', ['run', 'build']);
} catch(error) {
console.log(error)
}
} else {
logStep('build is skipped, since args.skipBuild is supplied');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment