Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up all non-major dependencies #8994

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ runs:
registry-url: https://npm.pkg.github.com
scope: '@toeverything'

- uses: kenchan0130/actions-system-info@master
id: system-info

- name: Init CorePack
if: ${{ inputs.corepack-install == 'true' }}
shell: bash
Expand Down Expand Up @@ -78,7 +81,7 @@ runs:
path: |
node_modules
${{ steps.yarn-cache.outputs.yarn_global_cache }}
key: node_modules-cache-${{ github.job }}-${{ runner.os }}
key: node_modules-cache-${{ github.job }}-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}

# The network performance on macOS is very poor
# and the decompression performance on Windows is very terrible
Expand All @@ -89,7 +92,7 @@ runs:
with:
path: |
${{ steps.yarn-cache.outputs.yarn_global_cache }}
key: node_modules-cache-${{ github.job }}-${{ runner.os }}
key: node_modules-cache-${{ github.job }}-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}

- name: Cache full yarn cache on Linux
uses: actions/cache@v4
Expand All @@ -98,15 +101,15 @@ runs:
path: |
node_modules
${{ steps.yarn-cache.outputs.yarn_global_cache }}
key: node_modules-cache-full-${{ runner.os }}
key: node_modules-cache-full-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}

- name: Cache full yarn cache on non-Linux
uses: actions/cache@v4
if: ${{ inputs.full-cache == 'true' && runner.os != 'Linux' }}
with:
path: |
${{ steps.yarn-cache.outputs.yarn_global_cache }}
key: node_modules-cache-full-${{ runner.os }}
key: node_modules-cache-full-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}

- name: yarn install
if: ${{ inputs.package-install == 'true' }}
Expand Down Expand Up @@ -148,7 +151,7 @@ runs:
if: ${{ inputs.playwright-install == 'true' }}
with:
path: ${{ github.workspace }}/node_modules/.cache/ms-playwright
key: '${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}'
key: '${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}-playwright-${{ steps.playwright-version.outputs.version }}'
# As a fallback, if the Playwright version has changed, try use the
# most recently cached version. There's a good chance that at least one
# of the browser binary versions haven't been updated, so Playwright can
Expand All @@ -158,7 +161,7 @@ runs:
# date cache, but still let Playwright decide if it needs to download
# new binaries or not.
restore-keys: |
${{ runner.os }}-playwright-
${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}-playwright-

# If the Playwright browser binaries weren't able to be restored, we tell
# playwright to install everything for us.
Expand All @@ -181,9 +184,9 @@ runs:
if: ${{ inputs.electron-install == 'true' }}
with:
path: 'node_modules/.cache/electron'
key: '${{ runner.os }}-electron-${{ steps.electron-version.outputs.version }}'
key: '${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}-electron-${{ steps.electron-version.outputs.version }}'
restore-keys: |
${{ runner.os }}-electron-
${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }}-electron-

