Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 6cbda47

Browse files
committed
docs(cookbook/graphql): Fix systemjs.config for Plunker
1 parent bc16062 commit 6cbda47

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

public/docs/_examples/heroes-graphql/ts/aot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html>
44
<head>
55
<base href="/">
6-
<title>Angular Tour of Heroes</title>
6+
<title>Angular Tour of Heroes - GraphQL</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88

99
<link rel="stylesheet" href="styles.css">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"description": "Tour of Heroes: Part 6",
2+
"description": "Tour of Heroes: GraphQL",
33
"files":[
44
"!**/*.d.ts",
55
"!**/*.js",
66
"!**/*.[1,2].*",
77
"systemjs.config.extras.js"
88
],
9-
"tags": ["tutorial", "tour", "heroes", "http"]
9+
"tags": ["tutorial", "tour", "heroes", "http", "GraphQL"]
1010
}

public/docs/_examples/heroes-graphql/ts/systemjs.config.extras.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ System.config({
55
map: {
66
'apollo-client': 'npm:apollo-client',
77
'apollo-client-rxjs': 'npm:apollo-client-rxjs',
8-
'angular2-apollo': 'npm:angular2-apollo',
8+
'apollo-angular-test': 'npm:apollo-angular-test',
99

1010
'graphql': 'npm:graphql',
1111
'whatwg-fetch': 'npm:whatwg-fetch',
@@ -63,7 +63,7 @@ System.config({
6363

6464
'apollo-client': { main: './index.js', defaultExtension: 'js' },
6565
'apollo-client-rxjs': { main: './build/src/index.js', defaultExtension: 'js' },
66-
'angular2-apollo': { main: './build/src/index.js', defaultExtension: 'js' },
66+
'apollo-angular-test': { main: './build/bundles/apollo.umd.js', defaultExtension: 'js' },
6767

6868
'whatwg-fetch': { main: './fetch.js', defaultExtension: 'js' },
6969
'redux': { format: 'cjs', defaultExtension: 'js' },
@@ -81,7 +81,11 @@ System.config({
8181
'./utilities': './utilities/index.js'
8282
},
8383
},
84-
'graphql-tools': { main: '/dist/index.js', defaultExtension: 'js' },
84+
'graphql-tools': {
85+
main: '/dist/index.js',
86+
defaultExtension: 'js',
87+
map: { uuid: '@empty' }
88+
},
8589
'graphql-anywhere': { main: '/lib/src/index.js', defaultExtension: 'js' },
8690

8791
'deprecated-decorator': { main: '/bld/index.js', defaultExtension: 'js' },

0 commit comments

Comments
 (0)