I tried to git clone a repo inside of another repo and the files are not included when I commit the parent repo to GitHub.

I developed some private npm packages that I use in client projects. The clients need the packages at a given version and I need a way to update these packages on my development computer (the client doesn’t). I am trying to achieve a one-way (read-only) sync from some of my private GitHub repos to local client repos.

I could then use npm install /path/to/private/package which would work locally and when deployed to production as the package would be part of the client repos.

I believe Git submodules are not what I am looking for as clients would need credentials to my private repos.

Possible? Ideas?