| 
									
										
										
										
											2022-10-09 18:15:37 +02:00
										 |  |  | import * as plugins from './npmci.plugins.js'; | 
					
						
							| 
									
										
										
										
											2016-06-05 23:24:11 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-29 20:26:23 +02:00
										 |  |  | export const cwd = process.cwd(); | 
					
						
							| 
									
										
										
										
											2016-06-05 23:24:11 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-29 20:26:23 +02:00
										 |  |  | // package paths
 | 
					
						
							| 
									
										
										
										
											2022-10-11 14:26:42 +02:00
										 |  |  | export const NpmciPackageRoot = plugins.path.join( | 
					
						
							|  |  |  |   plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), | 
					
						
							|  |  |  |   '../' | 
					
						
							|  |  |  | ); | 
					
						
							| 
									
										
										
										
											2019-08-29 20:26:23 +02:00
										 |  |  | export const NpmciPackageConfig = plugins.path.join(NpmciPackageRoot, './config.json'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // project paths
 | 
					
						
							|  |  |  | export const NpmciProjectDir = cwd; | 
					
						
							|  |  |  | export const NpmciProjectNogitDir = plugins.path.join(NpmciProjectDir, './.nogit'); | 
					
						
							|  |  |  | export const NpmciTestDir = plugins.path.join(cwd, './test'); | 
					
						
							|  |  |  | export const NpmciCacheDir = plugins.path.join(cwd, './.npmci_cache'); |