Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pure Apollo integration based on master #1664

Closed
wants to merge 22 commits into from

Commits on Sep 4, 2018

  1. Pure Apollo integration based on master

    - [x] `apollo-client` with full server-side rendering
    - [x] `apollo-link-state` - Client-side state management with `networkStatus` example
    - [x] `apollo-server`
    
    Without:
    
    * Flux (Redux) store - replaced by `apollo-link-state`
    * Fetch function - No need when you have an `apolloClient`
    piglovesyou committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    a1dc543 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1b784d View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2019

  1. Add features to feature/apollo-pure (kriasoft#1714)

    * Upgrade all dependencies
    
    1. ncu --upgradeAll
    4. Leave "graphql" to be "^13.2.0" that apollo packages depend on
    2. Apply patch of "npx babel-upgrade" output
    3. Leave only necessary babel plugins
    4. Pass "yarn fix" by disabling stricter rules
    
    * Pass "req" through GraphQL resolver context
    
    * Through rootValue it cannot be passed from browser GraphQL access
    * rm unnecessary code
    
    * Add "Timestamp" scalar type for convinience
    
    * rm unnecessary files
    
    * fix: Timestamp didn't work
    
    * npm graphql requires to be update
    vercel/next.js#5238 (comment)
    
    * Feature: Codegen from GraphQL schema and use more Flow types (#2)
    
    * install apllo
    
    * add apollo.config.js
    
    * apollo codegen succeeded
    
    * fix: updateNetworkStatus signature
    
    * rm @flow from files not ready
    
    * add flow-typed files
    
    * done: Using auto-generated types works
    
    * flow-bin@0.89+ has regression. Use ^0.88.0.
    
    * fix: invalid GraphQL primitive types
    
    * Add codegen script
    
    * done: import auto-generated file
    
    * refac: move impl for apollo-link-state to graphql dir as same as server side resolvers
    
    * codegen and ignore eslint these files
    
    * refactor: "networkStatus"
    
    * feat: codegen:standalone
    
    * refac: "OnMemoryState" is what I meant
    
    * Improve codegen (#3)
    
    * delete existing auto-generated types
    
    * change script name
    
    * ignore __generated__ folder
    
    * wip: disallow absolute path resolving under `src` dir
    
    * It causes disregard .js type checking under src
    
    * fix all flow error
    
    * modify: prevent `withStyles` drops component type
    
    * Modify targe Node versions
    
    * Fix build failure: Codegen before lint
    
    * Add Node v10 LTS for build target
    piglovesyou authored and langpavel committed Feb 19, 2019
    Configuration menu
    Copy the full SHA
    12760a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Improve feature/apollo-pure (kriasoft#1720)

    * small README.md grammar change (kriasoft#1675)
    
    * Upgrade all dependencies including Babel 7 (kriasoft#1673)
    
    * Upgrade all dependencies including Babel 7
    
    1. ncu --upgradeAll
    4. Leave "graphql" to be "^13.2.0" that apollo packages depend on
    2. Apply patch of "npx babel-upgrade" output
    3. Leave only necessary babel plugins
    4. Pass "yarn fix" by disabling stricter rules
    
    fixes kriasoft#1654 kriasoft#1626 kriasoft#1607
    
    * Also ignore babel config file from webpack.config.js
    
    * Resolve conflict and follow upstream/master
    
    * small README.md grammar change (kriasoft#1675)
    
    * Upgrade all dependencies including Babel 7 (kriasoft#1673)
    
    * Upgrade all dependencies including Babel 7
    
    * update apollo packages
    
    * Use new local state management of Apollo Client 2.5
    
    * Client Schema
    * Simplify cache and cache defaults
    * User in local state instead of context
    
    * bye apollo-link-state
    
    * mod: better suppressing flow error for .graphql import
    
    * fix: jest error by updating jest
    
    * Upgrade all dependencies
    
    fix 2 breaking changes:
    * css-loader no longer accepts 'minimize' option
    * isomorphic-style-loader uses new React Context now
    
    * refac: Use functional component for components
    
    * fix: resolve apollo and graphql versions problem
    
    ref. apollographql/apollo-tooling#630 (comment)
    piglovesyou authored and langpavel committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    000a954 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. update apollo packages

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    503499e View commit details
    Browse the repository at this point in the history
  2. bye apollo-link-state

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    51e76b5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0fefd74 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bce4fa7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b1d934a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca23b78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d2020c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b54445c View commit details
    Browse the repository at this point in the history
  9. Flow to Typescript (#13)

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    5a17ba5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dd04c5f View commit details
    Browse the repository at this point in the history
  11. improve tyeps (#15)

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    9f3d56d View commit details
    Browse the repository at this point in the history
  12. refactor typings

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    8af3499 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6d98c30 View commit details
    Browse the repository at this point in the history
  14. Type models

    piglovesyou committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    682a14b View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Configuration menu
    Copy the full SHA
    bc2085b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. mod: clear old type defs before codegen

    improve eslint defs
    piglovesyou committed May 6, 2019
    Configuration menu
    Copy the full SHA
    7f19a67 View commit details
    Browse the repository at this point in the history
  2. ignore Node12 build

    * Sqlite3 is still working on supporting Node12 TryGhost/node-sqlite3#1151
    piglovesyou committed May 6, 2019
    Configuration menu
    Copy the full SHA
    825af50 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2019

  1. Fix Node 12 build failure

    piglovesyou committed May 26, 2019
    Configuration menu
    Copy the full SHA
    a778928 View commit details
    Browse the repository at this point in the history