Skip to content

Commit

Permalink
Format manifest json file with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarlagerlof committed Oct 8, 2023
1 parent e4f632b commit 12ad51b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
1 change: 1 addition & 0 deletions apply-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jq --arg version "$new_version" '.version = $version' packages/chrome-extension/
echo "Applied new version: $_new_version"

# Step 4: Clean up
yarn prettier -w packages/chrome-extension/public/manifest.json
rm version.json
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
},
"packageManager": "yarn@3.6.4",
"devDependencies": {
"@changesets/cli": "2.26.2",
"prettier": "^3.0.3",
"turbo": "1.10.15"
},
"dependencies": {
"@changesets/cli": "2.26.2"
}
}
18 changes: 4 additions & 14 deletions packages/chrome-extension/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,15 @@
"devtools_page": "devtools-page.html",
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"content-script.js"
],
"matches": ["http://*/*", "https://*/*"],
"js": ["content-script.js"],
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": [
"fetch-patch.js"
],
"matches": [
"http://*/*",
"https://*/*"
]
"resources": ["fetch-patch.js"],
"matches": ["http://*/*", "https://*/*"]
}
]
}
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12881,7 +12881,7 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.0.3":
"prettier@npm:3.0.3, prettier@npm:^3.0.3":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
bin:
Expand Down Expand Up @@ -13848,6 +13848,7 @@ __metadata:
resolution: "rsc-parser@workspace:."
dependencies:
"@changesets/cli": 2.26.2
prettier: ^3.0.3
turbo: 1.10.15
languageName: unknown
linkType: soft
Expand Down

0 comments on commit 12ad51b

Please sign in to comment.