@percepta/create 3.6.1 → 3.6.3

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 (83) hide show
  1. package/README.md +37 -6
  2. package/dist/{git-ops-C2CIjuce.js → git-ops-BD7JNnal.js} +1 -1
  3. package/dist/{git-ops-C2CIjuce.js.map → git-ops-BD7JNnal.js.map} +1 -1
  4. package/dist/github-RCIMUq70.js +131 -0
  5. package/dist/github-RCIMUq70.js.map +1 -0
  6. package/dist/index.js +63 -122
  7. package/dist/index.js.map +1 -1
  8. package/dist/{init-sI9aIrkU.js → init-COp0nGdk.js} +4 -2
  9. package/dist/{init-sI9aIrkU.js.map → init-COp0nGdk.js.map} +1 -1
  10. package/dist/manifest-CqIDnbgs.js +58 -0
  11. package/dist/manifest-CqIDnbgs.js.map +1 -0
  12. package/dist/register-app-C7ZBpAaZ.js +103 -0
  13. package/dist/register-app-C7ZBpAaZ.js.map +1 -0
  14. package/dist/register-os-blueprint-DGjBUZYa.js +90 -0
  15. package/dist/register-os-blueprint-DGjBUZYa.js.map +1 -0
  16. package/dist/{status-CKe4aKso.js → status-BXYaQ4a2.js} +3 -3
  17. package/dist/{status-CKe4aKso.js.map → status-BXYaQ4a2.js.map} +1 -1
  18. package/dist/{sync-D1vkoofl.js → sync-BayU4w1j.js} +3 -3
  19. package/dist/{sync-D1vkoofl.js.map → sync-BayU4w1j.js.map} +1 -1
  20. package/dist/template-versions-CEIP9vhl.js +35 -0
  21. package/dist/template-versions-CEIP9vhl.js.map +1 -0
  22. package/dist/{upstream-gUHLWSR1.js → upstream-CZEzLrS4.js} +3 -3
  23. package/dist/{upstream-gUHLWSR1.js.map → upstream-CZEzLrS4.js.map} +1 -1
  24. package/dist/validate-dssldJAj.js +14 -0
  25. package/dist/validate-dssldJAj.js.map +1 -0
  26. package/package.json +1 -1
  27. package/template-versions.json +2 -2
  28. package/templates/infra/os.blueprint.yaml.template +138 -0
  29. package/templates/monorepo/README.md +41 -3
  30. package/templates/monorepo/auth/README.md +6 -3
  31. package/templates/monorepo/auth/package.json +2 -4
  32. package/templates/monorepo/auth/src/config/database.ts +1 -1
  33. package/templates/{webapp → monorepo}/docker-compose.yml +2 -2
  34. package/templates/monorepo/package.json.template +5 -2
  35. package/templates/monorepo/pnpm-workspace.yaml +4 -0
  36. package/templates/monorepo/scripts/setup-local-databases.mjs +183 -0
  37. package/templates/webapp/AGENTS.md +13 -20
  38. package/templates/webapp/README.md +32 -36
  39. package/templates/webapp/agent-skills/database.md +21 -21
  40. package/templates/webapp/agent-skills/langfuse.md +7 -7
  41. package/templates/webapp/agent-skills/llm.md +4 -2
  42. package/templates/webapp/agent-skills/oneshot.md +7 -6
  43. package/templates/webapp/agent-skills/ryvn.md +12 -16
  44. package/templates/webapp/deploy/README.md +10 -51
  45. package/templates/webapp/drizzle.config.ts +2 -23
  46. package/templates/webapp/env.example.template +8 -14
  47. package/templates/webapp/package.json.template +8 -15
  48. package/templates/webapp/scripts/start.sh +12 -16
  49. package/templates/webapp/src/config/getEnvConfig.ts +4 -10
  50. package/templates/webapp/src/drizzle/db.ts +6 -21
  51. package/templates/webapp/src/startup-checks.ts +28 -7
  52. package/templates/monorepo/auth/scripts/setup-database.ts +0 -11
  53. package/templates/webapp/.github/workflows/__APP_NAME__-terraform-ryvn-release.yaml +0 -92
  54. package/templates/webapp/agent-skills/deploy.md +0 -92
  55. package/templates/webapp/deploy/ryvn/__APP_NAME__-terraform.service.yaml +0 -10
  56. package/templates/webapp/deploy/ryvn/environments/percepta-test/installations/__APP_NAME__-terraform.env.percepta-test.serviceinstallation.yaml +0 -11
  57. package/templates/webapp/deploy/ryvn/environments/percepta-test/installations/__APP_NAME__.env.percepta-test.serviceinstallation.yaml +0 -154
  58. package/templates/webapp/terraform/README.md +0 -147
  59. package/templates/webapp/terraform/deploy.sh +0 -97
  60. package/templates/webapp/terraform/main.tf +0 -101
  61. package/templates/webapp/terraform/modules/cloudtrail/main.tf +0 -27
  62. package/templates/webapp/terraform/modules/cloudtrail/outputs.tf +0 -10
  63. package/templates/webapp/terraform/modules/cloudtrail/variables.tf +0 -15
  64. package/templates/webapp/terraform/modules/networking/main.tf +0 -118
  65. package/templates/webapp/terraform/modules/networking/outputs.tf +0 -38
  66. package/templates/webapp/terraform/modules/networking/variables.tf +0 -24
  67. package/templates/webapp/terraform/modules/rds/main.tf +0 -227
  68. package/templates/webapp/terraform/modules/rds/outputs.tf +0 -73
  69. package/templates/webapp/terraform/modules/rds/variables.tf +0 -61
  70. package/templates/webapp/terraform/modules/s3-logging/main.tf +0 -148
  71. package/templates/webapp/terraform/modules/s3-logging/outputs.tf +0 -10
  72. package/templates/webapp/terraform/modules/s3-logging/variables.tf +0 -16
  73. package/templates/webapp/terraform/modules/secrets/main.tf +0 -39
  74. package/templates/webapp/terraform/modules/secrets/outputs.tf +0 -9
  75. package/templates/webapp/terraform/modules/secrets/variables.tf +0 -51
  76. package/templates/webapp/terraform/outputs.tf +0 -102
  77. package/templates/webapp/terraform/providers.tf +0 -32
  78. package/templates/webapp/terraform/schema/main.tf +0 -4
  79. package/templates/webapp/terraform/schema/outputs.tf +0 -9
  80. package/templates/webapp/terraform/schema/variables.tf +0 -19
  81. package/templates/webapp/terraform/schema/versions.tf +0 -38
  82. package/templates/webapp/terraform/terraform.tfvars.example +0 -65
  83. package/templates/webapp/terraform/variables.tf +0 -129
@@ -1,129 +0,0 @@
1
- ################################################################################
2
- # Common Variables
3
- ################################################################################
4
-
5
- variable "environment" {
6
- description = "Environment name (e.g. dev, staging, prod)"
7
- type = string
8
- }
9
-
10
- variable "name" {
11
- description = "Base name for resources"
12
- type = string
13
- }
14
-
15
- variable "region" {
16
- description = "AWS region for resources"
17
- type = string
18
- }
19
-
20
- variable "namespace" {
21
- description = "Kubernetes namespace for resources"
22
- type = string
23
- default = "__APP_NAME__"
24
- }
25
-
26
- variable "kubernetes_service_account" {
27
- description = "The name of the Kubernetes service account to associate with the IAM role."
28
- type = string
29
- default = "__APP_NAME__-sa"
30
- }
31
-
32
- ################################################################################
33
- # EKS Variables
34
- ################################################################################
35
-
36
- variable "cluster_name" {
37
- description = "EKS cluster name"
38
- type = string
39
- }
40
-
41
- variable "vpc_id" {
42
- description = "VPC ID where resources will be deployed"
43
- type = string
44
- }
45
-
46
- variable "subnet_ids" {
47
- description = "List of subnet IDs for resources"
48
- type = list(string)
49
- default = null
50
- }
51
-
52
- variable "subnet_tags" {
53
- description = "Tags for subnet selection"
54
- type = map(string)
55
- default = {
56
- "kubernetes.io/role/internal-elb" = "1"
57
- }
58
- }
59
-
60
- ################################################################################
61
- # Networking Variables
62
- ################################################################################
63
-
64
- variable "ingress_cidr_blocks" {
65
- description = "A map of security group names to a list of CIDR blocks to allow access from."
66
- type = map(list(string))
67
- default = {}
68
- }
69
-
70
- ################################################################################
71
- # RDS Variables
72
- ################################################################################
73
-
74
- variable "existing_rds_cluster_name" {
75
- description = "Name of existing RDS cluster to use (optional)"
76
- type = string
77
- default = null
78
- }
79
-
80
- variable "create_new_rds" {
81
- description = "Whether to create a new RDS cluster if existing_rds_cluster_name is not provided"
82
- type = bool
83
- default = true
84
- }
85
-
86
- variable "rds_engine_version" {
87
- description = "PostgreSQL engine version"
88
- type = string
89
- default = "16.8"
90
- }
91
-
92
- variable "rds_port" {
93
- description = "Port for RDS"
94
- type = number
95
- default = 5432
96
- }
97
-
98
- variable "rds_instance_class" {
99
- description = "RDS instance class"
100
- type = string
101
- default = "db.serverless"
102
- }
103
-
104
- ################################################################################
105
- # S3 Variables
106
- ################################################################################
107
-
108
- variable "s3_bucket_expiration_days" {
109
- description = "Number of days after which S3 objects expire (null to disable expiration)"
110
- type = number
111
- default = null
112
- }
113
-
114
- ################################################################################
115
- # EDW Variables
116
- ################################################################################
117
-
118
- variable "edw_allowed_principals" {
119
- description = "List of IAM principal ARNs allowed to assume the EDW secret reader role (e.g., SSO permission sets, IAM roles). Example: ['arn:aws:iam::123456789012:role/aws-reserved/sso.amazonaws.com/us-west-2/AWSReservedSSO_DbaPermissionSet_abc123']"
120
- type = list(string)
121
- default = []
122
- }
123
-
124
- variable "edw_vpc_cidr_blocks" {
125
- description = "List of CIDR blocks from EDW VPC to allow database access via VPC peering"
126
- type = list(string)
127
- default = []
128
- }
129
-