@mohasinac/appkit 2.7.8 → 2.7.9

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.
@@ -82,6 +82,10 @@ export function defineNextConfig(override = {}) {
82
82
  // build/esm/, and any future subpackages are always included — no more
83
83
  // per-subdirectory entries that silently miss e.g. build/protos/admin_v1.json.
84
84
  // Consumer additions for the same route key are MERGED (array union), not replaced.
85
+ // List derived from full dynamic runtime trace (scripts/trace-firebase-full.mjs) plus
86
+ // known lazy-loaded packages (proxy agents, debug, stream utilities).
87
+ // Do NOT use broad @scope/** globs — the full firebase client SDK is hundreds of MB
88
+ // and causes Vercel's "Deploying outputs..." step to time out / fail.
85
89
  const defaultOutputFileTracingIncludes = {
86
90
  "/api/**": [
87
91
  // Firebase Admin — entire package (lib/ + esm/, all sub-SDKs)
@@ -108,100 +112,48 @@ export function defineNextConfig(override = {}) {
108
112
  "./node_modules/duplexify/**",
109
113
  "./node_modules/uuid/**",
110
114
  "./node_modules/lodash.camelcase/**",
111
- // @firebase/* packages that firebase-admin depends on at runtime (RTDB compat layer).
112
- // Do NOT use @firebase/** the full client SDK is hundreds of MB and times out the build.
113
- "./node_modules/@firebase/database/**",
114
- "./node_modules/@firebase/database-compat/**",
115
- "./node_modules/@firebase/database-types/**",
116
- "./node_modules/@firebase/logger/**",
117
- "./node_modules/@firebase/util/**",
118
- "./node_modules/@firebase/component/**",
119
- "./node_modules/@firebase/app-check-interop-types/**",
120
- "./node_modules/@firebase/auth-interop-types/**",
121
- "./node_modules/@firebase/app-types/**",
122
- // OpenTelemetry API (used by google-gax for tracing — api package only, no deps)
115
+ // Packages confirmed by dynamic runtime trace (trace-firebase-full.mjs) as loaded
116
+ // at cold start but not followed by Vercel's static file tracer:
123
117
  "./node_modules/@opentelemetry/api/**",
124
- // @fastify/busboy (multipart — used by firebase-admin storage)
125
- "./node_modules/@fastify/busboy/**",
126
- // @nodable/entities (XML entity encoding in fast-xml-parser)
127
- "./node_modules/@nodable/entities/**",
128
- // Transitive deps of gaxios / duplexify / abort-controller / retry-request
129
- // not statically analysed by the Vercel output file tracer (dynamic requires).
130
- // Generated by full recursive dep scan (2026-05-14).
131
- "./node_modules/is-stream/**",
132
- "./node_modules/extend/**",
133
- "./node_modules/https-proxy-agent/**",
134
- "./node_modules/agent-base/**",
118
+ "./node_modules/@js-sdsl/ordered-map/**",
119
+ "./node_modules/base64-js/**",
120
+ "./node_modules/bignumber.js/**",
121
+ "./node_modules/ecdsa-sig-formatter/**",
122
+ "./node_modules/event-target-shim/**",
123
+ "./node_modules/fast-deep-equal/**",
124
+ "./node_modules/jwa/**",
125
+ // Stream / encoding utilities (loaded by duplexify / readable-stream / gRPC chain):
135
126
  "./node_modules/readable-stream/**",
136
127
  "./node_modules/inherits/**",
137
- "./node_modules/debug/**",
138
- "./node_modules/ms/**",
139
128
  "./node_modules/end-of-stream/**",
140
129
  "./node_modules/once/**",
141
130
  "./node_modules/wrappy/**",
142
131
  "./node_modules/stream-shift/**",
143
- "./node_modules/stream-events/**",
144
132
  "./node_modules/safe-buffer/**",
145
- "./node_modules/string_decoder/**",
146
133
  "./node_modules/util-deprecate/**",
147
- "./node_modules/teeny-request/**",
134
+ // Auth / HTTP utilities:
135
+ "./node_modules/is-stream/**",
136
+ "./node_modules/extend/**",
137
+ "./node_modules/https-proxy-agent/**",
138
+ "./node_modules/agent-base/**",
148
139
  "./node_modules/http-proxy-agent/**",
140
+ "./node_modules/debug/**",
141
+ "./node_modules/ms/**",
142
+ // Google Cloud metadata / logging / misc:
149
143
  "./node_modules/gcp-metadata/**",
150
144
  "./node_modules/json-bigint/**",
151
- "./node_modules/stubs/**",
145
+ "./node_modules/google-logging-utils/**",
146
+ // teeny-request (used by retry-request for HTTP retries):
147
+ "./node_modules/teeny-request/**",
152
148
  "./node_modules/form-data/**",
153
149
  "./node_modules/combined-stream/**",
154
150
  "./node_modules/delayed-stream/**",
155
151
  "./node_modules/asynckit/**",
156
152
  "./node_modules/mime-types/**",
157
153
  "./node_modules/mime-db/**",
158
- "./node_modules/google-logging-utils/**",
159
- "./node_modules/event-target-shim/**",
160
- "./node_modules/faye-websocket/**",
161
- "./node_modules/websocket-driver/**",
162
- "./node_modules/websocket-extensions/**",
163
- "./node_modules/http-parser-js/**",
164
- "./node_modules/functional-red-black-tree/**",
165
- "./node_modules/fast-xml-parser/**",
166
- "./node_modules/fast-xml-builder/**",
167
- "./node_modules/strnum/**",
168
- "./node_modules/html-entities/**",
169
- "./node_modules/jose/**",
170
- "./node_modules/jsonwebtoken/**",
171
- "./node_modules/jwa/**",
172
- "./node_modules/jwks-rsa/**",
173
- "./node_modules/lru-memoizer/**",
174
- "./node_modules/limiter/**",
175
- "./node_modules/node-forge/**",
176
- "./node_modules/lru-cache/**",
177
- "./node_modules/yallist/**",
178
- "./node_modules/async-retry/**",
179
- "./node_modules/retry/**",
180
- "./node_modules/p-limit/**",
181
- "./node_modules/yocto-queue/**",
182
- "./node_modules/arrify/**",
183
- "./node_modules/semver/**",
184
- "./node_modules/fast-deep-equal/**",
185
- "./node_modules/tslib/**",
186
- "./node_modules/base64-js/**",
187
- "./node_modules/bignumber.js/**",
188
- "./node_modules/farmhash-modern/**",
189
- "./node_modules/mime/**",
190
- "./node_modules/punycode/**",
191
- "./node_modules/whatwg-url/**",
192
- "./node_modules/tr46/**",
193
- "./node_modules/webidl-conversions/**",
194
- "./node_modules/path-expression-matcher/**",
195
- "./node_modules/ecdsa-sig-formatter/**",
196
- "./node_modules/buffer-equal-constant-time/**",
197
- "./node_modules/lodash.clonedeep/**",
198
- "./node_modules/lodash.includes/**",
199
- "./node_modules/lodash.isboolean/**",
200
- "./node_modules/lodash.isinteger/**",
201
- "./node_modules/lodash.isnumber/**",
202
- "./node_modules/lodash.isplainobject/**",
203
- "./node_modules/lodash.isstring/**",
204
- "./node_modules/lodash.once/**",
154
+ "./node_modules/stream-events/**",
155
+ "./node_modules/stubs/**",
156
+ "./node_modules/string_decoder/**",
205
157
  ],
206
158
  };
207
159
  const mergedOutputFileTracingIncludes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohasinac/appkit",
3
- "version": "2.7.8",
3
+ "version": "2.7.9",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"