From 36bbf8f153225685ac237fc1a5454f7d7c2e1a3f Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Mon, 13 May 2024 16:32:59 +0100 Subject: [PATCH] api: Fix empty JS packages. NPM uses the .gitignore file, which includes the generated JS code. This caused the v4.8.0 JS packages to be completely empty. Adding an empty .npmignore file resolves the issue as if a .npmignore file is detected, the .gitignore file is ignored. --- .gitignore | 1 + api/grpc-web/.npmignore | 0 api/js/.npmignore | 0 3 files changed, 1 insertion(+) create mode 100644 api/grpc-web/.npmignore create mode 100644 api/js/.npmignore diff --git a/.gitignore b/.gitignore index 4991e11a..a917d4ea 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ !/chirpstack/.rpm !/.cargo !/.env +!.npmignore # Log files *.log diff --git a/api/grpc-web/.npmignore b/api/grpc-web/.npmignore new file mode 100644 index 00000000..e69de29b diff --git a/api/js/.npmignore b/api/js/.npmignore new file mode 100644 index 00000000..e69de29b