@yimingliao/cms 0.0.64 → 0.0.66
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.
- package/dist/{chunk-LPZEYEIM.js → chunk-3J5YR2NA.js} +1 -1
- package/dist/chunk-FUAJWL2N.js +64 -0
- package/dist/chunk-N2PRNBP2.js +481 -0
- package/dist/client/index.js +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/server/index.d.ts +51 -50
- package/dist/server/index.js +4318 -1
- package/dist/storage/r2/index.d.ts +1 -1
- package/dist/storage/r2/index.js +2 -2
- package/dist/storage/sftp/index.d.ts +2 -2
- package/dist/storage/sftp/index.js +2 -2
- package/package.json +14 -1
- package/dist/chunk-AOAWCZ4L.js +0 -4849
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { S as StorageService } from '../../types-J25u1G6t.js';
|
|
1
2
|
import { S3Client } from '@aws-sdk/client-s3';
|
|
2
3
|
import { Logger } from 'logry';
|
|
3
|
-
import { S as StorageService } from '../../types-J25u1G6t.js';
|
|
4
4
|
import '../../types-0oS1A2K5.js';
|
|
5
5
|
|
|
6
6
|
interface CreateR2ServiceParams {
|
package/dist/storage/r2/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createObjectKey } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { createObjectKey } from '../../chunk-3J5YR2NA.js';
|
|
2
|
+
import '../../chunk-N2PRNBP2.js';
|
|
3
3
|
import { PutObjectCommand, DeleteObjectCommand, CopyObjectCommand } from '@aws-sdk/client-s3';
|
|
4
4
|
|
|
5
5
|
function createR2Service({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as StorageService } from '../../types-J25u1G6t.js';
|
|
2
2
|
import { Pool } from 'generic-pool';
|
|
3
|
+
import { Logger } from 'logry';
|
|
3
4
|
import SFTPClient from 'ssh2-sftp-client';
|
|
4
|
-
import { S as StorageService } from '../../types-J25u1G6t.js';
|
|
5
5
|
import '../../types-0oS1A2K5.js';
|
|
6
6
|
|
|
7
7
|
interface CreateSftpServiceParams {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createObjectKey } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { createObjectKey } from '../../chunk-3J5YR2NA.js';
|
|
2
|
+
import '../../chunk-N2PRNBP2.js';
|
|
3
3
|
import path from 'path/posix';
|
|
4
4
|
import { createPool } from 'generic-pool';
|
|
5
5
|
import SFTPClient from 'ssh2-sftp-client';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yimingliao/cms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
4
4
|
"author": "Yiming Liao",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
],
|
|
38
38
|
"scripts": {
|
|
39
39
|
"type": "tsc --noEmit",
|
|
40
|
+
"lint": "eslint",
|
|
41
|
+
"knip": "knip --config .config/knip.config.ts",
|
|
40
42
|
"build": "tsup",
|
|
41
43
|
"prepublishOnly": "yarn build"
|
|
42
44
|
},
|
|
@@ -52,17 +54,28 @@
|
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
54
56
|
"@aws-sdk/client-s3": "^3.1004.0",
|
|
57
|
+
"@eslint/js": "^10.0.1",
|
|
55
58
|
"@prisma/client": "6.5.0",
|
|
56
59
|
"@types/jsonwebtoken": "^9.0.10",
|
|
57
60
|
"@types/mime-types": "^3.0.1",
|
|
58
61
|
"@types/nodemailer": "^7.0.11",
|
|
59
62
|
"@types/ssh2-sftp-client": "^9.0.6",
|
|
63
|
+
"eslint": "^9",
|
|
64
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
65
|
+
"eslint-plugin-import": "^2.32.0",
|
|
66
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
67
|
+
"eslint-plugin-react": "^7.37.5",
|
|
68
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
69
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
70
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
60
71
|
"generic-pool": "^3.9.0",
|
|
61
72
|
"intor": "^2.5.0",
|
|
73
|
+
"knip": "^5.86.0",
|
|
62
74
|
"next": "^16.1.6",
|
|
63
75
|
"prisma": "6.5.0",
|
|
64
76
|
"tsup": "^8.5.1",
|
|
65
77
|
"typescript": "^5.9.3",
|
|
78
|
+
"typescript-eslint": "^8.56.1",
|
|
66
79
|
"zod": "^4.3.6"
|
|
67
80
|
},
|
|
68
81
|
"peerDependencies": {
|