This guide outlines the steps to package and publish the StorageInsight extension to the Chrome Web Store.
- A Google Account.
- A Chrome Web Store Developer Account (requires a one-time $5 fee).
- Node.js installed on your machine (for the packaging script).
Before packaging, ensure the extension is ready for release:
- Update Version: Open
manifest.jsonand increment theversionfield (e.g.,1.0.0->1.0.1).{ "version": "1.0.1", ... } - Clean Up: Remove any
console.logstatements or debug code used during development. - Test: Perform a final round of testing by loading the unpacked extension in Chrome and verifying all features.
We have a script to automate the packaging process. This script creates a clean zip file ready for upload.
- Open your terminal in the project root.
- Run the packaging script:
node storageinsight-extension/scripts/package.js
- The script will generate a zip file in the
storageinsight-extension/dist/directory, namedstorageinsight-extension-vX.Y.Z.zip.
- Go to the Chrome Web Store Developer Dashboard.
- Click the "New Item" button (or select an existing item to update).
- Upload the zip file generated in the previous step (
storageinsight-extension/dist/storageinsight-extension-vX.Y.Z.zip). - Fill in the store listing details:
- Description: A clear and concise description of the extension.
- Screenshots: Upload at least one screenshot (1280x800 or 640x400).
- Promotional Tile: (Optional but recommended) 440x280 image.
- Category: Select "Privacy" or "Developer Tools".
- Privacy Practices:
- Complete the privacy tab.
- Disclose that the extension collects "Web History" (for storage scanning) and "Cookies".
- Confirm that data is not sold to third parties and is not used for unrelated purposes.
- Submit for Review: Click the "Submit for Review" button.
To release an update:
- Increment the
versioninmanifest.json. - Run the packaging script again.
- Go to the Developer Dashboard, select the extension, and click "Package" > "Upload new package".
- Submit the update for review.
- "Manifest is not valid": Ensure
manifest.jsonis valid JSON and contains all required fields. - "Icon missing": Ensure all icons specified in
manifest.jsonexist in theassets/iconsdirectory. - Zip file too large: Ensure you are not including
node_modulesor other unnecessary files (the script handles this automatically).