彻底重构-1

This commit is contained in:
yml
2026-04-09 09:06:08 +08:00
parent b509394b09
commit df2eb34478
92 changed files with 2226 additions and 1261 deletions
@@ -0,0 +1,256 @@
0 verbose cli /opt/homebrew/Cellar/node@24/24.12.0/bin/node /opt/homebrew/opt/node@24/bin/npm
1 info using npm@11.6.2
2 info using node@v24.12.0
3 silly config load:file:/opt/homebrew/Cellar/node@24/24.12.0/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/yml/codes/order-site-workspace/apps/backend/.npmrc
5 silly config load:file:/Users/yml/.npmrc
6 silly config load:file:/opt/homebrew/etc/npmrc
7 verbose title npm install
8 verbose argv "install"
9 verbose logfile logs-max:10 dir:/Users/yml/codes/order-site-workspace/apps/backend/.npm-cache/_logs/2026-04-08T19_23_39_509Z-
10 verbose logfile /Users/yml/codes/order-site-workspace/apps/backend/.npm-cache/_logs/2026-04-08T19_23_39_509Z-debug-0.log
11 silly logfile done cleaning log files
12 silly packumentCache heap:4496293888 maxSize:1124073472 maxEntrySize:562036736
13 silly idealTree buildDeps
14 silly fetch manifest pg@^8.16.3
15 silly packumentCache full:https://registry.npmjs.org/pg cache-miss
16 http fetch GET 200 https://registry.npmjs.org/pg 1148ms (cache miss)
17 silly packumentCache full:https://registry.npmjs.org/pg set size:undefined disposed:false
18 silly fetch manifest pg-native@>=3.0.1
19 silly packumentCache full:https://registry.npmjs.org/pg-native cache-miss
20 http fetch GET 200 https://registry.npmjs.org/pg-native 84ms (cache miss)
21 silly packumentCache full:https://registry.npmjs.org/pg-native set size:undefined disposed:false
22 silly placeDep ROOT pg@8.20.0 OK for: order-site-backend@0.1.0 want: ^8.16.3
23 silly fetch manifest pg-connection-string@^2.12.0
24 silly packumentCache full:https://registry.npmjs.org/pg-connection-string cache-miss
25 silly fetch manifest pg-pool@^3.13.0
26 silly packumentCache full:https://registry.npmjs.org/pg-pool cache-miss
27 silly fetch manifest pg-protocol@^1.13.0
28 silly packumentCache full:https://registry.npmjs.org/pg-protocol cache-miss
29 silly fetch manifest pg-types@2.2.0
30 silly packumentCache full:https://registry.npmjs.org/pg-types cache-miss
31 silly fetch manifest pgpass@1.0.5
32 silly packumentCache full:https://registry.npmjs.org/pgpass cache-miss
33 silly fetch manifest pg-cloudflare@^1.3.0
34 silly packumentCache full:https://registry.npmjs.org/pg-cloudflare cache-miss
35 http fetch GET 200 https://registry.npmjs.org/pg-connection-string 82ms (cache miss)
36 silly packumentCache full:https://registry.npmjs.org/pg-connection-string set size:undefined disposed:false
37 http fetch GET 200 https://registry.npmjs.org/pg-cloudflare 323ms (cache miss)
38 silly packumentCache full:https://registry.npmjs.org/pg-cloudflare set size:undefined disposed:false
39 http fetch GET 200 https://registry.npmjs.org/pgpass 325ms (cache miss)
40 silly packumentCache full:https://registry.npmjs.org/pgpass set size:undefined disposed:false
41 http fetch GET 200 https://registry.npmjs.org/pg-protocol 348ms (cache miss)
42 silly packumentCache full:https://registry.npmjs.org/pg-protocol set size:undefined disposed:false
43 http fetch GET 200 https://registry.npmjs.org/pg-pool 406ms (cache miss)
44 silly packumentCache full:https://registry.npmjs.org/pg-pool set size:undefined disposed:false
45 http fetch GET 200 https://registry.npmjs.org/pg-types 454ms (cache miss)
46 silly packumentCache full:https://registry.npmjs.org/pg-types set size:undefined disposed:false
47 silly fetch manifest pg@>=8.0
48 silly packumentCache full:https://registry.npmjs.org/pg cache-miss
49 http cache https://registry.npmjs.org/pg 7ms (cache hit)
50 silly packumentCache full:https://registry.npmjs.org/pg set size:475297 disposed:false
51 silly placeDep ROOT pg-cloudflare@1.3.0 OK for: pg@8.20.0 want: ^1.3.0
52 silly placeDep ROOT pg-connection-string@2.12.0 OK for: pg@8.20.0 want: ^2.12.0
53 silly placeDep ROOT pg-pool@3.13.0 OK for: pg@8.20.0 want: ^3.13.0
54 silly placeDep ROOT pg-protocol@1.13.0 OK for: pg@8.20.0 want: ^1.13.0
55 silly placeDep ROOT pg-types@2.2.0 OK for: pg@8.20.0 want: 2.2.0
56 silly placeDep ROOT pgpass@1.0.5 OK for: pg@8.20.0 want: 1.0.5
57 silly fetch manifest pg-int8@1.0.1
58 silly packumentCache full:https://registry.npmjs.org/pg-int8 cache-miss
59 silly fetch manifest postgres-date@~1.0.4
60 silly packumentCache full:https://registry.npmjs.org/postgres-date cache-miss
61 silly fetch manifest postgres-array@~2.0.0
62 silly packumentCache full:https://registry.npmjs.org/postgres-array cache-miss
63 silly fetch manifest postgres-bytea@~1.0.0
64 silly packumentCache full:https://registry.npmjs.org/postgres-bytea cache-miss
65 silly fetch manifest postgres-interval@^1.1.0
66 silly packumentCache full:https://registry.npmjs.org/postgres-interval cache-miss
67 silly fetch manifest split2@^4.1.0
68 silly packumentCache full:https://registry.npmjs.org/split2 cache-miss
69 http fetch GET 200 https://registry.npmjs.org/pg-int8 85ms (cache miss)
70 silly packumentCache full:https://registry.npmjs.org/pg-int8 set size:undefined disposed:false
71 http fetch GET 200 https://registry.npmjs.org/postgres-bytea 86ms (cache miss)
72 silly packumentCache full:https://registry.npmjs.org/postgres-bytea set size:undefined disposed:false
73 http fetch GET 200 https://registry.npmjs.org/postgres-date 88ms (cache miss)
74 silly packumentCache full:https://registry.npmjs.org/postgres-date set size:undefined disposed:false
75 http fetch GET 200 https://registry.npmjs.org/postgres-array 89ms (cache miss)
76 silly packumentCache full:https://registry.npmjs.org/postgres-array set size:undefined disposed:false
77 http fetch GET 200 https://registry.npmjs.org/split2 102ms (cache miss)
78 silly packumentCache full:https://registry.npmjs.org/split2 set size:undefined disposed:false
79 http fetch GET 200 https://registry.npmjs.org/postgres-interval 189ms (cache miss)
80 silly packumentCache full:https://registry.npmjs.org/postgres-interval set size:undefined disposed:false
81 silly placeDep ROOT pg-int8@1.0.1 OK for: pg-types@2.2.0 want: 1.0.1
82 silly placeDep ROOT postgres-array@2.0.0 OK for: pg-types@2.2.0 want: ~2.0.0
83 silly placeDep ROOT postgres-bytea@1.0.1 OK for: pg-types@2.2.0 want: ~1.0.0
84 silly placeDep ROOT postgres-date@1.0.7 OK for: pg-types@2.2.0 want: ~1.0.4
85 silly placeDep ROOT postgres-interval@1.2.0 OK for: pg-types@2.2.0 want: ^1.1.0
86 silly fetch manifest xtend@^4.0.0
87 silly packumentCache full:https://registry.npmjs.org/xtend cache-miss
88 http fetch GET 200 https://registry.npmjs.org/xtend 77ms (cache miss)
89 silly packumentCache full:https://registry.npmjs.org/xtend set size:undefined disposed:false
90 silly placeDep ROOT split2@4.2.0 OK for: pgpass@1.0.5 want: ^4.1.0
91 silly placeDep ROOT xtend@4.0.2 OK for: postgres-interval@1.2.0 want: ^4.0.0
92 silly reify moves {}
93 silly audit bulk request {
93 silly audit accepts: [ '2.0.0' ],
93 silly audit 'body-parser': [ '2.2.2' ],
93 silly audit bytes: [ '3.1.2' ],
93 silly audit 'call-bind-apply-helpers': [ '1.0.2' ],
93 silly audit 'call-bound': [ '1.0.4' ],
93 silly audit 'content-disposition': [ '1.0.1' ],
93 silly audit 'content-type': [ '1.0.5' ],
93 silly audit cookie: [ '0.7.2' ],
93 silly audit 'cookie-signature': [ '1.2.2' ],
93 silly audit debug: [ '4.4.3' ],
93 silly audit depd: [ '2.0.0' ],
93 silly audit 'dunder-proto': [ '1.0.1' ],
93 silly audit 'ee-first': [ '1.1.1' ],
93 silly audit encodeurl: [ '2.0.0' ],
93 silly audit 'es-define-property': [ '1.0.1' ],
93 silly audit 'es-errors': [ '1.3.0' ],
93 silly audit 'es-object-atoms': [ '1.1.1' ],
93 silly audit 'escape-html': [ '1.0.3' ],
93 silly audit etag: [ '1.8.1' ],
93 silly audit express: [ '5.2.1' ],
93 silly audit finalhandler: [ '2.1.1' ],
93 silly audit forwarded: [ '0.2.0' ],
93 silly audit fresh: [ '2.0.0' ],
93 silly audit fsevents: [ '2.3.2' ],
93 silly audit 'function-bind': [ '1.1.2' ],
93 silly audit 'get-intrinsic': [ '1.3.0' ],
93 silly audit 'get-proto': [ '1.0.1' ],
93 silly audit gopd: [ '1.2.0' ],
93 silly audit 'has-symbols': [ '1.1.0' ],
93 silly audit hasown: [ '2.0.2' ],
93 silly audit 'http-errors': [ '2.0.1' ],
93 silly audit 'iconv-lite': [ '0.7.2' ],
93 silly audit inherits: [ '2.0.4' ],
93 silly audit 'ipaddr.js': [ '1.9.1' ],
93 silly audit 'is-promise': [ '4.0.0' ],
93 silly audit 'math-intrinsics': [ '1.1.0' ],
93 silly audit 'media-typer': [ '1.1.0' ],
93 silly audit 'merge-descriptors': [ '2.0.0' ],
93 silly audit 'mime-db': [ '1.54.0' ],
93 silly audit 'mime-types': [ '3.0.2' ],
93 silly audit ms: [ '2.1.3' ],
93 silly audit negotiator: [ '1.0.0' ],
93 silly audit 'object-inspect': [ '1.13.4' ],
93 silly audit 'on-finished': [ '2.4.1' ],
93 silly audit once: [ '1.4.0' ],
93 silly audit parseurl: [ '1.3.3' ],
93 silly audit 'path-to-regexp': [ '8.4.2' ],
93 silly audit playwright: [ '1.42.1' ],
93 silly audit 'playwright-core': [ '1.42.1' ],
93 silly audit 'proxy-addr': [ '2.0.7' ],
93 silly audit qs: [ '6.15.0' ],
93 silly audit 'range-parser': [ '1.2.1' ],
93 silly audit 'raw-body': [ '3.0.2' ],
93 silly audit router: [ '2.2.0' ],
93 silly audit 'safer-buffer': [ '2.1.2' ],
93 silly audit send: [ '1.2.1' ],
93 silly audit 'serve-static': [ '2.2.1' ],
93 silly audit setprototypeof: [ '1.2.0' ],
93 silly audit 'side-channel': [ '1.1.0' ],
93 silly audit 'side-channel-list': [ '1.0.0' ],
93 silly audit 'side-channel-map': [ '1.0.1' ],
93 silly audit 'side-channel-weakmap': [ '1.0.2' ],
93 silly audit statuses: [ '2.0.2' ],
93 silly audit toidentifier: [ '1.0.1' ],
93 silly audit 'type-is': [ '2.0.1' ],
93 silly audit unpipe: [ '1.0.0' ],
93 silly audit vary: [ '1.1.2' ],
93 silly audit wrappy: [ '1.0.2' ],
93 silly audit pg: [ '8.20.0' ],
93 silly audit 'pg-cloudflare': [ '1.3.0' ],
93 silly audit 'pg-connection-string': [ '2.12.0' ],
93 silly audit 'pg-pool': [ '3.13.0' ],
93 silly audit 'pg-protocol': [ '1.13.0' ],
93 silly audit 'pg-types': [ '2.2.0' ],
93 silly audit pgpass: [ '1.0.5' ],
93 silly audit 'pg-int8': [ '1.0.1' ],
93 silly audit 'postgres-array': [ '2.0.0' ],
93 silly audit 'postgres-bytea': [ '1.0.1' ],
93 silly audit 'postgres-date': [ '1.0.7' ],
93 silly audit 'postgres-interval': [ '1.2.0' ],
93 silly audit split2: [ '4.2.0' ],
93 silly audit xtend: [ '4.0.2' ]
93 silly audit }
94 http cache xtend@https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz 0ms (cache hit)
95 http cache postgres-interval@https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz 0ms (cache hit)
96 http cache split2@https://registry.npmjs.org/split2/-/split2-4.2.0.tgz 1ms (cache hit)
97 http cache postgres-date@https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz 0ms (cache hit)
98 http cache postgres-array@https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz 0ms (cache hit)
99 http cache postgres-bytea@https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz 0ms (cache hit)
100 http cache pgpass@https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz 0ms (cache hit)
101 http cache pg-int8@https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz 0ms (cache hit)
102 http cache pg-protocol@https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.13.0.tgz 0ms (cache hit)
103 http cache pg-types@https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz 0ms (cache hit)
104 http cache pg-pool@https://registry.npmjs.org/pg-pool/-/pg-pool-3.13.0.tgz 0ms (cache hit)
105 http cache pg-connection-string@https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.12.0.tgz 0ms (cache hit)
106 http cache pg-cloudflare@https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.3.0.tgz 0ms (cache hit)
107 http cache pg@https://registry.npmjs.org/pg/-/pg-8.20.0.tgz 0ms (cache hit)
108 silly tarball no local data for xtend@https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz. Extracting by manifest.
109 silly tarball no local data for postgres-interval@https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz. Extracting by manifest.
110 silly tarball no local data for split2@https://registry.npmjs.org/split2/-/split2-4.2.0.tgz. Extracting by manifest.
111 silly tarball no local data for postgres-date@https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz. Extracting by manifest.
112 silly tarball no local data for postgres-array@https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz. Extracting by manifest.
113 silly tarball no local data for postgres-bytea@https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz. Extracting by manifest.
114 silly tarball no local data for pgpass@https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz. Extracting by manifest.
115 silly tarball no local data for pg-int8@https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz. Extracting by manifest.
116 silly tarball no local data for pg-protocol@https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.13.0.tgz. Extracting by manifest.
117 silly tarball no local data for pg-types@https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz. Extracting by manifest.
118 silly tarball no local data for pg-pool@https://registry.npmjs.org/pg-pool/-/pg-pool-3.13.0.tgz. Extracting by manifest.
119 silly tarball no local data for pg-connection-string@https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.12.0.tgz. Extracting by manifest.
120 silly tarball no local data for pg-cloudflare@https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.3.0.tgz. Extracting by manifest.
121 silly tarball no local data for pg@https://registry.npmjs.org/pg/-/pg-8.20.0.tgz. Extracting by manifest.
122 http fetch GET 200 https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz 87ms (cache miss)
123 http fetch GET 200 https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz 89ms (cache miss)
124 http fetch GET 200 https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz 88ms (cache miss)
125 http fetch GET 200 https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz 89ms (cache miss)
126 http fetch GET 200 https://registry.npmjs.org/split2/-/split2-4.2.0.tgz 89ms (cache miss)
127 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 176ms
128 silly audit report {
128 silly audit report playwright: [
128 silly audit report {
128 silly audit report id: 1109208,
128 silly audit report url: 'https://github.com/advisories/GHSA-7mvr-c777-76hp',
128 silly audit report title: 'Playwright downloads and installs browsers without verifying the authenticity of the SSL certificate',
128 silly audit report severity: 'high',
128 silly audit report vulnerable_versions: '<1.55.1',
128 silly audit report cwe: [Array],
128 silly audit report cvss: [Object]
128 silly audit report }
128 silly audit report ]
128 silly audit report }
129 silly packumentCache corgi:https://registry.npmjs.org/playwright cache-miss
130 http fetch GET 200 https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz 332ms (cache miss)
131 http fetch GET 200 https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz 354ms (cache miss)
132 http fetch GET 200 https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz 357ms (cache miss)
133 http fetch GET 200 https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz 363ms (cache miss)
134 http fetch GET 200 https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.3.0.tgz 364ms (cache miss)
135 http fetch GET 200 https://registry.npmjs.org/pg-pool/-/pg-pool-3.13.0.tgz 365ms (cache miss)
136 http fetch GET 200 https://registry.npmjs.org/pg/-/pg-8.20.0.tgz 402ms (cache miss)
137 http fetch GET 200 https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.13.0.tgz 432ms (cache miss)
138 http fetch GET 200 https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.12.0.tgz 481ms (cache miss)
139 http fetch GET 200 https://registry.npmjs.org/playwright 363ms (cache miss)
140 silly packumentCache corgi:https://registry.npmjs.org/playwright set size:undefined disposed:false
141 silly ADD node_modules/xtend
142 silly ADD node_modules/split2
143 silly ADD node_modules/postgres-interval
144 silly ADD node_modules/postgres-date
145 silly ADD node_modules/postgres-bytea
146 silly ADD node_modules/postgres-array
147 silly ADD node_modules/pg-int8
148 silly ADD node_modules/pgpass
149 silly ADD node_modules/pg-types
150 silly ADD node_modules/pg-protocol
151 silly ADD node_modules/pg-pool
152 silly ADD node_modules/pg-connection-string
153 silly ADD node_modules/pg-cloudflare
154 silly ADD node_modules/pg
155 verbose cwd /Users/yml/codes/order-site-workspace/apps/backend
156 verbose os Darwin 25.4.0
157 verbose node v24.12.0
158 verbose npm v11.6.2
159 verbose exit 0
160 info ok