@phila/cli 0.0.13 → 0.0.14

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.
Files changed (23) hide show
  1. package/dist/templates/_shared/dotnet-api/Api.csproj +1 -1
  2. package/dist/templates/_shared/dotnet-api/aws-lambda-tools-defaults.json +1 -1
  3. package/dist/templates/_shared/dotnet-api-postgres/Api.csproj +1 -1
  4. package/dist/templates/_shared/dotnet-api-postgres/aws-lambda-tools-defaults.json +1 -1
  5. package/dist/templates/lambda-api-nodejs/cdk/app.ts.tmpl +1 -1
  6. package/dist/templates/lambda-dynamo-api/cdk/app.ts.tmpl +1 -1
  7. package/dist/templates/lambda-postgres-api/README.md.tmpl +1 -1
  8. package/dist/templates/lambda-postgres-api/cdk/app.ts.tmpl +1 -1
  9. package/dist/templates/webapp-ecs-dotnet/apps/api/Api.csproj +1 -1
  10. package/dist/templates/webapp-ecs-postgres-dotnet/apps/api/Api.csproj +1 -1
  11. package/dist/templates/webapp-lambda-dotnet/apps/api/Api.csproj +1 -1
  12. package/dist/templates/webapp-lambda-dotnet/apps/api/aws-lambda-tools-defaults.json +1 -1
  13. package/dist/templates/webapp-lambda-dotnet/cdk/app.ts.tmpl +1 -1
  14. package/dist/templates/webapp-lambda-dynamo-dotnet/apps/api/Api.csproj +1 -1
  15. package/dist/templates/webapp-lambda-dynamo-dotnet/apps/api/aws-lambda-tools-defaults.json +1 -1
  16. package/dist/templates/webapp-lambda-dynamo-dotnet/cdk/app.ts.tmpl +1 -1
  17. package/dist/templates/webapp-lambda-dynamo-node/cdk/app.ts.tmpl +1 -1
  18. package/dist/templates/webapp-lambda-node/cdk/app.ts.tmpl +1 -1
  19. package/dist/templates/webapp-lambda-postgres-dotnet/apps/api/Api.csproj +1 -1
  20. package/dist/templates/webapp-lambda-postgres-dotnet/apps/api/aws-lambda-tools-defaults.json +1 -1
  21. package/dist/templates/webapp-lambda-postgres-dotnet/cdk/app.ts.tmpl +1 -1
  22. package/dist/templates/webapp-lambda-postgres-node/cdk/app.ts.tmpl +1 -1
  23. package/package.json +3 -3
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Uses AOT-compatible serialization for Lambda runtime -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -3,7 +3,7 @@
3
3
  "profile": "",
4
4
  "region": "",
5
5
  "configuration": "Release",
6
- "function-runtime": "dotnet8",
6
+ "function-runtime": "dotnet9",
7
7
  "function-memory-size": 256,
8
8
  "function-timeout": 30,
9
9
  "function-handler": "Api"
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Includes Npgsql and AWS SDK for database connectivity -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -3,7 +3,7 @@
3
3
  "profile": "",
4
4
  "region": "",
5
5
  "configuration": "Release",
6
- "function-runtime": "dotnet8",
6
+ "function-runtime": "dotnet9",
7
7
  "function-memory-size": 256,
8
8
  "function-timeout": 30,
9
9
  "function-handler": "Api"
@@ -41,7 +41,7 @@ const stack = new Stack(app, '{{appName}}-' + environment, {
41
41
  new LambdaApi(stack as any, '{{appName}}Api', {
42
42
  ...context,
43
43
  apiId: 'main',
44
- runtime: 'nodejs20',
44
+ runtime: 'nodejs22',
45
45
  handler: 'index.handler',
46
46
  codeDir: '../apps/{{lambdaName}}',
47
47
  });
@@ -41,7 +41,7 @@ const stack = new Stack(app, '{{appName}}-' + environment, {
41
41
  new LambdaDynamoApi(stack as any, '{{appName}}Api', {
42
42
  ...context,
43
43
  apiId: 'main',
44
- runtime: 'nodejs20',
44
+ runtime: 'nodejs22',
45
45
  handler: 'index.handler',
46
46
  codeDir: '../apps/{{lambdaName}}',
47
47
  // DynamoDB table configuration
@@ -208,7 +208,7 @@ To use Aurora Serverless v2 instead of provisioned RDS, edit `cdk/app.ts`:
208
208
  new LambdaPostgresApi(stack as any, '{{appName}}Api', {
209
209
  ...context,
210
210
  apiId: 'main',
211
- runtime: 'nodejs20',
211
+ runtime: 'nodejs22',
212
212
  handler: 'index.handler',
213
213
  codeDir: '../apps/{{lambdaName}}',
214
214
  serverless: true, // Use Aurora Serverless v2
@@ -41,7 +41,7 @@ const stack = new Stack(app, '{{appName}}-' + environment, {
41
41
  new LambdaPostgresApi(stack as any, '{{appName}}Api', {
42
42
  ...context,
43
43
  apiId: 'main',
44
- runtime: 'nodejs20',
44
+ runtime: 'nodejs22',
45
45
  handler: 'index.handler',
46
46
  codeDir: '../apps/{{lambdaName}}',
47
47
  // Uncomment for serverless Aurora instead of provisioned RDS:
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Standard web application hosted on Kestrel server -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Uses Npgsql for database access and AWS SDK for Secrets Manager -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Uses AOT-compatible serialization for Lambda runtime -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -3,7 +3,7 @@
3
3
  "profile": "",
4
4
  "region": "",
5
5
  "configuration": "Release",
6
- "function-runtime": "dotnet8",
6
+ "function-runtime": "dotnet9",
7
7
  "function-memory-size": 256,
8
8
  "function-timeout": 30,
9
9
  "function-handler": "Api"
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'dotnet8',
49
+ runtime: 'dotnet9',
50
50
  handler: 'Api',
51
51
  codeDir: '../apps/api',
52
52
  });
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Uses AWS SDK for DynamoDB Document Model API -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -3,7 +3,7 @@
3
3
  "profile": "",
4
4
  "region": "",
5
5
  "configuration": "Release",
6
- "function-runtime": "dotnet8",
6
+ "function-runtime": "dotnet9",
7
7
  "function-memory-size": 256,
8
8
  "function-timeout": 30,
9
9
  "function-handler": "Api"
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaDynamoApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'dotnet8',
49
+ runtime: 'dotnet9',
50
50
  handler: 'Api',
51
51
  codeDir: '../apps/api',
52
52
  // DynamoDB table configuration
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaDynamoApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'nodejs20',
49
+ runtime: 'nodejs22',
50
50
  handler: 'index.handler',
51
51
  codeDir: '../apps/api',
52
52
  // DynamoDB table configuration
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'nodejs20',
49
+ runtime: 'nodejs22',
50
50
  handler: 'index.handler',
51
51
  codeDir: '../apps/api',
52
52
  });
@@ -2,7 +2,7 @@
2
2
  <!-- ABOUTME: Includes Npgsql and AWS SDK for database connectivity -->
3
3
  <Project Sdk="Microsoft.NET.Sdk.Web">
4
4
  <PropertyGroup>
5
- <TargetFramework>net8.0</TargetFramework>
5
+ <TargetFramework>net9.0</TargetFramework>
6
6
  <Nullable>enable</Nullable>
7
7
  <ImplicitUsings>enable</ImplicitUsings>
8
8
  <OutputType>Exe</OutputType>
@@ -3,7 +3,7 @@
3
3
  "profile": "",
4
4
  "region": "",
5
5
  "configuration": "Release",
6
- "function-runtime": "dotnet8",
6
+ "function-runtime": "dotnet9",
7
7
  "function-memory-size": 256,
8
8
  "function-timeout": 30,
9
9
  "function-handler": "Api"
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaPostgresApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'dotnet8',
49
+ runtime: 'dotnet9',
50
50
  handler: 'Api',
51
51
  codeDir: '../apps/api',
52
52
  // Uncomment for serverless Aurora instead of provisioned RDS:
@@ -46,7 +46,7 @@ new StaticSite(stack as any, '{{appName}}Site', {
46
46
  new LambdaPostgresApi(stack as any, '{{appName}}Api', {
47
47
  ...context,
48
48
  apiId: 'api',
49
- runtime: 'nodejs20',
49
+ runtime: 'nodejs22',
50
50
  handler: 'index.handler',
51
51
  codeDir: '../apps/api',
52
52
  // Uncomment for serverless Aurora instead of provisioned RDS:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phila/cli",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "CLI tool for City of Philadelphia AWS infrastructure",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -24,8 +24,8 @@
24
24
  "commander": "^11.0.0",
25
25
  "fs-extra": "^11.1.0",
26
26
  "inquirer": "^8.2.5",
27
- "@phila/constructs": "0.0.6",
28
- "@phila/db-postgres": "0.0.5"
27
+ "@phila/constructs": "0.0.7",
28
+ "@phila/db-postgres": "0.0.6"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/fs-extra": "^11.0.0",