@fjall/components-infrastructure 4.4.0 → 5.0.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.
- package/dist/lib/config/aws/oidcConnector.d.ts +6 -6
- package/dist/lib/patterns/aws/account.d.ts +11 -10
- package/dist/lib/patterns/aws/account.js +11 -10
- package/dist/lib/patterns/aws/clickhouseDatabase.d.ts +16 -3
- package/dist/lib/patterns/aws/clickhouseDatabase.js +23 -2
- package/dist/lib/patterns/aws/computeEcsTypes.d.ts +12 -2
- package/dist/lib/patterns/aws/database.js +5 -5
- package/dist/lib/resources/aws/compute/ecs.js +1 -0
- package/dist/lib/resources/aws/compute/ecsConstants.d.ts +14 -0
- package/dist/lib/resources/aws/compute/ecsConstants.js +23 -0
- package/dist/lib/resources/aws/compute/ecsServiceFactory.d.ts +9 -0
- package/dist/lib/resources/aws/compute/ecsServiceFactory.js +71 -1
- package/dist/lib/resources/aws/compute/ecsTaskDefinition.js +2 -6
- package/dist/lib/resources/aws/compute/ecsValidation.js +9 -2
- package/dist/lib/resources/aws/database/clickhouseConstants.d.ts +58 -25
- package/dist/lib/resources/aws/database/clickhouseConstants.js +89 -25
- package/dist/lib/resources/aws/database/clickhouseUserData.js +77 -4
- package/dist/lib/resources/aws/database/rdsAurora.js +1 -1
- package/dist/lib/resources/aws/database/rdsInstance.js +1 -1
- package/dist/lib/resources/aws/monitoring/clickhouseAlarms.d.ts +9 -5
- package/dist/lib/resources/aws/monitoring/clickhouseAlarms.js +21 -12
- package/dist/lib/utils/engineCompat.d.ts +35 -13
- package/dist/lib/utils/engineCompat.js +90 -23
- package/package.json +25 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/components-infrastructure",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,53 +34,55 @@
|
|
|
34
34
|
"clean": "rm -rf ./dist",
|
|
35
35
|
"clean:node": "rm -rf ./node_modules",
|
|
36
36
|
"build:cert-gen-lambda": "node lib/lambda-assets/cert-generator/src/build.mjs",
|
|
37
|
-
"build": "npm run build:cert-gen-lambda && tsc && cp -r lib/layers dist/lib/layers && mkdir -p dist/lib/lambda-assets/cert-generator/asset && cp lib/lambda-assets/cert-generator/asset/index.js dist/lib/lambda-assets/cert-generator/asset/index.js && cp lib/lambda-assets/cert-generator/asset/package.json dist/lib/lambda-assets/cert-generator/asset/package.json && mkdir -p dist/lib/lambda-assets/identity-store-user/asset && cp lib/lambda-assets/identity-store-user/asset/index.js dist/lib/lambda-assets/identity-store-user/asset/index.js && cp lib/lambda-assets/identity-store-user/asset/package.json dist/lib/lambda-assets/identity-store-user/asset/package.json && mkdir -p dist/lib/lambda-assets/static-site-forms/asset && cp lib/lambda-assets/static-site-forms/asset/index.js dist/lib/lambda-assets/static-site-forms/asset/index.js && cp lib/lambda-assets/static-site-forms/asset/package.json dist/lib/lambda-assets/static-site-forms/asset/package.json && cp lib/resources/aws/compute/lifecycleHookLambda.source.cjs dist/lib/resources/aws/compute/lifecycleHookLambda.source.cjs && cp lib/resources/aws/compute/ec2GracefulTerminationLambda.source.cjs dist/lib/resources/aws/compute/ec2GracefulTerminationLambda.source.cjs && cp lib/resources/aws/compute/persistentDataVolumeLambda.source.cjs dist/lib/resources/aws/compute/persistentDataVolumeLambda.source.cjs && cp lib/patterns/aws/devSubstrate.waker.source.cjs dist/lib/patterns/aws/devSubstrate.waker.source.cjs",
|
|
37
|
+
"build": "npm run build:cert-gen-lambda && tsc && cp -r lib/layers dist/lib/layers && mkdir -p dist/lib/lambda-assets/cert-generator/asset && cp lib/lambda-assets/cert-generator/asset/index.js dist/lib/lambda-assets/cert-generator/asset/index.js && cp lib/lambda-assets/cert-generator/asset/package.json dist/lib/lambda-assets/cert-generator/asset/package.json && mkdir -p dist/lib/lambda-assets/identity-store-user/asset && cp lib/lambda-assets/identity-store-user/asset/index.js dist/lib/lambda-assets/identity-store-user/asset/index.js && cp lib/lambda-assets/identity-store-user/asset/package.json dist/lib/lambda-assets/identity-store-user/asset/package.json && mkdir -p dist/lib/lambda-assets/static-site-forms/asset && cp lib/lambda-assets/static-site-forms/asset/index.js dist/lib/lambda-assets/static-site-forms/asset/index.js && cp lib/lambda-assets/static-site-forms/asset/package.json dist/lib/lambda-assets/static-site-forms/asset/package.json && cp lib/resources/aws/compute/lifecycleHookLambda.source.cjs dist/lib/resources/aws/compute/lifecycleHookLambda.source.cjs && cp lib/resources/aws/compute/ec2GracefulTerminationLambda.source.cjs dist/lib/resources/aws/compute/ec2GracefulTerminationLambda.source.cjs && cp lib/resources/aws/compute/persistentDataVolumeLambda.source.cjs dist/lib/resources/aws/compute/persistentDataVolumeLambda.source.cjs && cp lib/patterns/aws/devSubstrate.waker.source.cjs dist/lib/patterns/aws/devSubstrate.waker.source.cjs && node ../../scripts/stamp-build.mjs",
|
|
38
38
|
"prepack": "node ../../scripts/check-dist-freshness.mjs",
|
|
39
39
|
"watch": "tsc -w",
|
|
40
40
|
"watch:only": "tsc -w",
|
|
41
41
|
"test": "vitest run",
|
|
42
42
|
"test:watch": "vitest",
|
|
43
|
+
"contract:manifest": "FJALL_WRITE_CONTRACT_MANIFEST=1 vitest run lib/__tests__/_contract/contract.test.ts",
|
|
43
44
|
"cdk": "cdk",
|
|
44
45
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
45
46
|
"typecheck:tests": "tsc --noEmit -p tsconfig.test.json",
|
|
46
47
|
"check:scripts": "tsc --project tsconfig.scripts.json",
|
|
48
|
+
"deploy-test": "tsx deploy-tests/run.mts",
|
|
47
49
|
"lint": "eslint lib --no-warn-ignored",
|
|
48
50
|
"lint:fix": "eslint lib --fix --no-warn-ignored",
|
|
49
|
-
"format": "prettier --write \"lib/**/*.{ts,tsx,js,jsx,json}\" \"scripts/**/*.mts\"",
|
|
50
|
-
"format:check": "prettier --check \"lib/**/*.{ts,tsx,js,jsx,json}\" \"scripts/**/*.mts\""
|
|
51
|
+
"format": "prettier --write \"lib/**/*.{ts,tsx,js,jsx,json}\" \"scripts/**/*.mts\" \"deploy-tests/**/*.mts\"",
|
|
52
|
+
"format:check": "prettier --check \"lib/**/*.{ts,tsx,js,jsx,json}\" \"scripts/**/*.mts\" \"deploy-tests/**/*.mts\""
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
|
-
"@aws-sdk/client-elastic-load-balancing-v2": "^3.
|
|
54
|
-
"@aws-sdk/client-iam": "^3.
|
|
55
|
-
"@aws-sdk/client-identitystore": "^3.
|
|
56
|
-
"@aws-sdk/client-sesv2": "^3.
|
|
55
|
+
"@aws-sdk/client-elastic-load-balancing-v2": "^3.1098.0",
|
|
56
|
+
"@aws-sdk/client-iam": "^3.1098.0",
|
|
57
|
+
"@aws-sdk/client-identitystore": "^3.1098.0",
|
|
58
|
+
"@aws-sdk/client-sesv2": "^3.1098.0",
|
|
57
59
|
"@peculiar/x509": "2.0.0",
|
|
58
|
-
"@types/aws-lambda": "^8.10.
|
|
59
|
-
"@types/node": "^26.
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
61
|
-
"@typescript-eslint/parser": "^8.
|
|
62
|
-
"eslint": "^10.
|
|
63
|
-
"prettier": "^3.
|
|
60
|
+
"@types/aws-lambda": "^8.10.162",
|
|
61
|
+
"@types/node": "^26.1.2",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
63
|
+
"@typescript-eslint/parser": "^8.65.0",
|
|
64
|
+
"eslint": "^10.8.0",
|
|
65
|
+
"prettier": "^3.9.6",
|
|
64
66
|
"reflect-metadata": "^0.2.2",
|
|
65
67
|
"typescript": "^6.0.3",
|
|
66
|
-
"vitest": "^4.1.
|
|
68
|
+
"vitest": "^4.1.10"
|
|
67
69
|
},
|
|
68
70
|
"dependencies": {
|
|
69
|
-
"@aws-sdk/client-organizations": "^3.
|
|
70
|
-
"@fjall/generator": "^
|
|
71
|
-
"@fjall/util": "^
|
|
72
|
-
"constructs": "^10.
|
|
71
|
+
"@aws-sdk/client-organizations": "^3.1098.0",
|
|
72
|
+
"@fjall/generator": "^5.0.0",
|
|
73
|
+
"@fjall/util": "^5.0.0",
|
|
74
|
+
"constructs": "^10.7.2"
|
|
73
75
|
},
|
|
74
76
|
"overrides": {
|
|
75
77
|
"@smithy/core": "2.5.5"
|
|
76
78
|
},
|
|
77
79
|
"peerDependencies": {
|
|
78
|
-
"aws-cdk": "^2.
|
|
79
|
-
"aws-cdk-lib": "^2.
|
|
80
|
-
"constructs": "^10.
|
|
80
|
+
"aws-cdk": "^2.1134.0",
|
|
81
|
+
"aws-cdk-lib": "^2.262.2",
|
|
82
|
+
"constructs": "^10.7.2"
|
|
81
83
|
},
|
|
82
84
|
"engines": {
|
|
83
85
|
"node": ">=18.0.0"
|
|
84
86
|
},
|
|
85
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "78dded6f582368076e8b5f351399219e5a954659"
|
|
86
88
|
}
|