fix(core): update
This commit is contained in:
		
							
								
								
									
										4
									
								
								cli.child.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								cli.child.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  | #!/usr/bin/env node | ||||||
|  | process.env.CLI_CALL = 'true'; | ||||||
|  | import * as cliTool from './ts/index.js'; | ||||||
|  | cliTool.runCli(); | ||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/usr/bin/env node | #!/usr/bin/env node | ||||||
| process.env.CLI_CALL = 'true'; | process.env.CLI_CALL = 'true'; | ||||||
| await import('@gitzone/tsrun'); |  | ||||||
| const cliTool = await import('./ts/index.js'); | import * as tsrun from '@gitzone/tsrun'; | ||||||
| cliTool.runCli(); | tsrun.runPath('./cli.child.js', import.meta.url); | ||||||
|   | |||||||
| @@ -3,6 +3,6 @@ | |||||||
|  */ |  */ | ||||||
| export const commitinfo = { | export const commitinfo = { | ||||||
|   name: '@gitzone/tsrun', |   name: '@gitzone/tsrun', | ||||||
|   version: '1.2.36', |   version: '1.2.37', | ||||||
|   description: 'run typescript programs efficiently' |   description: 'run typescript programs efficiently' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,9 @@ | |||||||
| { | { | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|  |     "experimentalDecorators": true, | ||||||
|  |     "useDefineForClassFields": false, | ||||||
|  |     "target": "ES2022", | ||||||
|     "module": "ES2022", |     "module": "ES2022", | ||||||
|     "target": "ES2020", |     "moduleResolution": "nodenext" | ||||||
|     "moduleResolution": "Node12" |  | ||||||
|   } |   } | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user