Skip to content

Commit

Permalink
Merge branch 'main' into feature/#39
Browse files Browse the repository at this point in the history
  • Loading branch information
gwansikk authored Aug 15, 2024
2 parents 0261030 + c44a907 commit a2318e1
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 17 deletions.
8 changes: 0 additions & 8 deletions .changeset/moody-snakes-crash.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"@clab-platforms/member": patch
"@clab-platforms/status": patch
"@clab-platforms/time": patch
"@clab-platforms/design-system": patch
"@clab-platforms/config": patch
"@clab-platforms/icon": patch
"@clab-platforms/utils": patch
---

chore: update .changeset/config.json to skip versions of private packages
feat: setup changesets
2 changes: 1 addition & 1 deletion .github/workflows/pnpm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
command: ['type', 'lint', 'test', 'build']
command: ['lint', 'test', 'build']

steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Skip Husky Hooks
run: echo "HUSKY_SKIP_HOOKS=1" >> $GITHUB_ENV

- name: Create Release Pull Request
uses: changesets/action@v1
env:
Expand Down
7 changes: 6 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm commitlint --edit $1
# CI 환경에서는 commitlint를 건너뛰도록 설정
if [ "$CI" != "true" ]; then
pnpm commitlint --edit $1
else
echo "Skipping commitlint in CI environment"
fi
1 change: 1 addition & 0 deletions apps/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@clab-platforms/auth",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --port 6001",
"build": "next build",
Expand Down
1 change: 1 addition & 0 deletions apps/land/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@clab-platforms/land",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
1 change: 1 addition & 0 deletions apps/member/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@clab-platforms/member",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --port 6002",
Expand Down
1 change: 1 addition & 0 deletions apps/status/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@clab-platforms/status",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
1 change: 1 addition & 0 deletions apps/time/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@clab-platforms/time",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --port 6004",
"build": "next build",
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"name": "clab-platforms",
"private": true,
"packageManager": "pnpm@9.6.0",
"packageManager": "pnpm@9.7.1",
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "husky install && pnpm build:design-system && pnpm build:icon",
"postinstall": "husky install",
"dev": "turbo run dev",
"prebuild": "pnpm -F @clab-platforms/design-system build && pnpm -F @clab-platforms/icon build",
"build": "turbo run build",
"type": "turbo run type",
"test": "turbo run test",
"coverage": "turbo run coverage",
"lint": "turbo run lint",
"build:design-system": "pnpm -F @clab-platforms/design-system build",
"build:icon": "pnpm -F @clab-platforms/icon build"
"lint": "turbo run lint"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
Expand Down
1 change: 1 addition & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@clab-platforms/config",
"version": "1.0.0",
"private": true,
"files": [
"clab.tailwind.preset.js",
Expand Down
1 change: 1 addition & 0 deletions packages/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@clab-platforms/icon",
"version": "1.0.0",
"private": true,
"main": "src/index.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@clab-platforms/utils",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "src/index.ts",
Expand Down

0 comments on commit a2318e1

Please sign in to comment.