@friggframework/devtools 2.0.0--canary.461.419b22c.0 → 2.0.0--canary.461.75fbb02.0
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.
|
@@ -60,13 +60,53 @@ class IntegrationBuilder extends InfrastructureBuilder {
|
|
|
60
60
|
|
|
61
61
|
const functionPackageConfig = {
|
|
62
62
|
exclude: [
|
|
63
|
+
// Exclude AWS SDK (provided by Lambda runtime)
|
|
63
64
|
'node_modules/aws-sdk/**',
|
|
64
65
|
'node_modules/@aws-sdk/**',
|
|
66
|
+
|
|
67
|
+
// Exclude Prisma (provided via Lambda Layer)
|
|
65
68
|
'node_modules/@prisma/**',
|
|
66
69
|
'node_modules/.prisma/**',
|
|
67
70
|
'node_modules/prisma/**',
|
|
68
71
|
'node_modules/@friggframework/core/generated/**',
|
|
69
72
|
|
|
73
|
+
// Exclude ALL nested node_modules
|
|
74
|
+
'node_modules/**/node_modules/**',
|
|
75
|
+
|
|
76
|
+
// Exclude build tools (not needed at runtime)
|
|
77
|
+
'node_modules/esbuild/**',
|
|
78
|
+
'node_modules/@esbuild/**',
|
|
79
|
+
'node_modules/typescript/**',
|
|
80
|
+
'node_modules/webpack/**',
|
|
81
|
+
'node_modules/osls/**',
|
|
82
|
+
'node_modules/serverless-esbuild/**',
|
|
83
|
+
'node_modules/serverless-jetpack/**',
|
|
84
|
+
'node_modules/serverless-offline/**',
|
|
85
|
+
'node_modules/serverless-offline-sqs/**',
|
|
86
|
+
'node_modules/serverless-dotenv-plugin/**',
|
|
87
|
+
'node_modules/serverless-kms-grants/**',
|
|
88
|
+
// Note: DO NOT exclude serverless-http - it's a runtime dependency!
|
|
89
|
+
|
|
90
|
+
// Exclude dev/test dependencies
|
|
91
|
+
'node_modules/@friggframework/test/**',
|
|
92
|
+
'node_modules/@friggframework/eslint-config/**',
|
|
93
|
+
'node_modules/@friggframework/prettier-config/**',
|
|
94
|
+
'node_modules/jest/**',
|
|
95
|
+
'node_modules/prettier/**',
|
|
96
|
+
'node_modules/eslint/**',
|
|
97
|
+
|
|
98
|
+
// Exclude local dev files
|
|
99
|
+
'deploy.log',
|
|
100
|
+
'.env.backup',
|
|
101
|
+
'docker-compose.yml',
|
|
102
|
+
'jest.config.js',
|
|
103
|
+
'jest.unit.config.js',
|
|
104
|
+
'.eslintrc.json',
|
|
105
|
+
'.prettierrc',
|
|
106
|
+
'.prettierignore',
|
|
107
|
+
'.markdownlintignore',
|
|
108
|
+
'package-lock.json',
|
|
109
|
+
|
|
70
110
|
// Exclude development/test files
|
|
71
111
|
'coverage/**',
|
|
72
112
|
'test/**',
|
|
@@ -74,6 +114,8 @@ class IntegrationBuilder extends InfrastructureBuilder {
|
|
|
74
114
|
'layers/**',
|
|
75
115
|
'**/*.test.js',
|
|
76
116
|
'**/*.spec.js',
|
|
117
|
+
'**/.claude-flow/**',
|
|
118
|
+
'**/.swarm/**',
|
|
77
119
|
],
|
|
78
120
|
};
|
|
79
121
|
|
|
@@ -53,6 +53,35 @@ function createBaseDefinition(
|
|
|
53
53
|
'node_modules/prettier/**',
|
|
54
54
|
'node_modules/eslint/**',
|
|
55
55
|
|
|
56
|
+
// Exclude ALL nested node_modules (catch any package with nested dependencies)
|
|
57
|
+
'node_modules/**/node_modules/**',
|
|
58
|
+
|
|
59
|
+
// Exclude build tools (not needed at runtime)
|
|
60
|
+
'node_modules/esbuild/**',
|
|
61
|
+
'node_modules/@esbuild/**',
|
|
62
|
+
'node_modules/typescript/**',
|
|
63
|
+
'node_modules/webpack/**',
|
|
64
|
+
'node_modules/osls/**',
|
|
65
|
+
'node_modules/serverless-esbuild/**',
|
|
66
|
+
'node_modules/serverless-jetpack/**',
|
|
67
|
+
'node_modules/serverless-offline/**',
|
|
68
|
+
'node_modules/serverless-offline-sqs/**',
|
|
69
|
+
'node_modules/serverless-dotenv-plugin/**',
|
|
70
|
+
'node_modules/serverless-kms-grants/**',
|
|
71
|
+
// Note: DO NOT exclude serverless-http - it's a runtime dependency!
|
|
72
|
+
|
|
73
|
+
// Exclude local dev files
|
|
74
|
+
'deploy.log',
|
|
75
|
+
'.env.backup',
|
|
76
|
+
'docker-compose.yml',
|
|
77
|
+
'jest.config.js',
|
|
78
|
+
'jest.unit.config.js',
|
|
79
|
+
'.eslintrc.json',
|
|
80
|
+
'.prettierrc',
|
|
81
|
+
'.prettierignore',
|
|
82
|
+
'.markdownlintignore',
|
|
83
|
+
'package-lock.json',
|
|
84
|
+
|
|
56
85
|
// Exclude test files and layers (but keep src/ - needed for app definition)
|
|
57
86
|
'test/**',
|
|
58
87
|
'layers/**',
|
|
@@ -256,28 +285,81 @@ function createBaseDefinition(
|
|
|
256
285
|
description: 'Runs database migrations via Prisma CLI (invoke manually from CI/CD or triggers). Prisma CLI bundled separately.',
|
|
257
286
|
package: {
|
|
258
287
|
individually: true,
|
|
259
|
-
|
|
260
|
-
//
|
|
261
|
-
'node_modules
|
|
288
|
+
exclude: [
|
|
289
|
+
// Exclude ALL nested node_modules
|
|
290
|
+
'node_modules/**/node_modules/**',
|
|
291
|
+
|
|
292
|
+
// Exclude AWS SDK (provided by Lambda runtime)
|
|
293
|
+
'node_modules/aws-sdk/**',
|
|
294
|
+
'node_modules/@aws-sdk/**',
|
|
295
|
+
|
|
296
|
+
// Exclude build tools (not needed for migrations)
|
|
297
|
+
'node_modules/esbuild/**',
|
|
298
|
+
'node_modules/@esbuild/**',
|
|
299
|
+
'node_modules/typescript/**',
|
|
300
|
+
'node_modules/webpack/**',
|
|
301
|
+
'node_modules/osls/**',
|
|
302
|
+
'node_modules/serverless-esbuild/**',
|
|
303
|
+
'node_modules/serverless-jetpack/**',
|
|
304
|
+
'node_modules/serverless-offline/**',
|
|
305
|
+
'node_modules/serverless-offline-sqs/**',
|
|
306
|
+
'node_modules/serverless-dotenv-plugin/**',
|
|
307
|
+
'node_modules/serverless-kms-grants/**',
|
|
308
|
+
|
|
309
|
+
// Exclude dev dependencies
|
|
310
|
+
'node_modules/@friggframework/test/**',
|
|
311
|
+
'node_modules/@friggframework/eslint-config/**',
|
|
312
|
+
'node_modules/@friggframework/prettier-config/**',
|
|
313
|
+
'node_modules/@friggframework/devtools/**',
|
|
314
|
+
'node_modules/@friggframework/serverless-plugin/**',
|
|
315
|
+
'node_modules/jest/**',
|
|
316
|
+
'node_modules/prettier/**',
|
|
317
|
+
'node_modules/eslint/**',
|
|
318
|
+
|
|
319
|
+
// Exclude MongoDB Prisma client (only need PostgreSQL)
|
|
320
|
+
'node_modules/@friggframework/core/generated/prisma-mongodb/**',
|
|
321
|
+
|
|
322
|
+
// Exclude non-essential Frigg modules
|
|
323
|
+
'node_modules/@friggframework/core/integrations/**',
|
|
324
|
+
'node_modules/@friggframework/core/user/**',
|
|
325
|
+
'node_modules/@friggframework/core/handlers/routers/**',
|
|
326
|
+
'node_modules/@friggframework/core/handlers/workers/**',
|
|
327
|
+
|
|
328
|
+
// Exclude wrong OS binaries
|
|
329
|
+
'**/query-engine-darwin*',
|
|
330
|
+
'**/schema-engine-darwin*',
|
|
331
|
+
'**/libquery_engine-darwin*',
|
|
332
|
+
'**/*-darwin-arm64*',
|
|
333
|
+
'**/*-darwin*',
|
|
334
|
+
|
|
335
|
+
// Exclude WASM engines
|
|
336
|
+
'**/runtime/*.wasm',
|
|
337
|
+
'**/*.wasm*',
|
|
262
338
|
|
|
263
|
-
//
|
|
264
|
-
'
|
|
265
|
-
'
|
|
339
|
+
// Exclude backend source (not needed for migration handler)
|
|
340
|
+
'src/**',
|
|
341
|
+
'test/**',
|
|
342
|
+
'layers/**',
|
|
343
|
+
'coverage/**',
|
|
266
344
|
|
|
267
|
-
//
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
345
|
+
// Exclude local dev files
|
|
346
|
+
'deploy.log',
|
|
347
|
+
'.env.backup',
|
|
348
|
+
'docker-compose.yml',
|
|
349
|
+
'jest.config.js',
|
|
350
|
+
'jest.unit.config.js',
|
|
351
|
+
'package-lock.json',
|
|
271
352
|
|
|
272
|
-
// Exclude
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
353
|
+
// Exclude docs and metadata
|
|
354
|
+
'**/*.md',
|
|
355
|
+
'**/*.map',
|
|
356
|
+
'**/LICENSE*',
|
|
357
|
+
'**/*.d.ts',
|
|
358
|
+
'**/*.d.mts',
|
|
359
|
+
'**/*.test.js',
|
|
360
|
+
'**/*.spec.js',
|
|
361
|
+
'**/.claude-flow/**',
|
|
362
|
+
'**/.swarm/**',
|
|
281
363
|
],
|
|
282
364
|
},
|
|
283
365
|
maximumEventAge: 60,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/devtools",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.461.
|
|
4
|
+
"version": "2.0.0--canary.461.75fbb02.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.835.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@babel/eslint-parser": "^7.18.9",
|
|
12
12
|
"@babel/parser": "^7.25.3",
|
|
13
13
|
"@babel/traverse": "^7.25.3",
|
|
14
|
-
"@friggframework/schemas": "2.0.0--canary.461.
|
|
15
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
14
|
+
"@friggframework/schemas": "2.0.0--canary.461.75fbb02.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.75fbb02.0",
|
|
16
16
|
"@hapi/boom": "^10.0.1",
|
|
17
17
|
"@inquirer/prompts": "^5.3.8",
|
|
18
18
|
"axios": "^1.7.2",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"serverless-http": "^2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
38
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
37
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.75fbb02.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.75fbb02.0",
|
|
39
39
|
"aws-sdk-client-mock": "^4.1.0",
|
|
40
40
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
41
41
|
"jest": "^30.1.3",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "75fbb0248b1a9b804a662124d0e4225b0a01cf1d"
|
|
74
74
|
}
|