Skip to content

Commit e32fc2c

Browse files
committed
fix: lint
1 parent 7aecec1 commit e32fc2c

File tree

10 files changed

+17
-9
lines changed

10 files changed

+17
-9
lines changed

apps/book-server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dev": "nodemon --watch './**/*.mts' --exec 'node --import @swc-node/register/esm-register' ./src/main.mts | pino-pretty",
1313
"start": "node --import @swc-node/register/esm-register dist/src/main.mjs",
1414
"build": "tsc --project tsconfig.json",
15+
"lint": "prettier -w .",
1516
"codegen": "graphql-codegen-esm --config codegen.mts",
1617
"create-mock": "NODE_ENV=development dotenv -e ./env/.env.development -- tsx ./scripts/createMock.mts",
1718
"create-service": "tsx ./scripts/createService.mts",

apps/cron/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"start": "NODE_ENV=production node dist/src/main.mjs",
2222
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
2323
"build:prod": "tsc --project tsconfig.prod.json && tsc-alias -p tsconfig.prod.json",
24+
"lint": "prettier -w .",
2425
"create-service": "tsx ./scripts/createService.ts",
2526
"ssm": "tsx ./scripts/ssm.mts"
2627
},

apps/server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"start": "NODE_ENV=production node dist/src/main.mjs",
2020
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
2121
"build:prod": "tsc --project tsconfig.prod.json && tsc-alias -p tsconfig.prod.json",
22+
"lint": "prettier -w .",
2223
"codegen": "graphql-codegen --config codegen.ts",
2324
"test": "pnpm jest --detectOpenHandles",
2425
"create-service": "tsx ./scripts/createService.ts",

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"dev": "pnpm env:copy -e development && next dev -p 3001 --turbo",
1919
"build": "next build",
2020
"start": "next start -H 0.0.0.0 -p 3001",
21-
"lint": "next lint",
21+
"lint": "prettier -w .",
2222
"env:copy": "tsx ./scripts/copyEnv.ts",
2323
"create-component": "tsx ./scripts/createComponent.ts",
2424
"create-svg-component": "tsx ./scripts/createSvgComponent.ts",

apps/web/src/components/PopupBase/PopupBase.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.09);
1818

1919
@media screen and (max-width: 768px) {
20-
width: calc(100% - 2rem);
20+
width: calc(100% - 2rem);
2121
}
2222
}
2323
}

apps/web/src/features/setting/components/SettingSocialInfoRow/SettingSocialInfoRow.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
.infoList {
1818
list-style: none;
19-
padding: 0;
19+
padding: 0;
2020
margin: 0;
2121
li {
2222
display: flex;

packages/database/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"default": "./dist/velog-book-mongo/index.mjs",
2020
"types": "./dist/velog-book-mongo/index.d.ts"
2121
},
22-
"./velog-redis":{
23-
"default": "./dist/velog-redis/index.mjs",
22+
"./velog-redis": {
23+
"default": "./dist/velog-redis/index.mjs",
2424
"types": "./dist/velog-redis/index.mjs"
2525
}
2626
},
@@ -35,9 +35,10 @@
3535
"prisma-deploy:rds": "pnpm env:copy && dotenv -e .env -- tsx ./scripts/rdsDeploy.mts",
3636
"prisma-deploy:mongo": "pnpm env:copy && dotenv -e .env -- tsx ./scripts/mongoDeploy.mts",
3737
"prisma:generate": "tsx ./scripts/generatePrisma.mts",
38+
"build": "tsc -p tsconfig.build.json",
39+
"lint": "prettier -w .",
3840
"env:copy": "tsx ./scripts/copyEnv.mts",
39-
"ssm": "tsx ./scripts/ssm.mts",
40-
"build": "tsc -p tsconfig.build.json"
41+
"ssm": "tsx ./scripts/ssm.mts"
4142
},
4243
"dependencies": {
4344
"@packages/scripts": "workspace:*",

packages/database/scripts/copyEnv.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
/Users/winverse/Desktop/workspace/velog/.prettierrc
1+
import { CopyEnvScript } from '@packages/scripts'
2+
3+
const envScript = new CopyEnvScript()
4+
envScript.excute()

packages/not-shared/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"env:copy": "tsx ./scripts/copyEnv.mts",
1414
"prisma:copy": "tsx ./scripts/copyPrisma.mts",
1515
"prisma:generate": "prisma generate --schema='./prisma/velog-rds/schema.prisma'",
16+
"lint": "prettier -w .",
1617
"ssm": "tsx ./scripts/ssm.mts"
1718
},
1819
"engines": {

packages/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"scripts": {
6-
"test": "echo \"Error: no test specified\" && exit 1"
6+
"lint": "prettier -w ."
77
},
88
"main": "./index.mts",
99
"types": "./index.mts",

0 commit comments

Comments
 (0)