zulip/web/shared
Anders Kaseorg c1675913a2 web: Move web app to ‘web’ directory.
Ever since we started bundling the app with webpack, there’s been less
and less overlap between our ‘static’ directory (files belonging to
the frontend app) and Django’s interpretation of the ‘static’
directory (files served directly to the web).

Split the app out to its own ‘web’ directory outside of ‘static’, and
remove all the custom collectstatic --ignore rules.  This makes it
much clearer what’s actually being served to the web, and what’s being
bundled by webpack.  It also shrinks the release tarball by 3%.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-02-23 16:04:17 -08:00
..
icons web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
src web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
tools web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
.gitignore web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
.npmrc web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
package.json web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
README.md web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
tsconfig.json web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00

The files in this subtree are part of the Zulip web frontend, and are also incorporated by the Zulip mobile app.

Note that the deployment cycles are different:

  • In the web app, this code is deployed in the same way as the rest of the web frontend: it's part of the server tree, and the browser gets it from the server, so the client is always running the same version the server just gave it.

  • In the mobile app, this code is deployed in the same way as the rest of the mobile app: it's bundled up into the app binary which is uploaded to app stores and users install on their devices. The client will be running the version built into their version of the mobile app, which may be newer, older, or simply different from the version on the server.

    The mobile app always refers to a specific version of this code; changes to this code will appear in the mobile app only after a commit in the mobile app pulls them in.

To update the version of @zulip/shared on NPM, see the instructions in the mobile repo.