Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit adb4a5b

Browse files
v2.0.1 (#4)
* use components v4 * 2.0.0 * 2.0.1-beta.0 * types * use @bufferapp/components v4 * 2.0.1
1 parent bb01303 commit adb4a5b

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "@bufferapp/notifications",
3-
"version": "1.9.7",
3+
"version": "2.0.1",
44
"description": "Display application notifications",
55
"main": "lib/index.js",
6+
"types": "types/index.d.ts",
67
"scripts": {
78
"storybook": "start-storybook -p 9002",
89
"lint": "eslint --ext .js test/ src/",
@@ -17,7 +18,7 @@
1718
"src"
1819
],
1920
"dependencies": {
20-
"@bufferapp/components": "3.6.3",
21+
"@bufferapp/components": "^4.0.0",
2122
"@bufferapp/keywrapper": "0.2.0",
2223
"uuid": "3.3.2"
2324
},
@@ -46,7 +47,7 @@
4647
"storybook-addon-a11y": "^3.1.9"
4748
},
4849
"peerDependencies": {
49-
"@bufferapp/components": "3.6.3",
50+
"@bufferapp/components": "^4.0.0",
5051
"react": "16.x",
5152
"react-dom": "16.x",
5253
"react-redux": "7.x"
@@ -94,9 +95,6 @@
9495
}
9596
},
9697
"jest": {
97-
"transformIgnorePatterns": [
98-
"/node_modules(?!/@bufferapp/components)/"
99-
],
10098
"verbose": true
10199
},
102100
"publishConfig": {

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export default connect(
1212
}),
1313
)(Notifications)
1414

15-
export { default as reducer, actions, actionTypes } from './reducer'
15+
export { default as reducer, actions, actionTypes } from './reducer'
1616
export { default as middleware } from './middleware'

src/middleware.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { transitionTimeMilliseconds } from '@bufferapp/components/style/animation'
1+
import { transitionTimeMilliseconds } from '@bufferapp/components'
22
import { actionTypes, actions } from './reducer'
33

44
export default ({ dispatch }) => next => action => {

types/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module '@bufferapp/notifications';

0 commit comments

Comments
 (0)