This is an automated email from the ASF dual-hosted git repository.
CritasWang pushed a commit to branch rc/2.0.11
in repository https://gitbox.apache.org/repos/asf/iotdb-client-nodejs.git
The following commit(s) were added to refs/heads/rc/2.0.11 by this push:
new c7342cf chore: restrict npm package contents and add NOTICE
c7342cf is described below
commit c7342cf9f514844a3e7c09841490df2c74535693
Author: CritasWang <[email protected]>
AuthorDate: Fri Sep 11 12:04:11 2026 +0800
chore: restrict npm package contents and add NOTICE
- add a files whitelist so only dist and the top-level docs are published;
this drops tests, benchmark, docs, examples, docker-compose files, CI
config and dot-directories such as .claude/.specify/.omc from the tarball
- add the ASF NOTICE file
- add repository/homepage/bugs metadata and set the author
- clean dist before building so deleted sources no longer leave stale
artifacts behind in the package
---
NOTICE | 10 ++++++++++
package.json | 19 ++++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..7ec5fb4
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,10 @@
+Apache IoTDB Client for Node.js
+Copyright 2026 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The Thrift service definitions in this product are derived from the
+Apache IoTDB project (https://iotdb.apache.org/), and the generated
+Thrift stubs are produced with the Apache Thrift compiler
+(https://thrift.apache.org/).
diff --git a/package.json b/package.json
index 1953a58..2380462 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,24 @@
"description": "Apache IoTDB Node.js client with SessionPool and
TableSessionPool support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
+ "files": [
+ "dist/",
+ "README.md",
+ "README_zh.md",
+ "CHANGELOG.md",
+ "LICENSE",
+ "NOTICE"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/apache/iotdb-client-nodejs.git"
+ },
+ "homepage": "https://iotdb.apache.org/",
+ "bugs": {
+ "url": "https://github.com/apache/iotdb-client-nodejs/issues"
+ },
"scripts": {
+ "prebuild": "node -e \"require('fs').rmSync('dist', { recursive: true,
force: true })\"",
"build": "npm run build:esbuild && npm run build:types && npm run
copy:thrift",
"build:esbuild": "node esbuild.config.js",
"build:types": "tsc --emitDeclarationOnly",
@@ -32,7 +49,7 @@
"thrift",
"apache"
],
- "author": "",
+ "author": "The Apache Software Foundation",
"license": "Apache-2.0",
"dependencies": {
"denque": "^2.1.0",