AWS CLI - maybe For deploying application.
.gitignore
with .env.dev
storing keys.VSCode - For IDE with Typescript.
Build an application with typescript. Learn Typescript
Learning
Small Application - Interact with the Node lib
Command Line Application - Build a simple CLI app with Gluegun
Simple Website - Render HTML with express.
Complex Website - Render HTML with Gatsby
Accomplished using Github Actions for free.
secrets
SLACK_WEBHOOK - this is for semantic-release to notify Slack. TRILOM_BOT_TOKEN - this is because some GH Actions require a non-action token to trigger certain sub-actions. NPM_TOKEN - this is a token to release our package to NPM.
.github/workflows/pr.yaml
will run.
This will:
build
- with yarn as a packager and tsc as a compilertest
- with jest using ts-jest as the preprocessor and jest-circus as a testRunner.lint
- with eslint using action-eslint this will lint and comment back to the PR if problems and not a fork.format
- with prettier and push back lint fixes if not a fork..github/workflows/release.yaml
will run if branch is master, next, alpha, or beta
.
This will:
build
- with yarn as a packager and tsc as a compilertest
- with jest using ts-jest as the preprocessor and jest-circus as a testRunner.release
- with semantic-release if triggered by:
fix
(1.0.X) - adding fix:
or fix(page): your message
to a git commit messagefeat
(1.X.0) - adding feat:
or feat(thing): your message
to a git commit messageperf BREAKING CHANGE
(X.0.1) - adding perf:
or perf(change): your message
to git commit message or BREAKING CHANGE:
to the git bodyyarn deploy --prod
this will deploy to prod. yarn deploy
will deploy a dev environment to your current AWS account.deploy
will to deploy the application to AWS using CDK.React/Gatsby