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
1 change: 1 addition & 0 deletions .changepacks/changepack_log_p6BWITv7KEZ3eQ1drCR7a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"changes":{"package.json":"Patch"},"note":"Migration to bun","date":"2025-12-30T17:52:49.858589700Z"}
7 changes: 7 additions & 0 deletions .changepacks/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignore": [],
"baseBranch": "main",
"latestPackage": "package.json",
"publish": {},
"updateOn": {}
}
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-hands-slide.md

This file was deleted.

49 changes: 21 additions & 28 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
name: Check Pull Request
on:
pull_request:
branches:
- main
jobs:
check:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

- run: pnpm i
- run: |
pnpm build
pnpm lint
pnpm test
name: Check Pull Request
on:
pull_request:
branches:
- main
jobs:
check:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
74 changes: 37 additions & 37 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Publish Package to npm

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Install Node.js
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
node-version: 22
cache: 'pnpm'
- run: pnpm i
- run: |
pnpm build
pnpm lint
pnpm test
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm publish --access=public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish Package to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
# create pull request comments
pull-requests: write
# Actions > General > Workflow permissions for creating pull request
# Create brench to create pull request
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
- uses: changepacks/action@main
id: changepacks
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
116 changes: 59 additions & 57 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,57 +1,59 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Dependencies
node_modules
.pnp
.pnp.js
.idea
.vscode
.vite-inspect
.df

devup-*.tgz
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Testing
coverage
tsconfig.vitest-temp.json
vite.config.ts.timestamp-*
vite.config.*.ts.timestamp-*

# Turbo
.turbo

# Vercel
.vercel

# Build Outputs
.next
out
build
storybook-static
!packages/*/src/**/build
dist
next-env.d.ts


# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Misc
.DS_Store
*.pem

stats.html

*storybook.log

.nx/cache
.nx/workspace-data
**/vite.config.{js,ts,mjs,mts,cjs,cts}.timestamp*
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Dependencies
node_modules
.pnp
.pnp.js
.idea
.vscode
.vite-inspect
.df

devup-*.tgz
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Testing
coverage
tsconfig.vitest-temp.json
vite.config.ts.timestamp-*
vite.config.*.ts.timestamp-*

# Turbo
.turbo

# Vercel
.vercel

# Build Outputs
.next
out
build
storybook-static
!packages/*/src/**/build
dist
next-env.d.ts


# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Misc
.DS_Store
*.pem

stats.html

*storybook.log

.nx/cache
.nx/workspace-data
**/vite.config.{js,ts,mjs,mts,cjs,cts}.timestamp*

.claude
3 changes: 2 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm lint-staged
bun test
bun lint
8 changes: 0 additions & 8 deletions .lintstagedrc.mjs

This file was deleted.

92 changes: 46 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
# eslint-plugin-devup

`devup`은 데브파이브에서 사용되는 더 빠르고 더 정확한 소프트웨어 개발을 위한 시스템입니다.

`devup-eslint-plugin`은 빠르고 정확하게 소프트웨어 개발을 할 수 있도록 도움을 줍니다.

각 룰에 대해서는 `src/rules` 디렉토리에 있는 파일을 참고하세요.

사내에서 사용하다가 외부에 공개된 만큼, 회사 내의 시스템을 위한 룰도 존재합니다.

원하는 룰만 사용할 수 있도록 `named export`로 모든 룰을 제공합니다.

## Installation

```bash
pnpm install --save-dev eslint-plugin-devup
```

## Usage

create `eslint.config.mjs` file in your project root.

```js
import { configs } from 'eslint-plugin-devup'

export default configs.recommended
```

## Test

Coverage score must be 100%.

```bash
pnpm test
```

## Contributing

- 룰을 추가하거나 수정할 때는 `src/rules` 디렉토리에 파일을 추가하거나 수정합니다.
- 룰을 추가하거나 수정할 때는 `README.md`에 룰에 대한 설명을 추가합니다.

모든 의견과 기여를 환영합니다.

## Join the Community

[Discord](https://discord.gg/8zjcGc7cWh)
# eslint-plugin-devup
`devup` is a system for faster and more accurate software development used at DevFive.
`eslint-plugin-devup` helps you develop software quickly and accurately.
For details on each rule, please refer to the files in the `src/rules` directory.
As this was originally used internally and has now been made public, some rules exist for company-specific systems.
All rules are provided as `named exports` so you can use only the rules you want.
## Installation
```bash
bun add -d eslint-plugin-devup
```
## Usage
Create an `eslint.config.mjs` file in your project root.
```js
import { configs } from 'eslint-plugin-devup'
export default configs.recommended
```
## Test
Coverage score must be 100%.
```bash
bun test
```
## Contributing
- When adding or modifying rules, add or modify files in the `src/rules` directory.
- When adding or modifying rules, add a description of the rule in `README.md`.
All opinions and contributions are welcome.
## Join the Community
[Discord](https://discord.gg/8zjcGc7cWh)
Loading