Compare commits

...

8 Commits

Author SHA1 Message Date
7ee9935a9a 2.1.29 2022-01-19 17:59:08 +01:00
5128d450bc fix(core): update 2022-01-19 17:59:07 +01:00
8708b1442d 2.1.28 2021-10-06 13:33:35 +02:00
0e39dfecba fix(core): update 2021-10-06 13:33:35 +02:00
b4e8accad6 2.1.27 2021-09-08 22:18:27 +02:00
1415d66ffb fix(core): update 2021-09-08 22:18:26 +02:00
38e3eed003 2.1.26 2021-08-17 12:13:52 +02:00
466095ed26 fix(core): update 2021-08-17 12:13:51 +02:00
5 changed files with 2131 additions and 345 deletions

2446
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.25", "version": "2.1.29",
"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_ts/index.js", "main": "dist_ts/index.js",
@ -28,17 +28,17 @@
"homepage": "https://gitlab.com/pushrocks/tsn#README", "homepage": "https://gitlab.com/pushrocks/tsn#README",
"dependencies": { "dependencies": {
"@pushrocks/early": "^3.0.6", "@pushrocks/early": "^3.0.6",
"@pushrocks/smartcli": "^3.0.12", "@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^8.0.0", "@pushrocks/smartfile": "^8.0.10",
"@pushrocks/smartlog": "^2.0.36", "@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartpath": "^4.0.3", "@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.0.6", "@pushrocks/smartpromise": "^3.1.6",
"typescript": "^3.9.7" "typescript": "^4.4.2"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsrun": "^1.2.12", "@gitzone/tsrun": "^1.2.17",
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^14.0.27", "@types/node": "^16.7.13",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },

View File

@ -14,7 +14,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
var __importStar = (this && this.__importStar) || function (mod) { var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod; if (mod && mod.__esModule) return mod;
var result = {}; var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod); __setModuleDefault(result, mod);
return result; return result;
}; };

View File

@ -17,7 +17,8 @@ export const compilerOptionsDefault: CompilerOptions = {
lib: ['lib.es2017.d.ts'], lib: ['lib.es2017.d.ts'],
noImplicitAny: false, noImplicitAny: false,
esModuleInterop: true, esModuleInterop: true,
target: plugins.typescript.ScriptTarget.ES2017 target: plugins.typescript.ScriptTarget.ES2017,
importsNotUsedAsValues: plugins.typescript.ImportsNotUsedAsValues.Preserve
}; };
export const compilerOptionsWebDefault: CompilerOptions = { export const compilerOptionsWebDefault: CompilerOptions = {
@ -43,7 +44,10 @@ export const mergeCompilerOptions = (
// create merged options // create merged options
const mergedOptions: CompilerOptions = { const mergedOptions: CompilerOptions = {
...defaultOptionsToMerge, ...defaultOptionsToMerge,
...customTsOptions ...customTsOptions,
...argvArg && argvArg.skiplibcheck ? {
skipLibCheck: true
} : {},
}; };
return mergedOptions; return mergedOptions;

View File

@ -27,7 +27,7 @@ export let compileGlobStringObject = async (
cwdArg: string = process.cwd(), cwdArg: string = process.cwd(),
argvArg?: any argvArg?: any
) => { ) => {
let compiledFiles = []; let compiledFiles: plugins.smartfile.Smartfile[] = [];
for (const keyArg in globStringObjectArg) { for (const keyArg in globStringObjectArg) {
if (globStringObjectArg[keyArg]) { if (globStringObjectArg[keyArg]) {
console.log( console.log(