Skip to content

Conversation

VladSemenik
Copy link
Owner

No description provided.

"lint": "eslint --ignore-path .gitignore --fix src",
"prettier": "prettier src --write"
"prettier": "prettier src --write",
"deploy": "npm run build && cdk bootstrap && cdk deploy"
Copy link

@IgorBarbashov IgorBarbashov Jun 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't run cdk bootstrap every time when you build or deploy your app. It must be run once during configure environment for deploy to AWS.
Also you should add npm script to destroy AWS doplyments.

"@typescript-eslint/parser": "^5.30.5",
"@vitejs/plugin-react": "^1.3.2",
"@vitest/ui": "^0.18.0",
"aws-cdk-lib": "^2.145.0",
Copy link

@IgorBarbashov IgorBarbashov Jun 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's recommended to configure AWS deployment environment in the separate folder to avoid conflicts between project's and deployment's dependencies.

@VladSemenik VladSemenik merged commit 87fdafc into main Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants