Skip to content

Commit

Permalink
Merge pull request #19 from ileostar/feature/add-turbo
Browse files Browse the repository at this point in the history
🧱 optimize project engineering #18
  • Loading branch information
ileostar authored Jul 10, 2024
2 parents 98b1975 + 9b01ac5 commit 6718e6c
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* eol=lf

*.png -text
*.jpg -text
*.gif -text
*.ico -text
*.bmp -text
*.webp -text
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"shacdnui",
"usehooks",
"vercel",
"webp",
"Woohoo"
]
}
1 change: 0 additions & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@paralleldrive/cuid2": "2.2.2",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/supertest": "^6.0.0",
"cross-env": "^7.0.3",
"ioredis-mock": "^8.9.0",
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,28 @@
"version": "1.0.0",
"description": "Poster editor",
"license": "MIT",
"bugs": {
"url": "https://github.com/ileostar/PosterCraft/issues"
},
"homepage": "https://github.com/ileostar/PosterCraft",
"engines": {
"node": ">=20.12.2"
},
"scripts": {
"prepare": "simple-git-hooks",
"schema:build": "pnpm -F @poster-craft/schema build",
"db:init": "pnpm schema:build && pnpm -F @poster-craft/db run init",
"db:init:test": "pnpm -F @poster-craft/db run init:test",
"dev:web": "pnpm -F web dev",
"dev:server": "pnpm -F server start",
"lint": "turbo lint --no-daemon",
"format": "prettier --write --cache .",
"format-check": "prettier --check --cache .",
"test": "pnpm -F api test && pnpm -F client test",
"test:ci": "pnpm -F api test && pnpm -F client test:ci",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"docs:dev": "pnpm -F docs docs:dev",
"build:docs": "pnpm -F docs docs:build"
},
"engines": {
"node": ">=20.12.2"
},
"dependencies": {
"@t3-oss/env-core": "^0.10.1",
"drizzle-orm": "^0.31.2",
Expand All @@ -39,6 +43,7 @@
"simple-git-hooks": "^2.11.1",
"tsup": "^8.1.0",
"tsx": "^4.16.2",
"turbo": "^2.0.6",
"typescript": "^5.5.3"
}
}
66 changes: 63 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"pipeline": {
"lint": {
"cache": true
}
}
}

0 comments on commit 6718e6c

Please sign in to comment.