Skip to content
Merged

Cli #407

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# AWS Amplify
NEXT_PUBLIC_S3_URL="YOU BUCKET URL"
BUCKET_NAME="YOU BUCKET NAME"
NEXT_PUBLIC_AWS_REGION="YOU AWS REGION"
BUCKET_NAME="YOU BUCKET NAME"
AWS_REGION="YOU AWS REGION"
APP_ENV="development"
CLOUDFRONT_MULTI_TENANT_DISTRIBUTION_ID="YOU CLOUDFRONT MULTI TENANT DISTRIBUTION ID"
NEXT_PUBLIC_APP_ENV="development"
CLOUDFRONT_DISTRIBUTION_ID="YOU CLOUDFRONT DISTRIBUTION ID"
JWT_SECRET="YOU JWT KEY"
SES_FROM_EMAIL="YOU EMAIL FROM SES"
SES_REPLY_TO_EMAIL="YOU EMAIL FROM REPLY SES"
LAMBDA_EMAIL_BULK="YOU LAMBDA FOR EMAILS"
CLOUDFRONT_KEY_PAIR_ID="YOU CLOUDFRONT KEY"
CLOUDFRONT_PRIVATE_KEY="YOU CLOUDFRONT PRIVATE KEY"
APP_URL=MIAPP.COM
ANALYTICS_WEBHOOK_JWT_SECRET=YOU GENERATE API KEY
ANALYTICS_WEBHOOK_JWT_SECRET="YOU GENERATE API KEY"
# Desarrollo
APP_ENV=development
NEXT_PUBLIC_APP_ENV=development
TEMPLATES_DEV_ROOT=packages/example-themes/fasttify/theme
DEV_CACHE_ENABLED=true
DEV_CACHE_ENABLED=true
POLAR_ACCESS_TOKEN=YOU POLAR ACCESS TOKEN
POLAR_WEBHOOK_SECRET=YOU POLAR WEBHOOK SECRET
POLAR_ORGANIZATION_ID=YOU POLAR ORGANIZATION ID
SUCCESS_URL=YOU SUCCESS URL
USER_POOL_ID=YOU USER POOL ID
RUST_BACKTRACE=1x
27 changes: 16 additions & 11 deletions docs/architecture/development-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,26 @@ Crea un archivo `.env.local` en la raíz del proyecto:

