mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.525.0` -> `3.529.1`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.525.0/3.529.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.7` -> `18.0.8`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.7/18.0.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-graphql](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.37.0` -> `^0.38.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-graphql/0.37.0/0.38.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-ioredis](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-ioredis#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.37.0` -> `^0.38.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-ioredis/0.37.0/0.38.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-nestjs-core](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-nestjs-core#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.34.0` -> `^0.35.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-nestjs-core/0.34.0/0.35.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-socket.io](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.36.0` -> `^0.37.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-socket.io/0.36.0/0.37.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.529.1`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35291-2024-03-08) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.529.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35290-2024-03-07) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.525.0...v3.529.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v18.0.8`](https://togithub.com/nrwl/nx/releases/tag/18.0.8) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.7...18.0.8) ##### 18.0.8 (2024-03-08) ##### 🩹 Fixes - **angular:** log message about unsupported ng cache command ([#​22154](https://togithub.com/nrwl/nx/pull/22154)) - **angular:** fix message logged for unsupported ng cache ([#​22211](https://togithub.com/nrwl/nx/pull/22211)) - **angular:** Module federation with Crystal enabled. ([#​22224](https://togithub.com/nrwl/nx/pull/22224)) - **angular:** install jsonc-eslint-parser only when [@​nx/dependency-checks](https://togithub.com/nx/dependency-checks) is used ([#​22231](https://togithub.com/nrwl/nx/pull/22231)) - **core:** setting up .nx inside gradle shouldn't throw ([#​21957](https://togithub.com/nrwl/nx/pull/21957)) - **core:** add outputs to nx.json for nx init in monorepo ([#​22061](https://togithub.com/nrwl/nx/pull/22061)) - **core:** fix no such file or directory, open 'package-lock.json' ([#​21835](https://togithub.com/nrwl/nx/pull/21835)) - **core:** fix terminal message alignment on errors ([#​22189](https://togithub.com/nrwl/nx/pull/22189)) - **graph:** show command property as monospace ([#​21997](https://togithub.com/nrwl/nx/pull/21997)) - **linter:** add v7 of typescript-eslint to peerDeps ([#​21853](https://togithub.com/nrwl/nx/pull/21853)) - **misc:** improve package.json scripts handling when running "nx init" and "nx add" ([#​22168](https://togithub.com/nrwl/nx/pull/22168)) - **misc:** do not add includedScripts unless really needed when running nx add ([#​22180](https://togithub.com/nrwl/nx/pull/22180)) - **nextjs:** avoid path error on dev server creation ([#​21998](https://togithub.com/nrwl/nx/pull/21998)) - **nextjs:** Surface error codes when build is interrupted by signals SIGINT, SIGTERM etc... ([#​22190](https://togithub.com/nrwl/nx/pull/22190)) - **nx-plugin:** do not print duplicated warning about derived format when generating plugin ([#​22230](https://togithub.com/nrwl/nx/pull/22230)) - **react:** pass correct argument to rspack configuration generator ([#​22241](https://togithub.com/nrwl/nx/pull/22241)) - **release:** store rawVersionSpec on versionData ([#​22071](https://togithub.com/nrwl/nx/pull/22071)) - **testing:** close cypress web server correctly on windows ([#​22125](https://togithub.com/nrwl/nx/pull/22125)) - **testing:** resolve cypress config glob pattern correctly to handle root projects ([#​22165](https://togithub.com/nrwl/nx/pull/22165)) - **testing:** fix project config might not be defined ([#​22174](https://togithub.com/nrwl/nx/pull/22174)) - **vue:** small typo in CNW description ([#​21888](https://togithub.com/nrwl/nx/pull/21888)) ##### ❤️ Thank You - Alon Valadji [@​alonronin](https://togithub.com/alonronin) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Javier Abia [@​weberjavi](https://togithub.com/weberjavi) - Juri Strumpflohner [@​juristr](https://togithub.com/juristr) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) - Victor Login [@​batazor](https://togithub.com/batazor) </details> <details> <summary>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/instrumentation-graphql)</summary> ### [`v0.38.0`](efdfc727a4...f81f8a76a8) [Compare Source](32204a362d...fcea8ca0c8) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
187 lines
5.5 KiB
JSON
187 lines
5.5 KiB
JSON
{
|
|
"name": "@affine/server",
|
|
"private": true,
|
|
"version": "0.12.0",
|
|
"description": "Affine Node.js server",
|
|
"type": "module",
|
|
"bin": {
|
|
"run-test": "./scripts/run-test.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node --loader ts-node/esm/transpile-only.mjs ./src/index.ts",
|
|
"dev": "nodemon ./src/index.ts",
|
|
"test": "ava --concurrency 1 --serial",
|
|
"test:coverage": "c8 ava --concurrency 1 --serial",
|
|
"postinstall": "prisma generate",
|
|
"data-migration": "node --loader ts-node/esm/transpile-only.mjs ./src/data/index.ts",
|
|
"predeploy": "yarn prisma migrate deploy && node --import ./scripts/register.js ./dist/data/index.js run"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/server": "^4.10.0",
|
|
"@auth/prisma-adapter": "^1.4.0",
|
|
"@aws-sdk/client-s3": "^3.515.0",
|
|
"@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.17.0",
|
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
|
"@google-cloud/opentelemetry-resource-util": "^2.1.0",
|
|
"@keyv/redis": "^2.8.4",
|
|
"@nestjs/apollo": "^12.1.0",
|
|
"@nestjs/common": "^10.3.3",
|
|
"@nestjs/core": "^10.3.3",
|
|
"@nestjs/event-emitter": "^2.0.4",
|
|
"@nestjs/graphql": "^12.1.1",
|
|
"@nestjs/platform-express": "^10.3.3",
|
|
"@nestjs/platform-socket.io": "^10.3.3",
|
|
"@nestjs/schedule": "^4.0.1",
|
|
"@nestjs/serve-static": "^4.0.1",
|
|
"@nestjs/throttler": "^5.0.1",
|
|
"@nestjs/websockets": "^10.3.3",
|
|
"@node-rs/argon2": "^1.7.2",
|
|
"@node-rs/crc32": "^1.9.2",
|
|
"@node-rs/jsonwebtoken": "^0.5.0",
|
|
"@opentelemetry/api": "^1.7.0",
|
|
"@opentelemetry/core": "^1.21.0",
|
|
"@opentelemetry/exporter-prometheus": "^0.49.0",
|
|
"@opentelemetry/exporter-zipkin": "^1.21.0",
|
|
"@opentelemetry/host-metrics": "^0.35.0",
|
|
"@opentelemetry/instrumentation": "^0.49.0",
|
|
"@opentelemetry/instrumentation-graphql": "^0.38.0",
|
|
"@opentelemetry/instrumentation-http": "^0.49.0",
|
|
"@opentelemetry/instrumentation-ioredis": "^0.38.0",
|
|
"@opentelemetry/instrumentation-nestjs-core": "^0.35.0",
|
|
"@opentelemetry/instrumentation-socket.io": "^0.37.0",
|
|
"@opentelemetry/resources": "^1.21.0",
|
|
"@opentelemetry/sdk-metrics": "^1.21.0",
|
|
"@opentelemetry/sdk-node": "^0.49.0",
|
|
"@opentelemetry/sdk-trace-node": "^1.21.0",
|
|
"@opentelemetry/semantic-conventions": "^1.21.0",
|
|
"@prisma/client": "^5.10.2",
|
|
"@prisma/instrumentation": "^5.10.2",
|
|
"@socket.io/redis-adapter": "^8.2.1",
|
|
"cookie-parser": "^1.4.6",
|
|
"dotenv": "^16.4.5",
|
|
"dotenv-cli": "^7.3.0",
|
|
"express": "^4.18.2",
|
|
"file-type": "^19.0.0",
|
|
"get-stream": "^8.0.1",
|
|
"graphql": "^16.8.1",
|
|
"graphql-scalars": "^1.22.4",
|
|
"graphql-type-json": "^0.3.2",
|
|
"graphql-upload": "^16.0.2",
|
|
"ioredis": "^5.3.2",
|
|
"keyv": "^4.5.4",
|
|
"lodash-es": "^4.17.21",
|
|
"nanoid": "^5.0.6",
|
|
"nest-commander": "^3.12.5",
|
|
"nestjs-throttler-storage-redis": "^0.4.1",
|
|
"next-auth": "^4.24.5",
|
|
"nodemailer": "^6.9.10",
|
|
"on-headers": "^1.0.2",
|
|
"parse-duration": "^1.1.0",
|
|
"pretty-time": "^1.1.0",
|
|
"prisma": "^5.10.2",
|
|
"prom-client": "^15.1.0",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.1",
|
|
"semver": "^7.6.0",
|
|
"socket.io": "^4.7.4",
|
|
"stripe": "^14.18.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.3",
|
|
"ws": "^8.16.0",
|
|
"yjs": "^13.6.12",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@affine-test/kit": "workspace:*",
|
|
"@affine/storage": "workspace:*",
|
|
"@napi-rs/image": "^1.9.1",
|
|
"@nestjs/testing": "^10.3.3",
|
|
"@types/cookie-parser": "^1.4.6",
|
|
"@types/engine.io": "^3.1.10",
|
|
"@types/express": "^4.17.21",
|
|
"@types/graphql-upload": "^16.0.7",
|
|
"@types/keyv": "^4.2.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.20",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/on-headers": "^1.0.3",
|
|
"@types/pretty-time": "^1.1.5",
|
|
"@types/sinon": "^17.0.3",
|
|
"@types/supertest": "^6.0.2",
|
|
"@types/ws": "^8.5.10",
|
|
"ava": "^6.1.1",
|
|
"c8": "^9.1.0",
|
|
"nodemon": "^3.1.0",
|
|
"sinon": "^17.0.1",
|
|
"supertest": "^6.3.4"
|
|
},
|
|
"ava": {
|
|
"timeout": "1m",
|
|
"extensions": {
|
|
"ts": "module"
|
|
},
|
|
"workerThreads": false,
|
|
"nodeArguments": [
|
|
"--trace-sigint",
|
|
"--loader",
|
|
"ts-node/esm/transpile-only.mjs",
|
|
"--es-module-specifier-resolution=node"
|
|
],
|
|
"files": [
|
|
"tests/**/*.spec.ts",
|
|
"tests/**/*.e2e.ts"
|
|
],
|
|
"require": [
|
|
"./src/prelude.ts"
|
|
],
|
|
"environmentVariables": {
|
|
"TS_NODE_PROJECT": "./tests/tsconfig.json",
|
|
"NODE_ENV": "test",
|
|
"MAILER_HOST": "0.0.0.0",
|
|
"MAILER_PORT": "1025",
|
|
"MAILER_USER": "noreply@toeverything.info",
|
|
"MAILER_PASSWORD": "affine",
|
|
"MAILER_SENDER": "noreply@toeverything.info",
|
|
"FEATURES_EARLY_ACCESS_PREVIEW": "false"
|
|
}
|
|
},
|
|
"nodemonConfig": {
|
|
"exec": "node",
|
|
"script": "./src/index.ts",
|
|
"nodeArgs": [
|
|
"--loader",
|
|
"ts-node/esm.mjs",
|
|
"--es-module-specifier-resolution=node"
|
|
],
|
|
"ignore": [
|
|
"**/__tests__/**",
|
|
"**/dist/**"
|
|
],
|
|
"env": {
|
|
"TS_NODE_TRANSPILE_ONLY": true,
|
|
"TS_NODE_PROJECT": "./tsconfig.json",
|
|
"DEBUG": "affine:*",
|
|
"FORCE_COLOR": true,
|
|
"DEBUG_COLORS": true
|
|
},
|
|
"delay": 1000
|
|
},
|
|
"c8": {
|
|
"reporter": [
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"report-dir": ".coverage",
|
|
"exclude": [
|
|
"scripts",
|
|
"node_modules",
|
|
"**/*.spec.ts"
|
|
]
|
|
},
|
|
"stableVersion": "0.5.3",
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
}
|
|
}
|