Compare commits

..

4 Commits

Author SHA1 Message Date
42b83b888e 2.1.50 2022-03-14 21:46:42 +01:00
832664b667 fix(core): update 2022-03-14 21:46:41 +01:00
4925809030 2.1.49 2022-03-14 16:04:07 +01:00
622a080b3c fix(core): update 2022-03-14 16:04:07 +01:00
3 changed files with 8 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.48", "version": "2.1.50",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.48", "version": "2.1.50",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/early": "^3.0.6", "@pushrocks/early": "^3.0.6",

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.48", "version": "2.1.50",
"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",
@ -12,7 +12,7 @@
"scripts": { "scripts": {
"test": "tsrun test/test.ts", "test": "tsrun test/test.ts",
"testCustom": "node cli.ts.js custom ts_web", "testCustom": "node cli.ts.js custom ts_web",
"build": "node cli.ts.js --web" "build": "node cli.ts.js --web --allowimplicitany"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -17,7 +17,7 @@ export const compilerOptionsDefault: CompilerOptions = {
target: plugins.typescript.ScriptTarget.ES2020, target: plugins.typescript.ScriptTarget.ES2020,
moduleResolution: plugins.typescript.ModuleResolutionKind.Node12, moduleResolution: plugins.typescript.ModuleResolutionKind.Node12,
lib: [], lib: [],
noImplicitAny: false, noImplicitAny: true,
esModuleInterop: true, esModuleInterop: true,
importsNotUsedAsValues: plugins.typescript.ImportsNotUsedAsValues.Preserve importsNotUsedAsValues: plugins.typescript.ImportsNotUsedAsValues.Preserve
}; };
@ -49,6 +49,9 @@ export const mergeCompilerOptions = (
...argvArg && argvArg.skiplibcheck ? { ...argvArg && argvArg.skiplibcheck ? {
skipLibCheck: true skipLibCheck: true
} : {}, } : {},
...argvArg && argvArg.allowimplicitany ? {
noImplicitAny: false
} : {},
}; };
return mergedOptions; return mergedOptions;