browser-extension-manager 1.2.10 → 1.2.11

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,20 @@ 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);
344
+ // Backup existing README.md if it exists
345
+ const readmePath = path.join(process.cwd(), 'README.md');
346
+ const readmeBackup = jetpack.read(readmePath);
347
+
348
+ // Replace README.md with build instructions temporarily
349
+ jetpack.write(readmePath, instructions);
347
350
 
348
351
  // Create source zip using git archive (respects .gitignore)
349
352
  await execute(`git archive --format=zip --output=${sourceZipPath} HEAD`);
350
353
 
351
- // Add BUILD_INSTRUCTIONS.md to the zip
352
- await execute(`zip -u ${sourceZipPath} BUILD_INSTRUCTIONS.md`);
353
-
354
- // Clean up temp file
355
- jetpack.remove(instructionsPath);
354
+ // Restore original README.md
355
+ if (readmeBackup) {
356
+ jetpack.write(readmePath, readmeBackup);
357
+ }
356
358
 
357
359
  logger.log(`Source code zip created at ${sourceZipPath}`);
358
360
  } 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.11",
4
4
  "description": "Browser Extension Manager dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {