@friggframework/devtools 2.0.0--canary.461.d74bc46.0 → 2.0.0--canary.461.00d261d.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,12 +60,46 @@ 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/**',
|
|
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*/**',
|
|
83
|
+
|
|
84
|
+
// Exclude dev/test dependencies
|
|
85
|
+
'node_modules/@friggframework/test/**',
|
|
86
|
+
'node_modules/@friggframework/eslint-config/**',
|
|
87
|
+
'node_modules/@friggframework/prettier-config/**',
|
|
88
|
+
'node_modules/jest/**',
|
|
89
|
+
'node_modules/prettier/**',
|
|
90
|
+
'node_modules/eslint/**',
|
|
91
|
+
|
|
92
|
+
// Exclude local dev files
|
|
93
|
+
'deploy.log',
|
|
94
|
+
'.env.backup',
|
|
95
|
+
'docker-compose.yml',
|
|
96
|
+
'jest.config.js',
|
|
97
|
+
'jest.unit.config.js',
|
|
98
|
+
'.eslintrc.json',
|
|
99
|
+
'.prettierrc',
|
|
100
|
+
'.prettierignore',
|
|
101
|
+
'.markdownlintignore',
|
|
102
|
+
'package-lock.json',
|
|
69
103
|
|
|
70
104
|
// Exclude development/test files
|
|
71
105
|
'coverage/**',
|
|
@@ -74,6 +108,8 @@ class IntegrationBuilder extends InfrastructureBuilder {
|
|
|
74
108
|
'layers/**',
|
|
75
109
|
'**/*.test.js',
|
|
76
110
|
'**/*.spec.js',
|
|
111
|
+
'**/.claude-flow/**',
|
|
112
|
+
'**/.swarm/**',
|
|
77
113
|
],
|
|
78
114
|
};
|
|
79
115
|
|
|
@@ -52,6 +52,29 @@ function createBaseDefinition(
|
|
|
52
52
|
'node_modules/jest/**',
|
|
53
53
|
'node_modules/prettier/**',
|
|
54
54
|
'node_modules/eslint/**',
|
|
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*/**',
|
|
66
|
+
|
|
67
|
+
// Exclude local dev files
|
|
68
|
+
'deploy.log',
|
|
69
|
+
'.env.backup',
|
|
70
|
+
'docker-compose.yml',
|
|
71
|
+
'jest.config.js',
|
|
72
|
+
'jest.unit.config.js',
|
|
73
|
+
'.eslintrc.json',
|
|
74
|
+
'.prettierrc',
|
|
75
|
+
'.prettierignore',
|
|
76
|
+
'.markdownlintignore',
|
|
77
|
+
'package-lock.json',
|
|
55
78
|
|
|
56
79
|
// Exclude test files and layers (but keep src/ - needed for app definition)
|
|
57
80
|
'test/**',
|
|
@@ -256,28 +279,76 @@ function createBaseDefinition(
|
|
|
256
279
|
description: 'Runs database migrations via Prisma CLI (invoke manually from CI/CD or triggers). Prisma CLI bundled separately.',
|
|
257
280
|
package: {
|
|
258
281
|
individually: true,
|
|
259
|
-
|
|
260
|
-
//
|
|
261
|
-
'node_modules
|
|
262
|
-
|
|
263
|
-
//
|
|
264
|
-
'node_modules
|
|
265
|
-
'
|
|
266
|
-
|
|
267
|
-
//
|
|
268
|
-
'node_modules
|
|
269
|
-
'node_modules
|
|
270
|
-
'node_modules/
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
'
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
282
|
+
exclude: [
|
|
283
|
+
// Exclude ALL nested node_modules
|
|
284
|
+
'node_modules/**/node_modules/**',
|
|
285
|
+
|
|
286
|
+
// Exclude AWS SDK (provided by Lambda runtime)
|
|
287
|
+
'node_modules/aws-sdk/**',
|
|
288
|
+
'node_modules/@aws-sdk/**',
|
|
289
|
+
|
|
290
|
+
// Exclude build tools (not needed for migrations)
|
|
291
|
+
'node_modules/esbuild/**',
|
|
292
|
+
'node_modules/@esbuild/**',
|
|
293
|
+
'node_modules/typescript/**',
|
|
294
|
+
'node_modules/webpack/**',
|
|
295
|
+
'node_modules/osls/**',
|
|
296
|
+
'node_modules/serverless*/**',
|
|
297
|
+
|
|
298
|
+
// Exclude dev dependencies
|
|
299
|
+
'node_modules/@friggframework/test/**',
|
|
300
|
+
'node_modules/@friggframework/eslint-config/**',
|
|
301
|
+
'node_modules/@friggframework/prettier-config/**',
|
|
302
|
+
'node_modules/@friggframework/devtools/**',
|
|
303
|
+
'node_modules/@friggframework/serverless-plugin/**',
|
|
304
|
+
'node_modules/jest/**',
|
|
305
|
+
'node_modules/prettier/**',
|
|
306
|
+
'node_modules/eslint/**',
|
|
307
|
+
|
|
308
|
+
// Exclude MongoDB Prisma client (only need PostgreSQL)
|
|
309
|
+
'node_modules/@friggframework/core/generated/prisma-mongodb/**',
|
|
310
|
+
|
|
311
|
+
// Exclude non-essential Frigg modules
|
|
312
|
+
'node_modules/@friggframework/core/integrations/**',
|
|
313
|
+
'node_modules/@friggframework/core/user/**',
|
|
314
|
+
'node_modules/@friggframework/core/handlers/routers/**',
|
|
315
|
+
'node_modules/@friggframework/core/handlers/workers/**',
|
|
316
|
+
|
|
317
|
+
// Exclude wrong OS binaries
|
|
318
|
+
'**/query-engine-darwin*',
|
|
319
|
+
'**/schema-engine-darwin*',
|
|
320
|
+
'**/libquery_engine-darwin*',
|
|
321
|
+
'**/*-darwin-arm64*',
|
|
322
|
+
'**/*-darwin*',
|
|
323
|
+
|
|
324
|
+
// Exclude WASM engines
|
|
325
|
+
'**/runtime/*.wasm',
|
|
326
|
+
'**/*.wasm*',
|
|
327
|
+
|
|
328
|
+
// Exclude backend source (not needed for migration handler)
|
|
329
|
+
'src/**',
|
|
330
|
+
'test/**',
|
|
331
|
+
'layers/**',
|
|
332
|
+
'coverage/**',
|
|
333
|
+
|
|
334
|
+
// Exclude local dev files
|
|
335
|
+
'deploy.log',
|
|
336
|
+
'.env.backup',
|
|
337
|
+
'docker-compose.yml',
|
|
338
|
+
'jest.config.js',
|
|
339
|
+
'jest.unit.config.js',
|
|
340
|
+
'package-lock.json',
|
|
341
|
+
|
|
342
|
+
// Exclude docs and metadata
|
|
343
|
+
'**/*.md',
|
|
344
|
+
'**/*.map',
|
|
345
|
+
'**/LICENSE*',
|
|
346
|
+
'**/*.d.ts',
|
|
347
|
+
'**/*.d.mts',
|
|
348
|
+
'**/*.test.js',
|
|
349
|
+
'**/*.spec.js',
|
|
350
|
+
'**/.claude-flow/**',
|
|
351
|
+
'**/.swarm/**',
|
|
281
352
|
],
|
|
282
353
|
},
|
|
283
354
|
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.00d261d.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.00d261d.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.00d261d.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.00d261d.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.00d261d.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": "00d261d45bff803318e6b85dba17b51b7e081c87"
|
|
74
74
|
}
|