This is an automated email from the ASF dual-hosted git repository.
baodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git
The following commit(s) were added to refs/heads/master by this push:
new a2983fc Create .npmignore (#419)
a2983fc is described below
commit a2983fc9071be8104d3d5da76e9ed79c2c514b80
Author: David Liu <[email protected]>
AuthorDate: Thu Jun 19 21:07:14 2025 +0800
Create .npmignore (#419)
exclude unnecessary files to be included in npm package
---
.npmignore | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..f280fa6
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,40 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+.github
+build-support
+docs
+examples
+perf
+pkg
+tests
+# linting
+.clang-format
+.eslintignore
+.eslintrc.json
+# ts
+tsconfig.json
+tslint.json
+tstest.ts
+typedoc.json
+
+# license
+license-checker-config.json
+license-header.txt
+
+