mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
fix: migrate tooling to bun and accept file path targets
This commit is contained in:
@@ -18,7 +18,7 @@ Watch for in-flight refactors. If repo changes introduced drift, update only:
|
||||
- README.md
|
||||
- docs/**/*.md
|
||||
- config.example.jsonc
|
||||
- docs/public/config.example.jsonc <-- generated automatically with make pnpm run generate:config-example
|
||||
- docs/public/config.example.jsonc <-- generated automatically with make generate-example-config / bun run generate:config-example
|
||||
- package.json scripts/config references (only if needed)
|
||||
|
||||
Rules:
|
||||
|
||||
@@ -382,7 +382,7 @@ function parseCliArgs(argv: string[]): CliOptions {
|
||||
|
||||
function printUsage(): void {
|
||||
process.stdout.write(`Usage:
|
||||
pnpm run get-frequency [--pretty] [--diagnostics] [--dictionary <path>] [--mecab-command <path>] [--mecab-dictionary <path>] <text>
|
||||
bun run get-frequency [--pretty] [--diagnostics] [--dictionary <path>] [--mecab-command <path>] [--mecab-dictionary <path>] <text>
|
||||
|
||||
--pretty Pretty-print JSON output.
|
||||
--diagnostics Include merged-frequency lookup-term details.
|
||||
|
||||
@@ -233,4 +233,4 @@ echo " 2. socket.ts: Skip emitting empty sentences"
|
||||
echo " 3. app.css: Apply SubMiner default styling (without !important)"
|
||||
echo " 4. stores.ts: Update default settings for title/whitespace/animation/reconnect"
|
||||
echo ""
|
||||
echo "To rebuild: cd vendor/texthooker-ui && pnpm build"
|
||||
echo "To rebuild: cd vendor/texthooker-ui && bun run build"
|
||||
|
||||
@@ -258,4 +258,4 @@ echo " 1. permissions-util.js: Hardcoded permissions (Electron workaround)"
|
||||
echo " 2. options-schema.json: selectText=false, layoutAwareScan=false"
|
||||
echo " 3. popup.js: Added yomitan-popup-shown/hidden events"
|
||||
echo ""
|
||||
echo "To verify: Run 'pnpm start --dev' and check for 'Yomitan extension loaded successfully'"
|
||||
echo "To verify: Run 'bun run dev' and check for 'Yomitan extension loaded successfully'"
|
||||
|
||||
@@ -213,7 +213,7 @@ function parseCliArgs(argv: string[]): CliOptions {
|
||||
|
||||
function printUsage(): void {
|
||||
process.stdout.write(`Usage:
|
||||
pnpm run test-yomitan-parser:electron -- [--pretty] [--json] [--yomitan-extension <path>] [--yomitan-user-data <path>] [--mecab-command <path>] [--mecab-dictionary <path>] <text>
|
||||
bun run test-yomitan-parser:electron -- [--pretty] [--json] [--yomitan-extension <path>] [--yomitan-user-data <path>] [--mecab-command <path>] [--mecab-dictionary <path>] <text>
|
||||
|
||||
--pretty Pretty-print JSON output.
|
||||
--json Emit machine-readable JSON output.
|
||||
|
||||
Reference in New Issue
Block a user