Skip to content

Commit a53848d

Browse files
committed
Bump 1.0.6 (fix: babel build process)
1 parent 365053e commit a53848d

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

.babelrc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
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",
1721
["transform-regenerator", {
18-
"async": false,
22+
"async": false
1923
}],
2024
"transform-class-properties",
2125
"transform-object-rest-spread",

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
},
1212
"env": {
1313
"mocha": true
14-
}
14+
},
15+
"plugins": [
16+
"flowtype"
17+
]
1518
}

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.6 (August 13, 2016)
4+
- fix: babel build process
5+
36
## 1.0.5 (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-connection",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Plugin for `graphql-compose` which provide a connection resolver for types.",
55
"files": [
66
"es",
@@ -24,7 +24,7 @@
2424
"homepage": "https://github.com/nodkz/graphql-compose-connection",
2525
"peerDependencies": {
2626
"graphql": ">=0.5.0 || >=0.6.0",
27-
"graphql-compose": ">=0.0.6 || >=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)