Skip to content

Add manifest v2->v3 converter + Rollup bundling#1

Merged
simon1st25 merged 11 commits intomasterfrom
feature/manifest-v3-converter
Nov 23, 2025
Merged

Add manifest v2->v3 converter + Rollup bundling#1
simon1st25 merged 11 commits intomasterfrom
feature/manifest-v3-converter

Conversation

@simon1st25
Copy link
Owner

Adds a best-effort manifest v2 -> v3 converter, optional service-worker bundling via Rollup, a VS Code workspace file, and a short WORKSPACE_README.md explaining usage.

Files changed:

  • scripts/convert-manifest.js (converter, --bundle-sw support, warnings)
  • scripts/rollup.config.js (rollup config to bundle background scripts)
  • package.json (bundle script + devDependencies)
  • youtube.code-workspace (workspace settings)
  • WORKSPACE_README.md (how to open workspace & run converter)

How to test locally:

  1. npm install --legacy-peer-deps
  2. node scripts/convert-manifest.js --input build/manifest2.json --output build/manifest3.json --bundle-sw
  3. Verify build/manifest3.json and build/generated_service_worker.js

Notes: The converter is heuristic; please review CSP, permissions, and service-worker specifics before publishing.

@github-actions
Copy link

Artifacts for this PR:

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

FYI: @simon1st25

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

FYI: @simon1st25

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

FYI: @simon1st25

(You must be authenticated to download artifacts via the API URL.)

@github-actions
Copy link

Artifacts for this PR:

FYI: @simon1st25

(You must be authenticated to download artifacts via the API URL.)

@simon1st25 simon1st25 merged commit 25268aa into master Nov 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant