piclist 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -252,6 +252,8 @@ export interface IGithubConfig {
252
252
  token: string;
253
253
  /** 自定义存储路径,比如 `img/` */
254
254
  path: string;
255
+ /** 网站路径,用于拼接网址路径 */
256
+ webPath?: string;
255
257
  /** 自定义域名,注意要加 `http://` 或者 `https://` */
256
258
  customUrl: string;
257
259
  /** 分支名,默认是 `main` */
package/eslint.config.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import eslint from '@eslint/js'
2
+ import { defineConfig } from 'eslint/config'
2
3
  import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
3
4
  import simpleImportSort from 'eslint-plugin-simple-import-sort'
4
5
  import eslintPluginUnicorn from 'eslint-plugin-unicorn'
5
6
  import globals from 'globals'
6
7
  import tseslint from 'typescript-eslint'
7
8
 
8
- export default tseslint.config(
9
+ export default defineConfig(
9
10
  {
10
11
  files: [
11
12
  './src/*.{ts,tsx,cts,mts,js,cjs,mjs}',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piclist",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",
@@ -54,13 +54,13 @@
54
54
  },
55
55
  "license": "MIT",
56
56
  "devDependencies": {
57
- "@eslint/js": "^9.36.0",
58
- "@rollup/plugin-commonjs": "^28.0.6",
57
+ "@eslint/js": "^9.39.1",
58
+ "@rollup/plugin-commonjs": "^29.0.0",
59
59
  "@rollup/plugin-json": "^6.1.0",
60
- "@rollup/plugin-node-resolve": "^16.0.1",
61
- "@rollup/plugin-replace": "^6.0.2",
60
+ "@rollup/plugin-node-resolve": "^16.0.3",
61
+ "@rollup/plugin-replace": "^6.0.3",
62
62
  "@rollup/plugin-terser": "^0.4.4",
63
- "@rollup/plugin-typescript": "^12.1.4",
63
+ "@rollup/plugin-typescript": "^12.3.0",
64
64
  "@types/cross-spawn": "^6.0.6",
65
65
  "@types/fs-extra": "^11.0.4",
66
66
  "@types/heic-convert": "^2.1.0",
@@ -68,42 +68,42 @@
68
68
  "@types/inquirer": "^0.0.42",
69
69
  "@types/js-yaml": "^4.0.9",
70
70
  "@types/lodash-es": "^4.17.12",
71
- "@types/node": "24.5.2",
71
+ "@types/node": "24.10.0",
72
72
  "@types/resolve": "^1.20.6",
73
73
  "@types/text-to-svg": "^3.1.4",
74
74
  "@types/tunnel": "^0.0.7",
75
- "@typescript-eslint/eslint-plugin": "^8.44.1",
76
- "@typescript-eslint/parser": "^8.44.1",
77
- "cross-env": "^10.0.0",
75
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
76
+ "@typescript-eslint/parser": "^8.46.3",
77
+ "cross-env": "^10.1.0",
78
78
  "dpdm": "^3.14.0",
79
- "eslint": "^9.36.0",
79
+ "eslint": "^9.39.1",
80
80
  "eslint-config-prettier": "^10.1.8",
81
81
  "eslint-plugin-prettier": "^5.5.4",
82
82
  "eslint-plugin-simple-import-sort": "^12.1.1",
83
- "eslint-plugin-unicorn": "^61.0.2",
83
+ "eslint-plugin-unicorn": "^62.0.0",
84
84
  "husky": "^9.1.7",
85
85
  "node-bump-version": "^2.0.0",
86
86
  "prettier": "^3.6.2",
87
- "rollup": "^4.52.2",
87
+ "rollup": "^4.53.1",
88
88
  "rollup-plugin-copy": "^3.5.0",
89
89
  "rollup-plugin-string": "^3.0.0",
90
90
  "typescript": "^5.8.3",
91
- "typescript-eslint": "^8.44.1",
92
- "rimraf": "^6.0.1"
91
+ "typescript-eslint": "^8.46.3",
92
+ "rimraf": "^6.1.0"
93
93
  },
94
94
  "dependencies": {
95
- "@aws-sdk/client-s3": "3.896.0",
96
- "@aws-sdk/lib-storage": "3.896.0",
97
- "@aws-sdk/s3-request-presigner": "3.896.0",
95
+ "@aws-sdk/client-s3": "3.931.0",
96
+ "@aws-sdk/lib-storage": "3.931.0",
97
+ "@aws-sdk/s3-request-presigner": "3.931.0",
98
98
  "@piclist/store": "^3.0.0",
99
99
  "@piclist/i18n": "^2.0.0",
100
- "@smithy/node-http-handler": "4.2.1",
101
- "axios": "^1.12.2",
100
+ "@smithy/node-http-handler": "4.4.5",
101
+ "axios": "^1.13.2",
102
102
  "chalk": "^5.4.1",
103
103
  "commander": "^8.1.0",
104
104
  "cross-spawn": "^7.0.6",
105
- "dayjs": "^1.11.18",
106
- "file-type": "21.0.0",
105
+ "dayjs": "^1.11.19",
106
+ "file-type": "21.1.0",
107
107
  "form-data": "^4.0.4",
108
108
  "fs-extra": "^11.3.2",
109
109
  "heic-convert": "^2.1.0",
@@ -111,14 +111,14 @@
111
111
  "image-size": "^2.0.2",
112
112
  "inquirer": "^6.0.0",
113
113
  "is-wsl": "^3.1.0",
114
- "js-yaml": "^4.1.0",
114
+ "js-yaml": "^4.1.1",
115
115
  "lodash-es": "^4.17.21",
116
116
  "mime": "4.1.0",
117
117
  "minimist": "^1.2.8",
118
118
  "multer": "^2.0.2",
119
119
  "node-ssh-no-cpu-features": "^2.0.0",
120
120
  "qiniu": "7.14.0",
121
- "resolve": "^1.22.10",
121
+ "resolve": "^1.22.11",
122
122
  "sharp": "^0.34.4",
123
123
  "text-to-svg": "^3.1.5",
124
124
  "tunnel": "^0.0.6",