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
3 changes: 2 additions & 1 deletion .github/actions/initialize/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "initialize"
description: "Setup Config"

runs:
using: "composite"
Expand All @@ -7,6 +8,6 @@ runs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
git config --global user.email "actions@gihub.com"
git config --global user.email "actions@github.com"
git config --global user.name "gh-actions"
shell: bash
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@ jobs:
build:
runs-on: ${{ matrix.os }}

# @see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
cancel-in-progress: true

strategy:
matrix:
node-version: [20.x]
os: [windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.15.1
- uses: actions/setup-node@v2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "20.x"
node-version-file: "package.json"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
- name: Test & Build
run: |
pnpm build
Expand Down
38 changes: 17 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
Expand All @@ -27,17 +25,17 @@ jobs:

release-github-registry:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.15.1
- uses: actions/setup-node@v2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
Expand All @@ -50,20 +48,18 @@ jobs:

release-npm-registry:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm run release:npm:registry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: NPM_CONFIG_PROVENANCE=true pnpm run release:npm:registry
10 changes: 4 additions & 6 deletions .github/workflows/versionUp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Auto version update
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ package-lock.json
*.log
private_npm_cache
dist
lefthook-local.yml
5 changes: 5 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 144,
"singleQuote": false,
"ignorePatterns": ["node_modules/**", "dist/**"]
}
43 changes: 11 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,69 +4,48 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="2.0.0"></a>
# 2.0.0 (2024-02-04)

# 2.0.0 (2024-02-04)

### Chores

* bump ([#7](https://github.com/Himenon/message-command-parser/issues/7)) ([815941f](https://github.com/Himenon/message-command-parser/commit/815941f))

- bump ([#7](https://github.com/Himenon/message-command-parser/issues/7)) ([815941f](https://github.com/Himenon/message-command-parser/commit/815941f))

### BREAKING CHANGES

* use esmodule




- use esmodule

<a name="1.1.4"></a>
## 1.1.4 (2024-02-04)

## 1.1.4 (2024-02-04)

### Bug Fixes

* formatter ([#6](https://github.com/Himenon/message-command-parser/issues/6)) ([1ee1189](https://github.com/Himenon/message-command-parser/commit/1ee1189))




- formatter ([#6](https://github.com/Himenon/message-command-parser/issues/6)) ([1ee1189](https://github.com/Himenon/message-command-parser/commit/1ee1189))

<a name="1.1.3"></a>
## 1.1.3 (2022-06-06)

## 1.1.3 (2022-06-06)

### Bug Fixes

* style and invalid url ([#4](https://github.com/Himenon/message-command-parser/issues/4)) ([fdbbd8f](https://github.com/Himenon/message-command-parser/commit/fdbbd8f))




- style and invalid url ([#4](https://github.com/Himenon/message-command-parser/issues/4)) ([fdbbd8f](https://github.com/Himenon/message-command-parser/commit/fdbbd8f))

<a name="1.1.2"></a>
## 1.1.2 (2022-06-06)

## 1.1.2 (2022-06-06)

### Bug Fixes

* github action command ([#3](https://github.com/Himenon/message-command-parser /issues/3)) ([bcc1cd8](https://github.com/Himenon/message-command-parser /commit/bcc1cd8))




- github action command ([#3](https://github.com/Himenon/message-command-parser /issues/3)) ([bcc1cd8](https://github.com/Himenon/message-command-parser /commit/bcc1cd8))

<a name="1.1.1"></a>
## 1.1.1 (2022-06-06)

## 1.1.1 (2022-06-06)

### Bug Fixes

* github action pnpm version ([#2](https://github.com/Himenon/message-command-parser /issues/2)) ([272bfce](https://github.com/Himenon/message-command-parser /commit/272bfce))




- github action pnpm version ([#2](https://github.com/Himenon/message-command-parser /issues/2)) ([272bfce](https://github.com/Himenon/message-command-parser /commit/272bfce))

<a name="1.1.0"></a>

Expand Down
29 changes: 0 additions & 29 deletions biome.json

This file was deleted.

8 changes: 8 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pre-commit:
jobs:
- name: oxfmt format
skip:
- merge
glob: "*.{ts,tsx,js,jsx,mjs,cjs,css,html,json,jsonc,json5,yml,yaml,toml,md,mdx}"
run: pnpm run format --write --no-error-on-unmatched-pattern
stage_fixed: true
Loading
Loading