Skip to content

Commit

Permalink
refactor(components-rn): react-native-swiper 独立成包 👉 @manjiz/react-nat…
Browse files Browse the repository at this point in the history
…ive-swiper
  • Loading branch information
Manjiz committed Jun 26, 2019
1 parent d1d548b commit ff803ae
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1,227 deletions.
3 changes: 2 additions & 1 deletion packages/taro-components-rn/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module.exports = {
'^.+\\.tsx?$': 'ts-jest'
},
transformIgnorePatterns: [
'node_modules/(?!(react-native|react-native-swiper|react-native-vertical-view-pager|react-native-animatable|react-native-collapsible|@bang88/react-native-ultimate-listview|react-native-modal-popover|react-native-modal-popover|react-native-safe-area-view)/)'
'node_modules/(?!(react-native|react-native-swiper|react-native-vertical-view-pager|react-native-animatable|react-native-collapsible|@bang88/react-native-ultimate-listview|react-native-modal-popover|react-native-modal-popover|react-native-safe-area-view)/)',
'node_modules/(?!(@manjiz/react-native-swiper)/)'
],
testMatch: [
'**/__tests__/**/*.ts?(x)',
Expand Down
1 change: 1 addition & 0 deletions packages/taro-components-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"license": "MIT",
"dependencies": {
"@ant-design/react-native": "^3.1.9",
"@manjiz/react-native-swiper": "^0.0.3",
"prop-types": "^15.6.2",
"react-dom": "^16.4.0",
"react-mixin": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import {
ViewStyle
} from 'react-native'
// import Swiper from 'react-native-swiper'
import Swiper from '../../lib/react-native-swiper'
import Swiper from '@manjiz/react-native-swiper'
import { noop } from '../../utils'
import { SwiperProps } from './PropsType'

Expand Down
113 changes: 0 additions & 113 deletions packages/taro-components-rn/src/lib/react-native-swiper/PropsType.tsx

This file was deleted.

Loading

0 comments on commit ff803ae

Please sign in to comment.