mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: expose unleash-frontend version in index.js (#661)
This commit is contained in:
		
							parent
							
								
									8440da97fa
								
							
						
					
					
						commit
						881728bb5e
					
				@ -1,7 +1,9 @@
 | 
				
			|||||||
 | 
					require('pkginfo')(module, 'version');
 | 
				
			||||||
 | 
					 | 
				
			||||||
const path = require('path');
 | 
					const path = require('path');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const { version } = module.exports;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    publicFolder: path.join(__dirname, 'build'),
 | 
					    publicFolder: path.join(__dirname, 'build'),
 | 
				
			||||||
 | 
					    version
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
@ -118,5 +118,7 @@
 | 
				
			|||||||
      "cypress"
 | 
					      "cypress"
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {}
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "pkginfo": "^0.4.1"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -7142,6 +7142,11 @@ pkg-up@^3.1.0:
 | 
				
			|||||||
  dependencies:
 | 
					  dependencies:
 | 
				
			||||||
    find-up "^3.0.0"
 | 
					    find-up "^3.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pkginfo@^0.4.1:
 | 
				
			||||||
 | 
					  version "0.4.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff"
 | 
				
			||||||
 | 
					  integrity sha1-tUGO8EOd5UJfxJlQQtztFPsqhP8=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
popper.js@1.16.1-lts:
 | 
					popper.js@1.16.1-lts:
 | 
				
			||||||
  version "1.16.1-lts"
 | 
					  version "1.16.1-lts"
 | 
				
			||||||
  resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05"
 | 
					  resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user