@checkstack/frontend 0.3.16 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @checkstack/frontend
2
2
 
3
+ ## 0.3.18
4
+
5
+ ### Patch Changes
6
+
7
+ - fdc9b2d: Fix vendor build output conflicting with Vite's publicDir
8
+
9
+ The vendor build was outputting to `public/vendor/` which is inside Vite's `publicDir` (`public/`). This caused Vite to skip copying public directory contents (including `favicon.svg`) to the `dist/` folder during production builds, resulting in missing static assets in the Docker container.
10
+
11
+ - Move vendor build output from `public/vendor/` to `dist/vendor/`
12
+ - Set `emptyOutDir: false` on the main build to preserve the pre-built vendor bundles
13
+
14
+ ## 0.3.17
15
+
16
+ ### Patch Changes
17
+
18
+ - 3da7582: Fix favicon not loading in production container and add NotFound page
19
+
20
+ - **Backend**: Fix static file serving so root-level files like `/favicon.svg` are served from the dist directory before the SPA fallback catches them
21
+ - **UI**: Add `NotFound` component with stacked-checkmark logo, physics-inspired falling "4" animation, and low-power device fallback
22
+ - **Frontend**: Add catch-all `*` route to display the NotFound page for unmatched routes, and add the Checkstack logo to the navbar
23
+ - **Favicon**: Redesign with stacked checkmarks in the brand purple/indigo palette
24
+
25
+ - Updated dependencies [3da7582]
26
+ - @checkstack/ui@1.5.0
27
+ - @checkstack/about-frontend@0.2.10
28
+ - @checkstack/announcement-frontend@0.2.10
29
+ - @checkstack/auth-frontend@0.5.27
30
+ - @checkstack/catalog-frontend@0.8.1
31
+ - @checkstack/command-frontend@0.2.29
32
+ - @checkstack/dependency-frontend@0.2.15
33
+
3
34
  ## 0.3.16
4
35
 
5
36
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/frontend",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "checkstack": {
5
5
  "type": "frontend"
6
6
  },
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2db9cf696a3f5844954fe436ff927ba49c21410e7e66b359a22d1caf7e7b4979
3
- size 849
2
+ oid sha256:c085b655ed5ca12cd424c0444b86165cc67223bcc440b89cf4654ec989777668
3
+ size 1098
package/src/App.tsx CHANGED
@@ -33,6 +33,7 @@ import { CoreFetchApi } from "./apis/fetch-api";
33
33
  import { CoreRpcApi } from "./apis/rpc-api";
34
34
  import {
35
35
  AccessDenied,
36
+ NotFound,
36
37
  LoadingSpinner,
37
38
  ToastProvider,
38
39
  AmbientBackground,
@@ -144,7 +145,8 @@ function AppContent() {
144
145
  <div className="flex items-center justify-between gap-4">
145
146
  {/* Left: Logo and main navigation */}
146
147
  <div className="flex items-center gap-8 flex-shrink-0">
147
- <Link to="/">
148
+ <Link to="/" className="flex items-center gap-2">
149
+ <img src="/favicon.svg" alt="" className="w-7 h-7" />
148
150
  <h1 className="text-xl font-bold text-primary">Checkstack</h1>
149
151
  </Link>
150
152
  <nav className="hidden md:flex gap-1">
@@ -183,6 +185,8 @@ function AppContent() {
183
185
  }
184
186
  />
185
187
  ))}
188
+ {/* Catch-all: show Not Found for unmatched routes */}
189
+ <Route path="*" element={<NotFound />} />
186
190
  </Routes>
187
191
  </main>
188
192
  </AmbientBackground>
package/vite.config.ts CHANGED
@@ -50,6 +50,9 @@ export default defineConfig(() => {
50
50
  target: "esnext",
51
51
  // Generate sourcemaps for production debugging
52
52
  sourcemap: true,
53
+ // Don't wipe dist/ — the vendor build (build:vendor) writes to dist/vendor/
54
+ // before this build runs, and we need to preserve those files
55
+ emptyOutDir: false,
53
56
  },
54
57
  resolve: {
55
58
  // Force all monorepo packages to use the same React copy at build time.
@@ -9,8 +9,10 @@ import path from "node:path";
9
9
  * We point directly to node_modules - no custom entry files needed.
10
10
  */
11
11
  export default defineConfig({
12
+ // Don't copy public/ contents — the main build handles that
13
+ publicDir: false,
12
14
  build: {
13
- outDir: "public/vendor",
15
+ outDir: "dist/vendor",
14
16
  emptyOutDir: true,
15
17
  lib: {
16
18
  formats: ["es"],
package/public/.gitkeep DELETED
File without changes