-
Notifications
You must be signed in to change notification settings - Fork 0
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
[공통] ts-monorepo-template 를 최신화합니다. #10
Changes from 9 commits
fcfc581
98164e3
ca5369e
c2f22a1
310560f
0720d7e
991cd54
b259cd9
a3b69d6
457699a
a334e07
d88d628
caaefcd
0d78ea5
b73f5a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: detect changed packages | ||
|
||
on: | ||
pull_request: | ||
branches: ['**'] | ||
types: [opened, reopened, labeled, unlabeled, synchronize] | ||
|
||
concurrency: | ||
group: detect-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.ACTION_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: setup pnpm and install dependencies | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.1.1 | ||
run_install: true | ||
|
||
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 'detect changed packages' | ||
uses: NaverPayDev/changeset-actions/detect-add@main | ||
with: | ||
github_token: ${{ secrets.ACTION_TOKEN }} | ||
packages_dir: packages,share | ||
skip_label: skip-detect-change | ||
skip_branches: main | ||
formatting_script: pnpm run markdownlint:fix |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
COMMIT_MSG_FILE=$1 | ||
|
||
npx --yes @naverpay/commit-helper@latest $1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.github | ||
.changeset | ||
.husky | ||
.husky | ||
.lefthook |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pre-commit: | ||
parallel: true | ||
commands: | ||
lint: | ||
skip: | ||
- ref: main | ||
- ref: develop | ||
run: npx lint-staged | ||
commit-msg: | ||
scripts: | ||
"commit-helper.sh": | ||
runner: bash |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
{ | ||
"name": "ts-monorepo-template", | ||
"author": "@NaverPayDev/frontend", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NaverPayDev/ts-monorepo-template.git" | ||
}, | ||
"description": "ts-monorepo-template", | ||
"version": "0.0.0", | ||
"keywords": [ | ||
"naver", | ||
"naver-financial", | ||
"monorepo", | ||
"monorepo-template", | ||
"template", | ||
"typescript" | ||
], | ||
"scripts": { | ||
"start": "turbo run start", | ||
"build": "turbo run build", | ||
|
@@ -26,17 +34,14 @@ | |
"**/*.{ts,tsx,js,jsx}": "eslint" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"@naverpay/eslint-config": "^0.2.0", | ||
"@naverpay/markdown-lint": "^0.0.2", | ||
"@naverpay/prettier-config": "^0.0.2", | ||
"@size-limit/preset-big-lib": "^11.0.2", | ||
"glob": "^9.3.4", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^15.0.1", | ||
"size-limit": "^11.0.2", | ||
"turbo": "^1.10.16", | ||
"typescript": "^5.2.2" | ||
"@changesets/cli": "^2.27.9", | ||
"@naverpay/eslint-config": "^1.0.7", | ||
"@naverpay/markdown-lint": "^0.0.3", | ||
"@naverpay/prettier-config": "^1.0.0", | ||
"lefthook": "^1.8.2", | ||
"lint-staged": "^15.2.10", | ||
"turbo": "^2.2.3", | ||
"typescript": "^5.6.3" | ||
}, | ||
"packageManager": "pnpm@8.14.3" | ||
"packageManager": "pnpm@9.1.1" | ||
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. 요거 저희 베이스 이미지 최신인 9.12.3으로 하시죠~ 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. 네넵 그럼 이거 로컬에서 corepack enabled 처리 해야되는거죠?? 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. node 도 22로 올릴까요? 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.
네네 그리고 step 에 corepack enable 추가하시면 될듯
굿굿 |
||
} |
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.
요거 쓰지말고 대신
package.json
의 engine 따라가게하실수 있을까여?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.
네잉