Skip to content

Commit cee194e

Browse files
Update LICENSE and remove license header from source files (#250)
1 parent 368e045 commit cee194e

24 files changed

+23
-178
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2015-present, Facebook, Inc.
3+
Copyright (c) 2019 GraphQL Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"name": "graphql-relay",
33
"version": "0.6.0",
44
"description": "A library to help construct a graphql-js server supporting react-relay.",
5-
"contributors": [
6-
"Daniel Schafer <[email protected]>"
7-
],
85
"license": "MIT",
96
"homepage": "https://github.com/graphql/graphql-relay-js",
107
"bugs": {

scripts/watch.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import sane from 'sane';
114
import { resolve as resolvePath } from 'path';

src/__tests__/starWarsConnectionTests.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { expect } from 'chai';
114
import { describe, it } from 'mocha';

src/__tests__/starWarsData.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*/
1+
// @flow
72

83
/**
94
* This defines a basic set of data for our Star Wars Schema.

src/__tests__/starWarsMutationTests.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { expect } from 'chai';
114
import { describe, it } from 'mocha';

src/__tests__/starWarsObjectIdentificationTests.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { expect } from 'chai';
114
import { describe, it } from 'mocha';

src/__tests__/starWarsSchema.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import {
114
GraphQLID,

src/connection/__tests__/arrayconnection.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/connection/__tests__/connection.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import {
114
GraphQLInt,

src/connection/arrayconnection.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import type {
114
Connection,

src/connection/connection.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import {
114
GraphQLBoolean,

src/connection/connectiontypes.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
/**
114
* An flow type alias for cursors in this implementation.

src/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
// Flow types for creating connection types in the schema
114
export type {

src/mutation/__tests__/mutation.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
// 80+ char lines are useful in describe/it, so ignore in this file.
114
/* eslint-disable max-len */

src/mutation/mutation.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import {
114
GraphQLInputObjectType,

src/node/__tests__/global.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/node/__tests__/node.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/node/__tests__/nodeasync.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/node/__tests__/plural.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/node/node.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import {
114
GraphQLInterfaceType,

src/node/plural.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { GraphQLList, GraphQLNonNull } from 'graphql';
114

src/utils/__tests__/base64.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
import { describe, it } from 'mocha';
114
import { expect } from 'chai';

src/utils/base64.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow
8-
*/
1+
// @flow
92

103
export type Base64String = string;
114

0 commit comments

Comments
 (0)