File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from 'father' ;
22
33export default defineConfig ( {
4- platform : 'browser' ,
5- cjs : { output : 'lib' } ,
6- esm : {
7- output : 'es' ,
8- alias : { 'rc-util/lib' : 'rc-util/es' } ,
9- } ,
4+ plugins : [ '@rc-component/father-plugin' ] ,
105} ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " rc-input" ,
3- "version" : " 1.7.2 " ,
2+ "name" : " @ rc-component/ input" ,
3+ "version" : " 1.0.0-0 " ,
44 "description" : " React input component" ,
55 "keywords" : [
66 " react" ,
4444 "prepare" : " husky install"
4545 },
4646 "dependencies" : {
47- "@babel/runtime" : " ^7.11.1" ,
4847 "classnames" : " ^2.2.1" ,
49- "rc-util" : " ^5.18.1 "
48+ "@ rc-component/ util" : " ^1.2.0 "
5049 },
5150 "devDependencies" : {
51+ "@rc-component/father-plugin" : " ^2.0.3" ,
52+ "@rc-component/np" : " ^1.0.3" ,
5253 "@testing-library/jest-dom" : " ^6.6.3" ,
5354 "@testing-library/react" : " ^16.0.1" ,
5455 "@testing-library/user-event" : " ^14.0.0-beta" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { spyElementPrototypes } from 'rc-util/lib/test/domHook' ;
3- import Input from 'rc-input ' ;
3+ import Input from '../src ' ;
44import { fireEvent , render } from '@testing-library/react' ;
55
66const getInputRef = ( ) => {
Original file line number Diff line number Diff line change 1515 "paths" : {
1616 "@/*" : [" src/*" ],
1717 "@@/*" : [" .dumi/tmp/*" ],
18- "rc-input" : [" src/index.tsx" ]
18+ "rc-input" : [" src/index.tsx" ],
19+ "@rc-component/input" : [" src/index.tsx" ]
1920 }
2021 },
2122 "include" : [" .dumirc.ts" , " **/*.ts" , " **/*.tsx" ]
You can’t perform that action at this time.
0 commit comments