Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 GraphQL Contributors
Copyright (c) 2020 GraphQL Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-cdn-subscriptions/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the license found in the
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-cdn/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 GraphQL Contributors
Copyright (c) 2020 GraphQL Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/resources/watch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/__tests__/hint-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019 GraphQL Contributors
# Copyright (c) 2020 GraphQL Contributors
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/__tests__/lint-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/__tests__/mode-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019 GraphQL Contributors
# Copyright (c) 2020 GraphQL Contributors
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/__tests__/testSchema.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/hint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/info.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @flow */
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/jump.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/lint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/mode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/results/mode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/SchemaReference.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @flow */
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/collectVariables.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/forEachState.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/getTypeInfo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/hintList.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/info-addon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/jsonParse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/jump-addon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/runParser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/variables/hint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/variables/lint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/variables/mode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 GraphQL Contributors
* Copyright (c) 2020 GraphQL Contributors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
1 change: 1 addition & 0 deletions packages/graphiql-2-rfc-context/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./babel.config');
19 changes: 19 additions & 0 deletions packages/graphiql-2-rfc-context/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dist/
esm/
cdn/
webpack/
monaco/
cdn.html
analyzer.html
/graphiql.*js
/graphiql.*js.map
/graphiql.*css
/graphiql.*css.map
example/yarn.lock
example/graphiql.js
example/graphiql.css
test/pid
renderGraphiql.js
cypress/screenshots
.awcache
typedoc
19 changes: 19 additions & 0 deletions packages/graphiql-2-rfc-context/.storybook/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (c) 2020 GraphQL Contributors.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import { configure, addDecorator } from '@storybook/react';
import React from 'react';
import requireContext from 'require-context.macro';
import ThemeProvider from '../src/components/common/themes/provider';

addDecorator(story => <ThemeProvider>{story()}</ThemeProvider>);

configure(
requireContext('../src/components/common', true, /\.stories\.tsx$/),
module,
);
22 changes: 22 additions & 0 deletions packages/graphiql-2-rfc-context/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Copyright (c) 2020 GraphQL Contributors.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

module.exports = {
webpackFinal: async config => {
config.module.rules.push({
test: /\.(ts|tsx)$/,
use: [
{
loader: require.resolve('ts-loader'),
},
],
});
config.resolve.extensions.push('.ts', '.tsx');
return config;
},
};
Loading