Skip to content

Commit

Permalink
Replace TSD with typings
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Nov 2, 2015
1 parent 9226a39 commit 4d9e543
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 2,312 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
bower_components
coverage
node_modules/
bower_components/
coverage/
.DS_Store
npm-debug.log
dist
dist/
typings/
3 changes: 0 additions & 3 deletions bin.js

This file was deleted.

File renamed without changes.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"description": "TypeScript execution environment and REPL for node",
"main": "dist/ts-node.js",
"bin": {
"ts-node": "bin.js"
"ts-node": "dist/bin/ts-node.js"
},
"files": [
"dist/",
"bin.js",
"typings.js",
"register.js",
"LICENSE"
],
Expand All @@ -21,6 +21,7 @@
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- dist/**/*.spec.js -R spec --bail",
"test": "npm run build && npm run lint && npm run test-cov",
"bump-version": "FILE=\"src/ts-node.ts\"; if [ \"$(git status --porcelain | grep \"^ M \"$FILE)\" = \"\" ]; then VERSION=$(node -p \"require('./package.json').version\") && sed \"s/VERSION = '\\([0-9]*\\.[0-9]*\\.[0-9]*\\)'/VERSION = '\"$VERSION\"'/\" $FILE > .tmp.ts && mv .tmp.ts $FILE && git add $FILE; fi",
"postinstall": "typings install",
"prepublish": "npm run build"
},
"pre-commit": [
Expand Down Expand Up @@ -56,7 +57,8 @@
"ntypescript": "^1.201507091536.1",
"pre-commit": "^1.0.10",
"proxyquire": "^1.7.2",
"typescript": "^1.6.0-beta"
"typescript": "^1.6.2",
"typings": "0.0.11"
},
"dependencies": {
"arrify": "^1.0.0",
Expand All @@ -65,7 +67,7 @@
"make-error": "^1.0.2",
"minimist": "^1.2.0",
"source-map-support": "^0.3.2",
"tsconfig": "^2.1.0",
"tsconfig": "^2.1.1",
"xtend": "^4.0.0"
}
}
2 changes: 2 additions & 0 deletions src/bin/ts-node.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

import { join } from 'path'
import { start } from 'repl'
import { inspect } from 'util'
Expand Down
5 changes: 0 additions & 5 deletions src/typings/arrify.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/typings/make-error.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/typings/pinkie-promise.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/typings/xtend.d.ts

This file was deleted.

9 changes: 2 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@
"declaration": true,
"noImplicitAny": true,
"removeComments": true,
"moduleResolution": "classic",
"sourceMap": true
},
"files": [
"src/ts-node.ts",
"src/ts-node.spec.ts",
"src/bin/ts-node.ts",
"typings/tsd.d.ts",
"src/typings/node.d.ts",
"src/typings/xtend.d.ts",
"src/typings/arrify.d.ts",
"src/typings/make-error.d.ts",
"src/typings/pinkie-promise.d.ts",
"node_modules/typescript/lib/typescript.d.ts"
"typings/main.d.ts"
]
}
36 changes: 0 additions & 36 deletions tsd.json

This file was deleted.

20 changes: 20 additions & 0 deletions typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"dependencies": {
"arrify": "https://raw.githubusercontent.com/typings/typed-arrify/32383d5fd3e6a8614abb6dba254a3aab07cd7424/typings.json",
"chalk": "https://raw.githubusercontent.com/typings/typed-chalk/377de52aeac245226394c41fa6adcd31dbd17d51/typings.json",
"diff": "https://raw.githubusercontent.com/typings/typed-diff/9b748f41b48c9ddcca5c2a135edd57df25d578cd/typings.json",
"make-error": "https://raw.githubusercontent.com/typings/typed-make-error/5a653400e91cf7046512544b7ed2ebab702b0183/typings.json",
"minimist": "https://raw.githubusercontent.com/typings/typed-minimist/00d73ec84bd64f30afff738aa2fc96c79c1ab1b1/typings.json",
"proxyquire": "https://raw.githubusercontent.com/typings/typed-proxyquire/e94c99bbac8d350e28edd70471d9460a5534927b/typings.json",
"source-map-support": "https://raw.githubusercontent.com/typings/typed-source-map-support/900ed4180a22285bce4bbabc0760427e71a59eca/typings.json",
"tsconfig": "npm:tsconfig/package.json",
"typescript": "npm:typescript/lib/typescript.d.ts",
"xtend": "https://raw.githubusercontent.com/typings/typed-xtend/63cccadf3295b3c15561ee45617ac006edcca9e0/typings.json"
},
"ambientDependencies": {
"chai": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/b37afda34daa6186c3f143609555fcd6d70b249f/chai/chai.d.ts",
"mocha": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/b37afda34daa6186c3f143609555fcd6d70b249f/mocha/mocha.d.ts",
"node": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/b37afda34daa6186c3f143609555fcd6d70b249f/node/node.d.ts",
"node-extended": "file:custom_typings/node.d.ts"
}
}
Loading

0 comments on commit 4d9e543

Please sign in to comment.