```bash
# AWS Amplify
NEXT_PUBLIC_S3_URL="https://tu-bucket.s3.amazonaws.com"
NEXT_PUBLIC_AWS_REGION="us-east-1"
BUCKET_NAME="fasttify-assets-bucket"
AWS_REGION="us-east-1"
CLOUDFRONT_MULTI_TENANT_DISTRIBUTION_ID="E1234567890ABC"
CLOUDFRONT_DISTRIBUTION_ID="E0987654321XYZ"
JWT_SECRET="tu-super-secreto-jwt-cambia-en-produccion"
LAMBDA_EMAIL_BULK="bulk-email-api-dev"
ANALYTICS_WEBHOOK_JWT_SECRET="tu-analytics-webhook-secret"

NEXT_PUBLIC_S3_URL="YOU BUCKET URL"
NEXT_PUBLIC_AWS_REGION="YOU AWS REGION"
BUCKET_NAME="YOU BUCKET NAME"
AWS_REGION="YOU AWS REGION"
CLOUDFRONT_MULTI_TENANT_DISTRIBUTION_ID="YOU CLOUDFRONT MULTI TENANT DISTRIBUTION ID"
CLOUDFRONT_DISTRIBUTION_ID="YOU CLOUDFRONT DISTRIBUTION ID"
JWT_SECRET="YOU JWT KEY"
LAMBDA_EMAIL_BULK="YOU LAMBDA FOR EMAILS"
ANALYTICS_WEBHOOK_JWT_SECRET="YOU GENERATE API KEY"
# Desarrollo
NODE_ENV=development
APP_ENV=development
NEXT_PUBLIC_APP_ENV=development
TEMPLATES_DEV_ROOT=packages/example-themes/fasttify/theme
DEV_CACHE_ENABLED=true
POLAR_ACCESS_TOKEN=YOU POLAR ACCESS TOKEN
POLAR_WEBHOOK_SECRET=YOU POLAR WEBHOOK SECRET
POLAR_ORGANIZATION_ID=YOU POLAR ORGANIZATION ID
SUCCESS_URL=YOU SUCCESS URL
USER_POOL_ID=YOU USER POOL ID
RUST_BACKTRACE=1x

```

Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
]
},
"dependencies": {
"@aws-amplify/adapter-nextjs": "^1.6.6",
"@aws-amplify/data-schema-types": "^1.2.0",
"@aws-amplify/graphql-api-construct": "^1.20.3",
"@aws-amplify/adapter-nextjs": "^1.7.2",
"@aws-amplify/data-schema-types": "^1.2.1",
"@aws-amplify/graphql-api-construct": "^1.21.0",
"@aws-appsync/utils": "^2.0.3",
"@aws-sdk/client-acm": "^3.844.0",
"@aws-sdk/client-apigatewaymanagementapi": "^3.929.0",
Expand Down Expand Up @@ -103,7 +103,7 @@
"@shopify/react-form": "^2.7.3",
"@tailwindcss/postcss": "^4.1.8",
"@tanstack/react-query": "^5.82.0",
"aws-amplify": "^6.15.3",
"aws-amplify": "^6.16.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dotenv": "^17.2.0",
Expand All @@ -112,7 +112,7 @@
"gsap": "^3.13.0",
"input-otp": "^1.4.2",
"jsonwebtoken": "^9.0.3",
"liquidjs": "^10.21.1",
"liquidjs": "^10.25.0",
"lucide-react": "^0.525.0",
"motion": "^12.23.1",
"next": "16.1.5",
Expand All @@ -129,7 +129,7 @@
"rehype-highlight": "^7.0.2",
"remark-gfm": "^4.0.1",
"styled-components": "^6.1.19",
"swiper": "^11.2.10",
"swiper": "^12.1.2",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"uuid": "^11.1.0",
Expand All @@ -139,8 +139,8 @@
"zustand": "^5.0.6"
},
"devDependencies": {
"@aws-amplify/backend": "^1.16.1",
"@aws-amplify/backend-cli": "^1.8.0",
"@aws-amplify/backend": "^1.21.0",
"@aws-amplify/backend-cli": "^1.8.2",
"@aws-lambda-powertools/logger": "^2.23.0",
"@aws-sdk/client-cognito-identity-provider": "^3.844.0",
"@eslint/eslintrc": "^3.3.1",
Expand Down Expand Up @@ -180,6 +180,7 @@
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"tailwindcss": "^3.4.17",
"ts-node": "^10.9.2",
"tsx": "^4.20.3",
"turbo": "^2.5.8",
"typescript": "^5.8.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/liquid-forge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@aws-sdk/lib-storage": "^3.903.0",
"autoprefixer": "^10.4.21",
"dotenv": "^17.2.0",
"liquidjs": "^10.21.1",
"liquidjs": "^10.25.0",
"node-cache": "^5.1.2",
"postcss": "^8.5.6",
"uuid": "^11.1.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/liquid-forge/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"outDir": "./dist",
"baseUrl": "./",
"paths": {
"@/*": ["./*"],
"@/*": ["../../src/*"],
"@/liquid-forge/*": ["./*"],
"@/utils/*": ["../../utils/*"],
"@/lib/*": ["../../lib/*"],
"@/utils/*": ["../../src/utils/*"],
"@/lib/*": ["../../src/lib/*"],
"@/amplify/*": ["../../amplify/*"],
"@/data-schema": ["../../amplify/data/resource"],
"@/amplify_outputs.json": ["../../amplify_outputs.json"],
"@/liquid-forge/dist/*": ["./dist/*"],
"@/api/*": ["../../app/api/*"]
"@/api/*": ["../../src/app/api/*"]
},
"target": "ES2020",
"lib": ["ES2020", "DOM"],
Expand Down
Loading
Loading