Skip to content

Commit

Permalink
feat: v3 release
Browse files Browse the repository at this point in the history
BREAKING_CHANGE: structure of .gqlconfig file changed.

closes #3, closes #23, closes #28, closes #45, closes #52, closes #62, closes #99, closes #100, closes #115
  • Loading branch information
Mayank1791989 committed Apr 18, 2018
1 parent 9c37e5a commit 9756514
Showing 367 changed files with 32,923 additions and 12,203 deletions.
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
presets: [
["playlyfe", { react: false, asyncAwait: true }],
['playlyfe', { react: false, asyncAwait: true }],
],
plugins: [
['./scripts/flow-runtime', { annotate: true, assert: true }],
['module-resolver', { root: ['./src'] }],
['./scripts/flow-runtime', { annotate: false, assert: false }]
],
}
18 changes: 12 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
/* @flow */
module.exports = {
plugins: [
"playlyfe",
],
plugins: ['playlyfe'],

extends: [
"plugin:playlyfe/js",
"plugin:playlyfe/flow",
"plugin:playlyfe/testing:jest",
'plugin:playlyfe/js',
'plugin:playlyfe/flowtype',
'plugin:playlyfe/testing:jest',
'plugin:playlyfe/prettier',
],

env: {
node: true,
},

rules: {
'arrow-paren': 'off',
'no-negated-condition': 'off',
'arrow-body-style': 'off',
complexity: 'off',
},
};
5 changes: 4 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
@@ -14,5 +14,8 @@ suppress_type=$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine

module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=./src

[version]
^0.47.0
^0.70.0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@ lib
coverage
npm-debug*
yarn-*
.tmp
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bracketSpacing": true,
"printWidth": 80,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"jsxBracketSameLine": false,
"parser": "babylon"
}
28 changes: 24 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
// Place your settings in this file to overwrite default and user settings.
{
"search.exclude": {
"**/node_modules": true,
"lib/**": true
"lib/**": true,
"coverage/**": true
},

"prettier.eslintIntegration": true,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"lib/**": true,
"coverage/**": true
},

"prettier.eslintIntegration": false,
"prettier.bracketSpacing": true,
"prettier.semi": true,
"prettier.parser": "flow",
@@ -14,5 +24,15 @@
"prettier.jsxBracketSameLine": false,
"prettier.printWidth": 80,
"prettier.trailingComma": "all",
"prettier.useTabs": false
"prettier.useTabs": false,
"editor.formatOnSave": true,

"path-intellisense.mappings": {
"gql-utils": "${workspaceRoot}/src/gql-utils"
},

"flow.enabled": true,
"flow.useNPMPackagedFlow": true,
"flow.showStatus": true,
"eslint.enable": true
}
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
save-prefix false
save-prefix ""
3 changes: 3 additions & 0 deletions docs/migration_v2_to_v3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .gqlconfig migration

# api migration
Loading

0 comments on commit 9756514

Please sign in to comment.