diff --git a/modules/@angular/router/package.json b/modules/@angular/router/package.json index 36908838da..5ba069e348 100644 --- a/modules/@angular/router/package.json +++ b/modules/@angular/router/package.json @@ -12,7 +12,7 @@ "build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.es6.json", "postbuild_npm": "cp package.json README.md dist/ && npm run rewrite_npm_package", "rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js", - "build_bundle": "cp -r src router && tsc typings/tsd.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators" + "build_bundle": "cp -r src router && tsc typings/main.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators" }, "keywords": [ "angular2", @@ -65,4 +65,4 @@ "zone.js": "^0.6.6" }, "typings": "dist/router.d.ts" -} \ No newline at end of file +} diff --git a/modules/@angular/router/tsconfig.json b/modules/@angular/router/tsconfig.json index c73203ecaa..1517df04cc 100644 --- a/modules/@angular/router/tsconfig.json +++ b/modules/@angular/router/tsconfig.json @@ -15,6 +15,6 @@ "files": [ "src/router.ts", "test/router.spec.ts", - "typings/tsd" + "typings/main.d.ts" ] -} \ No newline at end of file +} diff --git a/modules/@angular/router/tsconfig.publish.es5.json b/modules/@angular/router/tsconfig.publish.es5.json index 8b5bd27471..f37ef16b98 100644 --- a/modules/@angular/router/tsconfig.publish.es5.json +++ b/modules/@angular/router/tsconfig.publish.es5.json @@ -14,6 +14,6 @@ }, "files": [ "src/router.ts", - "typings/tsd.d.ts" + "typings/main.d.ts" ] -} \ No newline at end of file +} diff --git a/modules/@angular/router/tsd.json b/modules/@angular/router/tsd.json deleted file mode 100644 index 212a4543f8..0000000000 --- a/modules/@angular/router/tsd.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "v4", - "repo": "borisyankov/DefinitelyTyped", - "ref": "master", - "path": "typings", - "bundle": "typings/tsd.d.ts", - "installed": { - "jasmine/jasmine.d.ts": { - "commit": "e0abafb1a6ff652f7ff967120e312d5c1916eaef" - } - } -} diff --git a/modules/@angular/router/typings.json b/modules/@angular/router/typings.json new file mode 100644 index 0000000000..66d6a571c4 --- /dev/null +++ b/modules/@angular/router/typings.json @@ -0,0 +1,8 @@ +{ + "name": "vladivostok", + "version": false, + "dependencies": {}, + "ambientDependencies": { + "jasmine": "registry:dt/jasmine#2.2.0+20160505161446" + } +}