Skip to content

Commit 02014e3

Browse files
authored
feat: maintain ci process with lint/build (#7)
1 parent 14839e0 commit 02014e3

File tree

6 files changed

+463
-483
lines changed

6 files changed

+463
-483
lines changed

.deps/p6aws

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/Users/pgollucci/.p6/p6m7g8-dotfiles/p6aws
1+
/Users/philip/.p6/p6m7g8-dotfiles/p6aws

.deps/p6common

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/Users/pgollucci/.p6/p6m7g8-dotfiles/p6common
1+
/Users/philip/.p6/p6m7g8-dotfiles/p6common

bin/p6lzctl

+9
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ p6_lz_main() {
4747
# security 101: only allow valid comamnds
4848
case $cmd in
4949
boostrap) ;;
50+
build) ;;
5051
deploy) ;;
5152
destroy) ;;
5253
diff) ;;
@@ -64,6 +65,13 @@ p6_lz_main() {
6465
return 0
6566
}
6667

68+
p6_lz_cmd_build() {
69+
70+
pnpm run build
71+
72+
p6_return_void
73+
}
74+
6775
######################################################################
6876
#<
6977
#
@@ -87,6 +95,7 @@ p6_lz_cmd_bootstrap() {
8795
######################################################################
8896
p6_lz_cmd_deploy() {
8997

98+
p6_lz_run "build"
9099
p6_lz_run "deploy"
91100

92101
p6_return_void

package.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
"bin": "bin/deploy.js",
55
"scripts": {
66
"build": "pnpm run lint && pnpm run test && pnpm run cdk synth",
7-
"deploy": "pnpm run build && pnpm run cdk deploy",
8-
"diff": "pnpm run build && pnpm run cdk diff",
97
"lint": "eslint .",
108
"lint:fix": "eslint . --fix",
119
"cdk": "cdk",
@@ -17,10 +15,10 @@
1715
"@types/aws-lambda": "^8.10.145",
1816
"@types/jest": "^29.5.14",
1917
"@types/js-yaml": "^4.0.9",
20-
"@types/node": "22.8.6",
21-
"@typescript-eslint/eslint-plugin": "^8.12.2",
22-
"@typescript-eslint/parser": "^8.12.2",
23-
"aws-cdk": "2.165.0",
18+
"@types/node": "22.9.0",
19+
"@typescript-eslint/eslint-plugin": "^8.14.0",
20+
"@typescript-eslint/parser": "^8.14.0",
21+
"aws-cdk": "2.166.0",
2422
"esbuild": "^0.24.0",
2523
"eslint": "^9.14.0",
2624
"eslint-plugin-import": "^2.31.0",
@@ -32,15 +30,15 @@
3230
"dependencies": {
3331
"@aws-sdk/client-dynamodb": "^3.687.0",
3432
"@aws-sdk/client-organizations": "^3.687.0",
35-
"@aws-sdk/client-s3": "^3.688.0",
36-
"@aws-sdk/lib-dynamodb": "^3.687.0",
37-
"aws-cdk-lib": "2.165.0",
33+
"@aws-sdk/client-s3": "^3.689.0",
34+
"@aws-sdk/lib-dynamodb": "^3.689.0",
35+
"aws-cdk-lib": "2.166.0",
3836
"aws-lambda": "^1.0.7",
3937
"aws-sdk": "^2.1692.0",
4038
"cdk-iam-floyd": "^0.658.0",
4139
"constructs": "^10.4.2",
4240
"source-map-support": "^0.5.21",
43-
"winston": "^3.16.0"
41+
"winston": "^3.17.0"
4442
},
4543
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
46-
}
44+
}

0 commit comments

Comments
 (0)