Skip to content

Commit

Permalink
Save dep in tsd.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdy Dara committed Sep 4, 2015
1 parent 0743527 commit ac505f2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
43 changes: 42 additions & 1 deletion app/templates/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,46 @@
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "<%- props.paths.tmp %>/typings",
"bundle": "<%- props.paths.tmp %>/typings/tsd.d.ts"
"bundle": "<%- props.paths.tmp %>/typings/tsd.d.ts",
"installed": {
"angularjs/angular.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"jasmine/jasmine.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"karma-jasmine/karma-jasmine.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"moment/moment.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"moment/moment-node.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angular-ui-bootstrap/angular-ui-bootstrap.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angular-ui-router/angular-ui-router.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angularjs/angular-animate.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angularjs/angular-sanitize.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angularjs/angular-cookies.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angularjs/angular-resource.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"angularjs/angular-mocks.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
},
"jquery/jquery.d.ts": {
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
}
}
}
1 change: 1 addition & 0 deletions app/templates/gulp/tsd.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gulp.task('tsd:install', function () {
options.resolveDependencies = true;
options.overwriteFiles = true;
options.saveBundle = true;
options.saveToConfig = true;

return tsdApi.readConfig()
.then(function () {
Expand Down
4 changes: 2 additions & 2 deletions test/node/test-bower.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('gulp-angular generator bower script', function () {
generator.props = {
jQuery: { key: 'jquery1' },
ui: { key: 'bootstrap' },
bootstrapComponents: { key: 'angular-bootstrap' },
bootstrapComponents: { key: 'ui-bootstrap' },
cssPreprocessor: { extension: 'scss' }
};
generator.computeWiredepExclusions();
Expand All @@ -151,7 +151,7 @@ describe('gulp-angular generator bower script', function () {
generator.props = {
jQuery: { key: 'jquery1' },
ui: { key: 'bootstrap' },
bootstrapComponents: { key: 'angular-bootstrap' },
bootstrapComponents: { key: 'ui-bootstrap' },
cssPreprocessor: { extension: 'less' }
};
generator.computeWiredepExclusions();
Expand Down

0 comments on commit ac505f2

Please sign in to comment.