-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started adding test suite. Started adding code for allowing users to …
…update and delete existing files (#22) and started refactoring to allow for multiple range headers (#16)
- Loading branch information
Showing
21 changed files
with
715 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"cSpell.words": ["Dockerized", "geotiff", "mbuffer", "mnemosyne", "noindex", "somisana", "Zarr"] | ||
"cSpell.words": [ | ||
"Dockerized", | ||
"geotiff", | ||
"keepalive", | ||
"mbuffer", | ||
"mnemosyne", | ||
"noindex", | ||
"somisana", | ||
"Zarr" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:20.3.0-alpine | ||
FROM node:20.3.1-alpine | ||
|
||
ARG TC=UTC | ||
ARG NODE_ENV=production | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,25 +5,30 @@ extensions = ['[email protected]:prettier'] | |
|
||
[[task]] | ||
name = 'start' | ||
env = { TZ='UTC', NODE_ENV='development'} | ||
deps = [ 'src/**/*.js' ] | ||
env = { TZ = 'UTC', NODE_ENV = 'development' } | ||
deps = ["test"] | ||
run = """ | ||
node \ | ||
--trace-warnings \ | ||
bin/mnemosyne.js \ | ||
--key TjWnZr4u7w!z%C*F-JaNdRgUkXp2s5v8 \ | ||
--login local \ | ||
--login username \ | ||
--login username2 \ | ||
--volume ./test \ | ||
--volume ./test/mnt1 \ | ||
--volume ./test/mnt2 | ||
--volume ./test-mnts \ | ||
--volume ./test-mnts/mnt1 \ | ||
--volume ./test-mnts/mnt2 | ||
""" | ||
|
||
[[task]] | ||
name = 'test' | ||
deps = ['src/**/*.js', "test/**/*.js"] | ||
run = "mocha" | ||
|
||
[[task]] | ||
name = 'lint' | ||
run = "eslint ." | ||
|
||
|
||
[[task]] | ||
name = 'prettier' | ||
template = 'prettier' | ||
|
@@ -44,4 +49,4 @@ find . \ | |
-name package-lock.json \ | ||
-type f \ | ||
-delete | ||
""" | ||
""" |
Oops, something went wrong.