chore: refactor workspace

This commit is contained in:
iCrawl
2023-05-03 02:14:22 +02:00
parent c429763be8
commit 7e875f6919
129 changed files with 1662 additions and 1371 deletions

View File

@@ -1,8 +1,8 @@
# Packages
node_modules/
node_modules
# Log files
logs/
logs
*.log
npm-debug.log*
@@ -15,18 +15,8 @@ pids
.env
# Dist
dist/
typings/
docs/**/*
!docs/index.yml
!docs/README.md
dist
# Miscellaneous
.tmp/
coverage/
tsconfig.tsbuildinfo
.turbo
# Yarn files
.yarn/install-state.gz
.yarn/build-state.yml
.tmp

View File

@@ -1,8 +1,2 @@
# Autogenerated
CHANGELOG.md
.turbo
dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
dist

View File

@@ -1,4 +1,4 @@
FROM node:16-alpine as builder
FROM node:18-alpine AS builder
RUN apk update
RUN apk add --no-cache libc6-compat
@@ -10,7 +10,7 @@ COPY manifests .
RUN yarn install --immutable
RUN rm -rf .yarn/cache
FROM node:16-alpine AS runner
FROM node:18-alpine AS runner
WORKDIR /usr/proxy
@@ -18,7 +18,7 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 proxy
USER proxy
COPY --from=installer /usr/proxy .
COPY --from=builder /usr/proxy .
COPY packs .
CMD ["node", "--enable-source-maps", "dist/index.js"]

View File

@@ -52,10 +52,11 @@
"@types/node": "16.18.25",
"cross-env": "^7.0.3",
"eslint": "^8.39.0",
"eslint-config-neon": "^0.1.42",
"eslint-config-neon": "^0.1.46",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^2.8.8",
"tsup": "^6.7.0",
"turbo": "^1.9.4-canary.7",
"typescript": "^5.0.4"
},
"engines": {