Skip to content

Commit

Permalink
version, description from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nella17 committed Jan 23, 2023
1 parent 120001a commit e11d70c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nycu-cos-search",
"version": "1.0.0",
"description": "",
"description": "Improve search on NYCU Cos.",
"main": "index.js",
"scripts": {
"dev": "fswatch -o src | xargs -n1 -I{} pnpm run build:dev",
Expand Down
1 change: 0 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"manifest_version": 3,
"name": "NYCU Cos Search",
"version": "1.0.0",
"permissions": [
"webRequest",
"storage",
Expand Down
9 changes: 8 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import Components from 'unplugin-vue-components/vite'
import vuetify from 'vite-plugin-vuetify'
import { chromeExtension } from 'vite-plugin-chrome-extension'

import { description, version } from './package.json'

// https://vitejs.dev/config/
export default defineConfig({
resolve: {
Expand Down Expand Up @@ -45,6 +47,11 @@ export default defineConfig({
dts: './include/components.d.ts',
}),
vuetify(),
chromeExtension() as any,
chromeExtension({
extendManifest: {
version,
description,
},
}) as any,
],
})

0 comments on commit e11d70c

Please sign in to comment.