Skip to content

Commit ac505f2

Browse files
author
Mehdy Dara
committed
Save dep in tsd.json
1 parent 0743527 commit ac505f2

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

app/templates/_tsd.json

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,46 @@
33
"repo": "borisyankov/DefinitelyTyped",
44
"ref": "master",
55
"path": "<%- props.paths.tmp %>/typings",
6-
"bundle": "<%- props.paths.tmp %>/typings/tsd.d.ts"
6+
"bundle": "<%- props.paths.tmp %>/typings/tsd.d.ts",
7+
"installed": {
8+
"angularjs/angular.d.ts": {
9+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
10+
},
11+
"jasmine/jasmine.d.ts": {
12+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
13+
},
14+
"karma-jasmine/karma-jasmine.d.ts": {
15+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
16+
},
17+
"moment/moment.d.ts": {
18+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
19+
},
20+
"moment/moment-node.d.ts": {
21+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
22+
},
23+
"angular-ui-bootstrap/angular-ui-bootstrap.d.ts": {
24+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
25+
},
26+
"angular-ui-router/angular-ui-router.d.ts": {
27+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
28+
},
29+
"angularjs/angular-animate.d.ts": {
30+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
31+
},
32+
"angularjs/angular-sanitize.d.ts": {
33+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
34+
},
35+
"angularjs/angular-cookies.d.ts": {
36+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
37+
},
38+
"angularjs/angular-resource.d.ts": {
39+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
40+
},
41+
"angularjs/angular-mocks.d.ts": {
42+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
43+
},
44+
"jquery/jquery.d.ts": {
45+
"commit": "d9fea91e842c2cf5bd0f7d861ac378e571d2ad7c"
46+
}
47+
}
748
}

app/templates/gulp/tsd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ gulp.task('tsd:install', function () {
2727
options.resolveDependencies = true;
2828
options.overwriteFiles = true;
2929
options.saveBundle = true;
30+
options.saveToConfig = true;
3031

3132
return tsdApi.readConfig()
3233
.then(function () {

test/node/test-bower.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe('gulp-angular generator bower script', function () {
138138
generator.props = {
139139
jQuery: { key: 'jquery1' },
140140
ui: { key: 'bootstrap' },
141-
bootstrapComponents: { key: 'angular-bootstrap' },
141+
bootstrapComponents: { key: 'ui-bootstrap' },
142142
cssPreprocessor: { extension: 'scss' }
143143
};
144144
generator.computeWiredepExclusions();
@@ -151,7 +151,7 @@ describe('gulp-angular generator bower script', function () {
151151
generator.props = {
152152
jQuery: { key: 'jquery1' },
153153
ui: { key: 'bootstrap' },
154-
bootstrapComponents: { key: 'angular-bootstrap' },
154+
bootstrapComponents: { key: 'ui-bootstrap' },
155155
cssPreprocessor: { extension: 'less' }
156156
};
157157
generator.computeWiredepExclusions();

0 commit comments

Comments
 (0)