diff --git a/package.json b/package.json index de2cfb1..d7d113e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "apikana", - "version": "0.9.8", + "version": "0.9.9", "description": "Integrated tools for REST API design - アピ", "main": "index.js", "bin": { diff --git a/src/generate.js b/src/generate.js index 7047668..addfca6 100644 --- a/src/generate.js +++ b/src/generate.js @@ -373,6 +373,7 @@ module.exports = { // target of all dependencies is -api-dependencies/ts directory! function unpack(baseDir, subDir, pattern, absolute) { return gulp.src(['!./**/-api-dependencies/**/*', './**/node_modules/**/' + baseDir + '/' + subDir + '/' + pattern], {base: 'node_modules'}) + .pipe(replace('node_modules/-api-dependencies/ts', '../..')) // So that transitive dependencies work when generating code .pipe(gulp.dest(path.join(params.dependencyPath(), 'ts'))); }