Skip to content

Commit 7c33764

Browse files
committed
chore: Doesn't register it's own font anymore
BREAKING CHANGE: The plugin doesn't register it's own MaterialIcons font anymore. Although it was redundant, but we're still marking this as a breaking change.
1 parent 8cc52bb commit 7c33764

File tree

3 files changed

+4238
-2360
lines changed

3 files changed

+4238
-2360
lines changed

package.json

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -69,63 +69,62 @@
6969
"dependencies": {
7070
"@bluebase/component-mapper": "^1.4.0",
7171
"@bluebase/components": "^5.24.1",
72-
"@react-native-community/slider": "^2.0.1",
73-
"expo": "^35.0.0",
74-
"react-native": "0.59.8",
72+
"@react-native-community/slider": "3.0.0",
73+
"expo": "^38.0.0",
74+
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",
7575
"react-native-paper": "^3.8.0",
76-
"react-native-vector-icons": "^6.6.0",
77-
"tslib": "^1.9.3"
76+
"tslib": "^2.0.0"
7877
},
7978
"devDependencies": {
80-
"@babel/cli": "7.6.2",
81-
"@babel/core": "^7.6.2",
82-
"@babel/plugin-proposal-class-properties": "^7.4.0",
83-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
79+
"@babel/cli": "7.10.5",
80+
"@babel/core": "^7.11.0",
81+
"@babel/plugin-proposal-class-properties": "^7.10.4",
82+
"@babel/plugin-transform-flow-strip-types": "^7.10.4",
8483
"@bluebase/cli-essentials": "^0.0.5",
8584
"@bluebase/code-standards": "^2.2.4",
86-
"@bluebase/core": "^5.1.0",
87-
"@bluebase/plugin-vector-icons": "^0.2.0",
85+
"@bluebase/core": "^5.11.1",
86+
"@bluebase/plugin-vector-icons": "^0.3.0",
8887
"@bluebase/storybook-addon": "^3.0.0",
8988
"@blueeast/tslint-config-blueeast": "^0.7.0",
90-
"@storybook/addon-actions": "^5.0.6",
91-
"@storybook/react-native": "5.2.1",
92-
"@types/enzyme": "^3.9.0",
93-
"@types/enzyme-adapter-react-16": "^1.0.5",
89+
"@storybook/addon-actions": "^5.3.19",
90+
"@storybook/react-native": "5.3.19",
91+
"@types/enzyme": "^3.10.5",
92+
"@types/enzyme-adapter-react-16": "^1.0.6",
9493
"@types/enzyme-async-helpers": "^0.9.1",
95-
"@types/expo": "^32.0.9",
96-
"@types/jest": "^24.0.9",
97-
"@types/react": "^16.9.5",
98-
"@types/react-dom": "^16.9.1",
94+
"@types/expo": "^33.0.1",
95+
"@types/jest": "^26.0.8",
96+
"@types/react": "~16.9.41",
97+
"@types/react-dom": "^16.9.8",
9998
"@types/react-loadable": "^5.5.0",
100-
"@types/react-native": "^0.57.7",
101-
"@types/react-test-renderer": "^16.8.1",
99+
"@types/react-native": "~0.62.13",
100+
"@types/react-test-renderer": "^16.9.3",
102101
"@types/storybook__addon-info": "^4.1.0",
103102
"@types/storybook__addon-knobs": "^5.0.4",
104103
"babel-core": "^7.0.0-bridge.0",
105-
"babel-jest": "^24.3.1",
106-
"babel-loader": "^8.0.5",
107-
"babel-preset-expo": "^5.0.0",
104+
"babel-jest": "^26.2.2",
105+
"babel-loader": "^8.1.0",
106+
"babel-preset-expo": "^8.2.3",
108107
"codacy-coverage": "^3.4.0",
109-
"codecov": "^3.2.0",
110-
"enzyme": "^3.9.0",
111-
"enzyme-adapter-react-16": "^1.10.0",
108+
"codecov": "^3.7.2",
109+
"enzyme": "^3.11.0",
110+
"enzyme-adapter-react-16": "^1.15.2",
112111
"enzyme-async-helpers": "^0.9.1",
113-
"expo-keep-awake": "^7.0.0",
114-
"jest": "^24.3.1",
115-
"jest-enzyme": "^7.0.2",
116-
"jsdom": "^15.1.1",
112+
"expo-keep-awake": "~8.2.1",
113+
"jest": "^26.2.2",
114+
"jest-enzyme": "^7.1.2",
115+
"jsdom": "^16.3.0",
117116
"npm-run-all": "^4.1.3",
118-
"prettier": "^1.16.4",
119-
"react": "^16.10.2",
120-
"react-dom": "^16.10.2",
117+
"prettier": "^2.0.5",
118+
"react": "16.11.0",
119+
"react-dom": "16.11.0",
121120
"react-native-storybook-loader": "^1.8.0",
122121
"react-native-typescript-transformer": "1.2.13",
123-
"react-test-renderer": "16.10.2",
122+
"react-test-renderer": "16.13.1",
124123
"schedule": "0.5.0",
125-
"ts-jest": "^24.0.0",
124+
"ts-jest": "^26.1.4",
126125
"tslint": "5.11.0",
127-
"typedoc": "0.15.0",
128-
"typescript": "3.6.3"
126+
"typedoc": "0.17.8",
127+
"typescript": "~3.9.5"
129128
},
130129
"peerDependencies": {
131130
"react": "^16.*"

src/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,12 @@ import { BlueBase, BootOptions, createPlugin } from '@bluebase/core';
4343
import { withPortal } from './withPortal';
4444
import { withReactNativePaper } from './withReactNativePaper';
4545

46-
// TODO: This is a temp fix for:
47-
// https://github.com/react-native-community/cli/issues/228
48-
// import MaterialIcons from 'react-native-vector-icons/Fonts/MaterialIcons.ttf';
49-
// tslint:disable-next-line: no-var-requires
50-
const MaterialIcons = require('../Fonts/MaterialIcons.ttf');
51-
5246
export default createPlugin({
5347
description: 'React Native Paper comes to BlueBase!',
5448
key: '@bluebase/plugin-react-native-paper',
5549
name: 'React Native Paper',
5650
version: '1.0.0',
5751

58-
assets: {
59-
'Material Icons': MaterialIcons,
60-
},
61-
6252
components: {
6353
Avatar,
6454
Button,

0 commit comments

Comments
 (0)