Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
655fd8b92e | |||
a240cdfde1 | |||
2af7682cf0 | |||
c62619bd27 | |||
ffaf54f1de | |||
2c6b955819 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsrun",
|
"name": "@gitzone/tsrun",
|
||||||
"version": "1.2.30",
|
"version": "1.2.33",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@gitzone/tsrun",
|
"name": "@gitzone/tsrun",
|
||||||
"version": "1.2.30",
|
"version": "1.2.33",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/smartfile": "^9.0.6",
|
"@pushrocks/smartfile": "^9.0.6",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsrun",
|
"name": "@gitzone/tsrun",
|
||||||
"version": "1.2.30",
|
"version": "1.2.33",
|
||||||
"description": "run typescript programs efficiently",
|
"description": "run typescript programs efficiently",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
@ -24,7 +24,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/smartfile": "^9.0.6",
|
"@pushrocks/smartfile": "^9.0.6",
|
||||||
"@pushrocks/smartshell": "^2.0.30",
|
"@pushrocks/smartshell": "^2.0.30",
|
||||||
"ts-node": "^10.7.0",
|
"ts-node": "10.7.0",
|
||||||
"typescript": "4.7.0"
|
"typescript": "4.7.0"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": false,
|
||||||
|
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* autocreated commitinfo by @pushrocks/commitinfo
|
||||||
|
*/
|
||||||
|
export const commitinfo = {
|
||||||
|
name: '@gitzone/tsrun',
|
||||||
|
version: '1.2.33',
|
||||||
|
description: 'run typescript programs efficiently'
|
||||||
|
}
|
@ -20,7 +20,7 @@ export const runCli = async (pathArg?: string) => {
|
|||||||
// we want to have command line arguments available in the child process.
|
// we want to have command line arguments available in the child process.
|
||||||
// when we have a path sepcified through a function there is one argeument less to pay respect to.
|
// when we have a path sepcified through a function there is one argeument less to pay respect to.
|
||||||
// thus when pathArg is specifed -> we only splice 2
|
// thus when pathArg is specifed -> we only splice 2
|
||||||
pathArg? process.argv.splice(0, 2) : process.argv.splice(0, 3); // this ensures transparent arguments for the child process
|
pathArg ? process.argv.splice(0, 2) : process.argv.splice(0, 3); // this ensures transparent arguments for the child process
|
||||||
|
|
||||||
// lets setup things for execution
|
// lets setup things for execution
|
||||||
const smartshellInstance = new plugins.smartshell.Smartshell({
|
const smartshellInstance = new plugins.smartshell.Smartshell({
|
||||||
|
@ -4,8 +4,9 @@ import type { CompilerOptions } from 'typescript';
|
|||||||
const defaultTsNodeOptions: plugins.tsNode.CreateOptions = {
|
const defaultTsNodeOptions: plugins.tsNode.CreateOptions = {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
lib: ['dom'],
|
lib: ['dom'],
|
||||||
target: <any>'es2020', // Script Target should be a string -> 2 is for ES2015
|
target: <any>'es2022', // Script Target should be a string -> 2 is for ES2015
|
||||||
experimentalDecorators: true,
|
experimentalDecorators: true,
|
||||||
|
useDefineForClassFields: false,
|
||||||
esModuleInterop: true,
|
esModuleInterop: true,
|
||||||
strictNullChecks: false,
|
strictNullChecks: false,
|
||||||
moduleResolution: <any>'node12',
|
moduleResolution: <any>'node12',
|
||||||
|
Reference in New Issue
Block a user