-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Manifest V3 compatibility for Firefox #197
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"manifest_version": 3, | ||
|
||
"name": "K2 for GitHub", | ||
"version": "1.3.66", | ||
"description": "Manage your Kernel Scheduling from directly inside GitHub", | ||
|
||
"browser_specific_settings": { | ||
"gecko": { | ||
"id": "[email protected]", | ||
"strict_min_version": "42.0" | ||
} | ||
}, | ||
|
||
"icons": { | ||
"16": "icon16.png", | ||
"48": "icon48.png", | ||
"128": "icon128.png" | ||
}, | ||
|
||
"permissions": [ | ||
"webNavigation" | ||
], | ||
|
||
"host_permissions": [ | ||
"*://api.github.com/*" | ||
], | ||
|
||
"content_scripts": [{ | ||
"matches": ["*://*.github.com/*"], | ||
"css": ["content.css"], | ||
"js": ["content.js"] | ||
}], | ||
|
||
"background": { | ||
"persistent": "false", | ||
"scripts": ["events.js"] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{ | ||
"name": "k2-extension", | ||
"version": "1.3.65", | ||
"version": "1.3.66", | ||
"description": "A Chrome Extension for Kernel Schedule", | ||
"private": true, | ||
"scripts": { | ||
"preinstall": "./tools/checkRuntimeVersions.sh", | ||
"build": "webpack --progress --config webpack.prod.js", | ||
"build": "npm run build:chrome", | ||
"build:chrome": "webpack --progress --config webpack.prod.js --env platform=chrome", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the chrome build necessary? If so, let's be sure to update the README instructions for that too (and maybe remove the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's not necessary, but my intention was to leave the default build command as it was, maintaining Chrome compatibility, add a new one for Firefox, and have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made a change to make it clearer that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, OK. I like the alias change. Thanks! |
||
"build:firefox": "webpack --progress --config webpack.prod.js --env platform=firefox", | ||
"package": "cd dist && zip -r -X ../dist.zip *", | ||
"lint": "eslint . --max-warnings=0", | ||
"lintfix": "eslint . --fix", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const {merge} = require('webpack-merge'); | ||
const common = require('./webpack.common.js'); | ||
|
||
module.exports = merge(common, { | ||
mode: 'production', | ||
module.exports = (env) => merge(common(env), { | ||
mode: 'production', | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there are instructions in the README to update this version for every PR. Can you please update the instructions to include this manifest file too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done