new(all): Node.js v22 and ts-node.
This commit is contained in:
		
							parent
							
								
									30994a3a28
								
							
						
					
					
						commit
						d5884636cc
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								.vscode/launch.json
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.vscode/launch.json
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -7,7 +7,7 @@
 | 
				
			||||||
      "sourceMaps": true,
 | 
					      "sourceMaps": true,
 | 
				
			||||||
      "name": "Debug Program with Nodemon",
 | 
					      "name": "Debug Program with Nodemon",
 | 
				
			||||||
      "runtimeExecutable": "npx",
 | 
					      "runtimeExecutable": "npx",
 | 
				
			||||||
      "runtimeArgs": ["nodemon", "--exec", "tsx"], // Use nodemon with tsx
 | 
					      "runtimeArgs": ["nodemon", "--ext","ts","--exec", "tsx"],
 | 
				
			||||||
      "program": "${workspaceRoot}/boot.mjs",
 | 
					      "program": "${workspaceRoot}/boot.mjs",
 | 
				
			||||||
      "cwd": "${workspaceRoot}",
 | 
					      "cwd": "${workspaceRoot}",
 | 
				
			||||||
      "env": {
 | 
					      "env": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								boot.mjs
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.mjs
									
										
									
									
									
								
							| 
						 | 
					@ -17,7 +17,7 @@ var __dirname = process.env.PWD || process.cwd();
 | 
				
			||||||
try {
 | 
					try {
 | 
				
			||||||
  var run = async () => {
 | 
					  var run = async () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    import('./dist/src/app.js').then(async (gb)=> {
 | 
					    import('./src/app.js').then(async (gb)=> {
 | 
				
			||||||
      await gb.GBServer.run()
 | 
					      await gb.GBServer.run()
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue