mirror of
https://github.com/asyouplz/SpeechNote.git
synced 2026-07-22 16:30:31 +00:00
## [4.0.0](https://github.com/asyouplz/SpeechNote/compare/v3.0.14...v4.0.0) (2026-01-26) ### ⚠ BREAKING CHANGES * Manual version updates via version-bump.mjs will be deprecated. Use Conventional Commits format for all commits going forward. * fix: address code review feedback from Claude bot Addressing 8 issues identified in PR #54: - [P0/Critical] Disable version-bump.yml to prevent workflow conflicts - [P0/Critical] Remove persist-credentials: false from release-auto.yml - [P0/Critical] Remove deprecated version lifecycle hook in package.json - [P1/Important] Add semver and manifest validation to update-version.mjs - [P1/Important] Fix JSON formatting consistency in scripts - [P2/Optional] Enhance build artifact verification with file size checks - [P2/Optional] Rename release.sh to release-emergency.sh and add warning * fix: address final code review points and documentation updates * fix: address third round of code review feedback - Revert pre-commit hook to use lint-staged - Add file existence checks to update-version.mjs - Remove unnecessary npm override in package.json - Add syntax verification for build artifacts in release workflow ### 🚀 Features * implement semantic-release automation ([#54](https://github.com/asyouplz/SpeechNote/issues/54)) ([240e125](240e125df5)) ### 🐛 Bug Fixes * make lint step resilient to eslint crashes ([2e3adc8](2e3adc8a53)) * upgrade nodejs to v20 for semantic-release ([4dc3ae9](4dc3ae9abd)) * upgrade nodejs to v22 for semantic-release v24 ([8c5ec24](8c5ec24f1b))
98 lines
4 KiB
JSON
98 lines
4 KiB
JSON
{
|
|
"name": "obsidian-speech-to-text",
|
|
"version": "4.0.0",
|
|
"description": "Convert audio recordings to text in Obsidian using multiple AI providers (OpenAI Whisper, Deepgram)",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "npx tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"build:css": "cat src/ui/styles/*.css styles/*.css > styles.css",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
"lint:obsidian": "eslint src/**/*.ts --format=stylish",
|
|
"lint:verbose": "eslint src/**/*.ts --format=stylish --max-warnings=0",
|
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
|
"format:check": "prettier --check 'src/**/*.{ts,tsx}'",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:unit": "jest --selectProjects='Unit Tests'",
|
|
"test:integration": "jest --selectProjects='Integration Tests'",
|
|
"test:e2e": "jest --selectProjects='E2E Tests'",
|
|
"test:e2e:watch": "jest --selectProjects='E2E Tests' --watch",
|
|
"test:all": "npm run test:unit && npm run test:integration && npm run test:e2e",
|
|
"test:ci": "CI=true jest --ci --coverage --maxWorkers=2",
|
|
"test:debug": "DEBUG=true node --inspect-brk ./node_modules/.bin/jest --runInBand",
|
|
"test:changed": "jest -o",
|
|
"test:update-snapshots": "jest -u",
|
|
"coverage:report": "node scripts/open-coverage.js",
|
|
"coverage:clean": "rm -rf coverage .jest-cache",
|
|
"pretest": "npm run lint && npm run typecheck",
|
|
"version:update": "node scripts/update-version.mjs",
|
|
"semantic-release": "semantic-release",
|
|
"release:dry-run": "semantic-release --dry-run",
|
|
"release:debug": "semantic-release --debug",
|
|
"posttest": "npm run coverage:report",
|
|
"clean": "rm -rf main.js main.js.map coverage .jest-cache",
|
|
"clean:all": "npm run clean && rm -rf node_modules",
|
|
"typecheck": "npx tsc -noEmit",
|
|
"validate": "npm run lint && npm run typecheck && npm run test",
|
|
"ci": "npm run validate && npm run build"
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"plugin",
|
|
"speech-to-text",
|
|
"whisper",
|
|
"transcription",
|
|
"audio",
|
|
"voice"
|
|
],
|
|
"author": "Taesun Lee",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^20.3.1",
|
|
"@commitlint/config-conventional": "^20.3.1",
|
|
"@deepgram/sdk": "^3.9.0",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/exec": "^7.1.0",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/github": "^12.0.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^16.18.126",
|
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
"@typescript-eslint/parser": "^7.18.0",
|
|
"builtin-modules": "^3.3.0",
|
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
"esbuild": "0.25.0",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-obsidianmd": "^0.1.9",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
"jest-html-reporters": "^3.1.4",
|
|
"jest-junit": "^16.0.0",
|
|
"jest-progress-bar-reporter": "^1.0.25",
|
|
"jest-serializer-html": "^7.1.0",
|
|
"jest-sonar-reporter": "^2.0.0",
|
|
"jest-watch-typeahead": "^2.2.2",
|
|
"lint-staged": "^16.2.7",
|
|
"obsidian": "latest",
|
|
"prettier": "^2.8.8",
|
|
"semantic-release": "^25.0.2",
|
|
"ts-jest": "^29.1.0",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|