Skip to content

Commit

Permalink
fix(compatibility): chasing chrome webstore approval (#330)
Browse files Browse the repository at this point in the history
* fix(compatibility): remove "tabs" permission

* fix(compatibility): set minimum browser reqs

* fix(compatibility): bump package version

* fix(compatibility): update gecko id for FF compat

* fix(compatibility): update yarn install-state

* fix(compatibility): update yarn install-state

* fix(compatibility): remove & untrack install-state

* fix husky

* fix(compatibility): repair husky config
  • Loading branch information
andy-blum authored Aug 16, 2024
1 parent 6ffc688 commit d87d4a1
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist
.next
out
.DS_Store
.yarn/install-state.gz
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint
Binary file removed .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"reset": "yarn cache clean && yarn clean && yarn install && yarn build",
"format": "lerna run format --stream",
"format:diff": "lerna run format:diff --stream",
"lint": "lerna run lint --stream",
"lint": "lerna run lint",
"lint:js": "lerna run lint:js --stream",
"lint:css": "lerna run lint:css --stream",
"test": "lerna run test --stream"
Expand Down
2 changes: 1 addition & 1 deletion packages/component-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-component-list",
"version": "2.8.3",
"version": "2.8.4",
"description": "Generates a list of components and their selectors across all of the Carbon libraries.",
"main": "./dist/index.json",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-utilities",
"version": "2.8.3",
"version": "2.8.4",
"description": "Common utilities and functions used across throughout Carbon Devtools.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carbon-devtools-v10",
"version": "2.8.3",
"version": "2.8.4",
"private": true,
"description": "A basic set of tools for teams building live Carbon pages for Carbon v10.",
"main": "dist/manifest.json",
Expand Down
9 changes: 8 additions & 1 deletion packages/web-extension/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifest_version": 3,
"description": "{package_description}",
"author": "{package_author}",
"permissions": ["activeTab", "storage", "scripting", "tabs"],
"permissions": ["activeTab", "storage", "scripting"],
"host_permissions": [
"https://*.mybluemix.net/*",
"https://*.carbondesignsystem.com/*"
Expand All @@ -13,6 +13,13 @@
"service_worker": "/background/index.js",
"scripts": ["/background/index.js"]
},
"minimum_chrome_version": "121",
"browser_specific_settings": {
"gecko": {
"strict_min_version": "121.0",
"id": "{a12521e6-1ba2-4d48-9ec2-9286a37d82d1}"
}
},
"web_accessible_resources": [
{
"resources": ["/inject/index.css", "/validate/validationScript.js"],
Expand Down

0 comments on commit d87d4a1

Please sign in to comment.