Skip to content

Commit

Permalink
feat: sync upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccloli committed May 6, 2024
1 parent fae8bd9 commit 48948cf
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"private": true,
"author": "Wells <[email protected]>",
"scripts": {
"dev": "HOST=local.netease.com PORT=8001 umi dev",
"dev": "cross-env HOST=local.netease.com PORT=8001 umi dev",
"build": "umi build",
"build:test": "COMPRESS=none umi build",
"postinstall": "umi setup",
"setup": "umi setup",
"start": "npm run dev"
Expand All @@ -19,6 +18,7 @@
"@music163/antd": "^0.2.4",
"antd": "^4.24.2",
"coral-system": "^1.0.5",
"cross-env": "^7.0.3",
"umi": "^4.0.89"
},
"devDependencies": {
Expand Down
24 changes: 24 additions & 0 deletions src/helpers/prototypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,30 @@ const prototypes: Dict<IComponentPrototype> = {
package: '@music163/antd',
hasChildren: true,
siblingNames: ['Box'],
props: [
{
name: 'aaa',
title: 'aaa',
setter: 'textSetter',
},
{
name: 'bbb',
title: 'bbb',
setter: 'textSetter',
deprecated: true,
},
{
name: 'ccc',
title: 'ccc',
setter: 'textSetter',
deprecated: true,
},
{
name: 'd',
title: 'd',
setter: 'textSetter',
},
],
},
Columns: {
name: 'Columns',
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const menuData = {
'Columns',
'Column',
'Box',
'Text',
'Space',
'Typography',
'Title',
Expand Down

0 comments on commit 48948cf

Please sign in to comment.