Compare commits

...

4 Commits

Author SHA1 Message Date
abc515c742 2.1.7 2019-01-27 19:21:07 +01:00
1eb2b727aa fix(custom directory compilation): now picking up TypeScript files correctly 2019-01-27 19:21:07 +01:00
93a332ba50 2.1.6 2019-01-27 02:44:55 +01:00
109ba0b0ee fix(core): update 2019-01-27 02:44:54 +01:00
4 changed files with 7 additions and 3 deletions

4
.snyk Normal file
View File

@ -0,0 +1,4 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.3
ignore: {}
patch: {}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.5", "version": "2.1.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.5", "version": "2.1.7",
"private": false, "private": false,
"description": "TypeScript nightly to easily make use of latest features", "description": "TypeScript nightly to easily make use of latest features",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -27,7 +27,7 @@ tsbuildCli.addCommand('custom').subscribe(argvArg => {
listedDirectories.shift(); listedDirectories.shift();
const compilationCommandObject: {[key: string]: string} = {}; const compilationCommandObject: {[key: string]: string} = {};
for (const directory of listedDirectories) { for (const directory of listedDirectories) {
compilationCommandObject['./' + directory] = './dist_' + directory; compilationCommandObject[`./${directory}/**/*.ts`] = `./dist_${directory}`;
}; };
tsbuild.compileGlobStringObject( tsbuild.compileGlobStringObject(
compilationCommandObject, compilationCommandObject,