Skip to content

Commit

Permalink
Upgraded packages and changed the deprecated `@plasmohq/prettier-plug…
Browse files Browse the repository at this point in the history
…in-sort-imports` to a non-deprecated module
  • Loading branch information
avi12 committed Dec 16, 2023
1 parent 723af93 commit 47099a7
Show file tree
Hide file tree
Showing 3 changed files with 977 additions and 925 deletions.
4 changes: 2 additions & 2 deletions .prettierrc.cjs → .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @type {import('prettier').Options}
*/
module.exports = {
export default {
printWidth: 120,
tabWidth: 2,
useTabs: false,
Expand All @@ -10,7 +10,7 @@ module.exports = {
trailingComma: "none",
bracketSpacing: true,
bracketSameLine: true,
plugins: [require.resolve("@plasmohq/prettier-plugin-sort-imports")],
plugins: ["@ianvs/prettier-plugin-sort-imports"],
importOrder: ["^@plasmohq/(.*)$", "^~(.*)$", "^[./]"],
importOrderSeparation: true,
importOrderSortSpecifiers: true
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
"run-opera:windows": "pnpm run-chromium --chromium-binary \"%LocalAppData%\\Programs\\Opera\\opera.exe\""
},
"dependencies": {
"plasmo": "0.83.0"
"plasmo": "0.84.0"
},
"devDependencies": {
"@plasmohq/prettier-plugin-sort-imports": "4.0.1",
"@types/chrome": "0.0.246",
"@types/node": "20.7.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint": "^8.50.0",
"@ianvs/prettier-plugin-sort-imports": "4.1.1",
"@types/chrome": "0.0.254",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.56.0",
"eslint-config-avi12": "github:avi12/eslint-config-avi12",
"prettier": "3.0.3",
"typescript": "5.2.2",
"web-ext": "^7.7.0",
"zip-self": "^0.5.9"
"prettier": "3.1.1",
"typescript": "5.3.3",
"web-ext": "^7.9.0",
"zip-self": "^0.6.0"
},
"manifest": {
"offline_enabled": true,
Expand Down
Loading

0 comments on commit 47099a7

Please sign in to comment.