Compare commits

...

4 Commits

Author SHA1 Message Date
97f52d1016 2.1.51 2022-03-15 09:45:49 +01:00
8d725e2e11 fix(core): update 2022-03-15 09:45:49 +01:00
42b83b888e 2.1.50 2022-03-14 21:46:42 +01:00
832664b667 fix(core): update 2022-03-14 21:46:41 +01:00
3 changed files with 11 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.49", "version": "2.1.51",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gitzone/tsbuild", "name": "@gitzone/tsbuild",
"version": "2.1.49", "version": "2.1.51",
"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.49", "version": "2.1.51",
"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

@ -49,6 +49,13 @@ export const mergeCompilerOptions = (
...argvArg && argvArg.skiplibcheck ? { ...argvArg && argvArg.skiplibcheck ? {
skipLibCheck: true skipLibCheck: true
} : {}, } : {},
...argvArg && argvArg.allowimplicitany ? {
noImplicitAny: false
} : {},
...argvArg && argvArg.commonjs ? {
module: plugins.typescript.ModuleKind.CommonJS,
moduleResolution: plugins.typescript.ModuleResolutionKind.Classic,
} : {},
}; };
return mergedOptions; return mergedOptions;