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.
This commit is contained in:
Orne Brocaar 2024-05-13 16:32:59 +01:00
parent c3de89a4a4
commit 36bbf8f153
3 changed files with 1 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
!/chirpstack/.rpm
!/.cargo
!/.env
!.npmignore
# Log files
*.log

0
api/grpc-web/.npmignore vendored Normal file
View File

0
api/js/.npmignore vendored Normal file
View File