- name: Install Electron binary
shell: bash
Expand Down
5 changes: 5 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"commitMessageTopic": "{{depName}} version",
"ignoreDeps": [],
"postUpdateOptions": ["yarnDedupeHighest"],
"postUpgradeTasks": {
"commands": ["lint:prettier:fix"],
"fileFilters": ["yarn.lock", "**/*.{js,jsx,mjs,ts,tsx,yml,yaml}"],
"executionMode": "update"
},
"lockFileMaintenance": {
"enabled": true,
"extends": ["schedule:weekly"]
Expand Down
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@faker-js/faker": "^9.0.0",
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.6.0",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"@swc/core": "^1.9.1",
"@taplo/cli": "^0.7.0",
"@toeverything/infra": "workspace:*",
Expand Down Expand Up @@ -156,7 +156,7 @@
"which-typed-array": "npm:@nolyfill/which-typed-array@latest",
"macos-alias": "npm:@napi-rs/[email protected]",
"fs-xattr": "npm:@napi-rs/xattr@latest",
"vite": "6.0.2",
"vite": "6.0.3",
"decode-named-character-reference@npm:^1.0.0": "patch:decode-named-character-reference@npm%3A1.0.2#~/.yarn/patches/decode-named-character-reference-npm-1.0.2-db17a755fd.patch",
"@atlaskit/pragmatic-drag-and-drop@npm:^1.1.0": "patch:@atlaskit/pragmatic-drag-and-drop@npm%3A1.4.0#~/.yarn/patches/@atlaskit-pragmatic-drag-and-drop-npm-1.4.0-75c45f52d3.patch"
}
Expand Down
16 changes: 8 additions & 8 deletions packages/backend/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
"@node-rs/crc32": "^1.10.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/core": "^1.25.0",
"@opentelemetry/exporter-prometheus": "^0.55.0",
"@opentelemetry/exporter-prometheus": "^0.56.0",
"@opentelemetry/exporter-zipkin": "^1.25.0",
"@opentelemetry/host-metrics": "^0.35.2",
"@opentelemetry/instrumentation": "^0.55.0",
"@opentelemetry/instrumentation-graphql": "^0.45.0",
"@opentelemetry/instrumentation-http": "^0.55.0",
"@opentelemetry/instrumentation-ioredis": "^0.45.0",
"@opentelemetry/instrumentation-nestjs-core": "^0.42.0",
"@opentelemetry/instrumentation-socket.io": "^0.44.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/instrumentation-graphql": "^0.46.0",
"@opentelemetry/instrumentation-http": "^0.56.0",
"@opentelemetry/instrumentation-ioredis": "^0.46.0",
"@opentelemetry/instrumentation-nestjs-core": "^0.43.0",
"@opentelemetry/instrumentation-socket.io": "^0.45.0",
"@opentelemetry/resources": "^1.25.0",
"@opentelemetry/sdk-metrics": "^1.25.0",
"@opentelemetry/sdk-node": "^0.55.0",
"@opentelemetry/sdk-node": "^0.56.0",
"@opentelemetry/sdk-trace-node": "^1.25.0",
"@opentelemetry/semantic-conventions": "^1.25.0",
"@prisma/client": "^5.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/nbstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"fake-indexeddb": "^6.0.0",
"idb": "^8.0.0",
"socket.io-client": "^4.7.5",
"vitest": "2.1.4"
"vitest": "2.1.8"
},
"peerDependencies": {
"@affine/graphql": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"cmdk": "^1.0.0",
"embla-carousel-react": "^8.1.5",
"input-otp": "^1.2.4",
"lucide-react": "^0.462.0",
"lucide-react": "^0.468.0",
"next-themes": "^0.4.0",
"react": "^19.0.0",
"react-day-picker": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/apps/android/App/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript {

plugins {
id("org.mozilla.rust-android-gradle.rust-android") version "0.9.5"
id("org.jetbrains.kotlin.jvm") version "2.0.21"
id("org.jetbrains.kotlin.jvm") version "2.1.0"
}

apply from: "variables.gradle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ export const CloudQuotaModal = () => {
if (!workspaceQuota) {
return;
}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
currentWorkspace.engine.blob.singleBlobSizeLimit = bytes.parse(
workspaceQuota.blobLimit.toString()
);
)!;

const disposable = currentWorkspace.engine.blob.onAbortLargeBlob.on(() => {
setOpen(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ import {
AttachmentBlockSpec,
ImageBlockService,
} from '@blocksuite/affine/blocks';
import bytes from 'bytes';

// bytes.parse('2GB')
const MAX_FILE_SIZE = 2147483648;

class CustomAttachmentBlockService extends AttachmentBlockService {
override mounted(): void {
// blocksuite default max file size is 10MB, we override it to 2GB
// but the real place to limit blob size is CloudQuotaModal / LocalQuotaModal
this.maxFileSize = bytes.parse('2GB');
this.maxFileSize = MAX_FILE_SIZE;
super.mounted();
}
}
Expand All @@ -24,7 +26,7 @@ class CustomImageBlockService extends ImageBlockService {
override mounted(): void {
// blocksuite default max file size is 10MB, we override it to 2GB
// but the real place to limit blob size is CloudQuotaModal / LocalQuotaModal
this.maxFileSize = bytes.parse('2GB');
this.maxFileSize = MAX_FILE_SIZE;
super.mounted();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,8 @@ export const RulesMode = ({
}}
>
Selected
<span className={styles.previewCountTipsHighlight}>
count
</span>, filtered
<span className={styles.previewCountTipsHighlight}>count</span>,
filtered
<span className={styles.previewCountTipsHighlight}>count</span>
</Trans>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/affine-cloud-copilot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0"
"@playwright/test": "=1.49.1"
},
"version": "0.18.0"
}
2 changes: 1 addition & 1 deletion tests/affine-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0"
"@playwright/test": "=1.49.1"
},
"version": "0.18.0"
}
2 changes: 1 addition & 1 deletion tests/affine-desktop-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0"
"@playwright/test": "=1.49.1"
},
"version": "0.18.0"
}
4 changes: 2 additions & 2 deletions tests/affine-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@affine/electron-api": "workspace:*",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"@types/fs-extra": "^11.0.4",
"fs-extra": "^11.2.0",
"playwright": "=1.49.0"
"playwright": "=1.49.1"
},
"version": "0.18.0"
}
2 changes: 1 addition & 1 deletion tests/affine-legacy/0.6.1-beta.1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"express": "^4.19.2",
"http-proxy-middleware": "^3.0.0",
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/affine-legacy/0.7.0-canary.18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"express": "^4.19.2",
"http-proxy-middleware": "^3.0.0",
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/affine-legacy/0.8.0-canary.7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"express": "^4.19.2",
"http-proxy-middleware": "^3.0.0",
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/affine-legacy/0.8.4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0",
"@playwright/test": "=1.49.1",
"express": "^4.19.2",
"http-proxy-middleware": "^3.0.0",
"serve": "^14.2.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/affine-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@playwright/test": "=1.49.0"
"@playwright/test": "=1.49.1"
},
"version": "0.18.0"
}
Loading
Loading