Skip to content

Commit

Permalink
🔖 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienjuif authored Apr 25, 2020
1 parent c1b47e7 commit 3cea2b5
Show file tree
Hide file tree
Showing 9 changed files with 2,609 additions and 482 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ typings/

# next.js build output
.next

# pika pkg
/pkg
7 changes: 0 additions & 7 deletions .npmignore

This file was deleted.

14 changes: 14 additions & 0 deletions DEV.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# DEV notes

## Release a new version

1. Edit version in package.json
2. Run `yarn build`
3. Publish `cd pkg && npm publish && cd -`
4. Commit and push

```sh
git add .
git commit -m ':bookmark: v'
git push
```
12 changes: 12 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
],
}
56 changes: 47 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,44 @@
{
"name": "use-bus",
"version": "2.2.0",
"version": "2.3.0",
"main": "index.js",
"module": "index.js",
"repository": "[email protected]:fabienjuif/use-bus.git",
"keywords": [
"react",
"hook",
"bus",
"eventbus",
"dispatch",
"share",
"actions",
"events",
"event",
"message",
"messages",
"nantes"
],
"author": "Fabien JUIF <[email protected]>",
"license": "MIT",
"types": "index.d.ts",
"types": "src/index.d.ts",
"scripts": {
"build": "pika build",
"pika-publish": "pika publish",
"version": "npm run build",
"lint": "eslint . --cache",
"test": "jest"
},
"peerDependencies": {
"react": "^16.8"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.9.2",
"@pika/plugin-build-web": "^0.9.2",
"@pika/plugin-standard-pkg": "^0.9.2",
"@testing-library/react-hooks": "^2.0.1",
"babel-jest": "^24.9.0",
"coveralls": "^3.0.6",
Expand All @@ -30,11 +52,6 @@
"react": "^16.10.1",
"react-test-renderer": "^16.10.1"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"eslintConfig": {
"extends": "airbnb",
"rules": {
Expand All @@ -43,5 +60,26 @@
"never"
]
}
},
"babel": {
"presets": [
"@babel/preset-react"
]
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-standard-pkg"
],
[
"@pika/plugin-build-node"
],
[
"@pika/plugin-build-web"
],
[
"@pika/plugin-standard-pkg"
]
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 3cea2b5

Please sign in to comment.