Skip to content

Commit 853f907

Browse files
committed
Bump 1.0.5 (fix: babel build process)
1 parent 293c077 commit 853f907

File tree

4 files changed

+21
-10
lines changed

4 files changed

+21
-10
lines changed

.babelrc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
{
22
"env": {
33
"development": {
4-
"presets": ["es2015"],
4+
"presets": [
5+
["es2015", {"modules": "commonjs"}]
6+
],
57
"plugins": [
68
"syntax-async-functions",
79
"transform-regenerator",
810
"transform-class-properties",
911
"transform-object-rest-spread",
10-
"transform-flow-strip-types",
11-
"transform-runtime",
12+
"transform-flow-strip-types"
1213
]
1314
},
1415
"es": {
16+
"presets": [
17+
["es2015", {"modules": false}]
18+
],
1519
"plugins": [
1620
"syntax-async-functions",
17-
"transform-regenerator",
21+
["transform-regenerator", {
22+
"async": false
23+
}],
1824
"transform-class-properties",
1925
"transform-object-rest-spread",
2026
"transform-flow-strip-types",

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
},
99
"env": {
1010
"mocha": true
11-
}
11+
},
12+
"plugins": [
13+
"flowtype"
14+
]
1215
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## master
22

3+
## 1.0.5 (August 13, 2016)
4+
- fix: babel build process
5+
36
## 1.0.4 (August 10, 2016)
47
- Update packages, add `babel-plugin-transform-runtime` for build process. Fix [issue](https://github.com/nodkz/graphql-compose-connection/issues/2) for vanilla node.js users without babel (thanks @jacobbubu).
58

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-compose-relay",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.",
55
"files": [
66
"es",
@@ -24,7 +24,7 @@
2424
"homepage": "https://github.com/nodkz/graphql-compose-relay",
2525
"peerDependencies": {
2626
"graphql": ">=0.5.0 || >=0.6.0",
27-
"graphql-compose": ">=0.0.7 || >=1.0.0"
27+
"graphql-compose": ">=0.0.16 || >=1.0.0"
2828
},
2929
"devDependencies": {
3030
"babel-cli": "6.11.4",
@@ -34,14 +34,12 @@
3434
"babel-plugin-transform-flow-strip-types": "6.8.0",
3535
"babel-plugin-transform-object-rest-spread": "6.8.0",
3636
"babel-plugin-transform-regenerator": "6.11.4",
37-
"babel-plugin-transform-runtime": "6.12.0",
3837
"babel-preset-es2015": "6.13.2",
3938
"chai": "3.5.0",
4039
"chai-as-promised": "5.3.0",
4140
"chai-spies": "0.7.1",
4241
"eslint": "3.2.2",
4342
"eslint-config-airbnb": "10.0.0",
44-
"eslint-plugin-flow-vars": "0.5.0",
4543
"eslint-plugin-flowtype": "2.6.1",
4644
"eslint-plugin-import": "1.12.0",
4745
"eslint-plugin-jsx-a11y": "2.0.1",
@@ -59,6 +57,7 @@
5957
"lint": "eslint src test *.js",
6058
"prepublish": "npm run test && npm run build",
6159
"test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js",
62-
"watch": "babel-node ./resources/watch.js"
60+
"watch": "babel-node ./resources/watch.js",
61+
"link": "npm link graphql && npm link graphql-compose && npm link"
6362
}
6463
}

0 commit comments

Comments
 (0)