From dc8c76855259b9d32c9ccfb1fb0a35e222a4781e Mon Sep 17 00:00:00 2001 From: Jaewook Ahn Date: Sat, 7 May 2022 16:13:52 +0900 Subject: [PATCH] Upgrade manifest to v3 - upgrade extension typing module - migrate extension's manifest to v3 --- manifest.json | 9 ++++----- package.json | 6 +++--- yarn.lock | 16 ++++++++-------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/manifest.json b/manifest.json index d87c8bb..7b58c32 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "manifest_version": 2, + "manifest_version": 3, "name": "주소검색", - "version": "1.0.7", + "version": "1.0.8", "description": "대한민국 주소검색 확장 프로그램", "author": "Jaewook Ahn", "icons": { @@ -10,13 +10,12 @@ "128": "icons/icon_128.png" }, "permissions": ["storage"], - "browser_action": { + "action": { "default_popup": "index.html", "default_icon": { "16": "icons/icon_16.png", "24": "icons/icon_24.png", "32": "icons/icon_32.png" } - }, - "content_security_policy": "script-src 'self' https://www.google-analytics.com; object-src 'self'" + } } diff --git a/package.json b/package.json index 87ae6e7..7c33739 100644 --- a/package.json +++ b/package.json @@ -6,17 +6,17 @@ "author": "Jaewook Ahn ", "license": "MIT", "scripts": { + "build:dev": "cross-env REACT_APP_ENV=development react-scripts build", "build": "cross-env REACT_APP_ENV=production react-scripts build", "dev": "cross-env REACT_APP_ENV=development react-scripts start", "lint": "eslint src --ext .js,.ts,.jsx,.tsx", - "prepackage": "yarn build", "package": "node scripts/CreatePackage.js", "postpackage": "node scripts/CreateDistribution.js" }, "devDependencies": { - "@types/chrome": "^0.0.159", + "@types/chrome": "^0.0.184", "@types/clipboard": "^2.0.1", - "@types/firefox-webext-browser": "^82.0.1", + "@types/firefox-webext-browser": "^94.0.1", "@types/fs-extra": "^9.0.1", "@types/node": "^14.0.5", "@types/react": "^17.0.27", diff --git a/yarn.lock b/yarn.lock index 1175fbb..c98eeea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2095,10 +2095,10 @@ dependencies: "@babel/types" "^7.3.0" -"@types/chrome@^0.0.159": - version "0.0.159" - resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.159.tgz#0c1125fbb6d1fd64713e35de9aafbfd5a1b7a33a" - integrity sha512-WZBkNJGAwZuRgv/an94DANdzFtJK0TvlO/evMpJD/TYnkjIxynIAU6RM7M78e8tyig/vD6weQ9T1Ba7v8nYjXQ== +"@types/chrome@^0.0.184": + version "0.0.184" + resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.184.tgz#b75b6ad175b6f7ac1fd41cc8974d5a77dfdbf2d1" + integrity sha512-Wvawa0L2jUyLd6RNd0mx/1z0R/RZXkGKDI77+twsbcmhLlsGA64xrXQYxFr/F7yu6yGLEqKpEmrrJ1tveuVkIQ== dependencies: "@types/filesystem" "*" "@types/har-format" "*" @@ -2145,10 +2145,10 @@ resolved "https://registry.yarnpkg.com/@types/filewriter/-/filewriter-0.0.28.tgz#c054e8af4d9dd75db4e63abc76f885168714d4b3" integrity sha1-wFTor02d11205jq8dviFFocU1LM= -"@types/firefox-webext-browser@^82.0.1": - version "82.0.1" - resolved "https://registry.yarnpkg.com/@types/firefox-webext-browser/-/firefox-webext-browser-82.0.1.tgz#197dec1d175b099eb8dac92e9c9c9a5482a5dd8a" - integrity sha512-odcPKiJ34N8k53clIWen3hLvl09ja7SQ9NqtUbgmqeJ/a/ZRQiF665iXSFPcnl6cBn2XQgEg2lsUUApYNiyj+g== +"@types/firefox-webext-browser@^94.0.1": + version "94.0.1" + resolved "https://registry.yarnpkg.com/@types/firefox-webext-browser/-/firefox-webext-browser-94.0.1.tgz#52afb975253dc0fd350d5d58c7fe9fd1a01f64a1" + integrity sha512-I6iHRQJSTZ+gYt2IxdH2RRAMvcUyK8v5Ig7fHQR0IwUNYP7hz9+cziBVIKxLCO6XI7fiyRsNOWObfl3/4Js2Lg== "@types/fs-extra@^9.0.1": version "9.0.13"