Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Changesets

on:
push:
branches:
- main

env:
CI: true

jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout code repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Set up .npmrc
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create PR and publish versions
uses: changesets/action@v1
with:
commit: "[FE-Chore] update versions"
title: "[FE-Chore] update versions"
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/fe-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build Frontend
working-directory: ./frontend
run: |
pnpm install
pnpm install --frozen-lockfile
pnpm build

- name: Copy nginx file to EC2
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
key: ${{ secrets.EC2_SSH_KEY }}
script: |
cd ~/app/frontend/dist/server
pnpm install
pnpm install --frozen-lockfile

# 배포 스크립트 실행
- name: Deploy
Expand Down
8 changes: 8 additions & 0 deletions frontend/.changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions frontend/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-git",
{ "repo": "softeer5th/Team4-enDolphin" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@endolphin/client", "@endolphin/server"]
}
9 changes: 9 additions & 0 deletions frontend/.changeset/cyan-colts-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@endolphin/date-time": major
"@endolphin/calendar": major
"@endolphin/theme": major
"@endolphin/core": major
"@endolphin/ui": major
---

🚀
2 changes: 1 addition & 1 deletion frontend/apps/client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@frontend/client",
"name": "@endolphin/client",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions frontend/apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "server",
"name": "@endolphin/server",
"version": "1.0.0",
"description": "",
"main": "index.js",
Expand All @@ -15,4 +15,4 @@
"@types/express": "^5.0.2",
"typescript": "^5.6.2"
}
}
}
4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"pnpm": ">=9.0.0"
},
"devDependencies": {
"@changesets/changelog-git": "^0.2.1",
"@changesets/cli": "^2.29.4",
"@chromatic-com/storybook": "^3.2.4",
"@eslint/js": "^9.17.0",
"@storybook/addon-essentials": "^8.5.2",
Expand All @@ -31,8 +33,8 @@
"@types/react-dom": "^19.0.3",
"@vanilla-extract/css": "^1.17.0",
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/esbuild-plugin": "2.3.14",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/vite-plugin": "^4.0.19",
"@vitejs/plugin-react": "^4.3.4",
"cross-env": "^7.0.3",
Expand Down
12 changes: 6 additions & 6 deletions frontend/packages/calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endolphin/calendar",
"version": "1.0.7",
"version": "1.0.0",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
Expand All @@ -16,16 +16,16 @@
"access": "public"
},
"dependencies": {
"@endolphin/core": "^1.0.5",
"@endolphin/ui": "^1.0.12",
"@endolphin/theme": "^1.0.17"
"@endolphin/core": "workspace:^",
"@endolphin/ui": "workspace:^",
"@endolphin/theme": "workspace:^"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@endolphin/theme": "^1.0.4",
"@endolphin/theme": "workspace:^",
"@vanilla-extract/css": "^1.17.0",
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/recipes": "^0.5.5"
}
}
}
4 changes: 2 additions & 2 deletions frontend/packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endolphin/core",
"version": "1.0.5",
"version": "1.0.0",
"type": "module",
"publishConfig": {
"access": "public"
Expand All @@ -17,4 +17,4 @@
"scripts": {
"build": "tsc -b && tsc-alias"
}
}
}
10 changes: 6 additions & 4 deletions frontend/packages/date-time/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "@endolphin/date-time",
"version": "1.0.6",
"version": "1.0.0",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"files": [
"dist"
],
"scripts": {
"build": "tsup --clean"
},
"publishConfig": {
"access": "public"
}
}
}
10 changes: 6 additions & 4 deletions frontend/packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "@endolphin/theme",
"version": "1.0.17",
"version": "1.0.0",
"type": "module",
"publishConfig": {
"access": "public"
},
"files": ["dist"],
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/src/index.js",
Expand All @@ -17,11 +19,11 @@
}
},
"peerDependencies": {
"@endolphin/core": "^1.0",
"@endolphin/core": "workspace:^",
"@vanilla-extract/css": "^1.17.0",
"@vanilla-extract/recipes": "^0.5.5"
},
"scripts": {
"build": "tsc -b && node scripts/copy-fonts.js"
}
}
}
8 changes: 4 additions & 4 deletions frontend/packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endolphin/ui",
"version": "1.0.13",
"version": "1.0.0",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
Expand All @@ -16,8 +16,8 @@
"access": "public"
},
"dependencies": {
"@endolphin/core": "^1.0.5",
"@endolphin/theme": "^1.0.17"
"@endolphin/core": "workspace:^",
"@endolphin/theme": "workspace:^"
},
"peerDependencies": {
"react": ">=19.0.0",
Expand All @@ -26,4 +26,4 @@
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/recipes": "^0.5.5"
}
}
}
Loading