-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add AppSync Support * Handle lifecycle hook * Add alarms and dashboard widgets for AppSync - Remove redundant resources * Use different y-axes for metrics of different units - Tidy up the branch * Migrate TS from JS * Restructure alarms and dashboards * Use a library for alarm properties - Lib is called cloudform which gives us ability to write less types and be certain about the types of each property * Fix GitHub actions * Refactor alarm modules and combine additional resources into compiledTemplate * Manage packages, remove redundant use-strict - 'use strict' can be manageble for each module at top level as we use alwaysStrict in the tscofig - Fix some types * Sam requires esbuild to be installed globally - Manage common packages at the top level - Fix modules paths in cf-macro/index * Edit alarm names by using intrinsic functions to retrieve actual data from cloudformation - Manage packages, remove redundant use-strict line in each as we manage alwaysStrict at top level - Instal cloudform lib at dependecy level as sam requires * Macro requires handler to be async Use intrinsic functions for alarm names and alarm descriptions to retrieve actual data from cloudformation * Manage all AlarmName and AlarmDescription specific to each modules * Upgrade node version for ALB and AppSync projects - Make sure all AlarmName and AlarmDescription same as before * Fix types confusion for the default config * For input types use also cloudformation properties types * Using generics to split the type into pre and post merged types. I've extended the config types too to allow the cascaded flow of properties to be typed * Assign all missing config types - Fix the unit-test * Change the import path in index files * Change back the import path for now * Fix slic-watch-core workspace issue * chore: update build to do TS compilation * chore: update macro version sync to use CommonJS * 3.0.0-rc1 * Version bump: 3.0.0-rc1 * chore: remove superfluous slic-watch-core dependency * chore: add ALB project test to build workflow * chore: include all package in version script * chore: clean up deps * chore: include all package in version script * chore: ensure macro version change is committed and tagged * 3.0.0-rc2 * This might work * Converting to commonjs * fixing lint * finishing commonjs modules change * Use tap to create coverage report, delete c8 report provider * fixing up code coverage * Update unit-test scripts * adding the cf-macro v3 * Fix some coverage issues * increased coverage to 100% * chore: fix comment indent * 3.0.0-rc3 * chore: update versions with audit fix * chore: add TS build to release workflow * chore: add TS build to build workflow * bundling packages again * fixing lambdas not configured bug * 3.0.0-rc4 * Fixing issues around the resourceId naming * Forcing update of alarm names which will redeploy all API Gateway alarms created by slic watch. This is to force a few naming fixing bugs * 3.0.0-rc5 * chore: update to current Node LTS (18, 20) * fix: restore logging in sls plugin, use Tap 18 * Allow incomplete coverage - Node 18 is falsely reporting incomplete coverage, so we'll only use Node 20+ coverage reports for measurement in the automated build. (example: https://github.com/fourTheorem/slic-watch/actions/runs/6705742466/job/18220791453) * chore: ignore coveralls for 18.x * chore: rename items and add more comments * chore: use more consistent logical IDs for alarms - This means new resources will be created, so Alarm names are altered too to prevent "already exists" deployment failures * chore: use portable bucket names in test projects * fix(docs): remove v2 supported label from README --------- Co-authored-by: davidlynam <[email protected]> Co-authored-by: Eoin Shanaghy <[email protected]>
- Loading branch information
1 parent
94eb90f
commit 1f224f2
Showing
142 changed files
with
22,987 additions
and
48,308 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"root": true, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"standard-with-typescript" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-floating-promises": 0, | ||
"no-template-curly-in-string": 0, | ||
"@typescript-eslint/restrict-template-expressions": 0, | ||
"@typescript-eslint/explicit-function-return-type": 0 | ||
}, | ||
"ignorePatterns": [ | ||
"core/coverage", | ||
"cf-macro/coverage", | ||
"serverless-plugin/dist/index.js", | ||
"cf-macro/dist/index.js", | ||
"**/dist/*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,17 @@ | ||
{ | ||
"name": "cdk-test-project", | ||
"version": "2.1.3", | ||
"version": "3.0.0-rc5", | ||
"scripts": { | ||
"build": "tsc", | ||
"watch": "tsc -w", | ||
"test": "echo", | ||
"cdk": "cdk" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^27.5.2", | ||
"@types/node": "10.17.27", | ||
"@types/prettier": "2.6.0", | ||
"aws-cdk": "2.37.0", | ||
"eslint-config-standard-with-typescript": "^22.0.0", | ||
"jest": "^27.5.1", | ||
"ts-jest": "^27.1.4", | ||
"ts-node": "^10.9.1", | ||
"typescript": "~3.9.7" | ||
}, | ||
"dependencies": { | ||
"aws-cdk-lib": "2.37.0", | ||
"constructs": "^10.0.0" | ||
"aws-cdk-lib": "^2.67.0", | ||
"constructs": "^10.1.266" | ||
}, | ||
"devDependencies": { | ||
"aws-cdk": "^2.67.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.