-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
151 changed files
with
11,917 additions
and
7,061 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 |
---|---|---|
|
@@ -5,4 +5,4 @@ node_modules/ | |
vitest.config.ts | ||
vitest.config.test.ts | ||
libs/ | ||
_project/frontend-nuxt | ||
_project/frontend |
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
const makeBase = require("./.eslintrc.base") | ||
const base = makeBase(__dirname, true, "tsconfig.all2.json") | ||
const base = makeBase(__dirname, undefined, "tsconfig.all2.json") | ||
module.exports = { | ||
root: true, | ||
...base, | ||
plugins: base.plugins.concat(["formatjs"]), | ||
rules: { | ||
...base.rules, | ||
'codegen/codegen': ['error', { presets: require('@effect-app/eslint-codegen-model') }], | ||
"@typescript-eslint/no-empty-interface": "off" | ||
}, | ||
} |
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,11 @@ | ||
const makeBase = require("./.eslintrc.base") | ||
module.exports = (...args) => { | ||
const base = makeBase(...args) | ||
return {...base, | ||
plugins: base.plugins.concat(["formatjs"]), | ||
rules: { | ||
...base.rules, | ||
'codegen/codegen': ['error', { presets: require('@effect-app/eslint-codegen-model') }], | ||
"@typescript-eslint/no-empty-interface": "off" | ||
},} | ||
} |
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,12 +1,6 @@ | ||
const makeBase = require("./.eslintrc.base") | ||
const base = makeBase(__dirname, undefined, "tsconfig.packages.json") | ||
const makeBase = require("./.eslintrc.packages.base.cjs") | ||
const base = makeBase(__dirname, true, "tsconfig.packages.json") | ||
module.exports = { | ||
root: true, | ||
...base, | ||
plugins: base.plugins.concat(["formatjs"]), | ||
rules: { | ||
...base.rules, | ||
'codegen/codegen': ['error', { presets: require('@effect-app/eslint-codegen-model') }], | ||
"@typescript-eslint/no-empty-interface": "off" | ||
}, | ||
...base | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -23,6 +23,9 @@ _cjs/ | |
_mjs/ | ||
_esm/ | ||
|
||
.data/ | ||
.data.*/ | ||
|
||
|
||
# CMake | ||
cmake-build-*/ | ||
|
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 +1 @@ | ||
v18.13.0 | ||
20.10.0 |
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
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,45 @@ | ||
FROM node:20-alpine | ||
|
||
RUN npm i -g pnpm | ||
|
||
# Install CUPS/AVAHI | ||
RUN apk update --no-cache && apk add --no-cache cups cups-filters avahi inotify-tools | ||
|
||
WORKDIR /app | ||
|
||
# pnpm fetch does require only lockfile | ||
COPY patches ./patches | ||
COPY pnpm-lock.yaml .npmrc ./ | ||
RUN pnpm fetch --prod | ||
|
||
COPY package.json pnpm-workspace.yaml ./ | ||
|
||
COPY _project/models/package.json ./_project/models/ | ||
COPY _project/resources/package.json ./_project/resources/ | ||
COPY _project/messages/package.json ./_project/messages/ | ||
#COPY _project/core/package.json ./_project/core/ | ||
COPY _project/api/package.json ./_project/api/ | ||
|
||
# As we're going to deploy, we want only the minimal production dependencies. | ||
# TODO | ||
RUN pnpm install --frozen-lockfile --prod | ||
#RUN --mount=type=cache,target=/root/.pnpm pnpm_CACHE_FOLDER=/root/.pnpm pnpm install --frozen-lockfile --prod | ||
|
||
COPY _project/models/dist ./_project/models/dist | ||
COPY _project/resources/dist ./_project/resources/dist | ||
COPY _project/messages/dist ./_project/messages/dist | ||
#COPY _project/core/dist ./_project/core/dist | ||
COPY _project/api/dist ./_project/api/dist | ||
|
||
#COPY data ./data | ||
|
||
WORKDIR /app/_project/api | ||
ENV NODE_ENV production | ||
EXPOSE 3610 | ||
ENV PORT=3610 | ||
ENV TZ=Europe/Berlin | ||
ARG API_VERSION | ||
ENV API_VERSION=${API_VERSION:-docker_default} | ||
ENV SENTRY_RELEASE=${API_VERSION:-docker_default} | ||
|
||
CMD ["pnpm", "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.github | ||
.data | ||
.git | ||
.vscode | ||
.idea | ||
Dockerfile | ||
Dockerfile.* | ||
node_modules | ||
**/node_modules | ||
*.log | ||
docs | ||
#**/dist | ||
**/.env.local | ||
_project/frontend |
Oops, something went wrong.