This is an automated email from the ASF dual-hosted git repository.
chanholee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new 320c1a20a4 [ZEPPELIN-6138] Add .nvmrc to set node v16.20.2 for
Zeppelin client
320c1a20a4 is described below
commit 320c1a20a492251eedbed79341810a5175f16831
Author: YONGJAE LEE(이용재) <[email protected]>
AuthorDate: Sat Sep 6 16:04:00 2025 +0900
[ZEPPELIN-6138] Add .nvmrc to set node v16.20.2 for Zeppelin client
### What is this PR for?
Using a `.nvmrc` file allows people using `nvm` to easily specify and
switch to the desired Node version. In my work, I often use different Node
versions for Zeppelin and other projects, and switching between them every time
can be cumbersome. Setting up a `.nvmrc` would automate this process, making it
much more convenient. It would also allow `nvm` users to not worry about the
Node version, thereby reducing unnecessary overhead.
https://github.com/apache/superset/blob/master/docs/.nvmrc
I looked at other Apache projects and found that Superset already uses a
`.nvmrc` file. Therefore, it would be beneficial to apply the same to Zeppelin.
And in this PR, I pinned Node to version **16.20.2** for both **zeppelin-web**
and **zeppelin-web-angular**, the latest release of Node 16, using `.nvmrc`.
### What type of PR is it?
Improvement
### Todos
### What is the Jira issue?
* [[ZEPPELIN-6318](https://issues.apache.org/jira/browse/ZEPPELIN-6318)]
### How should this be tested?
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? N
* Is there breaking changes for older versions? N
* Does this needs documentation? N
Closes #5068 from dididy/chore/ZEPPELIN-6318.
Signed-off-by: ChanHo Lee <[email protected]>
---
zeppelin-web-angular/.nvmrc | 11 +++++++++++
zeppelin-web/.nvmrc | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/zeppelin-web-angular/.nvmrc b/zeppelin-web-angular/.nvmrc
new file mode 100644
index 0000000000..0af7914966
--- /dev/null
+++ b/zeppelin-web-angular/.nvmrc
@@ -0,0 +1,11 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+16.20.2
diff --git a/zeppelin-web/.nvmrc b/zeppelin-web/.nvmrc
new file mode 100644
index 0000000000..0af7914966
--- /dev/null
+++ b/zeppelin-web/.nvmrc
@@ -0,0 +1,11 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+16.20.2