Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.1
24.10.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Build
FROM node:22.11.0-alpine3.20 AS build
FROM node:24.10.0-alpine3.22 AS build
ENV NO_UPDATE_NOTIFIER=true

USER node
Expand All @@ -13,7 +13,7 @@ RUN npm run build


### Deployment
FROM node:22.11.0-alpine3.20 AS deployment
FROM node:24.10.0-alpine3.22 AS deployment

ENV NO_UPDATE_NOTIFIER=true

Expand Down
12 changes: 12 additions & 0 deletions cfg/config_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@
"authorization": {
"client": null
},
"events": {
"kafka": {
"provider": "kafka",
"groupId": "restore-ordering-srv-test",
"kafka": {
"clientId": "restore-ordering-srv-test",
"brokers": [
"localhost:29092"
]
}
}
},
"server": {
"transports": [
{
Expand Down
13 changes: 13 additions & 0 deletions esbuild.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as esbuild from 'esbuild'
import { commonifierPlugin } from '@restorecommerce/dev'

await esbuild.build({
entryPoints: ['./src/start.ts'],
bundle: true,
platform: 'node',
outfile: 'lib/start.cjs',
minify: true,
treeShaking: true,
sourcemap: 'linked',
plugins: [commonifierPlugin],
});
Loading
Loading