Skip to content

Commit 1956011

Browse files
committed
chore: clean up examples, remove from toolchain for now
1 parent 5aa890f commit 1956011

File tree

11 files changed

+391
-11409
lines changed

11 files changed

+391
-11409
lines changed

examples/graphiql-cdn-subscriptions/index.html

Lines changed: 0 additions & 122 deletions
This file was deleted.

examples/graphiql-cdn-subscriptions/subscriptionsExample.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

examples/graphiql-cdn/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# GraphiQL CDN Example
22

33
This example uses the CDN bundles to show the most simple example possible for CDN.
4+
5+
### Setup
6+
7+
none required, just open the index.html!
8+
9+
`open index.html` in osx
10+
`firefox index.html` or `chromium index.html` in linux

examples/graphiql-create-react-app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ This example demonstrates how to transpile your own custom ES6 and typescript Gr
66

77
1. Run `yarn` at root of the repository to install the dependencies.
88
1. Run `yarn build && yarn build-bundles` at the root to build graphiql for import
9-
1. `yarn start` from this folder to start `react-script` dev server.
10-
1. `yarn build` from this folder to build production ready transpiled files using `react-script`. Find the output in `build` folder.
9+
1. `yarn` and `yarn start` from this folder to start `react-scripts` dev server.
10+
1. `yarn build` from this folder to build production ready transpiled files using `react-scripts`. Find the output in `build` folder.

examples/graphiql-parcel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ This example demonstrates how to transpile your own custom ES6 GraphiQL implemen
55
### Setup
66

77
1. `yarn` and `yarn build` at the root of this repository, if you have not already.
8-
2. `yarn start` from this folder to start parcel dev mode.
8+
2. `yarn` and `yarn start` from this folder to start parcel dev mode.
99
3. `yarn build` to find production ready files.

examples/graphiql-webpack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ It appears `create-react-app` supports all the language features we require.
1111
### Setup
1212

1313
1. `yarn` and `yarn build` at the root of this repository, if you have not already.
14-
2. `yarn start` from this folder to start webpack dev server
14+
2. `yarn` and `yarn start` from this folder to start webpack dev server
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
A simple example of `monaco-graphql` using webpack
2+
3+
### Setup
4+
5+
1. `yarn` and `yarn build` at the root of this repository, if you have not already.
6+
2. `yarn` and `yarn start` from this folder to start webpack dev server

examples/monaco-graphql-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"graphql": "14.6.0",
15-
"monaco-graphql": "^0.3.1-alpha.2",
15+
"monaco-graphql": "file:../../packages/graphiql",
1616
"prettier": "^2.0.2"
1717
},
1818
"devDependencies": {

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"packages": ["packages/*", "examples/*", "plugins/*"],
2+
"packages": ["packages/*"],
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"version": "independent",

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"private": true,
33
"license": "MIT",
44
"workspaces": [
5-
"packages/*",
6-
"examples/*",
7-
"plugins/*"
5+
"packages"
86
],
97
"lint-staged": {
108
"*.{js,ts,jsx,tsx}": [

0 commit comments

Comments
 (0)