chore: upgrade workspace dependencies and CI actions (#42372)

This commit is contained in:
yyh authored and GitHub committed 2026-09-17 01:35:43 +00:00
1 parent 9e7856f22b
commit e6b13eaab9
20 files changed
+2470 -1636

No files matched your search

+3 -1
View File
@@ -9,8 +9,10 @@ runs:
with:
install: false
- name: Setup Vite+
uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0
uses: voidzero-dev/setup-vp@9fd26ff49f9b5e6276c2b493da4454ad4527f7f4 # v1.20.0
with:
node-manager: false
package-manager: |
pnpm: false
cache: true
run-install: true
+1 -1
View File
@@ -206,7 +206,7 @@ jobs:
- name: Report coverage
if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./coverage.xml
disable_search: true
+3 -3
View File
@@ -160,10 +160,10 @@ jobs:
file: 'docker/Dockerfile'
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Validate Docker image
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
push: false
context: ${{ matrix.build_context }}
@@ -252,7 +252,7 @@ jobs:
cache: ''
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Login to Docker Hub
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
- name: Report coverage
if: ${{ env.CODECOV_TOKEN != '' && matrix.os == 'depot-ubuntu-24.04' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: cli/coverage
flags: cli
+2 -2
View File
@@ -96,10 +96,10 @@ jobs:
file: 'docker/Dockerfile'
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Build Docker Image
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
push: false
context: ${{ matrix.context }}
+1 -1
View File
@@ -162,7 +162,7 @@ jobs:
- name: Run Claude Code for Translation Sync
if: steps.context.outputs.CHANGED_FILES != ''
uses: anthropics/claude-code-action@56cf60fde42f7b19c3abfd5c9c48b69a1288461f # v1.0.222
uses: anthropics/claude-code-action@3b8197d3d486006dd4af54613517f21ac6ac625e # v1.0.227
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -112,7 +112,7 @@ jobs:
- name: Report coverage
if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: web/coverage
flags: web
@@ -158,7 +158,7 @@ jobs:
- name: Report coverage
if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: packages/dify-ui/coverage
flags: dify-ui
+1
View File
@@ -14,6 +14,7 @@ export default defineConfig({
},
},
pack: {
deps: { resolveDepSubpath: true },
entry: ['src/index.ts', 'src/commands/**/*.ts', 'src/framework/**/*.ts'],
format: ['esm'],
fixedExtension: false,
+12 -10
View File
@@ -131,8 +131,8 @@ const main = async () => {
if (startAgentBackendForRun) {
shellctlProcess = await startLoggedProcess({
command: 'npx',
args: ['tsx', './scripts/setup.ts', 'shellctl-sandbox'],
command: process.execPath,
args: ['--import', 'tsx', './scripts/setup.ts', 'shellctl-sandbox'],
cwd: e2eDir,
label: 'shellctl sandbox',
logFilePath: path.join(logDir, 'cucumber-shellctl-sandbox.log'),
@@ -145,8 +145,8 @@ const main = async () => {
})
difyAgentProcess = await startLoggedProcess({
command: 'npx',
args: ['tsx', './scripts/setup.ts', 'agent-backend'],
command: process.execPath,
args: ['--import', 'tsx', './scripts/setup.ts', 'agent-backend'],
cwd: e2eDir,
env: { E2E_START_AGENT_BACKEND: '1' },
label: 'agent backend',
@@ -161,8 +161,8 @@ const main = async () => {
}
apiProcess = await startLoggedProcess({
command: 'npx',
args: ['tsx', './scripts/setup.ts', 'api'],
command: process.execPath,
args: ['--import', 'tsx', './scripts/setup.ts', 'api'],
cwd: e2eDir,
env: startAgentBackendForRun ? { E2E_START_AGENT_BACKEND: '1' } : undefined,
label: 'api server',
@@ -175,8 +175,9 @@ const main = async () => {
})
celeryProcess = await startLoggedProcess({
command: 'npx',
command: process.execPath,
args: [
'--import',
'tsx',
'./scripts/setup.ts',
'celery',
@@ -189,8 +190,8 @@ const main = async () => {
await startWebServer({
baseURL,
command: 'npx',
args: ['tsx', './scripts/setup.ts', 'web'],
command: process.execPath,
args: ['--import', 'tsx', './scripts/setup.ts', 'web'],
cwd: e2eDir,
logFilePath: path.join(logDir, 'cucumber-web.log'),
reuseExistingServer: reuseExistingWebServer,
@@ -208,8 +209,9 @@ const main = async () => {
if (full && !hasCustomTags(forwardArgs)) cucumberEnv.E2E_CUCUMBER_TAGS = fullNonExternalTags
const result = await runCommand({
command: 'npx',
command: process.execPath,
args: [
'--import',
'tsx',
'./node_modules/@cucumber/cucumber/bin/cucumber.js',
'--config',
+2 -1
View File
@@ -5,8 +5,9 @@ const defaultExternalRuntimeTags = '@external-model or @external-tool'
const main = async () => {
await runForegroundProcess({
command: 'npx',
command: process.execPath,
args: [
'--import',
'tsx',
'./scripts/run-cucumber.ts',
'--full',
+2 -1
View File
@@ -5,8 +5,9 @@ const postMergeTags = '@prepared or @external-model or @external-tool'
const main = async () => {
await runForegroundProcess({
command: 'npx',
command: process.execPath,
args: [
'--import',
'tsx',
'./scripts/run-cucumber.ts',
'--full',
+2 -1
View File
@@ -5,8 +5,9 @@ const preparedTags = '@prepared'
const main = async () => {
await runForegroundProcess({
command: 'npx',
command: process.execPath,
args: [
'--import',
'tsx',
'./scripts/run-cucumber.ts',
'--full',
+3 -1
View File
@@ -48,7 +48,9 @@ const createApiResponse = ({
}
const createRequestContext = (response: APIResponse, csrfToken = 'csrf-token') => {
const fetch = vi.fn<APIRequestContext['fetch']>(async () => response)
const fetch = vi.fn<(...args: Parameters<APIRequestContext['fetch']>) => Promise<APIResponse>>(
async () => response,
)
const context = {
fetch,
storageState: vi.fn<APIRequestContext['storageState']>(async () => ({
+2 -2
View File
@@ -57,12 +57,12 @@
"devEngines": {
"runtime": {
"name": "node",
"version": "24.20.0",
"version": "24.21.0",
"onFail": "download"
}
},
"engines": {
"node": "^24.20.0"
},
"packageManager": "pnpm@12.3.4"
"packageManager": "pnpm@12.4.2"
}
+1 -3
View File
@@ -3,9 +3,7 @@ import { defineConfig } from 'vite-plus'
export default defineConfig({
pack: {
clean: true,
deps: {
neverBundle: ['@hono/node-server', 'c12', 'hono'],
},
deps: { resolveDepSubpath: true, neverBundle: ['@hono/node-server', 'c12', 'hono'] },
entry: ['src/index.ts', 'src/cli.ts'],
format: ['esm'],
outDir: 'dist',
@@ -296,7 +296,6 @@ describe('dropdown-menu wrapper', () => {
<DropdownMenu open>
<DropdownMenuTrigger aria-label="menu trigger">Open</DropdownMenuTrigger>
<DropdownMenuContent>
{/* oxlint-disable-next-line jsx-a11y/anchor-has-content -- Base UI merges this item's children and accessible name into the render element. */}
<DropdownMenuLinkItem render={<a href="/account" />} aria-label="account link">
Account settings
</DropdownMenuLinkItem>
@@ -3,9 +3,7 @@ import { defineConfig } from 'vite-plus'
export default defineConfig({
pack: {
clean: true,
deps: {
neverBundle: ['typescript'],
},
deps: { resolveDepSubpath: true, neverBundle: ['typescript'] },
entry: ['src/cli.ts'],
format: ['esm'],
outDir: 'dist',
+2350 -1536
View File
File diff suppressed because it is too large. Load diff
+80 -66
View File
@@ -10,6 +10,17 @@ catalogPrune: true
dedupeDirectDeps: true
engineStrict: true
minimumReleaseAge: 0
minimumReleaseAgeExclude:
- vite-plus
- '@voidzero-dev/*'
- oxlint
- '@oxlint/*'
- oxlint-tsgolint
- '@oxlint-tsgolint/*'
- oxfmt
- '@oxfmt/*'
- vitest
- '@vitest/*'
optimisticRepeatInstall: true
resolutionMode: time-based
saveExact: true
@@ -36,9 +47,9 @@ overrides:
js-yaml@<=4.1.1: ^4.1.2
picomatch@>=4.0.0 <4.0.4: 4.0.7
postcss-selector-parser@>=6.0.0 <6.1.3: 6.1.4
postcss-selector-parser@>=7.0.0 <7.1.3: 7.1.5
postcss-selector-parser@>=7.0.0 <7.1.3: 7.1.6
postcss@<8.5.10: ^8.5.10
rollup@>=4.0.0 <4.59.0: 4.63.1
rollup@>=4.0.0 <4.59.0: 4.63.3
safer-buffer: npm:@nolyfill/safer-buffer@^1.0.44
side-channel: npm:@nolyfill/side-channel@^1.0.44
solid-js: 1.9.15
@@ -47,22 +58,22 @@ overrides:
vite@*: 'catalog:'
vitest@*: 'catalog:'
ws@>=8.0.0 <8.20.1: ^8.21.3
yaml@>=2.0.0 <2.8.3: 2.9.0
yaml@>=2.0.0 <2.8.3: 2.9.1
yauzl@<3.2.1: 3.2.1
catalog:
'@amplitude/analytics-browser': 2.45.8
'@amplitude/plugin-session-replay-browser': 1.35.0
'@amplitude/analytics-browser': 2.45.10
'@amplitude/plugin-session-replay-browser': 1.35.1
'@axe-core/playwright': 4.13.0
'@base-ui/react': 1.8.0
'@chromatic-com/storybook': 5.3.0
'@chromatic-com/storybook': 5.3.1
'@cucumber/cucumber': 13.2.1
'@egoist/tailwindcss-icons': 1.9.2
'@emoji-mart/data': 1.2.1
'@eslint-community/eslint-plugin-eslint-comments': 4.7.2
'@eslint-react/eslint-plugin': 5.18.6
'@eslint-community/eslint-plugin-eslint-comments': 4.8.1
'@eslint-react/eslint-plugin': 5.19.1
'@eslint/markdown': 8.0.3
'@floating-ui/react': 0.27.20
'@formatjs/intl-localematcher': 0.8.13
'@formatjs/intl-localematcher': 0.8.14
'@heroicons/react': 2.2.0
'@hey-api/openapi-ts': 0.98.2
'@hono/node-server': 2.1.1
@@ -75,76 +86,76 @@ catalog:
'@lexical/selection': 0.47.0
'@lexical/text': 0.47.0
'@lexical/utils': 0.47.0
'@mediabunny/mp3-encoder': 1.55.5
'@mediabunny/mp3-encoder': 1.57.0
'@monaco-editor/react': 4.7.0
'@napi-rs/keyring': 1.3.0
'@orpc/client': 1.15.0
'@orpc/contract': 1.15.0
'@orpc/openapi-client': 1.15.0
'@orpc/tanstack-query': 1.15.0
'@playwright/test': 1.62.1
'@orpc/client': 1.15.1
'@orpc/contract': 1.15.1
'@orpc/openapi-client': 1.15.1
'@orpc/tanstack-query': 1.15.1
'@playwright/test': 1.63.0
'@remixicon/react': 4.9.0
'@rgrove/parse-xml': 4.2.3
'@sentry/react': 10.73.0
'@storybook/addon-a11y': 10.5.10
'@storybook/addon-docs': 10.5.10
'@storybook/addon-links': 10.5.10
'@storybook/addon-onboarding': 10.5.10
'@storybook/addon-themes': 10.5.10
'@storybook/addon-vitest': 10.5.10
'@storybook/nextjs-vite': 10.5.10
'@storybook/react': 10.5.10
'@storybook/react-vite': 10.5.10
'@sentry/react': 10.75.0
'@storybook/addon-a11y': 10.6.0
'@storybook/addon-docs': 10.6.0
'@storybook/addon-links': 10.6.0
'@storybook/addon-onboarding': 10.6.0
'@storybook/addon-themes': 10.6.0
'@storybook/addon-vitest': 10.6.0
'@storybook/nextjs-vite': 10.6.0
'@storybook/react': 10.6.0
'@storybook/react-vite': 10.6.0
'@streamdown/math': 1.0.2
'@svgdotjs/svg.js': 3.2.8
'@t3-oss/env-core': 0.13.11
'@t3-oss/env-nextjs': 0.13.11
'@tailwindcss/postcss': 4.3.3
'@tailwindcss/vite': 4.3.3
'@tanstack/eslint-plugin-query': 5.102.8
'@tanstack/eslint-plugin-query': 5.103.1
'@tanstack/form-core': 1.33.5
'@tanstack/query-core': 5.102.8
'@tanstack/query-core': 5.103.1
'@tanstack/react-form': 1.33.5
'@tanstack/react-hotkeys': 0.10.0
'@tanstack/react-query': 5.102.8
'@tanstack/react-virtual': 3.14.10
'@testing-library/dom': 10.4.1
'@tanstack/react-query': 5.103.1
'@tanstack/react-virtual': 3.14.13
'@testing-library/dom': 10.4.2
'@testing-library/jest-dom': 6.9.1
'@testing-library/react': 16.3.3
'@testing-library/user-event': 14.6.6
'@testing-library/user-event': 14.6.7
'@tsslint/cli': 3.1.4
'@tsslint/compat-eslint': 3.1.4
'@tsslint/config': 3.1.4
'@types/js-cookie': 3.0.6
'@types/lockfile': 1.0.4
'@types/negotiator': 0.6.5
'@types/node': 25.9.5
'@types/node': 25.9.7
'@types/qs': 6.15.1
'@types/react': 19.3.0
'@types/react-dom': 19.3.0
'@types/sortablejs': 1.15.9
'@typescript-eslint/parser': 8.69.0
'@typescript-eslint/parser': 8.70.0
'@typescript/native': npm:typescript@7.0.2
'@vitejs/plugin-react': 6.1.1
'@vitejs/plugin-rsc': 0.5.34
'@vitejs/plugin-rsc': 0.5.35
'@vitest/browser-playwright': 4.1.11
'@vitest/coverage-v8': 4.1.11
abcjs: 6.7.0
agentation: 3.0.2
ahooks: 3.9.7
ahooks: 3.10.0
bowser: 2.14.1
c12: 4.0.0-beta.5
c12: 4.0.0-rc.1
chokidar: 5.0.0
class-variance-authority: 0.7.1
cli-table3: 0.6.5
cn: 0.2.4
cn: 0.2.6
code-inspector-plugin: 1.6.6
concurrently: 10.0.5
copy-to-clipboard: 4.0.2
cron-parser: 5.6.2
dayjs: 1.11.23
decimal.js: 10.6.0
dompurify: 3.4.14
dompurify: 3.4.15
echarts: 6.1.0
echarts-for-react: 3.0.6
elkjs: 0.11.1
@@ -153,7 +164,7 @@ catalog:
embla-carousel-react: 8.6.0
emoji-mart: 5.6.0
es-toolkit: 1.52.0
eslint: 10.9.1
eslint: 10.10.0
eslint-config-flat-gitignore: 2.4.0
eslint-markdown: 0.12.1
eslint-plugin-antfu: 3.2.3
@@ -165,23 +176,23 @@ catalog:
eslint-plugin-markdown-preferences: 0.41.1
eslint-plugin-n: 18.3.0
eslint-plugin-no-barrel-files: 1.3.1
eslint-plugin-perfectionist: 5.11.0
eslint-plugin-pnpm: 1.8.0
eslint-plugin-regexp: 3.1.1
eslint-plugin-storybook: 10.5.10
eslint-plugin-perfectionist: 5.11.1
eslint-plugin-pnpm: 1.9.1
eslint-plugin-regexp: 3.3.0
eslint-plugin-storybook: 10.6.0
eslint-plugin-toml: 1.5.0
eslint-plugin-unicorn: 71.1.0
eslint-plugin-yml: 3.8.1
eventsource-parser: 3.1.1
fast-deep-equal: 3.1.3
foxact: 0.3.10
foxact: 0.3.11
fuse.js: 7.5.0
happy-dom: 20.12.0
happy-dom: 20.14.5
hast-util-to-jsx-runtime: 2.3.6
hono: 4.13.5
hono: 4.13.8
html-entities: 2.6.0
html-to-image: 1.11.13
i18next: 26.4.0
i18next: 26.4.2
i18next-resources-to-backend: 1.2.3
iconify-import-svg: 0.2.0
immer: 11.1.18
@@ -189,35 +200,35 @@ catalog:
jotai-scope: 0.12.2
jotai-tanstack-query: 0.11.0
js-cookie: 3.0.8
js-yaml: 5.4.1
js-yaml: 5.4.2
jsonschema: 1.5.0
katex: 0.17.0
knip: 6.34.0
knip: 6.36.0
ky: 2.1.0
lexical: 0.47.0
lockfile: 1.0.4
loro-crdt: 1.15.1
mediabunny: 1.55.5
loro-crdt: 1.16.1
mediabunny: 1.57.0
mermaid: 11.17.2
mime: 4.1.0
mitt: 3.0.1
motion: 12.43.0
negotiator: 1.1.0
next: 16.3.4
next: 16.3.5
next-themes: 0.4.6
nuqs: 2.10.1
open: 11.0.2
open: 11.0.4
ora: 9.4.1
picocolors: 1.1.1
pinyin-pro: 3.29.3
playwright: 1.62.1
postcss: 8.5.26
pinyin-pro: 3.29.4
playwright: 1.63.0
postcss: 8.5.28
qrcode.react: 4.2.0
qs: 6.16.0
react: 19.3.0
react-dom: 19.3.0
react-easy-crop: 6.2.3
react-i18next: 17.0.12
react-i18next: 17.0.14
react-papaparse: 4.4.0
react-pdf-highlighter: 8.0.0-rc.0
react-server-dom-webpack: 19.3.0
@@ -232,29 +243,32 @@ catalog:
socket.io-client: 4.8.3
sortablejs: 1.15.7
std-semver: 1.0.8
storybook: 10.5.10
storybook: 10.6.0
streamdown: 2.6.0
string-ts: 2.3.1
tailwindcss: 4.3.3
tldts: 7.4.11
tldts: 7.4.13
tsx: 4.23.13
typescript: npm:@typescript/typescript6@6.0.2
uglify-js: 3.19.3
undici: 7.29.0
undici: 7.29.1
unist-util-visit: 5.1.0
use-context-selector: 2.0.0
uuid: 14.0.2
vinext: 1.0.0-beta.8
vite: npm:@voidzero-dev/vite-plus-core@0.3.1
vinext: 1.0.0-beta.10
vite: npm:@voidzero-dev/vite-plus-core@0.3.2
vite-plugin-inspect: 12.0.2
vite-plus: 0.3.1
vite-plus: 0.3.2
vitest: 4.1.11
vitest-browser-react: 2.2.0
vitest-canvas-mock: 1.1.5
zod: 4.5.4
vitest-browser-react: 2.3.0
vitest-canvas-mock: 1.2.0
zod: 4.6.5
zundo: 2.3.0
zustand: 5.0.15
peerDependencyRules:
allowAny:
- vite
- vitest
allowedVersions:
vite: '*'
vitest: '*'
+1
View File
@@ -2,6 +2,7 @@ import { defineConfig } from 'vite-plus'
export default defineConfig({
pack: {
deps: { resolveDepSubpath: true },
entry: ['src/index.ts'],
format: ['esm'],
platform: 'node',