@lobb-js/lobb-ext-reports 0.1.32 → 0.1.33

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
@@ -2,6 +2,15 @@
2
2
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
3
3
 
4
4
  - - -
5
+ ## reports-ext-studio@0.1.33 - 2026-03-01
6
+ #### Bug Fixes
7
+ - (**studio**) prevent @lobb-js/studio version shadowing in extensions - (cd674b9) - malik ben
8
+ #### Miscellaneous Chores
9
+ - (**version**) 0.15.0 - (0c2c345) - Cocogitto Bot
10
+ - fixing the /studio base issue - (de6686f) - Malik Najjar
11
+
12
+ - - -
13
+
5
14
  ## reports-ext-studio@0.1.32 - 2026-02-22
6
15
  #### Bug Fixes
7
16
  - adding a studio prefix for the studio app - (6607b5a) - malik ben
package/nginx.conf CHANGED
@@ -4,21 +4,14 @@ server {
4
4
  root /usr/share/nginx/html;
5
5
  index index.html;
6
6
 
7
- # Handle SPA routing
8
- location / {
7
+ # Strip /studio prefix (Traefik forwards full path without stripping)
8
+ location /studio {
9
+ rewrite ^/studio/?(.*)$ /$1 break;
9
10
  try_files $uri $uri/ /index.html;
10
11
  }
11
12
 
12
- # Proxy API requests to backend
13
- location /api {
14
- proxy_pass http://lobb:3000;
15
- proxy_http_version 1.1;
16
- proxy_set_header Upgrade $http_upgrade;
17
- proxy_set_header Connection 'upgrade';
18
- proxy_set_header Host $host;
19
- proxy_set_header X-Real-IP $remote_addr;
20
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
21
- proxy_set_header X-Forwarded-Proto $scheme;
22
- proxy_cache_bypass $http_upgrade;
13
+ # Fallback for direct/local access
14
+ location / {
15
+ try_files $uri $uri/ /index.html;
23
16
  }
24
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobb-js/lobb-ext-reports",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,11 +15,11 @@
15
15
  "check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
16
16
  },
17
17
  "dependencies": {
18
- "@lobb-js/studio": "0.3.2",
19
18
  "chart.js": "^4.4.8",
20
19
  "lodash-es": "^4.17.21"
21
20
  },
22
21
  "devDependencies": {
22
+ "@lobb-js/studio": "0.3.3",
23
23
  "@lucide/svelte": "^0.563.1",
24
24
  "@sveltejs/vite-plugin-svelte": "6.2.1",
25
25
  "@tailwindcss/vite": "^4.1.18",
package/vite.config.ts CHANGED
@@ -5,6 +5,7 @@ import tailwindcss from "@tailwindcss/vite";
5
5
 
6
6
  // https://vite.dev/config/
7
7
  export default defineConfig({
8
+ base: '/studio',
8
9
  plugins: [
9
10
  ...lobbStudioPlugins(),
10
11
  tailwindcss(),