Release v2.0.1
2.0.1 (2023-05-04)
👀 Notable Changes
config
- Remove loadEnvironmentVariables() function invocation from config/index.ts and move to server.ts
- Ensure environment variables are loaded before validating them.
Introduced in: e6955d1
🗃️ Commits
🐞 Bug Fixes
config:
🐛 move environment vars loading to server.ts e6955d1 by @navin-moorthy
♻️ Code Refactoring
env:
♻️ remove unused environment files and add dotenv configuration 2d2f2f0 by @navin-moorthy
🛠️ Build Updates
-
nvmrc:
🛠️ add .nvmrc file with LTS Node version 9fd338f by @navin-moorthy -
package.json:
🛠️ update build script with tsup-node dcc1fb2 by @navin-moorthy
📔 Documentation Changes
DEVELOPMENT.md:
📔 update instructions for starting development server c574f95 by @navin-moorthy
🔨 Maintenance Updates
-
.eslintrc.cjs:
💄 update ESLint configuration 7a17cc4 by @navin-moorthy -
config:
🧹 add ignoreDependencies option in knip and update tsconfig 61bc78d by @navin-moorthy -
cspell:
🧹 enable useGitignore in cspell.json 81543f4 by @navin-moorthy -
deps:
🧹 upgrade pnpm to version 8.4.0 64191da by @navin-moorthy -
git-config:
🧹 correct spelling mistake in git configuration description 06f123f by @navin-moorthy -
linting:
🧹 update ignore files 9dba94e by @navin-moorthy -
project-words:
🧹 add and update project-related words c18380a by @navin-moorthy -
release-it:
🧹 update release notes template 4c9d392 by @navin-moorthy -
vscode:
🛠️ add file associations and editor formatters for Dockerfile and Nginx files 810182a by @navin-moorthy
📌 Other Notable Changes
DEVELOPMENT md
- Change file path from
src/index.ts
tosrc/server.ts
for starting development server
Introduced in: c574f95
env
- Add a new config/index.ts file for loading the environment variables from a .env file.
- Add validateEnvironment variables function that validates the required environment variables.
- Use validateEnvironment variables to ensure the required env variables are available at runtime.
- Update index.ts to utilize the validate environment variables function.
- Replace usage of consola library with console.log to output 1 + 2.
Introduced in: 2d2f2f0