Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ca96ffc
Remove test file for index.ts
Mischback Oct 29, 2021
db344ef
Add dev dependency @types/node
Mischback Oct 29, 2021
2e8d19b
Add dependency tslog
Mischback Oct 29, 2021
b2c32b6
Add logging module
Mischback Oct 29, 2021
8f31a69
Create stub for srv4devMain()
Mischback Oct 29, 2021
048894e
Add dependency stdio
Mischback Oct 29, 2021
314d90f
Create stub for getConfig()
Mischback Oct 29, 2021
7ac07f3
Include debug and quiet modes
Mischback Oct 29, 2021
69f5c6a
Implement parsing of address
Mischback Oct 29, 2021
2c807a6
Implement parsing of port
Mischback Oct 29, 2021
7566f54
Update index.ts to behave like a cli
Mischback Oct 29, 2021
84280ad
Update name of the logger
Mischback Oct 29, 2021
98decf8
Use getConfig() in srv4devMain()
Mischback Oct 29, 2021
924e84f
Fix internal logic
Mischback Oct 30, 2021
08a058a
Create launchHttpServer()
Mischback Oct 30, 2021
73d0b12
Add config parameter webRoot
Mischback Oct 30, 2021
ad032d9
Add stub for getHandlerStaticFiles()
Mischback Oct 30, 2021
e1e9ba8
Add getRessourcePathByUrl()
Mischback Oct 30, 2021
510587b
Create 404 handler
Mischback Oct 30, 2021
fec2883
Create 200 handler
Mischback Oct 30, 2021
dd2841e
Add logging of response
Mischback Oct 31, 2021
9cc5b0d
Add tests for lauchHttpServer()
Mischback Nov 1, 2021
0e47967
Add test for getHandlerStaticFiles()
Mischback Nov 1, 2021
3e6766b
Remove Node 12.x from testing matrix
Mischback Nov 2, 2021
628978b
Add test for resource not found
Mischback Nov 3, 2021
7002df3
Add test for appending index.html
Mischback Nov 3, 2021
132d678
Add test for successful answer
Mischback Nov 3, 2021
34d79e7
Document lib/http.ts
Mischback Nov 3, 2021
3416465
Add dependency nodemon
Mischback Nov 3, 2021
0007c77
Fetch nodemon wrapper
Mischback Nov 3, 2021
c64edd2
Add config parameter nodemonConfig
Mischback Nov 3, 2021
0051fc9
Apply nodemon to srv4devMain()
Mischback Nov 3, 2021
2e04d76
Fix http test suite
Mischback Nov 3, 2021
f2d7995
Add tests for launchNodemon()
Mischback Nov 3, 2021
e44b999
Clean nodemon test suite
Mischback Nov 3, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]

runs-on: ${{ matrix.os }}

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ node_modules
# don't track coverage information
# (see .jestrc.ci.json)
**/.coverage

# don't track the internal nodemon configuration
nodemon.json
Loading