Skip to content

Commit

Permalink
Upgrade to latest possible deps
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed Jan 6, 2018
1 parent 6a021d2 commit a291434
Show file tree
Hide file tree
Showing 6 changed files with 978 additions and 453 deletions.
1 change: 0 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
[libs]

[options]
unsafe.enable_getters_and_setters=true
106 changes: 53 additions & 53 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@
"author": "SysGears INC",
"license": "MIT",
"dependencies": {
"@expo/vector-icons": "^6.2.0",
"antd": "^3.0.2",
"antd-mobile": "^2.1.0",
"apollo-cache-inmemory": "^1.1.2",
"apollo-client": "^2.1.0",
"apollo-engine": "^0.7.0",
"@expo/vector-icons": "^6.2.2",
"antd": "^3.1.0",
"antd-mobile": "^2.1.3",
"apollo-cache-inmemory": "^1.1.5",
"apollo-client": "^2.2.0",
"apollo-engine": "^0.8.1",
"apollo-fetch": "^0.7.0",
"apollo-fetch-upload": "^1.1.0",
"apollo-link": "^1.0.5",
"apollo-link-batch-http": "^1.0.2",
"apollo-link-ws": "^1.0.2",
"apollo-fetch-upload": "^1.2.0",
"apollo-link": "^1.0.7",
"apollo-link-batch-http": "^1.0.4",
"apollo-link-ws": "^1.0.4",
"apollo-logger": "0.1.1",
"apollo-server-express": "^1.2.0",
"apollo-server-express": "^1.3.2",
"apollo-upload-server": "^3.0.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.2",
Expand All @@ -76,47 +76,47 @@
"dataloader": "^1.3.0",
"dotenv": "^4.0.0",
"error-stack-parser": "^2.0.1",
"expo": "^24.0.0",
"expo": "^24.0.2",
"express": "^4.16.2",
"filesize": "^3.5.11",
"graphql": "^0.11.7",
"graphql": "^0.12.3",
"graphql-auth": "^0.2.0",
"graphql-iso-date": "^3.3.0",
"graphql-subscriptions": "^0.5.5",
"graphql-tag": "^2.5.0",
"graphql-tools": "^2.11.0",
"graphql-subscriptions": "^0.5.6",
"graphql-tag": "^2.6.1",
"graphql-tools": "^2.16.0",
"history": "^4.7.2",
"humps": "^2.0.1",
"immutability-helper": "^2.5.1",
"immutability-helper": "^2.6.2",
"isomorphic-fetch": "^2.2.1",
"jsonwebtoken": "^8.1.0",
"jwt-decode": "^2.2.0",
"knex": "^0.14.2",
"lodash": "^4.17.4",
"minilog": "^3.1.0",
"mysql2": "^1.5.1",
"native-base": "^2.3.3",
"nodemailer": "^4.4.0",
"native-base": "^2.3.6",
"nodemailer": "^4.4.1",
"opencollective": "^1.0.3",
"passport": "^0.4.0",
"passport-facebook": "^2.1.1",
"passport-google-oauth": "^1.0.0",
"performance-now": "^2.1.0",
"persistgraphql": "^0.4.0",
"pg": "^7.4.0",
"pg": "^7.4.1",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-apollo": "^2.0.4",
"react-cookie": "^2.1.2",
"react-debounce-input": "^3.1.0",
"react-dom": "^16.2.0",
"react-dropzone": "^4.2.3",
"react-ga": "^2.3.5",
"react-ga": "^2.4.0",
"react-helmet": "^5.2.0",
"react-hot-loader": "^3.1.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz",
"react-native-web": "^0.1.16",
"react-navigation": "^1.0.0-beta.21",
"react-navigation": "^1.0.0-beta.23",
"react-redux": "^5.0.6",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
Expand All @@ -130,24 +130,24 @@
"serialize-javascript": "^1.4.0",
"shelljs": "^0.7.8",
"source-map-support": "^0.5.0",
"sourcemapped-stacktrace": "^1.1.7",
"sourcemapped-stacktrace": "^1.1.8",
"sqlite3": "^3.1.13",
"stripe": "^5.3.0",
"stripe": "^5.4.0",
"stripe-local": "^0.1.1",
"styled-components": "^2.2.4",
"styled-components": "^2.4.0",
"subscriptions-transport-ws": "^0.9.4",
"universal-cookie-express": "^2.1.2"
},
"devDependencies": {
"apollo-utilities": "^1.0.3",
"apollo-utilities": "^1.0.4",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-eslint": "^8.1.2",
"babel-loader": "^7.1.2",
"babel-plugin-styled-components": "^1.3.0",
"babel-plugin-styled-components": "^1.4.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
"babel-plugin-transform-react-remove-prop-types": "^0.4.12",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
Expand All @@ -162,72 +162,72 @@
"chai-http": "^3.0.0",
"compression": "^1.7.1",
"connect": "^3.6.5",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^4.12.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.8",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.14.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-import-resolver-webpack": "^0.8.4",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-mocha": "^4.11.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.5.1",
"exp": "47.1.1",
"exp": "47.3.17",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"flow-bin": "^0.61.0",
"file-loader": "^1.1.6",
"flow-bin": "^0.62.0",
"freeport-async": "^1.1.1",
"haul": "1.0.0-beta.11",
"haul": "1.0.0-beta.12",
"html-webpack-plugin": "^2.30.1",
"http-proxy-middleware": "^0.17.4",
"husky": "^0.14.3",
"ignore-loader": "^0.1.2",
"image-size": "^0.6.1",
"image-size": "^0.6.2",
"ip": "^1.1.5",
"isomorphic-style-loader": "^4.0.0",
"jsdom": "^11.5.1",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"lint-staged": "^6.0.0",
"mkdirp": "^0.5.1",
"mocha": "^4.0.1",
"mocha": "^4.1.0",
"mocha-steps": "^1.1.0",
"mocha-webpack": "^0.7.0",
"node-sass": "^4.7.2",
"openurl": "^1.1.1",
"persistgraphql-webpack-plugin": "^0.4.4",
"postcss-loader": "^2.0.9",
"prettier": "^1.9.0",
"postcss-loader": "^2.0.10",
"prettier": "^1.9.2",
"qrcode-terminal": "^0.11.0",
"raw-loader": "^0.5.1",
"react-addons-test-utils": "^16.0.0-alpha.3",
"react-test-renderer": "^16.2.0",
"request": "^2.83.0",
"resolve-url-loader": "^2.2.0",
"resolve-url-loader": "^2.2.1",
"sass-loader": "^6.0.6",
"source-list-map": "^2.0.0",
"spinjs": "^0.4.62",
"style-loader": "^0.19.0",
"spinjs": "^0.4.70",
"style-loader": "^0.19.1",
"url-loader": "^0.6.2",
"wait-on": "^2.0.2",
"webpack": "^3.10.0",
"webpack-dev-middleware": "^2.0.1",
"webpack-dev-server": "^2.9.5",
"webpack-dev-middleware": "^2.0.3",
"webpack-dev-server": "^2.10.0",
"webpack-hot-middleware": "^2.21.0",
"webpack-manifest-plugin": "^1.3.2",
"webpack-merge": "^4.1.1",
"webpack-node-externals": "^1.6.0",
"webpack-sources": "^1.1.0",
"webpack-virtual-modules": "^0.1.8",
"ws": "^3.3.2",
"xdl": "^47.0.6"
"ws": "^4.0.0",
"xdl": "^47.1.4"
},
"resolutions": {
"graphql": "^0.11.7"
"graphql": "^0.12.3"
},
"greenkeeper": {
"ignore": [
Expand Down
51 changes: 24 additions & 27 deletions src/server/modules/subscription/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,44 +1,41 @@
type UserSubscription {
active: Boolean!
errors: [FieldError!]
active: Boolean!
errors: [FieldError!]
}

type UserSubscriptionCardInfo {
expiryMonth: Int
expiryYear: Int
last4: String
brand: String
expiryMonth: Int
expiryYear: Int
last4: String
brand: String
}

type SubscriberNumber {
number: Int
number: Int
}

extend type Query {
# Get current user's subscription
subscription: UserSubscription
# Get magic number only available to subscribers
subscribersOnlyNumber: SubscriberNumber
# Get payment information for current user's subscription
subscriptionCardInfo: UserSubscriptionCardInfo
# Get current user's subscription
subscription: UserSubscription
# Get magic number only available to subscribers
subscribersOnlyNumber: SubscriberNumber
# Get payment information for current user's subscription
subscriptionCardInfo: UserSubscriptionCardInfo
}

extend type Mutation {
# Subscribe a user
subscribe(input: SubscribeInput!): UserSubscription!
# Cancel a user's subscription
cancel: UserSubscription!
# Update a user's card information
updateCard(input: SubscribeInput!): Boolean!
# Subscribe a user
subscribe(input: SubscribeInput!): UserSubscription!
# Cancel a user's subscription
cancel: UserSubscription!
# Update a user's card information
updateCard(input: SubscribeInput!): Boolean!
}

input SubscribeInput {
token: String!
expiryMonth: Int!
expiryYear: Int!
last4: String!
brand: String!
}

extend type Subscription {
token: String!
expiryMonth: Int!
expiryYear: Int!
last4: String!
brand: String!
}
3 changes: 0 additions & 3 deletions src/server/modules/upload/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ extend type Mutation {
uploadFiles(files: [Upload!]!): Boolean!
removeFile(id: Int!): Boolean!
}

extend type Subscription {
}
3 changes: 0 additions & 3 deletions src/server/modules/user/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,3 @@ input ResetPasswordInput {
password: String!
passwordConfirmation: String!
}

extend type Subscription {
}
Loading

0 comments on commit a291434

Please sign in to comment.