browser-extension-manager 1.2.10 → 1.2.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.
@@ -341,18 +341,18 @@ async function packageSource() {
341
341
  },
342
342
  });
343
343
 
344
- // Write instructions to project root temporarily
345
- const instructionsPath = path.join(process.cwd(), 'BUILD_INSTRUCTIONS.md');
346
- jetpack.write(instructionsPath, instructions);
347
-
348
344
  // Create source zip using git archive (respects .gitignore)
349
345
  await execute(`git archive --format=zip --output=${sourceZipPath} HEAD`);
350
346
 
351
- // Add BUILD_INSTRUCTIONS.md to the zip
352
- await execute(`zip -u ${sourceZipPath} BUILD_INSTRUCTIONS.md`);
347
+ // Write build instructions to .temp/README.md
348
+ const tempReadmePath = path.join(process.cwd(), '.temp', 'README.md');
349
+ jetpack.write(tempReadmePath, instructions);
350
+
351
+ // Update the zip - replace README.md with build instructions
352
+ await execute(`cd .temp && zip -u ../${sourceZipPath} README.md`);
353
353
 
354
354
  // Clean up temp file
355
- jetpack.remove(instructionsPath);
355
+ jetpack.remove(tempReadmePath);
356
356
 
357
357
  logger.log(`Source code zip created at ${sourceZipPath}`);
358
358
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-extension-manager",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "Browser Extension Manager dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {