mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 05:43:42 +00:00 
			
		
		
		
	build(typescript): modify source files to be compiled to the same dir
This commit is contained in:
		
							parent
							
								
									8bd45b8e9b
								
							
						
					
					
						commit
						d75cb1e4e6
					
				
							
								
								
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							@ -1,2 +1,2 @@
 | 
			
		||||
main/index.mjs -diff linguist-generated
 | 
			
		||||
dist/index.mjs -diff linguist-generated
 | 
			
		||||
yarn.lock -diff linguist-generated
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -5,5 +5,6 @@
 | 
			
		||||
 | 
			
		||||
build/
 | 
			
		||||
coverage/
 | 
			
		||||
dist/
 | 
			
		||||
node_modules/
 | 
			
		||||
 | 
			
		||||
src/*.mjs
 | 
			
		||||
 | 
			
		||||
@ -7,8 +7,5 @@
 | 
			
		||||
      "lines": 100,
 | 
			
		||||
      "statements": 100
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "moduleNameMapper": {
 | 
			
		||||
    "^(\\.{1,2}/.*)\\.mjs$": "<rootDir>/dist/$1.mjs"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "build": "tsc && ncc build dist/main.mjs -o main",
 | 
			
		||||
    "build": "tsc && ncc build src/main.mjs -o main",
 | 
			
		||||
    "format": "prettier --write . !main !README.md",
 | 
			
		||||
    "lint": "eslint --ignore-path .gitignore .",
 | 
			
		||||
    "test": "tsc && jest"
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,6 @@
 | 
			
		||||
    "exactOptionalPropertyTypes": true,
 | 
			
		||||
    "strict": true,
 | 
			
		||||
    "module": "node16",
 | 
			
		||||
    "outDir": "dist",
 | 
			
		||||
    "target": "es2022",
 | 
			
		||||
    "skipLibCheck": true
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user