feat: add prettier packagejson plugin (#1577)

This commit is contained in:
Manuel
2024-12-01 22:59:11 +01:00
committed by GitHub
parent 0ab9d0bd69
commit a53a2cdd34
13 changed files with 124 additions and 37 deletions

View File

@@ -21,12 +21,12 @@
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"migration:mysql:drop": "drizzle-kit drop --config ./configs/mysql.config.ts",
"migration:mysql:generate": "drizzle-kit generate --config ./configs/mysql.config.ts",
"migration:mysql:run": "drizzle-kit migrate --config ./configs/mysql.config.ts && pnpm run seed",
"migration:mysql:drop": "drizzle-kit drop --config ./configs/mysql.config.ts",
"migration:sqlite:drop": "drizzle-kit drop --config ./configs/sqlite.config.ts",
"migration:sqlite:generate": "drizzle-kit generate --config ./configs/sqlite.config.ts",
"migration:sqlite:run": "drizzle-kit migrate --config ./configs/sqlite.config.ts && pnpm run seed",
"migration:sqlite:drop": "drizzle-kit drop --config ./configs/sqlite.config.ts",
"push:mysql": "drizzle-kit push --config ./configs/mysql.config.ts",
"push:sqlite": "drizzle-kit push --config ./configs/sqlite.config.ts",
"seed": "pnpm with-env tsx ./migrations/run-seed.ts",

View File

@@ -17,9 +17,9 @@
"scripts": {
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"postinstall": "tsx ./src/docs/codegen.ts",
"lint": "eslint",
"typecheck": "tsc --noEmit",
"postinstall": "tsx ./src/docs/codegen.ts"
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {

View File

@@ -31,6 +31,7 @@
"@homarr/db": "workspace:^0.1.0",
"@homarr/definitions": "workspace:^0.1.0",
"@homarr/log": "workspace:^0.1.0",
"@homarr/redis": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@jellyfin/sdk": "^0.11.0",

View File

@@ -1,7 +1,8 @@
{
"name": "@homarr/modals-collection",
"private": true,
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"exports": {
".": "./index.ts"
@@ -13,13 +14,13 @@
]
}
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "eslint",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/api": "workspace:^0.1.0",
"@homarr/common": "workspace:^0.1.0",
@@ -42,6 +43,5 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}

View File

@@ -1,7 +1,8 @@
{
"name": "@homarr/old-import",
"private": true,
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"exports": {
".": "./index.ts"
@@ -13,13 +14,13 @@
]
}
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "eslint",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/common": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0",
@@ -35,6 +36,5 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}

View File

@@ -1,7 +1,8 @@
{
"name": "@homarr/old-schema",
"private": true,
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"exports": {
".": "./index.ts"
@@ -13,13 +14,13 @@
]
}
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "eslint",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"zod": "^3.23.8"
},
@@ -29,6 +30,5 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}

View File

@@ -1,7 +1,8 @@
{
"name": "@homarr/request-handler",
"private": true,
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"exports": {
"./*": "./src/*.ts"
@@ -13,13 +14,13 @@
]
}
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "eslint",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/common": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0",
@@ -36,6 +37,5 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}

View File

@@ -21,6 +21,7 @@
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/api": "workspace:^0.1.0",
"@homarr/auth": "workspace:^0.1.0",
@@ -46,6 +47,5 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}

View File

@@ -22,6 +22,7 @@
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/common": "workspace:^0.1.0",
"@homarr/definitions": "workspace:^0.1.0",
@@ -43,6 +44,5 @@
"@types/css-modules": "^1.0.5",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}
}