Skip to content

Commit

Permalink
fix: 動的 import() を積極使用
Browse files Browse the repository at this point in the history
  • Loading branch information
famibee committed Dec 15, 2024
1 parent 276f667 commit 3b375fd
Show file tree
Hide file tree
Showing 121 changed files with 28,462 additions and 35,226 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 📥 Checkout
uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
- name: 🔧 Setup Bun
uses: oven-sh/setup-bun@v2
with:
# Subsequent workflow runs will use the cached version of Bun.
bun-version: 1.1.34
registry-url: https://npm.pkg.github.com/

- run: bun install
- run: bun test
- name: 📦 Install dependencies
run: |
bun install
bun test
- name: Semantic Release
- name: 📜 Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
# You can specify specifying version range for the extra plugins if you prefer.
Expand All @@ -30,7 +34,9 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

- run: bunx can-npm-publish --verbose && bun publish || echo "Does not publish"
- name: 📦 Publish to NPM Registry (in Gihhub ?)
run: |
bunx can-npm-publish --verbose && bun publish || echo "Does not publish"
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Expand All @@ -39,7 +45,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Fetch the latest tag
- name: 📜 Fetch the latest tag
id: latest_tag
run: |
export LATEST_TAG="$(curl -fsi "https://github.com/${GITHUB_REPOSITORY}/releases/latest" | awk -F/ '/^(L|l)ocation:/ {print $(NF)}')"
Expand All @@ -49,15 +55,20 @@ jobs:
ref: ${{steps.latest_tag.outputs.latest_tag}}
- run: git log

- uses: oven-sh/setup-bun@v2
- name: 🔧 Setup Bun
uses: oven-sh/setup-bun@v2
with:
# Subsequent workflow runs will use the cached version of Bun.
bun-version: 1.1.34
registry-url: https://registry.npmjs.org/
scope: '@famibee'

- run: bun install
- name: 📦 Install dependencies
run: |
bun install
- run: bun publish --access=public || echo "Does not publish"
- name: 📦 Publish to NPM Registry
run: |
bun publish --access=public || echo "Does not publish"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
- fix: 動的 import() を積極使用
- fix: (大勢に影響ないが)await 忘れを追加
- fix(FrameMng): 画像ファイル名処理に正規表現ではなく String.split() を使用するように
- refactor: リファクタリング:forEach 削除(for や for of に変更)
- refactor: replaceScript_Wildcard() を Grammar に移動
- refactor: isWin 変数移動(appMain -> CmnLib)
- chore: import ステートメントになるべく type 指定をするように
- chore(.github/workflows/release.yml): コメント追加


## [1.61.6](https://github.com/famibee/SKYNovel/compare/v1.61.5...v1.61.6) (2024-11-16)


Expand Down
Binary file modified bun.lockb
Binary file not shown.
194 changes: 194 additions & 0 deletions dist/CmnTween.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/CmnTween.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 3b375fd

Please sign in to comment.