Skip to content

Commit

Permalink
doc(preview):preview png update,0.9.0 version released
Browse files Browse the repository at this point in the history
  • Loading branch information
guocaoyi committed Oct 14, 2023
1 parent eccc5e8 commit fb82175
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, <[email protected]>
- feat: support devtools \ sidepanel \ newtab override
Expand Down
Binary file modified docs/img/crx-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
18 changes: 11 additions & 7 deletions template-vue-ts/src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,30 @@ 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',
},
content_scripts: [
{
matches: ['http://*/*', 'https://*/*'],
js: ['src/content/index.ts'],
js: ['src/contentScript/index.ts'],
},
],
side_panel: {
Expand All @@ -36,5 +37,8 @@ export default defineManifest({
matches: [],
},
],
permissions: ['sidePanel'],
permissions: ['sidePanel', 'storage'],
chrome_url_overrides: {
newtab: 'newtab.html',
},
})

0 comments on commit fb82175

Please sign in to comment.