piclist 2.0.2 → 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.2",
3
+ "version": "2.0.4",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",
@@ -54,15 +54,13 @@
54
54
  },
55
55
  "license": "MIT",
56
56
  "devDependencies": {
57
- "@eslint/compat": "^1.3.2",
58
- "@eslint/eslintrc": "^3.3.1",
59
- "@eslint/js": "^9.33.0",
60
- "@rollup/plugin-commonjs": "^28.0.6",
57
+ "@eslint/js": "^9.39.1",
58
+ "@rollup/plugin-commonjs": "^29.0.0",
61
59
  "@rollup/plugin-json": "^6.1.0",
62
- "@rollup/plugin-node-resolve": "^16.0.1",
63
- "@rollup/plugin-replace": "^6.0.2",
60
+ "@rollup/plugin-node-resolve": "^16.0.3",
61
+ "@rollup/plugin-replace": "^6.0.3",
64
62
  "@rollup/plugin-terser": "^0.4.4",
65
- "@rollup/plugin-typescript": "^12.1.4",
63
+ "@rollup/plugin-typescript": "^12.3.0",
66
64
  "@types/cross-spawn": "^6.0.6",
67
65
  "@types/fs-extra": "^11.0.4",
68
66
  "@types/heic-convert": "^2.1.0",
@@ -70,58 +68,58 @@
70
68
  "@types/inquirer": "^0.0.42",
71
69
  "@types/js-yaml": "^4.0.9",
72
70
  "@types/lodash-es": "^4.17.12",
73
- "@types/node": "24.2.1",
71
+ "@types/node": "24.10.0",
74
72
  "@types/resolve": "^1.20.6",
75
73
  "@types/text-to-svg": "^3.1.4",
76
74
  "@types/tunnel": "^0.0.7",
77
- "@typescript-eslint/eslint-plugin": "^8.40.0",
78
- "@typescript-eslint/parser": "^8.40.0",
79
- "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",
80
78
  "dpdm": "^3.14.0",
81
- "eslint": "^9.33.0",
79
+ "eslint": "^9.39.1",
82
80
  "eslint-config-prettier": "^10.1.8",
83
81
  "eslint-plugin-prettier": "^5.5.4",
84
82
  "eslint-plugin-simple-import-sort": "^12.1.1",
85
- "eslint-plugin-unicorn": "^60.0.0",
83
+ "eslint-plugin-unicorn": "^62.0.0",
86
84
  "husky": "^9.1.7",
87
85
  "node-bump-version": "^2.0.0",
88
86
  "prettier": "^3.6.2",
89
- "rollup": "^4.46.1",
87
+ "rollup": "^4.53.1",
90
88
  "rollup-plugin-copy": "^3.5.0",
91
89
  "rollup-plugin-string": "^3.0.0",
92
90
  "typescript": "^5.8.3",
93
- "typescript-eslint": "^8.40.0",
94
- "rimraf": "^6.0.1"
91
+ "typescript-eslint": "^8.46.3",
92
+ "rimraf": "^6.1.0"
95
93
  },
96
94
  "dependencies": {
97
- "@aws-sdk/client-s3": "3.864.0",
98
- "@aws-sdk/lib-storage": "3.864.0",
99
- "@aws-sdk/s3-request-presigner": "3.864.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",
100
98
  "@piclist/store": "^3.0.0",
101
99
  "@piclist/i18n": "^2.0.0",
102
- "@smithy/node-http-handler": "4.1.1",
103
- "axios": "^1.11.0",
100
+ "@smithy/node-http-handler": "4.4.5",
101
+ "axios": "^1.13.2",
104
102
  "chalk": "^5.4.1",
105
103
  "commander": "^8.1.0",
106
104
  "cross-spawn": "^7.0.6",
107
- "dayjs": "^1.11.13",
108
- "file-type": "21.0.0",
105
+ "dayjs": "^1.11.19",
106
+ "file-type": "21.1.0",
109
107
  "form-data": "^4.0.4",
110
- "fs-extra": "^11.3.1",
108
+ "fs-extra": "^11.3.2",
111
109
  "heic-convert": "^2.1.0",
112
110
  "hpagent": "1.2.0",
113
111
  "image-size": "^2.0.2",
114
112
  "inquirer": "^6.0.0",
115
113
  "is-wsl": "^3.1.0",
116
- "js-yaml": "^4.1.0",
114
+ "js-yaml": "^4.1.1",
117
115
  "lodash-es": "^4.17.21",
118
- "mime": "4.0.7",
116
+ "mime": "4.1.0",
119
117
  "minimist": "^1.2.8",
120
118
  "multer": "^2.0.2",
121
119
  "node-ssh-no-cpu-features": "^2.0.0",
122
120
  "qiniu": "7.14.0",
123
- "resolve": "^1.22.10",
124
- "sharp": "^0.34.3",
121
+ "resolve": "^1.22.11",
122
+ "sharp": "^0.34.4",
125
123
  "text-to-svg": "^3.1.5",
126
124
  "tunnel": "^0.0.6",
127
125
  "uuid": "^11.1.0",