Compare commits

...

12 Commits

Author SHA1 Message Date
318189c7b2 2.1.43 2022-03-11 18:08:24 +01:00
167483b909 2.1.42 2022-03-11 18:08:19 +01:00
67db62e7d5 2.1.41 2022-03-11 18:07:07 +01:00
ddf76c31b9 2.1.40 2022-03-11 18:07:02 +01:00
6a0a53adda fix(core): update 2022-03-11 18:07:01 +01:00
eb1a70ea70 2.1.39 2022-03-11 18:05:10 +01:00
c10ddd3c1e 2.1.38 2022-03-11 18:05:03 +01:00
9c9f7ae1dc fix(core): update 2022-03-11 18:05:02 +01:00
70245584d7 2.1.37 2022-03-11 17:45:57 +01:00
f11d7c6cb0 2.1.36 2022-03-11 17:45:51 +01:00
dc7980e619 fix(core): update 2022-03-11 17:45:51 +01:00
686a428624 2.1.35 2022-03-11 17:41:00 +01:00
6 changed files with 100 additions and 23 deletions

2
cli.js
View File

@ -1,4 +1,4 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
const cliTool = await import('./dist_ts/index');
const cliTool = require('./dist_ts/index');
cliTool.runCli();

View File

@ -1,5 +1,5 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
await import('@gitzone/tsrun');
const cliTool = await import('./ts/index.js');
require('@gitzone/tsrun');
const cliTool = require('./ts/index');
cliTool.runCli();

108
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@gitzone/tsbuild",
"version": "2.1.34",
"version": "2.1.43",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@gitzone/tsbuild",
"version": "2.1.34",
"version": "2.1.43",
"license": "MIT",
"dependencies": {
"@pushrocks/early": "^3.0.6",
@ -21,7 +21,7 @@
"tsbuild": "cli.js"
},
"devDependencies": {
"@gitzone/tsrun": "^1.2.19",
"@gitzone/tsrun": "1.2.18",
"@pushrocks/tapbundle": "^4.0.8",
"@types/node": "^17.0.21",
"tslint": "^6.1.3",
@ -176,20 +176,62 @@
}
},
"node_modules/@gitzone/tsrun": {
"version": "1.2.19",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.19.tgz",
"integrity": "sha512-GmJSpbx0uij7G06FhvURnSSfJ5O9U2NNXD0I3QE5BhFmBH/7otk4sovrytU7p4hYdgzhcvZ6jRrmMxaspiia7A==",
"version": "1.2.18",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.18.tgz",
"integrity": "sha512-DI08qVwVu61zrQlp5/+NVPGH/TsF2x8OGgyxK+xGayIKH9MLRXxX6NT9OK8+FOyCqyJNYfxDunmlK4rlnFCJ7w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@pushrocks/smartfile": "^9.0.6",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
"@pushrocks/smartfile": "^8.0.10",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"bin": {
"tsrun": "cli.js"
}
},
"node_modules/@gitzone/tsrun/node_modules/@pushrocks/smartfile": {
"version": "8.0.11",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-8.0.11.tgz",
"integrity": "sha512-mujs1mDgorsryQ8OZuL94MZZDYL3+cbdPKaXSchPjyxOOx8iGacUzc5BK4jDsImYeYEo07MpdJ5BjvGkORQR/w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@pushrocks/smartfile-interfaces": "^1.0.7",
"@pushrocks/smarthash": "^2.1.10",
"@pushrocks/smartjson": "^4.0.6",
"@pushrocks/smartmime": "^1.0.5",
"@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrequest": "^1.1.52",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"js-yaml": "^4.1.0"
}
},
"node_modules/@gitzone/tsrun/node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"dev": true,
"license": "Python-2.0"
},
"node_modules/@gitzone/tsrun/node_modules/js-yaml": {
"version": "4.1.0",
"resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"dev": true,
"license": "MIT",
"dependencies": {
"argparse": "^2.0.1"
},
"bin": {
"js-yaml": "bin/js-yaml.js"
}
},
"node_modules/@gitzone/tsrun/node_modules/ts-node": {
"version": "10.7.0",
"resolved": "https://verdaccio.lossless.one/ts-node/-/ts-node-10.7.0.tgz",
@ -1897,16 +1939,52 @@
}
},
"@gitzone/tsrun": {
"version": "1.2.19",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.19.tgz",
"integrity": "sha512-GmJSpbx0uij7G06FhvURnSSfJ5O9U2NNXD0I3QE5BhFmBH/7otk4sovrytU7p4hYdgzhcvZ6jRrmMxaspiia7A==",
"version": "1.2.18",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.18.tgz",
"integrity": "sha512-DI08qVwVu61zrQlp5/+NVPGH/TsF2x8OGgyxK+xGayIKH9MLRXxX6NT9OK8+FOyCqyJNYfxDunmlK4rlnFCJ7w==",
"dev": true,
"requires": {
"@pushrocks/smartfile": "^9.0.6",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
"@pushrocks/smartfile": "^8.0.10",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"dependencies": {
"@pushrocks/smartfile": {
"version": "8.0.11",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-8.0.11.tgz",
"integrity": "sha512-mujs1mDgorsryQ8OZuL94MZZDYL3+cbdPKaXSchPjyxOOx8iGacUzc5BK4jDsImYeYEo07MpdJ5BjvGkORQR/w==",
"dev": true,
"requires": {
"@pushrocks/smartfile-interfaces": "^1.0.7",
"@pushrocks/smarthash": "^2.1.10",
"@pushrocks/smartjson": "^4.0.6",
"@pushrocks/smartmime": "^1.0.5",
"@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrequest": "^1.1.52",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"js-yaml": "^4.1.0"
}
},
"argparse": {
"version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"dev": true
},
"js-yaml": {
"version": "4.1.0",
"resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"dev": true,
"requires": {
"argparse": "^2.0.1"
}
},
"ts-node": {
"version": "10.7.0",
"resolved": "https://verdaccio.lossless.one/ts-node/-/ts-node-10.7.0.tgz",

View File

@ -1,11 +1,10 @@
{
"name": "@gitzone/tsbuild",
"version": "2.1.34",
"version": "2.1.43",
"private": false,
"description": "TypeScript nightly to easily make use of latest features",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"bin": {
"tsbuild": "./cli.js"
},
@ -37,7 +36,7 @@
"typescript": "4.7.0-dev.20220311"
},
"devDependencies": {
"@gitzone/tsrun": "^1.2.19",
"@gitzone/tsrun": "1.2.18",
"@pushrocks/tapbundle": "^4.0.8",
"@types/node": "^17.0.21",
"tslint": "^6.1.3",

View File

@ -13,7 +13,7 @@ export const compilerOptionsDefault: CompilerOptions = {
inlineSourceMap: true,
noEmitOnError: true,
outDir: 'dist_ts/',
module: plugins.typescript.ModuleKind.ES2020,
module: plugins.typescript.ModuleKind.CommonJS,
moduleResolution: plugins.typescript.ModuleResolutionKind.Node12,
lib: [],
noImplicitAny: false,

View File

@ -2,6 +2,6 @@ import * as smartcli from '@pushrocks/smartcli';
import * as smartfile from '@pushrocks/smartfile';
import * as smartpath from '@pushrocks/smartpath';
import * as smartpromise from '@pushrocks/smartpromise';
import * as typescript from 'typescript';
import typescript from 'typescript';
export { smartcli, smartfile, smartpath, smartpromise, typescript };