Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor: unify pnpm version management with packageManager field (#23943)
lyzno162c34c4bc2ac
diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex 54f3f42a254..9aad9558b00 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -82,7 +82,7 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@v4with:- version: 10+ package_json_file: web/package.jsonrun_install: false- name: Setup NodeJS@@ -95,10 +95,12 @@ jobs:- name: Web dependenciesif: steps.changed-files.outputs.any_changed == 'true'+ working-directory: ./webrun: pnpm install --frozen-lockfile- name: Web style checkif: steps.changed-files.outputs.any_changed == 'true'+ working-directory: ./webrun: pnpm run lintdocker-compose-template:diff --git a/.github/workflows/translate-i18n-base-on-english.yml b/.github/workflows/translate-i18n-base-on-english.ymlindex 4b06174ee1a..c0048368083 100644--- a/.github/workflows/translate-i18n-base-on-english.yml+++ b/.github/workflows/translate-i18n-base-on-english.yml@@ -46,7 +46,7 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@v4with:- version: 10+ package_json_file: web/package.jsonrun_install: false- name: Set up Node.js@@ -59,10 +59,12 @@ jobs:- name: Install dependenciesif: env.FILES_CHANGED == 'true'+ working-directory: ./webrun: pnpm install --frozen-lockfile- name: Generate i18n translationsif: env.FILES_CHANGED == 'true'+ working-directory: ./webrun: pnpm run auto-gen-i18n ${{ env.FILE_ARGS }}- name: Create Pull Requestdiff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.ymlindex c3f8fdbaf6b..d104d69947e 100644--- a/.github/workflows/web-tests.yml+++ b/.github/workflows/web-tests.yml@@ -35,7 +35,7 @@ jobs:if: steps.changed-files.outputs.any_changed == 'true'uses: pnpm/action-setup@v4with:- version: 10+ package_json_file: web/package.jsonrun_install: false- name: Setup Node.js@@ -48,8 +48,10 @@ jobs:- name: Install dependenciesif: steps.changed-files.outputs.any_changed == 'true'+ working-directory: ./webrun: pnpm install --frozen-lockfile- name: Run testsif: steps.changed-files.outputs.any_changed == 'true'+ working-directory: ./webrun: pnpm testdiff --git a/web/Dockerfile b/web/Dockerfileindex d59039528cb..d284efca874 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -6,7 +6,7 @@ LABEL maintainer="[email protected]"# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositoriesRUN apk add --no-cache tzdata-RUN npm install -g [email protected]+RUN corepack enableENV PNPM_HOME="/pnpm"ENV PATH="$PNPM_HOME:$PATH"@@ -19,6 +19,9 @@ WORKDIR /app/webCOPY package.json .COPY pnpm-lock.yaml .+# Use packageManager from package.json+RUN corepack install+# if you located in China, you can use taobao registry to speed up# RUN pnpm install --frozen-lockfile --registry https://registry.npmmirror.com/diff --git a/web/package.json b/web/package.jsonindex a492104906d..385ae6662d6 100644--- a/web/package.json+++ b/web/package.json@@ -2,6 +2,7 @@"name": "dify-web","version": "1.7.2","private": true,+ "packageManager": "[email protected]","engines": {"node": ">=v22.11.0"},