Skip to content

Commit

Permalink
Update LICENSE and remove license header from source files
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 24, 2020
1 parent 368e045 commit 00e31aa
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 178 deletions.
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 <dschafer@fb.com>"
],
"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

0 comments on commit 00e31aa

Please sign in to comment.