fix(): Add network timeout to all yarn installs

Bump image-size from 1.2.0 to 1.2.1 (#4567)

Bumps [image-size](https://github.com/image-size/image-size) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](https://github.com/image-size/image-size/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: image-size
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix(): Add network timeout to all yarn installs

fix(): remove node-buffer

Bump brace-expansion from 1.1.11 to 1.1.12 in /pkg/admin (#4593)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @babel/runtime-corejs3 from 7.26.0 to 7.28.2 (#4592)

Bumps [@babel/runtime-corejs3](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime-corejs3) from 7.26.0 to 7.28.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.2/packages/babel-runtime-corejs3)

---
updated-dependencies:
- dependency-name: "@babel/runtime-corejs3"
  dependency-version: 7.28.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump next from 13.5.8 to 14.2.30 (#4591)

Bumps [next](https://github.com/vercel/next.js) from 13.5.8 to 14.2.30.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.5.8...v14.2.30)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 14.2.30
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump axios from 0.27.2 to 0.30.0 (#4590)

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 0.30.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.30.0/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v0.30.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 0.30.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @babel/runtime from 7.14.6 to 7.28.2 in /pkg/admin (#4589)

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.14.6 to 7.28.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.2/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.28.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @radix-ui/react-separator from 0.1.4 to 1.1.6 (#4579)

Bumps [@radix-ui/react-separator](https://github.com/radix-ui/primitives) from 0.1.4 to 1.1.6.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-separator"
  dependency-version: 1.1.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump http-proxy-middleware from 2.0.7 to 2.0.9 (#4574)

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @babel/helpers from 7.14.6 to 7.28.2 in /pkg/admin (#4594)

Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.14.6 to 7.28.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.2/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.28.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump pg and @types/pg (#4547)

Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) and [@types/pg](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg). These dependencies needed to be updated together.

Updates `pg` from 8.13.1 to 8.13.3
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.13.3/packages/pg)

Updates `@types/pg` from 8.11.10 to 8.11.11
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/pg"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @graphql-tools/utils from 9.2.1 to 10.8.6 (#4560)

Bumps [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils) from 9.2.1 to 10.8.6.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/utils/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/utils@10.8.6/packages/utils)

---
updated-dependencies:
- dependency-name: "@graphql-tools/utils"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(): update versions

chore(): remove unused workload

fix(): kbar dependency

fix(): kbar dependency

chore(): fix packages

fix(): dependencies

fix(): dependencies

fix(): dependencies

fix(): dependencies api

fix(): dependencies api

fix(): dependencies api

chore(): fix order of github

fix(): fix tsconfig for liqe
This commit is contained in:
Thomas Rogers 2025-07-29 12:11:08 +02:00
parent 61d161a2c2
commit 89e78b377d
55 changed files with 4020 additions and 3561 deletions

View file

@ -2,7 +2,7 @@ name: Build Docker Images
on:
push:
branches:
- main
- master
paths-ignore:
- 'apple/**'
- 'android/**'

View file

@ -34,6 +34,26 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push backend
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/omnivore-app/sh-backend:latest
file: packages/api/Dockerfile
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-backend:cache
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-backend:cache,mode=max
- name: Build and push queue-processor
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/omnivore-app/sh-queue-processor:latest
file: packages/api/queue-processor/Dockerfile
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-queue-processor:cache
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-queue-processor:cache,mode=max
- name: Build and push web
uses: docker/build-push-action@v6
with:
@ -85,26 +105,6 @@ jobs:
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:cache
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:cache,mode=max
- name: Build and push backend
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/omnivore-app/sh-backend:latest
file: packages/api/Dockerfile
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-backend:cache
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-backend:cache,mode=max
- name: Build and push queue-processor
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/omnivore-app/sh-queue-processor:latest
file: packages/api/queue-processor/Dockerfile
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-queue-processor:cache
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-queue-processor:cache,mode=max

View file

@ -64,7 +64,7 @@ jobs:
- name: Install dependencies
run: |
source ~/.nvm/nvm.sh
yarn install --frozen-lockfile
yarn install --frozen-lockfile --network-timeout=300000
- name: Database Migration
run: |
psql -h localhost -p ${{ job.services.postgres.ports[5432] }} -U postgres -c "CREATE USER app_user WITH ENCRYPTED PASSWORD 'app_pass';"
@ -97,19 +97,3 @@ jobs:
PG_LOGGER: debug
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}
MQ_REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}
build-docker-images:
name: Build docker images
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build the API docker image
run: 'docker build --file packages/api/Dockerfile .'
- name: Build the content-fetch docker image
run: 'docker build --file packages/content-fetch/Dockerfile .'
- name: Build the inbound-email-handler docker image
run: 'docker build --file packages/inbound-email-handler/Dockerfile .'
- name: Build the tts docker image
run: 'docker build --file packages/text-to-speech/Dockerfile .'

View file

@ -33,7 +33,8 @@
"graphql-tag": "^2.11.0",
"lerna": "^7.4.1",
"prettier": "^2.5.1",
"typescript": "5.7.3"
"typescript": "5.7.3",
"@types/node": "24.1.0"
},
"volta": {
"node": "18.16.1",

View file

@ -14,14 +14,14 @@ RUN find packages -mindepth 1 -type d \
! -regex '^packages/\(api\|readabilityjs\|text-to-speech\|content-handler\|liqe\|utils\)\(/.*\)?' \
-exec rm -rf {} +
RUN yarn install --pure-lockfile && \
RUN yarn install --pure-lockfile --network-timeout=300000 && \
yarn workspace @omnivore/utils build && \
yarn workspace @omnivore/text-to-speech-handler build && \
yarn workspace @omnivore/content-handler build && \
yarn workspace @omnivore/liqe build && \
yarn workspace @omnivore/api build && \
rm -rf /app/packages/api/node_modules /app/node_modules && \
yarn install --pure-lockfile --production
yarn install --pure-lockfile --production --network-timeout=300000
FROM node:22.12-alpine AS runner

View file

@ -24,7 +24,7 @@
"@google-cloud/pubsub": "^4.0.0",
"@google-cloud/storage": "^7.0.1",
"@google-cloud/tasks": "^4.0.0",
"@graphql-tools/utils": "^9.1.1",
"@graphql-tools/utils": "^10.8.6",
"@langchain/anthropic": "^0.1.16",
"@langchain/openai": "^0.0.14",
"@notionhq/client": "^2.2.14",
@ -54,7 +54,7 @@
"apollo-datasource": "^3.3.1",
"apollo-server-express": "^3.6.3",
"archiver": "^7.0.1",
"axios": "^0.27.2",
"axios": "^0.30.0",
"bcryptjs": "^2.4.3",
"bullmq": "^5.1.1",
"compression": "^1.7.4",
@ -150,6 +150,7 @@
"@types/mocha": "^8.2.2",
"@types/nanoid": "^3.0.0",
"@types/nodemailer": "^6.4.4",
"@types/node": "24.1.0",
"@types/oauth": "^0.9.1",
"@types/private-ip": "^1.0.0",
"@types/sanitize-html": "^1.27.1",

View file

@ -18,7 +18,7 @@ COPY /packages/content-handler/package.json ./packages/content-handler/package.j
COPY /packages/liqe/package.json ./packages/liqe/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/readabilityjs ./packages/readabilityjs
ADD /packages/api ./packages/api
@ -36,7 +36,7 @@ RUN yarn workspace @omnivore/api build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/api/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
FROM node:22.12 as runner
LABEL org.opencontainers.image.source="https://github.com/omnivore-app/omnivore"

View file

@ -4,7 +4,9 @@
"files": true
},
"compilerOptions": {
"outDir": "dist"
"outDir": "dist",
"types": ["node"],
"esModuleInterop": true
},
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": ["./src/generated"]

View file

@ -22,7 +22,7 @@ COPY /packages/content-handler/package.json ./packages/content-handler/package.j
COPY /packages/puppeteer-parse/package.json ./packages/puppeteer-parse/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
COPY /packages/content-fetch ./packages/content-fetch
COPY /packages/content-handler ./packages/content-handler
@ -34,7 +34,8 @@ RUN yarn workspace @omnivore/utils build && \
yarn workspace @omnivore/puppeteer-parse build && \
yarn workspace @omnivore/content-fetch build && \
rm -rf /app/packages/content-fetch/node_modules /app/node_modules && \
yarn install --pure-lockfile --production
yarn install --pure-lockfile --production --network-timeout=300000
# Running stage
FROM node:22.12-alpine
@ -70,4 +71,4 @@ COPY /packages/content-fetch/start.sh .
RUN wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts && \
chmod +x start.sh
CMD ["./start.sh"]
CMD ["./start.sh"]

View file

@ -10,7 +10,7 @@
"@google-cloud/storage": "^7.0.1",
"@omnivore/puppeteer-parse": "^1.0.0",
"@omnivore/utils": "1.0.0",
"axios": "^0.27.2",
"axios": "^0.30.0",
"bullmq": "^5.1.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",

View file

@ -32,7 +32,7 @@
"dependencies": {
"@omnivore/utils": "1.0.0",
"addressparser": "^1.0.1",
"axios": "^0.27.2",
"axios": "^0.30.0",
"linkedom": "^0.14.16",
"lodash": "^4.17.21",
"luxon": "^3.0.4",

View file

@ -16,7 +16,7 @@ export class TDotCoHandler extends ContentHandler {
return axios
.get(url, { maxRedirects: 0, validateStatus: null })
.then((res) => {
return new URL(res.headers.location).href
return new URL(res.headers.location!).href
})
.catch((err) => {
console.log('err with t.co url', err)

View file

@ -14,7 +14,8 @@ COPY /packages/discover/src ./packages/discover/src
COPY /packages/discover/package.json ./packages/discover/package.json
COPY /packages/discover/tsconfig.json ./packages/discover/tsconfig.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
RUN yarn workspace @omnivore/discover build
FROM node:22.12 as runner

View file

@ -12,7 +12,8 @@ COPY tsconfig.json .
COPY /packages/export-handler/package.json ./packages/export-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
COPY /packages/export-handler ./packages/export-handler
RUN yarn workspace @omnivore/export-handler build
@ -20,7 +21,8 @@ RUN yarn workspace @omnivore/export-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/export-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -15,7 +15,8 @@ COPY /packages/imap-mail-watcher/package.json ./packages/imap-mail-watcher/packa
COPY /packages/imap-mail-watcher/tsconfig.json ./packages/imap-mail-watcher/tsconfig.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/utils ./packages/utils

View file

@ -15,7 +15,8 @@ COPY /packages/readabilityjs/package.json ./packages/readabilityjs/package.json
COPY /packages/import-handler/package.json ./packages/import-handler/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/utils ./packages/utils
ADD /packages/import-handler ./packages/import-handler
@ -26,7 +27,8 @@ RUN yarn workspace @omnivore/import-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/import-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -15,7 +15,8 @@ COPY /packages/readabilityjs/package.json ./packages/readabilityjs/package.json
COPY /packages/import-handler/package.json ./packages/import-handler/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/import-handler ./packages/import-handler
ADD /packages/readabilityjs ./packages/readabilityjs
@ -26,7 +27,8 @@ RUN yarn workspace @omnivore/import-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/import-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -13,7 +13,8 @@ COPY /packages/inbound-email-handler/package.json ./packages/inbound-email-handl
COPY /packages/content-handler/package.json ./packages/content-handler/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/inbound-email-handler ./packages/inbound-email-handler
ADD /packages/content-handler ./packages/content-handler
@ -25,7 +26,8 @@ RUN yarn workspace @omnivore/inbound-email-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/inbound-email-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -10,7 +10,8 @@ COPY .eslintrc .
COPY /packages/integration-handler/package.json ./packages/integration-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
COPY /packages/integration-handler ./packages/integration-handler
RUN yarn workspace @omnivore/integration-handler build
@ -18,7 +19,8 @@ RUN yarn workspace @omnivore/integration-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/integration-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -10,7 +10,8 @@ COPY .eslintrc .
COPY /packages/integration-handler/package.json ./packages/integration-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
COPY /packages/integration-handler ./packages/integration-handler
RUN yarn workspace @omnivore/integration-handler build
@ -18,7 +19,8 @@ RUN yarn workspace @omnivore/integration-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/integration-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -13,6 +13,7 @@
"outDir": "dist",
"skipLibCheck": true,
"strict": true,
"types": ["node"],
"target": "es5"
},
"exclude": [
@ -23,4 +24,4 @@
"src",
"test"
]
}
}

View file

@ -15,7 +15,8 @@ COPY /packages/local-mail-watcher/package.json ./packages/local-mail-watcher/pac
COPY /packages/local-mail-watcher/tsconfig.json ./packages/local-mail-watcher/tsconfig.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/utils ./packages/utils

View file

@ -15,7 +15,8 @@ COPY /packages/local-mail-watcher/package.json ./packages/local-mail-watcher/pac
COPY /packages/local-mail-watcher/tsconfig.json ./packages/local-mail-watcher/tsconfig.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/utils ./packages/utils

View file

@ -2,11 +2,6 @@
* Utility functions for handling base64 encoding/decoding
*/
// Node.js Buffer is globally available
// Only import type information - no runtime import
// This will be removed during compilation
import type {} from '../types/node-buffer';
/**
* Decodes a base64 string to UTF-8 text
* Uses Node.js Buffer with type safety

View file

@ -4,6 +4,7 @@
"include": ["./src/**/*"],
"compilerOptions": {
"outDir": "dist",
"types": [],
"typeRoots": ["./../../node_modules/pgvector/types"]
}
}

View file

@ -12,7 +12,7 @@ COPY .eslintrc .
COPY /packages/pdf-handler/package.json ./packages/pdf-handler/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/pdf-handler ./packages/pdf-handler
ADD /packages/utils ./packages/utils
@ -22,7 +22,7 @@ RUN yarn workspace @omnivore/pdf-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/pdf-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -32,7 +32,7 @@
"@google-cloud/storage": "^7.0.1",
"@omnivore/utils": "1.0.0",
"@sentry/serverless": "^7.77.0",
"axios": "^0.27.2",
"axios": "^0.30.0",
"bullmq": "^5.1.4",
"concurrently": "^7.0.0",
"dotenv": "^8.2.0",

View file

@ -10,7 +10,7 @@ COPY .eslintrc .
COPY /packages/queue-manager/package.json ./packages/queue-manager/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/queue-manager ./packages/queue-manager
RUN yarn workspace @omnivore/queue-manager build
@ -18,7 +18,7 @@ RUN yarn workspace @omnivore/queue-manager build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/queue-manager/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -24,7 +24,7 @@
"homepage": "https://github.com/mozilla/readability",
"devDependencies": {
"@c4312/matcha": "^1.3.1",
"axios": "^0.27.2",
"axios": "^0.30.0",
"chai": "^2.1.*",
"chai-as-promised": "^7.1.1",
"htmltidy2": "^0.3.0",

View file

@ -10,7 +10,7 @@ COPY .eslintrc .
COPY /packages/rss-handler/package.json ./packages/rss-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/rss-handler ./packages/rss-handler
RUN yarn workspace @omnivore/rss-handler build
@ -18,7 +18,7 @@ RUN yarn workspace @omnivore/rss-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/rss-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -10,7 +10,7 @@ COPY .eslintrc .
COPY /packages/rule-handler/package.json ./packages/rule-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/rule-handler ./packages/rule-handler
RUN yarn workspace @omnivore/rule-handler build
@ -18,7 +18,8 @@ RUN yarn workspace @omnivore/rule-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/rule-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -23,7 +23,7 @@
"dependencies": {
"@google-cloud/functions-framework": "3.4.5",
"@sentry/serverless": "^7.77.0",
"axios": "^0.27.2",
"axios": "^0.30.0",
"dotenv": "^16.0.1",
"jsonwebtoken": "^8.5.1",
"search-query-parser": "^1.6.0"

View file

@ -12,7 +12,7 @@ COPY .eslintrc .
COPY /packages/text-to-speech/package.json ./packages/text-to-speech/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/utils ./packages/utils
RUN yarn workspace @omnivore/utils build
@ -22,7 +22,7 @@ RUN yarn workspace @omnivore/text-to-speech-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/text-to-speech/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -39,7 +39,7 @@
"@google-cloud/storage": "^7.0.1",
"@omnivore/utils": "1.0.0",
"@sentry/serverless": "^7.77.0",
"axios": "^0.27.2",
"axios": "^0.30.0",
"dotenv": "^16.0.1",
"html-to-text": "^8.2.1",
"jsonwebtoken": "^9.0.2",

View file

@ -10,7 +10,7 @@ COPY .eslintrc .
COPY /packages/thumbnail-handler/package.json ./packages/thumbnail-handler/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/thumbnail-handler ./packages/thumbnail-handler
RUN yarn workspace @omnivore/thumbnail-handler build
@ -18,7 +18,7 @@ RUN yarn workspace @omnivore/thumbnail-handler build
# After building, fetch the production dependencies
RUN rm -rf /app/packages/thumbnail-handler/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
EXPOSE 8080

View file

@ -24,7 +24,7 @@ COPY .eslintrc .
COPY /packages/web/package.json ./packages/web/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/web ./packages/web
# We want an empty next.config.js when running in docker

View file

@ -17,7 +17,7 @@ COPY .eslintrc .
COPY /packages/web/package.json ./packages/web/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
ADD /packages/web ./packages/web
COPY ./packages/web/next.config.self.js ./packages/web/next.config.js

View file

@ -618,7 +618,9 @@ const UploadPad = (props: UploadPadProps): JSX.Element => {
console.log('onDropRejected: ', fileRejections, event)
alert('You can only upload PDF files to your Omnivore Library.')
setInDragOperation(false)
event.preventDefault()
if (event instanceof MouseEvent) {
event.preventDefault()
}
}}
preventDropOnDocument={true}
noClick={true}

View file

@ -1,4 +1,4 @@
import { unstable_getImgProps as getImgProps } from 'next/image'
import { getImageProps } from 'next/image'
import {
Box,
HStack,
@ -8,7 +8,6 @@ import {
import { LoginForm } from './LoginForm'
import type { LoginFormProps } from './LoginForm'
import { OmnivoreNameLogo } from '../elements/images/OmnivoreNameLogo'
import featureFullWidthImage from '../../public/static/images/login/login-feature-image-full.png'
export function LoginLayout(props: LoginFormProps): JSX.Element {
@ -101,7 +100,7 @@ const srcSetToImageSet = (srcFallback: string, srcSet?: string): string => {
}
function OmnivoreIllustration() {
const { props: fullWidthImgProps } = getImgProps({
const { props: fullWidthImgProps } = getImageProps({
src: featureFullWidthImage,
alt: '',
})

View file

@ -309,7 +309,9 @@ export function UploadModal(props: UploadModalProps): JSX.Element {
console.log('onDropRejected: ', fileRejections, event)
alert('You can only upload PDF files to your Omnivore Library.')
setInDragOperation(false)
event.preventDefault()
if ((event as any).preventDefault) {
(event as any).preventDefault();
}
}}
preventDropOnDocument={true}
noClick={true}

View file

@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

View file

@ -15,6 +15,7 @@ const ContentSecurityPolicy = `
`
const moduleExports = {
transpilePackages: ["antd", "@ant-design", "rc-util", "rc-pagination", "rc-picker", "rc-notification", "rc-tooltip", "rc-tree", "rc-table"],
images: {
formats: ['image/avif', 'image/webp'],
domains: [

View file

@ -1,4 +1,5 @@
const moduleExports = {
transpilePackages: ["antd", "@ant-design", "rc-util", "rc-pagination", "rc-picker", "rc-notification", "rc-tooltip", "rc-tree", "rc-table"],
rewrites: () => {
const rewrites = []
rewrites.push({

View file

@ -28,7 +28,7 @@
"@radix-ui/react-id": "^0.1.1",
"@radix-ui/react-popover": "1.0.7",
"@radix-ui/react-progress": "^1.0.1",
"@radix-ui/react-separator": "^0.1.0",
"@radix-ui/react-separator": "^1.1.6",
"@radix-ui/react-slider": "^1.1.0",
"@radix-ui/react-switch": "^1.0.1",
"@react-native-async-storage/async-storage": "^1.24.0",
@ -38,19 +38,20 @@
"@tanstack/react-query": "^5.51.21",
"@tanstack/react-query-persist-client": "^5.51.23",
"allotment": "^1.20.2",
"antd": "4.24.3",
"antd": "5.26.6",
"rc-util": "5.44.4",
"axios": "^1.2.0",
"cookie": "^0.5.0",
"cookie": "0.7.0",
"csv-file-validator": "^2.1.0",
"dayjs": "^1.11.7",
"diff-match-patch": "^1.0.5",
"epubjs": "^0.3.93",
"graphql-request": "^3.6.1",
"kbar": "^v0.1.0-beta.45",
"kbar": "0.1.0-beta.46",
"loadjs": "^4.3.0-rc1",
"markdown-it": "^13.0.1",
"nanoid": "^5.0.9",
"next": "^13.5.6",
"next": "^14.2.30",
"node-html-markdown": "^1.3.0",
"papaparse": "^5.4.1",
"pdfjs-dist": "4.10.38",
@ -73,7 +74,8 @@
"swr": "^2.2.5",
"use-resize-observer": "^9.1.0",
"uuid": "^8.3.2",
"yet-another-react-lightbox": "^3.12.0"
"yet-another-react-lightbox": "^3.12.0",
"@ant-design/cssinjs": "1.24.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",

View file

@ -1,5 +1,5 @@
import { Button, Form, FormProps, Input, message, Space, Spin } from 'antd'
import 'antd/dist/antd.compact.css'
import 'antd/dist/reset.css'
import Image from 'next/image'
import { useRouter } from 'next/router'
import { useCallback, useEffect, useState } from 'react'

View file

@ -1,5 +1,5 @@
import { Button, Form, Input, Modal, Select, Space, Table, Tag } from 'antd'
import 'antd/dist/antd.compact.css'
import 'antd/dist/reset.css'
import { useCallback, useMemo, useState } from 'react'
import { Box, HStack } from '../../components/elements/LayoutPrimitives'
import { SettingsLayout } from '../../components/templates/SettingsLayout'

View file

@ -1,4 +1,4 @@
import 'antd/dist/antd.compact.css'
import 'antd/dist/reset.css'
import { ChangeEvent, useState } from 'react'
import { SyncLoader } from 'react-spinners'
import { Button } from '../../../components/elements/Button'

View file

@ -3,7 +3,7 @@ import { applyStoredTheme } from '../../../lib/themeUpdater'
import { Box, VStack } from '../../../components/elements/LayoutPrimitives'
import 'antd/dist/antd.compact.css'
import 'antd/dist/reset.css'
import { StyledText } from '../../../components/elements/StyledText'
import { ProfileLayout } from '../../../components/templates/ProfileLayout'
import {

View file

@ -5,7 +5,7 @@ WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile --network-timeout=300000
COPY . .
RUN NODE_ENV=production yarn build

View file

@ -41,6 +41,15 @@
"@babel/highlight" "^7.22.13"
chalk "^2.4.2"
"@babel/code-frame@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be"
integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==
dependencies:
"@babel/helper-validator-identifier" "^7.27.1"
js-tokens "^4.0.0"
picocolors "^1.1.1"
"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.14.5", "@babel/compat-data@^7.14.7":
version "7.14.7"
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.7.tgz#7b047d7a3a89a67d2258dc61f604f098f1bc7e08"
@ -287,6 +296,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
"@babel/helper-string-parser@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687"
integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==
"@babel/helper-validator-identifier@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
@ -297,6 +311,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
"@babel/helper-validator-identifier@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8"
integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==
"@babel/helper-validator-option@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3"
@ -313,13 +332,12 @@
"@babel/types" "^7.14.5"
"@babel/helpers@^7.14.6":
version "7.14.6"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.14.6.tgz#5b58306b95f1b47e2a0199434fa8658fa6c21635"
integrity sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==
version "7.28.2"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.2.tgz#80f0918fecbfebea9af856c419763230040ee850"
integrity sha512-/V9771t+EgXz62aCcyofnQhGM8DQACbRhvzKFsXKC9QM+5MadF8ZmIm0crDMaz3+o0h0zXfJnd4EhbYbxsrcFw==
dependencies:
"@babel/template" "^7.14.5"
"@babel/traverse" "^7.14.5"
"@babel/types" "^7.14.5"
"@babel/template" "^7.27.2"
"@babel/types" "^7.28.2"
"@babel/highlight@^7.14.5":
version "7.14.5"
@ -349,6 +367,13 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719"
integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==
"@babel/parser@^7.27.2":
version "7.28.0"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.0.tgz#979829fbab51a29e13901e5a80713dbcb840825e"
integrity sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==
dependencies:
"@babel/types" "^7.28.0"
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e"
@ -1031,11 +1056,9 @@
source-map-support "^0.5.16"
"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.5", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
version "7.14.6"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.6.tgz#535203bc0892efc7dec60bdc27b2ecf6e409062d"
integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==
dependencies:
regenerator-runtime "^0.13.4"
version "7.28.2"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.2.tgz#2ae5a9d51cc583bd1f5673b3bb70d6d819682473"
integrity sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==
"@babel/template@^7.14.5":
version "7.14.5"
@ -1055,6 +1078,15 @@
"@babel/parser" "^7.22.15"
"@babel/types" "^7.22.15"
"@babel/template@^7.27.2":
version "7.27.2"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.2.tgz#fa78ceed3c4e7b63ebf6cb39e5852fca45f6809d"
integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==
dependencies:
"@babel/code-frame" "^7.27.1"
"@babel/parser" "^7.27.2"
"@babel/types" "^7.27.1"
"@babel/traverse@^7.12.5", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.4.5":
version "7.23.2"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8"
@ -1088,6 +1120,14 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"
"@babel/types@^7.27.1", "@babel/types@^7.28.0", "@babel/types@^7.28.2":
version "7.28.2"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b"
integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==
dependencies:
"@babel/helper-string-parser" "^7.27.1"
"@babel/helper-validator-identifier" "^7.27.1"
"@carbon/icon-helpers@^10.19.0":
version "10.19.0"
resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-10.19.0.tgz#f6b608b181b4ca4aeeadac72ec11b7cf530b4d1c"
@ -1987,9 +2027,9 @@ boxen@^5.0.0:
wrap-ansi "^7.0.0"
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
version "1.1.12"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843"
integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"
@ -4011,6 +4051,11 @@ pgpass@1.x:
dependencies:
split2 "^3.1.1"
picocolors@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2:
version "2.3.0"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"

View file

@ -5,7 +5,7 @@ WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile --network-timeout=300000
COPY . .

View file

@ -14,7 +14,7 @@ COPY /packages/discord/src ./packages/discord/src
COPY /packages/discord/package.json ./packages/discord/package.json
COPY /packages/discord/tsconfig.json ./packages/discord/tsconfig.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
RUN yarn workspace @omnivore/discord build
FROM node:22.12 as runner

View file

@ -19,7 +19,7 @@ COPY /packages/db/package.json ./packages/db/package.json
COPY /packages/liqe/package.json ./packages/liqe/package.json
COPY /packages/utils/package.json ./packages/utils/package.json
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --network-timeout=300000
COPY /packages/readabilityjs ./packages/readabilityjs
COPY /packages/api ./packages/api
@ -37,7 +37,7 @@ RUN yarn workspace @omnivore/api build
RUN rm -rf /app/packages/api/node_modules
RUN rm -rf /app/node_modules
RUN yarn install --pure-lockfile --production
RUN yarn install --pure-lockfile --production --network-timeout=300000
FROM node:22.12-alpine as runner

View file

@ -5,7 +5,7 @@
"lib": ["es2020", "dom"],
"module": "commonjs",
"target": "es2020",
"types": ["node"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,

7270
yarn.lock

File diff suppressed because it is too large Load diff