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
8 changes: 8 additions & 0 deletions .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)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/lazy-kids-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-image": patch
---

changeset와 테크스코드가 추가되었습니다.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Changesets
on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

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

- name: build
run: pnpm run build

- name: Create and publish versions
uses: changesets/action@v1
with:
publish: pnpm release
commit: '🚀 update versions'
title: '📦 update versions'
version: pnpm changeset-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,20 @@
"scripts": {
"build": "pnpm run clean && vite build --config vite.config.mts && pnpm run build:dts",
"build:dts": "tsup --config tsup.config.mts",
"release": "changeset publish",
"clean": "rm -rf dist",
"test": "vitest run",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint '**/*.{js,jsx,ts,tsx}' --fix",
"prettier": "prettier --check '**/*.{ts,tsx,js,mjs,cjs,jsx,json,yaml,yml}'",
"prettier:fix": "prettier --write '**/*.{ts,tsx,js,mjs,cjs,jsx,json,yaml,yml}'",
"md": "markdownlint '*.md'",
"md:fix": "markdownlint --fix '*.md'"
"md:fix": "markdownlint --fix '*.md'",
"changeset-version": "changeset version && pnpm run md:fix"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.28.0",
"@changesets/cli": "^2.29.5",
"@naverpay/editorconfig": "^0.0.4",
"@naverpay/eslint-config": "^2.3.0",
"@naverpay/markdown-lint": "^0.0.3",
Expand Down
Loading