Skip to content

Commit

Permalink
Remove reference paths
Browse files Browse the repository at this point in the history
We now define a list of entry files we want to include in the build instead of
using a `exclude` list of directories.
  • Loading branch information
mquandalle committed Mar 24, 2016
1 parent 6b05f34 commit a09df91
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 40 deletions.
2 changes: 0 additions & 2 deletions src/QueryManager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
NetworkInterface,
Request,
Expand Down
2 changes: 0 additions & 2 deletions src/debug.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

// For development only!
import * as _ from 'lodash';

Expand Down
2 changes: 0 additions & 2 deletions src/diffAgainstStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
isArray,
isNull,
Expand Down
2 changes: 0 additions & 2 deletions src/networkInterface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

// ensure env has promise support
// this should probably be moved elsewhere / should be part of the extra
// deps for older environemnts
Expand Down
2 changes: 0 additions & 2 deletions src/parser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { parse } from 'graphql';

import {
Expand Down
2 changes: 0 additions & 2 deletions src/queryPrinting.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { print } from 'graphql';

export function printNodeQuery({
Expand Down
2 changes: 0 additions & 2 deletions src/readFromStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
parseFragmentIfString,
parseQueryIfString,
Expand Down
2 changes: 0 additions & 2 deletions src/store.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
SelectionSet,
} from 'graphql';
Expand Down
2 changes: 0 additions & 2 deletions src/storeUtils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
Field,
Argument,
Expand Down
2 changes: 0 additions & 2 deletions src/writeToStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
isString,
isNumber,
Expand Down
2 changes: 0 additions & 2 deletions test/QueryManager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import {
QueryManager,
} from '../src/QueryManager';
Expand Down
2 changes: 0 additions & 2 deletions test/diffAgainstStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { assert } from 'chai';

import { diffQueryAgainstStore } from '../src/diffAgainstStore';
Expand Down
2 changes: 0 additions & 2 deletions test/networkInterface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';

Expand Down
2 changes: 0 additions & 2 deletions test/queryPrinting.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { assert } from 'chai';
import { printNodeQuery } from '../src/queryPrinting';

Expand Down
2 changes: 0 additions & 2 deletions test/readFromStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { assert } from 'chai';
import * as _ from 'lodash';

Expand Down
2 changes: 0 additions & 2 deletions test/roundtrip.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { assert } from 'chai';

import { writeQueryToStore } from '../src/writeToStore';
Expand Down
2 changes: 0 additions & 2 deletions test/writeToStore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/main.d.ts" />

import { assert } from 'chai';
import * as _ from 'lodash';

Expand Down
11 changes: 5 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"pretty": true,
"removeComments": true
},
"exclude": [
"node_modules",
"typings",
"lib",
"test-lib"
]
"files": [
"typings/main.d.ts",
"src/index.ts",
"test/tests.ts"
]
}

0 comments on commit a09df91

Please sign in to comment.