@withjoy/server-core
Joy Server Base and Utils
Last updated 7 days ago by cantremember .
MIT · Original npm · Tarball · package.json
$ cnpm install @withjoy/server-core 
SYNC missed versions from official npm registry.

server-core

Development w/ npm link (or yarn link)

You may see the following when trying to use npm link and co-develop this module and one of our Apps (eg. event_service):

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.

Or, maybe this:

error TS2322: Type 'import("/Users/dfoley/src/withjoy/server-core/node_modules/@types/graphql/type/schema").GraphQLSchema' is not assignable to type 'import("/Users/dfoley/src/withjoy/event_service/node_modules/@types/graphql/type/schema").GraphQLSchema'.
  Types of property 'getQueryType' are incompatible.

To fix this problem, symlink the App's graphql module into service-core;

# from the shared parent directory of both repos,
rm -rf server-core/node_modules/graphql
ln -s FULL/PATH/TO/event_service/node_modules/graphql server-core/node_modules

rm -rf server-core/node_modules/@types/graphql
ln -s FULL/PATH/TO/event_service/node_modules/@types/graphql server-core/node_modules/@types

This is because graphql and all of the Apollo modules need to stay in close alignment; that's why we've pinned to specific versions in server-core and all of the Apps that utilize it. You'll also see graphql in this module's peerDependencies.

Current Tags

  • 1.5.1                                ...           latest (7 days ago)

42 Versions

  • 1.5.1                                ...           7 days ago
  • 1.5.0                                ...           8 days ago
  • 1.4.3                                ...           20 days ago
  • 1.4.2                                ...           21 days ago
  • 1.4.1                                ...           22 days ago
  • 1.4.0                                ...           22 days ago
  • 1.3.2                                ...           25 days ago
  • 1.3.1                                ...           25 days ago
  • 1.3.0                                ...           a month ago
  • 1.2.2-template-beta.0                                ...           a month ago
  • 1.2.2                                ...           a month ago
  • 1.2.1                                ...           2 months ago
  • 1.2.0                                ...           2 months ago
  • 1.1.1                                ...           4 months ago
  • 1.1.0                                ...           4 months ago
  • 1.0.1                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
  • 0.1.0-breaking-test-10                                ...           4 months ago
  • 0.1.0-breaking-test-9                                ...           4 months ago
  • 0.2.0                                ...           5 months ago
  • 0.1.0-breaking-test-8                                ...           5 months ago
  • 0.1.0-breaking-test-7                                ...           5 months ago
  • 0.1.0-breaking-test-6                                ...           5 months ago
  • 0.1.0-breaking-test-5                                ...           5 months ago
  • 0.1.0-breaking-test-4                                ...           5 months ago
  • 0.1.0-breaking-test-3                                ...           5 months ago
  • 0.1.0-breaking-test-2                                ...           5 months ago
  • 0.1.0-breaking-test                                ...           5 months ago
  • 0.1.0                                ...           6 months ago
  • 0.0.14                                ...           6 months ago
  • 0.0.11                                ...           6 months ago
  • 0.0.10                                ...           7 months ago
  • 0.0.9                                ...           7 months ago
  • 0.0.8-a                                ...           7 months ago
  • 0.0.8                                ...           7 months ago
  • 0.0.7                                ...           8 months ago
  • 0.0.6                                ...           9 months ago
  • 0.0.5                                ...           9 months ago
  • 0.0.4                                ...           9 months ago
  • 0.0.3                                ...           9 months ago
  • 0.0.2                                ...           9 months ago
  • 0.0.1                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 24
Last Day 0
Last Week 24
Last Month 135
Dependencies (30)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |