@trackunit/iris-app-sdk-vite 1.11.37 → 1.11.38-alpha-1872e1df7fb.0
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,97 +1,3 @@
|
|
|
1
|
-
## 1.11.37 (2026-11-04)
|
|
2
|
-
|
|
3
|
-
### 🧱 Updated Dependencies
|
|
4
|
-
|
|
5
|
-
- Updated iris-app-build-utilities to 3.0.18
|
|
6
|
-
- Updated iris-app-api to 2.13.6
|
|
7
|
-
- Updated iris-app to 2.16.3
|
|
8
|
-
|
|
9
|
-
## 1.11.36 (2026-11-04)
|
|
10
|
-
|
|
11
|
-
### 🧱 Updated Dependencies
|
|
12
|
-
|
|
13
|
-
- Updated iris-app-build-utilities to 3.0.17
|
|
14
|
-
- Updated iris-app-api to 2.13.5
|
|
15
|
-
- Updated iris-app to 2.16.2
|
|
16
|
-
|
|
17
|
-
## 1.11.35 (2026-11-04)
|
|
18
|
-
|
|
19
|
-
### 🧱 Updated Dependencies
|
|
20
|
-
|
|
21
|
-
- Updated iris-app-build-utilities to 3.0.16
|
|
22
|
-
- Updated iris-app-api to 2.13.4
|
|
23
|
-
- Updated iris-app to 2.16.1
|
|
24
|
-
|
|
25
|
-
## 1.11.34 (2026-11-04)
|
|
26
|
-
|
|
27
|
-
### 🚀 Features
|
|
28
|
-
|
|
29
|
-
- **iris-app-sdk:** guide apps to lazy pages for AI navigation and follow getParentRoute ([#27279](https://github.com/Trackunit/manager/pull/27279))
|
|
30
|
-
|
|
31
|
-
### 🧱 Updated Dependencies
|
|
32
|
-
|
|
33
|
-
- Updated iris-app-build-utilities to 3.0.15
|
|
34
|
-
- Updated iris-app-api to 2.13.3
|
|
35
|
-
- Updated iris-app to 2.16.0
|
|
36
|
-
|
|
37
|
-
### ❤️ Thank You
|
|
38
|
-
|
|
39
|
-
- Kasper Laursen @ghost-of-kla-trackunit
|
|
40
|
-
|
|
41
|
-
## 1.11.33 (2026-11-04)
|
|
42
|
-
|
|
43
|
-
### 🧱 Updated Dependencies
|
|
44
|
-
|
|
45
|
-
- Updated iris-app-build-utilities to 3.0.14
|
|
46
|
-
- Updated iris-app-api to 2.13.2
|
|
47
|
-
- Updated iris-app to 2.15.16
|
|
48
|
-
|
|
49
|
-
## 1.11.32 (2026-11-03)
|
|
50
|
-
|
|
51
|
-
### 🧱 Updated Dependencies
|
|
52
|
-
|
|
53
|
-
- Updated iris-app to 2.15.15
|
|
54
|
-
|
|
55
|
-
## 1.11.31 (2026-11-03)
|
|
56
|
-
|
|
57
|
-
### 🧱 Updated Dependencies
|
|
58
|
-
|
|
59
|
-
- Updated iris-app-build-utilities to 3.0.13
|
|
60
|
-
- Updated iris-app-api to 2.13.1
|
|
61
|
-
- Updated iris-app to 2.15.14
|
|
62
|
-
|
|
63
|
-
## 1.11.30 (2026-11-03)
|
|
64
|
-
|
|
65
|
-
### 🧱 Updated Dependencies
|
|
66
|
-
|
|
67
|
-
- Updated iris-app-build-utilities to 3.0.12
|
|
68
|
-
- Updated iris-app-api to 2.13.0
|
|
69
|
-
- Updated iris-app to 2.15.13
|
|
70
|
-
|
|
71
|
-
## 1.11.29 (2026-11-03)
|
|
72
|
-
|
|
73
|
-
### 🧱 Updated Dependencies
|
|
74
|
-
|
|
75
|
-
- Updated iris-app-build-utilities to 3.0.11
|
|
76
|
-
- Updated iris-app-api to 2.12.28
|
|
77
|
-
- Updated iris-app to 2.15.12
|
|
78
|
-
|
|
79
|
-
## 1.11.28 (2026-11-03)
|
|
80
|
-
|
|
81
|
-
### 🧱 Updated Dependencies
|
|
82
|
-
|
|
83
|
-
- Updated iris-app-build-utilities to 3.0.10
|
|
84
|
-
- Updated iris-app-api to 2.12.27
|
|
85
|
-
- Updated iris-app to 2.15.11
|
|
86
|
-
|
|
87
|
-
## 1.11.27 (2026-11-03)
|
|
88
|
-
|
|
89
|
-
### 🧱 Updated Dependencies
|
|
90
|
-
|
|
91
|
-
- Updated iris-app-build-utilities to 3.0.9
|
|
92
|
-
- Updated iris-app-api to 2.12.26
|
|
93
|
-
- Updated iris-app to 2.15.10
|
|
94
|
-
|
|
95
1
|
## 1.11.26 (2026-11-02)
|
|
96
2
|
|
|
97
3
|
### 🧱 Updated Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-sdk-vite",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.38-alpha-1872e1df7fb.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"executors": "./executors.json",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"rxjs": "7.8.2",
|
|
12
12
|
"win-ca": "^3.5.1",
|
|
13
|
-
"@trackunit/iris-app-build-utilities": "3.0.
|
|
14
|
-
"@trackunit/iris-app-api": "2.13.
|
|
13
|
+
"@trackunit/iris-app-build-utilities": "3.0.19-alpha-1872e1df7fb.0",
|
|
14
|
+
"@trackunit/iris-app-api": "2.13.7-alpha-1872e1df7fb.0",
|
|
15
15
|
"tslib": "^2.6.2",
|
|
16
16
|
"typescript": "6.0.2",
|
|
17
17
|
"vite": "8.3.4",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@tailwindcss/postcss": "^4.1.18",
|
|
24
24
|
"@vitejs/plugin-react-swc": "^4.3.3",
|
|
25
25
|
"@nx/devkit": "23.3.0",
|
|
26
|
-
"@trackunit/iris-app": "2.16.
|
|
26
|
+
"@trackunit/iris-app": "2.16.4-alpha-1872e1df7fb.0",
|
|
27
27
|
"cross-keychain": "^1.1.0",
|
|
28
28
|
"jwt-decode": "^3.1.2"
|
|
29
29
|
},
|
|
@@ -41,7 +41,7 @@ async function* buildExecutor(options, context) {
|
|
|
41
41
|
// resolver could not satisfy against the synthetic `/workspace/...` paths used
|
|
42
42
|
// by the spec - the import threw before the spec's beforeEach `vi.mock(...)`
|
|
43
43
|
// had any chance to intercept it.
|
|
44
|
-
const IrisAppManifest = await (0, manifestLoader_1.loadManifest)(context.root, projectRootDir)
|
|
44
|
+
const IrisAppManifest = await (0, manifestLoader_1.loadManifest)(context.root, projectRootDir);
|
|
45
45
|
// Stamp the *installed* `@trackunit/iris-app` version (not the declared
|
|
46
46
|
// range) so the host can decide content-inset behaviour from the published
|
|
47
47
|
// manifest. Fail-soft: absent version keeps the legacy-inset default.
|
|
@@ -114,7 +114,6 @@ async function* buildExecutor(options, context) {
|
|
|
114
114
|
console.error(`\n ❌ Iris App build failed\n`);
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
117
|
-
// The plugin's `buildStart` reloads the manifest, which opens a new loader.
|
|
118
117
|
// The loader holds a Vite server open; without this the process never exits.
|
|
119
118
|
op.finalize(() => {
|
|
120
119
|
void (0, manifestLoader_1.closeManifestLoader)();
|
|
@@ -180,34 +180,14 @@ const collectWorkspaceSources = (server) => {
|
|
|
180
180
|
return [...sources];
|
|
181
181
|
};
|
|
182
182
|
const cjsInteropFailure = /The requested module '([^']+)' is a CommonJS module/;
|
|
183
|
-
/**
|
|
184
|
-
* Code that needs a browser fails in Node as a ReferenceError, such as
|
|
185
|
-
* `HTMLElement is not defined`, or as a TypeError when it reads from `window` or
|
|
186
|
-
* `document`, which `browserGlobalsPlugin` declares but leaves undefined.
|
|
187
|
-
*/
|
|
188
|
-
const isBrowserOnlyFailure = (error) => error.name === "ReferenceError" || error.name === "TypeError";
|
|
189
|
-
const lazyPagesHint = [
|
|
190
|
-
"If a page that a route tree imports caused this, load that page lazily. The manifest imports the route tree",
|
|
191
|
-
"in Node at build time, so every page the tree imports directly runs there too. For example:",
|
|
192
|
-
"",
|
|
193
|
-
' import { lazyRouteComponent } from "@tanstack/react-router";',
|
|
194
|
-
"",
|
|
195
|
-
" // Before: component: AssetsPage, with AssetsPage imported at the top of the file.",
|
|
196
|
-
' component: lazyRouteComponent(() => import("./AssetsPage"), "AssetsPage"),',
|
|
197
|
-
"",
|
|
198
|
-
"See 'extractAiNavigationFromTanstackRouter' in @trackunit/iris-app-api for details.",
|
|
199
|
-
].join("\n");
|
|
200
183
|
const describeLoadFailure = (error, entryPath) => {
|
|
201
184
|
const cause = error instanceof Error ? error : new Error(String(error));
|
|
202
185
|
const offendingPackage = cjsInteropFailure.exec(cause.message)?.[1];
|
|
203
|
-
if (offendingPackage
|
|
204
|
-
return
|
|
205
|
-
`resolved. Add it to 'cjsPackagesRequiringInlining' in manifestModuleLoader.ts so Vite inlines and interops it.`, { cause });
|
|
206
|
-
}
|
|
207
|
-
if (isBrowserOnlyFailure(cause)) {
|
|
208
|
-
return new Error(`Could not load '${entryPath}': ${cause.message}\n\n${lazyPagesHint}`, { cause });
|
|
186
|
+
if (offendingPackage === undefined) {
|
|
187
|
+
return cause;
|
|
209
188
|
}
|
|
210
|
-
return
|
|
189
|
+
return new Error(`Could not load '${entryPath}': '${offendingPackage}' is a CommonJS package whose named exports could not be ` +
|
|
190
|
+
`resolved. Add it to 'cjsPackagesRequiringInlining' in manifestModuleLoader.ts so Vite inlines and interops it.`, { cause });
|
|
211
191
|
};
|
|
212
192
|
const restoreNodeEnv = (nodeEnv) => {
|
|
213
193
|
if (nodeEnv === undefined) {
|