Skip to content

Commit

Permalink
chore: release v1.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aooiuu committed Jul 29, 2024
1 parent 7315b1b commit 0dfd65a
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docs",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"private": true,
"scripts": {
"docs:dev": "vitepress dev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "any-reader",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"private": true,
"packageManager": "pnpm@9.4.0",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/cli",
"type": "commonjs",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/core",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down
2 changes: 1 addition & 1 deletion packages/epub/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@any-reader/epub",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"scripts": {
"build": "unbuild"
Expand Down
2 changes: 1 addition & 1 deletion packages/rubick/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/rubick",
"type": "commonjs",
"version": "1.9.7",
"version": "1.9.8",
"private": true,
"description": "",
"author": "aooiuu <aooiu@qq.com>",
Expand Down
2 changes: 1 addition & 1 deletion packages/rule-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/rule-utils",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/server",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@any-reader/shared",
"type": "module",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down
1 change: 0 additions & 1 deletion packages/shared/src/controller/ResourceHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export class ResourceHistory extends BaseController {
// 添加一个记录
@Post('add')
async create(data: any) {
await this.del(data)
return await this.db.getResourceHistory().create(data)
}
}
5 changes: 4 additions & 1 deletion packages/shared/src/service/ChapterHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ export class ChapterHistoryService {
chapterPath: data.chapterPath,
})
if (!row) {
row = this.repository.create(data)
row = this.repository.create({
...data,
id: undefined,
})
row.createTime = Date.now()
}
row.updateTime = Date.now()
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/service/ResourceFavorites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class ResourceFavoritesService {
const now = Date.now()
const entity = this.repository.create({
...data,
id: undefined,
createTime: now,
updateTime: now,
})
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/service/ResourceHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class ResourceHistoryService {
const now = Date.now()
const entity = this.repository.create({
...data,
id: undefined,
createTime: now,
updateTime: now,
})
Expand Down
2 changes: 1 addition & 1 deletion packages/utools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@any-reader/utools",
"version": "1.9.7",
"version": "1.9.8",
"private": true,
"description": "",
"author": "aooiuu <aooiu@qq.com>",
Expand Down
29 changes: 3 additions & 26 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@any-reader/vscode",
"name": "any-reader",
"displayName": "any-reader",
"description": "摸鱼,自定义规则多站点聚合搜索阅读小说、漫画。包含JS规则解析库和VSCode插件。支持本地小说 TXT、EPUB",
"icon": "resources/icon.png",
"version": "1.9.7",
"version": "1.9.8",
"publisher": "aooiu",
"private": true,
"qna": "https://github.com/aooiuu/any-reader/issues",
Expand Down Expand Up @@ -119,30 +119,7 @@
}
]
},
"devDependencies": {
"@any-reader/core": "workspace:^",
"@any-reader/shared": "workspace:^",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^7.2.0",
"@types/vscode": "^1.68.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-electron": "^2.1.5",
"easy-post-message": "^0.1.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"execa": "^8.0.1",
"explorer-opener": "^1.0.1",
"fs-extra": "^11.1.1",
"glob": "^8.0.3",
"prettier": "^2.7.1",
"qs": "^6.12.1",
"sql.js": "^1.10.3",
"ts-loader": "^9.3.1",
"typescript": "^5.5.3",
"uuid": "^9.0.1"
},
"devDependencies": {},
"dependencies": {
"sqlite3": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@any-reader/web",
"version": "1.9.7",
"version": "1.9.8",
"description": "",
"author": "aooiuu <aooiu@qq.com>",
"license": "GPL3",
Expand Down

0 comments on commit 0dfd65a

Please sign in to comment.