diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ad02b6..7772ccf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,6 @@ on: jobs: lint-test: - if: "!contains(github.event.head_commit.message, 'skip ci')" name: Lint & Test runs-on: ubuntu-latest steps: @@ -46,7 +45,6 @@ jobs: run: yarn run test:ci release: - if: "!contains(github.event.head_commit.message, 'skip ci')" needs: lint-test runs-on: ubuntu-latest steps: diff --git a/.releaserc.json b/.releaserc.json index 3674746..4e2202e 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -15,7 +15,7 @@ "@semantic-release/git", { "assets": ["package.json", "docs/CHANGELOG.md"], - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" } ] ], diff --git a/README.md b/README.md index 6ff48d8..eca8ee2 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,16 @@
-
+
-
+
-
+
-
+
@@ -49,11 +49,11 @@ The word "Moji" translates to "Character" in English
- Supports strict and threshold-based validation for Kanji, Kana, and all the Japanese characters
including punctuations
- Exports easy to use score calculator for Kanji, Kana, and the rest of the Japanese characters
-- Easy to extend with customizable options and build-your-own validators
-- Supports custom single Unicode and Unicode ranges out-of-the-box
+- Easy to extend with customizable options and custom validator creators
+- Supports both custom single Unicode and Unicode ranges out-of-the-box
- 100% TypeScript friendly
- ESM, CJS, and UMD builds
-- Only pay for what you use — its fully tree-shakable
+- Only pay for what you use — it is fully tree-shakable
## 📦 Install
@@ -165,7 +165,10 @@ type MatchScoreCalculator = (arg: string) => number;
## 🛠 Build Your Own Validators
-You could create your own validators too, should the existing validators not suffice your case.
+You could create custom validators too, should the existing validators not fit your use case.
+
+There are also ready-to-use, copy-pastable code snippets that may fit your use cases
+[here](./docs/RECIPES.md)
```ts
import {
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 550b16d..aa2c6cb 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+## [1.1.1-next.1](https://github.com/arjunvegda/japanese-moji/compare/v1.1.0...v1.1.1-next.1) (2022-02-21)
+
+
+### Bug Fixes
+
+* improve docs for npm ([#55](https://github.com/arjunvegda/japanese-moji/issues/55)) ([a559a89](https://github.com/arjunvegda/japanese-moji/commit/a559a89744ef17747a75ed726f7c6dfc5a641f7f))
+* trigger build, empty commit ([#54](https://github.com/arjunvegda/japanese-moji/issues/54)) ([b082bb4](https://github.com/arjunvegda/japanese-moji/commit/b082bb49c91816c147fbf1f50608ab796d80930e))
+
# [1.1.0](https://github.com/arjunvegda/japanese-moji/compare/v1.0.0...v1.1.0) (2022-02-21)
diff --git a/package.json b/package.json
index 2756767..6fb7800 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "japanese-moji",
- "version": "1.1.0",
+ "version": "1.1.1-next.1",
"description": "A toolkit to validate Japanese characters",
"type": "module",
"packageManager": "yarn@3.1.1",
diff --git a/website/apis.ts b/website/apis.ts
index 7dedb53..f50aef4 100644
--- a/website/apis.ts
+++ b/website/apis.ts
@@ -3,7 +3,7 @@ interface FetchVersionReturn {
}
const fetchVersion = async (): Promise