@trackunit/iris-app-sdk-vite 0.0.34 → 0.0.37

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,3 +1,24 @@
1
+ ## 0.0.37 (2026-03-12)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-build-utilities to 1.12.73
6
+ - Updated iris-app-api to 1.14.67
7
+
8
+ ## 0.0.36 (2026-03-11)
9
+
10
+ ### 🧱 Updated Dependencies
11
+
12
+ - Updated iris-app-build-utilities to 1.12.72
13
+ - Updated iris-app-api to 1.14.66
14
+
15
+ ## 0.0.35 (2026-03-11)
16
+
17
+ ### 🧱 Updated Dependencies
18
+
19
+ - Updated iris-app-build-utilities to 1.12.71
20
+ - Updated iris-app-api to 1.14.65
21
+
1
22
  ## 0.0.34 (2026-03-11)
2
23
 
3
24
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-sdk-vite",
3
- "version": "0.0.34",
3
+ "version": "0.0.37",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "executors": "./executors.json",
@@ -11,8 +11,8 @@
11
11
  "@nx/devkit": "22.4.4",
12
12
  "rxjs": "7.8.1",
13
13
  "win-ca": "^3.5.1",
14
- "@trackunit/iris-app-build-utilities": "1.12.70",
15
- "@trackunit/iris-app-api": "1.14.64",
14
+ "@trackunit/iris-app-build-utilities": "1.12.73",
15
+ "@trackunit/iris-app-api": "1.14.67",
16
16
  "tslib": "^2.6.2",
17
17
  "vite": "7.3.1",
18
18
  "@module-federation/vite": "1.11.0",
@@ -29,11 +29,11 @@ async function* serveExecutor(options, context) {
29
29
  });
30
30
  // Now we can safely import the manifest (it uses @trackunit/* imports)
31
31
  const IrisAppManifest = (await Promise.resolve(`${manifestPath}`).then(s => tslib_1.__importStar(require(s)))).default;
32
- const serverlessResult = await (0, iris_app_build_utilities_1.spawnServerlessExtensions)(IrisAppManifest, context.root);
32
+ const serversideResult = await (0, iris_app_build_utilities_1.spawnServersideExtensions)(IrisAppManifest, context.root);
33
33
  try {
34
34
  // Get default config (internally imports @trackunit/iris-app-vite-plugin)
35
35
  const defaultConfig = await (0, defaultViteConfig_1.getDefaultViteConfig)("development", context.root, projectRootDir, IrisAppManifest, context, {
36
- serverlessPortMap: serverlessResult.portMap,
36
+ serversidePortMap: serversideResult.portMap,
37
37
  skipTypeChecking: options.skipTypeChecking,
38
38
  });
39
39
  // Load optional custom config
@@ -93,12 +93,12 @@ async function* serveExecutor(options, context) {
93
93
  baseUrl,
94
94
  success,
95
95
  })), op.finalize(() => {
96
- serverlessResult.cleanup();
96
+ serversideResult.cleanup();
97
97
  }));
98
98
  return yield* (0, rxjs_for_await_1.eachValueFrom)(observable);
99
99
  }
100
100
  catch (error) {
101
- serverlessResult.cleanup();
101
+ serversideResult.cleanup();
102
102
  throw error;
103
103
  }
104
104
  }
@@ -42,7 +42,7 @@ const getDefaultViteConfig = async (mode, nxRootDir, appDir, _irisAppManifest, c
42
42
  appDir,
43
43
  workspaceRoot: nxRootDir,
44
44
  config: { mode },
45
- serverlessPortMap: options.serverlessPortMap,
45
+ serversidePortMap: options.serversidePortMap,
46
46
  skipTypeChecking: options.skipTypeChecking,
47
47
  });
48
48
  return {
@@ -356,8 +356,8 @@ async function getTrackunitIrisAppVitePlugins(options) {
356
356
  manifest = reloadManifest();
357
357
  },
358
358
  configureServer(server) {
359
- // Route /invoke requests to local serverless extensions when available.
360
- server.middlewares.use("/invoke", (0, iris_app_build_utilities_1.createInvokeProxyMiddleware)(options.serverlessPortMap));
359
+ // Route /invoke requests to local serverside extensions when available.
360
+ server.middlewares.use("/invoke", (0, iris_app_build_utilities_1.createInvokeProxyMiddleware)(options.serversidePortMap));
361
361
  // Serve extension assets from source during development (/{extensionId}/... → {sourceRoot}/...)
362
362
  server.middlewares.use((req, res, next) => {
363
363
  const url = req.url?.split("?")[0] ?? "/";