12a7aebeff
- Added retry options to HaloClient for handling transient errors. - Refactored request methods in HaloClient to utilize retry logic. - Updated HaloService to include logging for error handling. - Introduced ApiPaths utility for managing API endpoints. - Implemented logger utility for consistent logging across services. - Added tests for ContentService, Error handling, and TaxonomyService. - Created retry utility for managing retry logic with exponential backoff. - Updated types to include additional properties for better API response handling.
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "@halo-dev/obsidian-halo",
|
|
"private": true,
|
|
"version": "2.1.1",
|
|
"description": "Halo's Obsidian integration supports publishing content to Halo sites",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "rslib build --watch",
|
|
"build": "rslib build",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json",
|
|
"check": "biome check --write src/",
|
|
"test": "vitest",
|
|
"test:run": "vitest run"
|
|
},
|
|
"author": "LHY",
|
|
"maintainers": [
|
|
{
|
|
"name": "刘航宇",
|
|
"email": "3364451258@qq.com",
|
|
"url": "https://github.com/LHY0125/obsidian-halo"
|
|
}
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@rslib/core": "^0.1.5",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/markdown-it": "^12.2.3",
|
|
"@types/node": "^18.19.86",
|
|
"builtin-modules": "3.3.0",
|
|
"obsidian": "latest",
|
|
"tslib": "2.6.0",
|
|
"typescript": "5.1.6",
|
|
"vitest": "^4.1.5"
|
|
},
|
|
"dependencies": {
|
|
"@halo-dev/api-client": "^2.20.0",
|
|
"gray-matter": "^4.0.3",
|
|
"i18next": "^23.16.8",
|
|
"js-yaml": "^4.1.0",
|
|
"markdown-it": "^13.0.2",
|
|
"markdown-it-anchor": "^8.6.7",
|
|
"transliteration": "^2.3.5"
|
|
},
|
|
"packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677"
|
|
}
|