提交 2c9c0b2375c381b37acd1a259f1f4b392b72f34e

作者 fanwh
1 个父辈 f73b2e5a

no message

@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 /blocks/**/yarn.lock 6 /blocks/**/yarn.lock
7 /templates/**/node_modules 7 /templates/**/node_modules
8 /templates/**/yarn.lock 8 /templates/**/yarn.lock
  9 +package-lock.json
9 10
10 # doc 11 # doc
11 /dist 12 /dist
@@ -37,8 +37,8 @@ function parseJSON(root) { @@ -37,8 +37,8 @@ function parseJSON(root) {
37 if (dir.charAt(0) === '.') return; 37 if (dir.charAt(0) === '.') return;
38 const absDirPath = join(root, dir); 38 const absDirPath = join(root, dir);
39 const pkg = require(join(absDirPath, 'package.json')); 39 const pkg = require(join(absDirPath, 'package.json'));
40 - const url = `https://github.com/umijs/umi-blocks/tree/master/${type}/${dir}`;  
41 - const img = `https://github.com/umijs/umi-blocks/blob/master/${type}/${dir}/snapshot.png?raw=true`; 40 + const url = `http://gitlab.workai.com.cn/fanwh/workai-design-blocks/tree/master/${type}/${dir}`;
  41 + const img = `http://gitlab.workai.com.cn/fanwh/workai-design-blocks/blob/master/${type}/${dir}/snapshot.png?raw=true`;
42 const features = []; 42 const features = [];
43 if (haveDependencies(pkg, 'antd') || haveImport(absDirPath, 'antd')) { 43 if (haveDependencies(pkg, 'antd') || haveImport(absDirPath, 'antd')) {
44 features.push('antd'); 44 features.push('antd');
1 { 1 {
2 - "name": "umi-blocks", 2 + "name": "workai-design-blocks",
3 "version": "1.0.0", 3 "version": "1.0.0",
4 "files": [ 4 "files": [
5 "blocks", 5 "blocks",
注册登录 后发表评论