diff --git a/CHANGELOG.md b/CHANGELOG.md index 194b6b1..cc0d6df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Summary 5. version timestamp follow the yyyy.MM.dd format ``` -## 0.9.0 [xxxx.xx.xx] +## 0.9.0 [2023.10.15] - feat: depen version update, - feat: support devtools \ sidepanel \ newtab override diff --git a/docs/img/crx-preview.png b/docs/img/crx-preview.png index 0ad4a3d..9f391ef 100644 Binary files a/docs/img/crx-preview.png and b/docs/img/crx-preview.png differ diff --git a/package.json b/package.json index 7cf07d9..45c458c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-chrome-ext", - "version": "0.8.11", + "version": "0.9.0", "type": "module", "description": "Scaffolding your chrome extension, multiple boilerplates supported!", "author": "yalda", diff --git a/template-vue-ts/src/manifest.ts b/template-vue-ts/src/manifest.ts index 53ef1ed..60c644a 100644 --- a/template-vue-ts/src/manifest.ts +++ b/template-vue-ts/src/manifest.ts @@ -2,21 +2,22 @@ import { defineManifest } from '@crxjs/vite-plugin' import packageData from '../package.json' export default defineManifest({ - name: packageData.displayName, + name: packageData.name, description: packageData.description, version: packageData.version, manifest_version: 3, icons: { - '16': 'img/logo-16.png', - '32': 'img/logo-34.png', - '48': 'img/logo-48.png', - '128': 'img/logo-128.png', + 16: 'img/logo-16.png', + 32: 'img/logo-34.png', + 48: 'img/logo-48.png', + 128: 'img/logo-128.png', }, action: { default_popup: 'popup.html', default_icon: 'img/logo-48.png', }, options_page: 'options.html', + devtools_page: 'devtools.html', background: { service_worker: 'src/background/index.ts', type: 'module', @@ -24,7 +25,7 @@ export default defineManifest({ content_scripts: [ { matches: ['http://*/*', 'https://*/*'], - js: ['src/content/index.ts'], + js: ['src/contentScript/index.ts'], }, ], side_panel: { @@ -36,5 +37,8 @@ export default defineManifest({ matches: [], }, ], - permissions: ['sidePanel'], + permissions: ['sidePanel', 'storage'], + chrome_url_overrides: { + newtab: 'newtab.html', + }, })