hiroppy 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hiroppy",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "packageManager": "pnpm@10.11.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,7 +23,8 @@
23
23
  "reset": "rm -rf generated && mkdir generated && mkdir generated/images",
24
24
  "cleanup:images": "node scripts/cleanup-unused-images.ts",
25
25
  "compress:images": "node scripts/compress-images.ts",
26
- "decompress:images": "node scripts/decompress-images.js"
26
+ "decompress:images": "node scripts/decompress-images.js",
27
+ "postinstall": "npm run decompress:images"
27
28
  },
28
29
  "repository": {
29
30
  "type": "git",
@@ -30,6 +30,8 @@ function decompressImages() {
30
30
  // Extract tar.gz file
31
31
  execSync(`tar -xzf ${COMPRESSED_FILE} -C generated`, { stdio: "inherit" });
32
32
 
33
+ execSync(`rm ${COMPRESSED_FILE}`, { stdio: "inherit" });
34
+
33
35
  console.log("✅ Images decompressed successfully");
34
36
  console.log(`📁 Images available at: ${IMAGES_DIR}`);
35
37
  } catch (error) {