Skip to content

Commit

Permalink
리스크립트 v12 지원 (#12)
Browse files Browse the repository at this point in the history
* compat to v12

* v0.5.0

* test ci 수정

* release ci 수정
  • Loading branch information
mununki authored Nov 18, 2024
1 parent b3d3f4f commit b4a557d
Show file tree
Hide file tree
Showing 15 changed files with 1,189 additions and 3,058 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: ./.github/actions/setup-engines

- name: Build
run: pnpm build
run: pnpm run res:build

- name: Test
run: pnpm test
run: pnpm run test

publish:
needs: [build_test]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: ./.github/actions/setup-engines

- name: Build
run: pnpm build
run: pnpm run res:build

- name: Test
run: pnpm test
run: pnpm run test

publish:
needs: [build_test]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: ./.github/actions/setup-engines

- name: Build
run: pnpm build
run: pnpm run res:build

- name: Test
run: pnpm test
run: pnpm run test
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @greenlabs/rescript-korean-numeral

## 0.5.0

- ReScript v12 지원
- 테스트 러너 변경: Jest -> Zora

## 0.4.0

### Breaking Changes
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

| ReScript | korean-numeral |
| ---------------------- | -------------- |
| >= v11.1 (BigInt 지원) | >= v0.4.0 |
| >= v12 | >= v0.5.0 |
| >= v11.1 (BigInt 지원) | >= v0.4.0 |
| ~< v11.1 | ~< v0.4.0 |

## 설치하기
Expand Down
80 changes: 0 additions & 80 deletions __tests__/KoreanNumeral_test.res

This file was deleted.

20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"version": "0.4.0",
"description": "ReScript module to convert the number to Korean",
"scripts": {
"start": "rescript build -w",
"build": "rescript build -with-deps",
"clean": "rescript clean",
"test": "jest"
"res:build": "rescript",
"res:clean": "rescript clean",
"res:watch": "rescript build -w",
"test:watch": "onchange --initial '{test,src}/**/*.mjs' -- pta 'test/__tests__/**/*.mjs' | tap-difflet",
"test": "pta './test/__tests__/Index.mjs' | tap-difflet"
},
"repository": {
"type": "git",
Expand All @@ -25,8 +26,11 @@
},
"homepage": "https://github.com/green-labs/rescript-korean-numeral#readme",
"devDependencies": {
"@glennsl/rescript-jest": "^0.10.0",
"jest": "^29.7.0",
"rescript": "11.1.0-rc.6"
"@dusty-phillips/rescript-zora": "^4.0.0",
"onchange": "^7.1.0",
"pta": "^1.2.0",
"rescript": "12.0.0-alpha.4",
"tap-difflet": "^0.7.2",
"zora": "^5.2.0"
}
}
}
Loading

0 comments on commit b4a557d

Please sign in to comment.