Skip to content

Conversation

@lidel
Copy link
Contributor

@lidel lidel commented Aug 11, 2025

This PR adds npm run package which produces ZIP for Chrome Web Store

@lidel lidel requested a review from 2color August 11, 2025 17:05
@lidel
Copy link
Contributor Author

lidel commented Aug 11, 2025

I'm going to merge and then attach zip to release to Web Store asap.
Feel free to refine language/scripts in follow-up PRs.

@lidel lidel merged commit 8de385a into main Aug 11, 2025
17 checks passed
@codecov
Copy link

codecov bot commented Aug 11, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@lidel lidel deleted the feat-zip-package branch August 11, 2025 17:27
github-actions bot pushed a commit that referenced this pull request Aug 11, 2025
## [1.2.0](v1.1.1...v1.2.0) (2025-08-11)

### Features

* `npm run package` and `npm start` ([#5](#5)) ([8de385a](8de385a))
@github-actions
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

"main": "src/background.js",
"scripts": {
"build": "tsc && cp src/manifest.json dist/ && cp src/popup.html dist/ && cp -r src/icons dist/",
"sync-version": "node -e \"const fs=require('fs'); const pkg=require('./package.json'); const m=require('./src/manifest.json'); if(m.version!==pkg.version){m.version=pkg.version; fs.writeFileSync('src/manifest.json', JSON.stringify(m,null,2)+'\\n'); console.log('✓ Updated manifest.json version to '+pkg.version)}else{console.log('✓ Version already in sync: '+pkg.version)}\"",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intense... we can maybe move this into a separate script.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants