Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
d1d64fc7
Commit
d1d64fc7
authored
Oct 25, 2020
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix userRegistry
parent
83a32aad
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
11 additions
and
26 deletions
+11
-26
Previewer.js
.dumi/theme/builtins/Previewer.js
+0
-0
global.less
.dumi/theme/global.less
+1
-1
layout.js
.dumi/theme/layout.js
+0
-1
.eslintrc.js
.eslintrc.js
+1
-2
.fatherrc.js
.fatherrc.js
+0
-0
.prettierrc.js
.prettierrc.js
+0
-0
.umirc.js
.umirc.js
+0
-0
getting-started.md
docs/getting-started.md
+0
-3
index.md
docs/index.md
+1
-2
intro.md
docs/intro.md
+0
-1
jest.config.js
jest.config.js
+1
-4
lerna.json
lerna.json
+1
-2
index.js
packages/card/src/index.js
+1
-2
bootstrap.js
scripts/bootstrap.js
+1
-3
generateSizeLimit.js
scripts/generateSizeLimit.js
+0
-0
syncTNPM.js
scripts/syncTNPM.js
+0
-0
exec.js
scripts/utils/exec.js
+0
-0
getPackages.js
scripts/utils/getPackages.js
+0
-0
isNextVersion.js
scripts/utils/isNextVersion.js
+1
-2
verifyCommit.js
scripts/verifyCommit.js
+0
-0
no-duplicated.js
tests/no-duplicated.js
+0
-0
setupTests.js
tests/setupTests.js
+0
-0
util.js
tests/util.js
+0
-0
webpack.config.js
webpack.config.js
+3
-3
No files found.
.dumi/theme/builtins/Previewer.js
View file @
d1d64fc7
.dumi/theme/global.less
View file @
d1d64fc7
#root {
& /deep/ {
.__dumi-default-navbar-logo {
padding-left: 86px
!important;
padding-left: 86px
!important;
}
}
}
.dumi/theme/layout.js
View file @
d1d64fc7
...
...
@@ -13,7 +13,6 @@ moment.locale('zh-cn');
export
default
({
children
,
...
props
})
=>
{
useEffect
(()
=>
{
(
function
(
h
,
o
,
t
,
j
,
a
,
r
)
{
h
.
hj
=
h
.
hj
||
function
()
{
...
...
.eslintrc.js
View file @
d1d64fc7
...
...
@@ -4,4 +4,4 @@ module.exports = {
'import/no-extraneous-dependencies'
:
0
,
'import/no-unresolved'
:
0
,
},
};
\ No newline at end of file
};
.fatherrc.js
View file @
d1d64fc7
.prettierrc.js
View file @
d1d64fc7
.umirc.js
View file @
d1d64fc7
docs/getting-started.md
View file @
d1d64fc7
...
...
@@ -11,6 +11,3 @@ nav:
## 安装
当前 wisdom-components 每一个组件都是一个独立的包,你需要在你的项目中安装对应的 npm 包并使用。
docs/index.md
View file @
d1d64fc7
...
...
@@ -13,6 +13,5 @@ hero:
## 组件看板
| 组件 | 下载量 | 版本 |
| --- | --- | --- |
| ---- | ------ | ---- |
docs/intro.md
View file @
d1d64fc7
...
...
@@ -41,7 +41,6 @@ dataSource 用于存储从服务器请求的数据,为了优化体验,我们
在实际开发中我们也经常会碰到一些设计问题,比如经典的按钮应该放在左面还是右面,查询表单怎么布局,日期怎么格式化,数字对齐问题,在重型组件中都进行了抽象。对于各种行为我们都经过了设计师的讨论与设计。默认好看并且好用。
### 脚手架概览
当我们 clone 完项目之后我们会看到如下的目录结构。
...
...
jest.config.js
View file @
d1d64fc7
...
...
@@ -11,10 +11,7 @@ pkgList.forEach((shortName) => {
});
module
.
exports
=
{
collectCoverageFrom
:
[
'packages/**/src/**/*.{js}'
,
'!packages/**/src/demos/**'
,
],
collectCoverageFrom
:
[
'packages/**/src/**/*.{js}'
,
'!packages/**/src/demos/**'
],
moduleNameMapper
,
testURL
:
'http://localhost'
,
verbose
:
true
,
...
...
lerna.json
View file @
d1d64fc7
...
...
@@ -7,4 +7,4 @@
"cacheDir"
:
".changelog"
},
"ignoreChanges"
:
[
"**/*.md"
,
"**/*.test.js"
,
"**/*.e2e.js"
,
"**/fixtures/**"
,
"**/test/**"
]
}
\ No newline at end of file
}
packages/card/src/index.js
View file @
d1d64fc7
console
.
log
(
"hello world"
);
\ No newline at end of file
console
.
log
(
'hello world'
);
scripts/bootstrap.js
View file @
d1d64fc7
...
...
@@ -29,9 +29,7 @@ const { yParser } = require('@umijs/utils');
},
browserslist
:
[
'last 2 versions'
,
'Firefox ESR'
,
'> 1%'
,
'ie >= 11'
],
keywords
:
[
'antd'
,
'admin'
,
'ant-design'
,
'ant-design-pro'
],
authors
:
[
'dengxiaofeng'
,
],
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`
,
...
...
scripts/generateSizeLimit.js
View file @
d1d64fc7
scripts/syncTNPM.js
View file @
d1d64fc7
scripts/utils/exec.js
View file @
d1d64fc7
scripts/utils/getPackages.js
View file @
d1d64fc7
scripts/utils/isNextVersion.js
View file @
d1d64fc7
module
.
exports
=
function
(
version
)
{
return
version
.
includes
(
'-rc.'
)
||
version
.
includes
(
'-beta.'
)
||
version
.
includes
(
'-alpha.'
);
};
\ No newline at end of file
};
scripts/verifyCommit.js
View file @
d1d64fc7
tests/no-duplicated.js
View file @
d1d64fc7
tests/setupTests.js
View file @
d1d64fc7
tests/util.js
View file @
d1d64fc7
webpack.config.js
View file @
d1d64fc7
...
...
@@ -6,7 +6,7 @@ const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const
{
readdirSync
}
=
require
(
'fs'
);
const
tailPkgs
=
readdirSync
(
path
.
join
(
__dirname
,
'packages'
)).
filter
(
(
pkg
)
=>
pkg
.
charAt
(
0
)
!==
'.'
(
pkg
)
=>
pkg
.
charAt
(
0
)
!==
'.'
,
);
const
webPackConfigList
=
[];
...
...
@@ -23,7 +23,7 @@ tailPkgs.forEach((pkg) => {
library
:
`WisDOM
${
pkg
.
toLowerCase
().
replace
(
/
(
|^
)[
a-z
]
/g
,
(
L
)
=>
L
.
toUpperCase
())}
`
,
libraryExport
:
'default'
,
path
:
path
.
resolve
(
__dirname
,
'packages'
,
pkg
,
'dist'
),
globalObject
:
'this'
globalObject
:
'this'
,
},
mode
:
'production'
,
resolve
:
{
...
...
@@ -142,7 +142,7 @@ tailPkgs.forEach((pkg) => {
filename
:
'[name].css'
,
chunkFilename
:
'[id].css'
,
}),
]
],
};
webPackConfigList
.
push
(
config
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment