@friggframework/devtools 2.0.0--canary.461.432e510.0 → 2.0.0--canary.461.068b32b.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.
|
@@ -187,7 +187,8 @@ class AuroraBuilder extends InfrastructureBuilder {
|
|
|
187
187
|
VpcSecurityGroupIds: discoveredResources.vpcSecurityGroupIds || [
|
|
188
188
|
{ Ref: 'FriggLambdaSecurityGroup' },
|
|
189
189
|
],
|
|
190
|
-
|
|
190
|
+
// Note: PubliclyAccessible is NOT supported on Aurora clusters
|
|
191
|
+
// It should only be set on DB instances (see FriggAuroraInstance below)
|
|
191
192
|
ServerlessV2ScalingConfiguration: {
|
|
192
193
|
MinCapacity: dbConfig.minCapacity || 0.5,
|
|
193
194
|
MaxCapacity: dbConfig.maxCapacity || 1,
|
|
@@ -625,6 +625,9 @@ describe('AuroraBuilder', () => {
|
|
|
625
625
|
|
|
626
626
|
expect(result.resources.FriggAuroraCluster).toBeDefined();
|
|
627
627
|
expect(result.resources.FriggAuroraCluster.Type).toBe('AWS::RDS::DBCluster');
|
|
628
|
+
|
|
629
|
+
// PubliclyAccessible is NOT supported on Aurora clusters (only on instances)
|
|
630
|
+
expect(result.resources.FriggAuroraCluster.Properties.PubliclyAccessible).toBeUndefined();
|
|
628
631
|
});
|
|
629
632
|
|
|
630
633
|
it('should create database subnet group', async () => {
|
|
@@ -100,7 +100,7 @@ class MigrationBuilder extends InfrastructureBuilder {
|
|
|
100
100
|
'node_modules/prettier/**',
|
|
101
101
|
'node_modules/eslint/**',
|
|
102
102
|
'node_modules/@friggframework/core/generated/prisma-mongodb/**',
|
|
103
|
-
|
|
103
|
+
// Note: DO NOT exclude integrations/** - migration router needs process-repository-factory
|
|
104
104
|
'node_modules/@friggframework/core/user/**',
|
|
105
105
|
// Note: DO NOT exclude handlers/routers/** or handlers/workers/** - migration functions need them!
|
|
106
106
|
'**/query-engine-darwin*',
|
|
@@ -206,10 +206,13 @@ describe('MigrationBuilder', () => {
|
|
|
206
206
|
|
|
207
207
|
// Should NOT exclude generated Prisma clients/schemas - worker needs them
|
|
208
208
|
expect(packageConfig.exclude).not.toContain('node_modules/@friggframework/core/generated/**');
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
// Should NOT exclude migration handlers - they're needed!
|
|
211
211
|
expect(packageConfig.exclude).not.toContain('node_modules/@friggframework/core/handlers/routers/**');
|
|
212
212
|
expect(packageConfig.exclude).not.toContain('node_modules/@friggframework/core/handlers/workers/**');
|
|
213
|
+
|
|
214
|
+
// Should NOT exclude integrations module - migration router needs process-repository-factory
|
|
215
|
+
expect(packageConfig.exclude).not.toContain('node_modules/@friggframework/core/integrations/**');
|
|
213
216
|
});
|
|
214
217
|
|
|
215
218
|
it('should add queue URL to environment', async () => {
|
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.068b32b.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.068b32b.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.068b32b.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.068b32b.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.068b32b.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": "068b32b632729370e833d2c902acba0534da965a"
|
|
74
74
|
}
|