Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aerie Action Server #1634

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 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
1 change: 1 addition & 0 deletions action-server/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.13.1
7 changes: 7 additions & 0 deletions action-server/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/node_modules/
/dist/
/build/
/artifacts/
/coverage/
/pnpm-lock.yaml
.git/
1 change: 1 addition & 0 deletions action-server/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
13 changes: 13 additions & 0 deletions action-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:22.13.1-bookworm-slim

# Install jemalloc
RUN apt-get update \
&& apt-get install --no-install-recommends -y libjemalloc-dev

# Set the path for jemalloc
RUN echo "/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so" >> /etc/ld.so.preload

# Set working directory
COPY . /app
WORKDIR /app
CMD [ "npm", "start" ]
13 changes: 13 additions & 0 deletions action-server/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:22.13.1-bookworm-slim

# Install jemalloc
RUN apt-get update \
&& apt-get install --no-install-recommends -y libjemalloc-dev

# Set the path for jemalloc
RUN echo "/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so" >> /etc/ld.so.preload

# Set working directory
COPY . /app
WORKDIR /app
CMD [ "npm","run", "dev" ]
26 changes: 26 additions & 0 deletions action-server/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
plugins {
id 'com.github.node-gradle.node' version '5.0.0'
}

node {
version = '22.13.1'
download = true
}

task assemble(type: NpmTask) {
dependsOn npmInstall
args = ['--silent', 'run', 'build']
}

task build {
dependsOn assemble
}

task clean(type: Delete) {
delete 'build'
}

task e2eTest(type: NpmTask) {
dependsOn npmInstall
args = ['--silent', 'run', 'test']
}
20 changes: 20 additions & 0 deletions action-server/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { sheriff, tseslint } from 'eslint-config-sheriff';

const sheriffOptions = {
"react": false,
"lodash": false,
"remeda": false,
"next": false,
"astro": false,
"playwright": false,
"jest": false,
"vitest": false
};

export default tseslint.config(sheriff(sheriffOptions),
{
rules: {
"@typescript-eslint/no-explicit-any": ["off"]
},
},
);
Loading
Loading