feat: defined exports for the package
BREAKING CHANGE: exports prevents access to internal files, but they arent intended for public use anyway
This commit is contained in:
		
							parent
							
								
									07a79ea7e9
								
							
						
					
					
						commit
						72ab317bb0
					
				| @ -77,6 +77,7 @@ | |||||||
|   "engines": { |   "engines": { | ||||||
|     "node": ">=18" |     "node": ">=18" | ||||||
|   }, |   }, | ||||||
|  |   "exports": "./index.js", | ||||||
|   "files": [ |   "files": [ | ||||||
|     "bin", |     "bin", | ||||||
|     "docs", |     "docs", | ||||||
| @ -98,7 +99,7 @@ | |||||||
|     "version" |     "version" | ||||||
|   ], |   ], | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "main": "index.js", |   "main": "./index.js", | ||||||
|   "types": "index.d.ts", |   "types": "index.d.ts", | ||||||
|   "c8": { |   "c8": { | ||||||
|     "include": [ |     "include": [ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user