boss icon indicating copy to clipboard operation
boss copied to clipboard

Where's the first hash in boss-lock.json come from?

Open peardox opened this issue 3 years ago • 0 comments

I'm writing a little Wizard that outputs a directory that looks very similar to e.g. https://github.com/Embarcadero/P4D-Data-Sciences/ as it's based on that layout. The 'Wizard' is just doing Token replacement so the end-product is a new set of components. This is possible as the originals have extremely minimal changes when creating a variant component.

The boss-lock.json I'm looking at starts....

{
	"hash": "d41d8cd98f00b204e9800998ecf8427e",
	"updated": "2022-06-08T17:04:13.2794469-07:00",
	"installedModules": {

I know that everything after installedModules is constant but am worried that the hash may be a hash of the files in the folder(s) that contain the boss-lock.json. If this is true how do I calculate one?

If the hash won't break anything then I've got nothing to worry about of course... What happens if I omit it? I assume it's only relevant if you've got boss installed.

peardox avatar Oct 24 '22 04:10 peardox