Commit 461a8ed8 authored by 邓晓峰's avatar 邓晓峰

docs: test docs

parent d32094a3
......@@ -2,7 +2,7 @@ import { readdirSync } from 'fs';
import { join } from 'path';
// utils must build before core
const headPkgs = [];
const headPkgs = ['card', 'list'];
const tailPkgs = readdirSync(join(__dirname, 'packages')).filter(
(pkg) => pkg.charAt(0) !== '.' && !headPkgs.includes(pkg),
);
......
......@@ -14,4 +14,3 @@ hero:
| 组件 | 下载量 | 版本 |
| ---- | ------ | ---- |
......@@ -13,7 +13,7 @@
],
"repository": {
"type": "git",
"url": "https://g.civnet.cn:8443/test/winsdom-components"
"url": "https://g.civnet.cn:8443/ReactWeb5/wisdom-components.git"
},
"browserslist": [
"last 2 versions",
......@@ -32,7 +32,7 @@
],
"license": "MIT",
"bugs": "http://github.com/umijs/plugins/issues",
"homepage": "https://g.civnet.cn:8443/test/winsdom-components/tree/master/packages/card#readme",
"homepage": "https://g.civnet.cn:8443/ReactWeb5/wisdom-components/tree/master/packages/card#readme",
"publishConfig": {
"access": "public"
}
......
export default 'hello world 1234';
export function noop() {
return function () {};
}
......@@ -18,7 +18,7 @@
},
"repository": {
"type": "git",
"url": "https://g.civnet.cn:8443/test/wisdom-components.git"
"url": "https://g.civnet.cn:8443/ReactWeb5/wisdom-components.git"
},
"dependencies": {
"antd": "^4.7.3",
......
# Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.0.1 (2021-01-08)
**Note:** Version bump only for package @winsdom-components/test_pg
# `@winsdom-components/test`
> TODO: description
## Usage
```
const test = require('@winsdom-components/test');
// TODO: DEMONSTRATE API
```
{
"name": "@winsdom-components/test_pg",
"version": "1.0.1",
"description": "> TODO: description",
"author": "dengxiaofeng <1186313486@qq.com>",
"homepage": "",
"license": "ISC",
"main": "lib/test.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"registry": "https://g.civnet.cn:4873/"
},
"repository": {
"type": "git",
"url": "https://g.civnet.cn:8443/ReactWeb5/wisdom-components.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
}
}
......@@ -25,14 +25,14 @@ const { yParser } = require('@umijs/utils');
files: ['lib', 'src', 'dist', 'es'],
repository: {
type: 'git',
url: 'https://g.civnet.cn:8443/test/winsdom-components',
url: 'https://g.civnet.cn:8443/ReactWeb5/wisdom-components',
},
browserslist: ['last 2 versions', 'Firefox ESR', '> 1%', 'ie >= 11'],
keywords: ['antd', 'admin', 'ant-design', 'ant-design-pro'],
authors: ['dengxiaofeng'],
license: 'MIT',
bugs: 'http://github.com/umijs/plugins/issues',
homepage: `https://g.civnet.cn:8443/test/winsdom-components/tree/master/packages/${shortName}#readme`,
bugs: 'https://g.civnet.cn:8443/ReactWeb5/wisdom-components/plugins/issues',
homepage: `https://g.civnet.cn:8443/ReactWeb5/wisdom-components/tree/master/packages/${shortName}#readme`,
peerDependencies: {
umi: '3.x',
},
......
......@@ -3,7 +3,6 @@ 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();
......
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