refactor(encrypt): rename post-encrypt to encrypt

- Rename package from @hugo-fixit/post-encrypt to @hugo-fixit/encrypt
- Rename bin from post-encrypt to fixit-encrypt
- Update all i18n translations (16 files) to use npx @hugo-fixit/encrypt
- Update CI workflow, publish script, code comments, and docs
- Rewrite README with performance benchmarks and other implementations
This commit is contained in:
Cell
2026-07-19 13:15:57 +08:00
parent 78f1a8583a
commit bfee4041d6
29 changed files with 160 additions and 122 deletions
@@ -1,9 +1,9 @@
name: Publish post-encrypt
name: Publish @hugo-fixit/encrypt
on:
push:
tags:
- 'post-encrypt-v*.*.*'
- 'encrypt-v*.*.*'
workflow_dispatch:
permissions:
@@ -11,7 +11,7 @@ permissions:
id-token: write
concurrency:
group: publish-post-encrypt-${{ github.ref }}
group: publish-encrypt-${{ github.ref }}
cancel-in-progress: false
jobs:
@@ -36,8 +36,8 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm -F post-encrypt build
run: pnpm -F encrypt build
- name: Publish package to npm
working-directory: packages/post-encrypt
working-directory: packages/encrypt
run: npm publish --access public --provenance