@kernocal/validate-store
v0.2.0
Published
WXT module for validating Chrome, Edge, and Firefox store listing data before publishing
Readme
wxt-validate-store
WXT module for validating Chrome Web Store and Edge Add-ons store listing data before publishing.
Features
- Validates image assets (screenshots, promo tiles, icons) exist and have correct dimensions
- Validates Chrome permission justifications match manifest permissions
- Validates Edge search term limits (count, word count, character length)
- Generates a
details.txtexport with all store listing data to copy/paste easier
Usage
Install the package:
pnpm i -D @kernocal/wxt-validate-storeAdd the module to wxt.config.ts:
export default defineConfig({
modules: ['@kernocal/wxt-validate-store'],
});Configuration
export default defineConfig({
modules: ['@kernocal/wxt-validate-store'],
validateStore: {
enabled: true,
storeDataSrc: './store/data',
storeExportsDir: './store/exports',
},
});Store Data
Your data module should export a storeData object conforming to the StoreDetails type. See the exported types for the full schema.
