From 9bedae604bfe236d41e6a5bb97c4e563c5cb79d7 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Wed, 6 Aug 2025 07:26:58 +0200 Subject: [PATCH 1/2] chore: add a note about .npmrc customization Fixes #4458 --- articles/flow/configuration/development-mode/node-js.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/articles/flow/configuration/development-mode/node-js.adoc b/articles/flow/configuration/development-mode/node-js.adoc index 5a5dc33fdc..09a283e50f 100644 --- a/articles/flow/configuration/development-mode/node-js.adoc +++ b/articles/flow/configuration/development-mode/node-js.adoc @@ -63,6 +63,8 @@ https-proxy=http://myusername:s3cr3tpassw0rd@proxyserver1:8086 noproxy=192.168.1.1,vaadin.com,mycompany.com ---- +When using PNPM and customizing a [filename]`.npmrc` file auto-generated by Vaadin, make sure to remove the `NOTICE: this is an auto-generated file` comment to prevent Vaadin to overwrite it with the default contents. + To learn more about the [filename]`.npmrc` file, see the https://docs.npmjs.com/configuring-npm/npmrc[official npmrc documentation]. [NOTE] From b9d98c7ae8da1606b0e79fb1fb560860bb09f159 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Wed, 6 Aug 2025 07:28:32 +0200 Subject: [PATCH 2/2] Update node-js.adoc --- articles/flow/configuration/development-mode/node-js.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/flow/configuration/development-mode/node-js.adoc b/articles/flow/configuration/development-mode/node-js.adoc index 09a283e50f..88f0c3626c 100644 --- a/articles/flow/configuration/development-mode/node-js.adoc +++ b/articles/flow/configuration/development-mode/node-js.adoc @@ -63,7 +63,7 @@ https-proxy=http://myusername:s3cr3tpassw0rd@proxyserver1:8086 noproxy=192.168.1.1,vaadin.com,mycompany.com ---- -When using PNPM and customizing a [filename]`.npmrc` file auto-generated by Vaadin, make sure to remove the `NOTICE: this is an auto-generated file` comment to prevent Vaadin to overwrite it with the default contents. +When using PNPM and customizing the [filename]`.npmrc` file auto-generated by Vaadin, make sure to remove the `NOTICE: this is an auto-generated file` comment to prevent Vaadin to overwrite it with the default contents. To learn more about the [filename]`.npmrc` file, see the https://docs.npmjs.com/configuring-npm/npmrc[official npmrc documentation].