What type of repository is appropriate for hosting a packaged web application?

by Coderer   Last Updated August 13, 2019 14:05 PM - source

I have a SPA (single page application), written in Typescript, built with webpack. It's all static content -- HTML/JS/CSS. The build process is fully automated such that npm run build makes a dist/ directory containing the site and npm run package creates a tarball of the site for easy distribution. There are other scripts to push out build tarballs to a local file share, and to deploy the site to a staging server on our development network.

I'd like to be able to share the application outside of our private network. The sources are in a Git repository but deploying the application requires pulling the source, installing NPM dependencies, and running Webpack. I'm already making a deployment-ready tarball artifact that I could just distribute, but I don't know where to put it.

Is there a popular repository that's appropriate for distributing pre-built web applications? My first thought was NPM -- I already have a package.json for the site project, used to manage the build toolchain -- but I don't really see end-user applications published as packages. It seems to be intended principally for libraries that you use when writing Node programs, versus web sites that you unpack and host on a server as static content.

Related Questions

Should unit of work create repository?

Updated July 05, 2018 22:05 PM

Should a UnitOfWork contain every Repository?

Updated October 24, 2018 17:05 PM

Repository Pattern vs DAL Object Creation

Updated September 13, 2018 07:05 AM

Download music videos from repository having JSON file

Updated January 13, 2019 07:05 AM