-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to update devDependencies to latest versions #104
- Loading branch information
Showing
11 changed files
with
8,232 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fly.toml | ||
Dockerfile | ||
.dockerignore | ||
node_modules | ||
.git |
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 |
---|---|---|
|
@@ -27,4 +27,3 @@ node_modules | |
# Users Environment Variables | ||
.lock-wscript | ||
example/lib/db | ||
package-lock.json |
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
.nyc_output/processinfo/5af5752a-8fef-46d9-9174-1acf5f51b9f8.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"parent":null,"pid":23804,"argv":["/usr/local/bin/node","/Users/n/code/learn-json-web-tokens/node_modules/.bin/tape","./example/test/functional.js"],"execArgv":[],"cwd":"/Users/n/code/learn-json-web-tokens","time":1675864649664,"ppid":23801,"coverageFilename":"/Users/n/code/learn-json-web-tokens/.nyc_output/5af5752a-8fef-46d9-9174-1acf5f51b9f8.json","externalId":"","uuid":"5af5752a-8fef-46d9-9174-1acf5f51b9f8","files":["/Users/n/code/learn-json-web-tokens/example/test/functional.js","/Users/n/code/learn-json-web-tokens/example/lib/helpers.js","/Users/n/code/learn-json-web-tokens/example/test/mock.js"]} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"processes":{"5af5752a-8fef-46d9-9174-1acf5f51b9f8":{"parent":null,"children":[]}},"files":{"/Users/n/code/learn-json-web-tokens/example/test/functional.js":["5af5752a-8fef-46d9-9174-1acf5f51b9f8"],"/Users/n/code/learn-json-web-tokens/example/lib/helpers.js":["5af5752a-8fef-46d9-9174-1acf5f51b9f8"],"/Users/n/code/learn-json-web-tokens/example/test/mock.js":["5af5752a-8fef-46d9-9174-1acf5f51b9f8"]},"externalIds":{}} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM debian:bullseye as builder | ||
|
||
ARG NODE_VERSION=18.12.1 | ||
|
||
RUN apt-get update; apt install -y curl python-is-python3 pkg-config build-essential | ||
RUN curl https://get.volta.sh | bash | ||
ENV VOLTA_HOME /root/.volta | ||
ENV PATH /root/.volta/bin:$PATH | ||
RUN volta install node@${NODE_VERSION} | ||
|
||
####################################################################### | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
# NPM will not install any package listed in "devDependencies" when NODE_ENV is set to "production", | ||
# to install all modules: "npm install --production=false". | ||
# Ref: https://docs.npmjs.com/cli/v9/commands/npm-install#description | ||
|
||
ENV NODE_ENV production | ||
|
||
COPY . . | ||
|
||
RUN npm install | ||
FROM debian:bullseye | ||
|
||
LABEL fly_launch_runtime="nodejs" | ||
|
||
COPY --from=builder /root/.volta /root/.volta | ||
COPY --from=builder /app /app | ||
|
||
WORKDIR /app | ||
ENV NODE_ENV production | ||
ENV PATH /root/.volta/bin:$PATH | ||
|
||
CMD [ "npm", "run", "start" ] |
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# fly.toml file generated for learn-jwt on 2023-02-08T13:49:12Z | ||
|
||
app = "learn-jwt" | ||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
processes = [] | ||
|
||
[env] | ||
|
||
[experimental] | ||
auto_rollback = true | ||
|
||
[[services]] | ||
http_checks = [] | ||
internal_port = 8080 | ||
processes = ["app"] | ||
protocol = "tcp" | ||
script_checks = [] | ||
[services.concurrency] | ||
hard_limit = 25 | ||
soft_limit = 20 | ||
type = "connections" | ||
|
||
[[services.ports]] | ||
force_https = true | ||
handlers = ["http"] | ||
port = 80 | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
port = 443 | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "1s" | ||
interval = "15s" | ||
restart_limit = 0 | ||
timeout = "2s" |
Oops, something went wrong.