Skip to content

Commit

Permalink
Use typings instead of tsd and update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrv committed Feb 6, 2016
1 parent de5e2ff commit 7daa27e
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 28 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"scripts": {
"tsc": "tsc",
"tsd": "tsd",
"prepublish": "tsd install && tsc",
"typings": "typings",
"prepublish": "typings install && tsc",
"test": "node index.js"
},
"author": "Juha Järvi",
Expand All @@ -22,13 +22,13 @@
},
"homepage": "https://github.com/charto/cxsd#readme",
"dependencies": {
"bluebird": "~3.1.1",
"bluebird": "~3.2.2",
"cget": "~0.0.3",
"cxml": "~0.0.4",
"node-expat": "~2.3.12"
"node-expat": "~2.3.13"
},
"devDependencies": {
"tsd": "~0.6.5",
"typescript": "~1.8.0-dev.20160114"
"typescript": "~1.9.0-dev.20160205",
"typings": "~0.6.6"
}
}
1 change: 1 addition & 0 deletions src/schema/exporter/Exporter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of cxsd, copyright (c) 2015-2016 BusFaster Ltd.
// Released under the MIT license, see LICENSE.

import * as Promise from 'bluebird';
import * as path from 'path';

import {Transform} from '../transform/Transform';
Expand Down
2 changes: 2 additions & 0 deletions src/xsd/Loader.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// This file is part of cxsd, copyright (c) 2015-2016 BusFaster Ltd.
// Released under the MIT license, see LICENSE.

import * as Promise from 'bluebird';

import {Address, FetchOptions, Cache, CacheResult, util} from 'cget'
import {Namespace} from './Namespace'
import {Source} from './Source'
Expand Down
1 change: 1 addition & 0 deletions src/xsd/Source.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of cxsd, copyright (c) 2015-2016 BusFaster Ltd.
// Released under the MIT license, see LICENSE.

import * as Promise from 'bluebird';
import * as url from 'url';

import {Namespace} from './Namespace'
Expand Down
2 changes: 2 additions & 0 deletions src/xsd/types/MissingReferenceError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {Base} from './Base';

export class MissingReferenceError extends Error {
constructor(tag: Base, state: State, type: string, ref: QName) {
super();

this.name = 'MissingReferenceError';
this.message = 'Missing ' + type + ': ' + ref.format() + ' on line ' + tag.lineNumber + ' of ' + state.source.url;

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"target": "es5"
},
"files": [
"typings/tsd.d.ts",
"typings/main.d.ts",
"typings-custom/node-expat.d.ts",

"src/cli.ts"
Expand Down
21 changes: 0 additions & 21 deletions tsd.json

This file was deleted.

11 changes: 11 additions & 0 deletions typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"dependencies": {
"bluebird": "github:unional/typed-bluebird#ce35f299e5313994c0b8e9f0f31e94e115ec791f"
},
"devDependencies": {},
"ambientDependencies": {
"form-data": "github:DefinitelyTyped/DefinitelyTyped/form-data/form-data.d.ts#bb1b99052bf1d697f0368fbff56898bc1f5a525c",
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#1c56e368e17bb28ca57577250624ca5bd561aa81",
"request": "github:DefinitelyTyped/DefinitelyTyped/request/request.d.ts#e252a088123eb595d9d772eb373f41c084360278"
}
}

0 comments on commit 7daa27e

Please sign in to comment.