-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve monorepo builds #457
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6982e33
chore(vite): update `vite` and peer deps to `^5`
SnowSuno edce0b3
chore(deps): update `tsconfig-paths` dependency
SnowSuno 5e998d1
chore(deps): add devDependencies for `@biseo/interface` dev build
SnowSuno 91f7fd2
chore(commitlint): increase commitlint max length to recommended length
SnowSuno 08c5b63
Merge branch 'main' into feat/update-monorepo-build
SnowSuno 1c64dd9
feat(typescript): unify build and dev `tsconfig.json` files
SnowSuno 6e46783
feat(typescript): replace interface internal absolute path aliases
SnowSuno f1cea4c
feat(dev-build): add dev build script in `@biseo/interface`
SnowSuno 2297949
feat(api): unify `tsconfig.*.json` config files
SnowSuno 00ee3fd
feat(web): unify `tsconfig.*.json` config files
SnowSuno c2d152a
chore(web): reflect bundler breaking changes
SnowSuno 36db70b
chore(typescript): unify base `tsconfig.json`
SnowSuno fa92e15
chore(interface): add `clean` script
SnowSuno bc414ca
chore(base): update base scripts
SnowSuno 4921dc0
chore(eslint): fix eslint `import/resolver`
SnowSuno d18c816
chore(web): remove commented lines
SnowSuno 56d75a1
chore(api): fix linter errors
SnowSuno 40e4989
chore(tsconfig): update `tsconfig.json` `baseUrl`
SnowSuno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": ["@commitlint/config-conventional"], | ||
"rules": { | ||
"header-max-length": [2, "always", 60] | ||
"header-max-length": [2, "always", 72] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,15 @@ | |
"web": "pnpm -F @biseo/web", | ||
"api": "dotenv -- pnpm -F @biseo/api", | ||
"interface": "pnpm -F @biseo/interface", | ||
"dev": "dotenv -- pnpm -r --stream dev", | ||
"dev": "dotenv -- pnpm -r --stream --parallel dev", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"db": "dotenv -- pnpm -F @biseo/api db", | ||
"migrate": "dotenv -- pnpm -F @biseo/api migrate", | ||
"typegen": "pnpm -F @biseo/api typegen", | ||
"studio": "dotenv -- pnpm -F @biseo/api studio", | ||
"typecheck": "pnpm -r typecheck", | ||
"lint": "pnpm eslint . && pnpm prettier --config ./.prettierrc --check -u .", | ||
"build": "pnpm -r build" | ||
"build": "pnpm -r build", | ||
"clean": "pnpm -r clean" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"extends": "../../tsconfig.json" | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "./dist", | ||
"baseUrl": "./src", | ||
"paths": { | ||
"@biseo/api/*": ["./*"] | ||
// TODO: change to @/* | ||
} | ||
}, | ||
"include": ["./src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "../../tsconfig.json" | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "./dist", | ||
"declaration": true, | ||
"declarationMap": true, | ||
"baseUrl": "./src", | ||
"paths": { | ||
"@/*": ["./*"] | ||
} | ||
}, | ||
"include": ["./src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
export { ReactComponent as CloseIcon } from "./close.svg"; | ||
export { ReactComponent as CloseSmallIcon } from "./closeSmall.svg"; | ||
export { ReactComponent as EmoticonIcon } from "./emoticon.svg"; | ||
export { ReactComponent as LogoIcon } from "./logo.svg"; | ||
export { ReactComponent as LogoLargeIcon } from "./logoLarge.svg"; | ||
export { ReactComponent as SelectIcon } from "./select.svg"; | ||
export { ReactComponent as SendIcon } from "./send.svg"; | ||
export { ReactComponent as PlusIcon } from "./plus.svg"; | ||
export { ReactComponent as DownArrowIcon } from "./downarrow.svg"; | ||
export { ReactComponent as TrashIcon } from "./trash.svg"; | ||
export { default as CloseIcon } from "./close.svg?react"; | ||
export { default as CloseSmallIcon } from "./closeSmall.svg?react"; | ||
export { default as EmoticonIcon } from "./emoticon.svg?react"; | ||
export { default as LogoIcon } from "./logo.svg?react"; | ||
export { default as LogoLargeIcon } from "./logoLarge.svg?react"; | ||
export { default as SelectIcon } from "./select.svg?react"; | ||
export { default as SendIcon } from "./send.svg?react"; | ||
export { default as PlusIcon } from "./plus.svg?react"; | ||
export { default as DownArrowIcon } from "./downarrow.svg?react"; | ||
export { default as TrashIcon } from "./trash.svg?react"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/// <reference types="vite-plugin-svgr/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그냥 이참에 commitlint 최대자 제한을
72
자로 늘렸어요72
자가 recommended length더라고요https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-rules.md