mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(typescript): Use consistent typescript configs - N8N-4552 (#4049)
fix(typescript): Use consistent typescript configs make all packages inherit tsconfig from the root tsconfig skips building tests. reformat all tsconfigs with prettier.
This commit is contained in:
committed by
GitHub
parent
2c7ef1e550
commit
9267e8fb12
@@ -7,7 +7,7 @@ RUN \
|
||||
apk --no-cache add git && \
|
||||
npm install -g run-script-os turbo
|
||||
|
||||
COPY turbo.json package.json package-lock.json ./
|
||||
COPY turbo.json package.json package-lock.json tsconfig.json ./
|
||||
COPY packages ./packages
|
||||
|
||||
RUN chown -R node:node .
|
||||
@@ -21,7 +21,7 @@ RUN \
|
||||
# TODO: removing dev dependecies is deleting `bn.js`, which breaks the Snowflake node
|
||||
npm prune --omit=dev && \
|
||||
npm i --omit=dev bn.js && \
|
||||
find . -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" | xargs rm &&\
|
||||
find . -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" -o -name "tsconfig.json" | xargs rm &&\
|
||||
rm -rf node_modules/.cache packages/*/node_modules/.cache packages/*/.turbo .config .npm /tmp/*
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user