Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LICENSE and remove license header from source files #250

Merged
merged 1 commit into from
Jun 24, 2020
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
Jump to file
Failed to load files.
Loading
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) 2015-present, Facebook, Inc.
Copyright (c) 2019 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
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "graphql-relay",
"version": "0.6.0",
"description": "A library to help construct a graphql-js server supporting react-relay.",
"contributors": [
"Daniel Schafer <[email protected]>"
],
"license": "MIT",
"homepage": "https://github.com/graphql/graphql-relay-js",
"bugs": {
Expand Down
9 changes: 1 addition & 8 deletions scripts/watch.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import sane from 'sane';
import { resolve as resolvePath } from 'path';
Expand Down
9 changes: 1 addition & 8 deletions src/__tests__/starWarsConnectionTests.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { expect } from 'chai';
import { describe, it } from 'mocha';
Expand Down
7 changes: 1 addition & 6 deletions src/__tests__/starWarsData.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @flow

/**
* This defines a basic set of data for our Star Wars Schema.
Expand Down
9 changes: 1 addition & 8 deletions src/__tests__/starWarsMutationTests.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { expect } from 'chai';
import { describe, it } from 'mocha';
Expand Down
9 changes: 1 addition & 8 deletions src/__tests__/starWarsObjectIdentificationTests.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { expect } from 'chai';
import { describe, it } from 'mocha';
Expand Down
9 changes: 1 addition & 8 deletions src/__tests__/starWarsSchema.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import {
GraphQLID,
Expand Down
9 changes: 1 addition & 8 deletions src/connection/__tests__/arrayconnection.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/connection/__tests__/connection.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import {
GraphQLInt,
Expand Down
9 changes: 1 addition & 8 deletions src/connection/arrayconnection.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import type {
Connection,
Expand Down
9 changes: 1 addition & 8 deletions src/connection/connection.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import {
GraphQLBoolean,
Expand Down
9 changes: 1 addition & 8 deletions src/connection/connectiontypes.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

/**
* An flow type alias for cursors in this implementation.
Expand Down
9 changes: 1 addition & 8 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

// Flow types for creating connection types in the schema
export type {
Expand Down
9 changes: 1 addition & 8 deletions src/mutation/__tests__/mutation.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

// 80+ char lines are useful in describe/it, so ignore in this file.
/* eslint-disable max-len */
Expand Down
9 changes: 1 addition & 8 deletions src/mutation/mutation.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import {
GraphQLInputObjectType,
Expand Down
9 changes: 1 addition & 8 deletions src/node/__tests__/global.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/node/__tests__/node.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/node/__tests__/nodeasync.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/node/__tests__/plural.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/node/node.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import {
GraphQLInterfaceType,
Expand Down
9 changes: 1 addition & 8 deletions src/node/plural.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { GraphQLList, GraphQLNonNull } from 'graphql';

Expand Down
9 changes: 1 addition & 8 deletions src/utils/__tests__/base64.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

import { describe, it } from 'mocha';
import { expect } from 'chai';
Expand Down
9 changes: 1 addition & 8 deletions src/utils/base64.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// @flow

export type Base64String = string;

Expand Down