Skip to content

Commit 9bda370

Browse files
authored
TS boilerplate Common & ESM (#1031)
* TS boilerplate Common & ESM * fastify * TS boilerplate * suggestions from Yohan
1 parent 69cecfa commit 9bda370

21 files changed

+2381
-3
lines changed

.devcontainer/devcontainer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Repo owner - all projects",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-20",
77

88
// Features to add to the dev container. More info: https://containers.dev/features.
99
// "features": {},
@@ -12,15 +12,15 @@
1212
"forwardPorts": [7071],
1313

1414
// Use 'postCreateCommand' to run commands after the container is created.
15-
"postCreateCommand": "npm install -g azure-functions-core-tools@4.5611 --save-exact --unsafe-perm true",
15+
"postCreateCommand": "npm install -g azure-functions-core-tools@4.0.6610 --save-exact --unsafe-perm true",
1616
"features": {
1717
"ghcr.io/jsburckhardt/devcontainer-features/gitleaks:1": {},
1818
"ghcr.io/devcontainers/features/azure-cli:1": {}
1919
},
2020
"customizations": {
2121
"vscode": {
2222
"extensions": [
23-
"rvest.vs-code-prettier-eslint"
23+
"humao.rest-client"
2424
]
2525
}
2626
}

ts-boilerplate-common/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dist
2+
*.env
3+
node_modules
4+
.azure
5+
.DS_Store
6+
Thumbs.db
7+
*.log*
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GET http://localhost:3000/ HTTP/1.1
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
POST http://localhost:3000/api HTTP/1.1
2+
content-type: application/json
3+
4+
{
5+
"name": "sample",
6+
"time": "Wed, 21 Oct 2015 18:27:50 GMT"
7+
}

0 commit comments

Comments
 (0)