@trackunit/iris-app 1.13.1 → 1.14.1

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,26 @@
1
+ ## 1.14.1 (2026-03-17)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-build-utilities to 1.13.2
6
+ - Updated iris-app-api to 1.15.1
7
+ - Updated react-test-setup to 1.8.70
8
+ - Updated shared-utils to 1.13.70
9
+
10
+ ## 1.14.0 (2026-03-17)
11
+
12
+ ### 🚀 Features
13
+
14
+ - add TypeScript configuration updates for preset generator ([eb891f12396](https://github.com/Trackunit/manager/commit/eb891f12396))
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - enhance error boundary styling in demo fleet extension app ([9592189003b](https://github.com/Trackunit/manager/commit/9592189003b))
19
+
20
+ ### ❤️ Thank You
21
+
22
+ - Mikkel Thorbjørn Andersen
23
+
1
24
  ## 1.13.1 (2026-03-17)
2
25
 
3
26
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app",
3
- "version": "1.13.1",
3
+ "version": "1.14.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "main": "src/index.js",
6
6
  "generators": "./generators.json",
@@ -25,8 +25,8 @@
25
25
  "nx": "22.4.4",
26
26
  "@npmcli/arborist": "^9.1.9",
27
27
  "win-ca": "^3.5.1",
28
- "@trackunit/shared-utils": "1.13.69",
29
- "@trackunit/iris-app-api": "1.15.0",
28
+ "@trackunit/shared-utils": "1.13.70",
29
+ "@trackunit/iris-app-api": "1.15.1",
30
30
  "tslib": "^2.6.2",
31
31
  "@clack/prompts": "^1.0.0",
32
32
  "@npm/types": "^1.0.2"
@@ -1,15 +1,14 @@
1
- import { IrisAppManifest } from '@trackunit/iris-app-api';
1
+ import { IrisAppManifest, loadNxRootPackageJson } from '@trackunit/iris-app-api';
2
+ import packageJson from "./package.json";
3
+ import { join } from "path";
2
4
 
3
- // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
4
- const nxPackageJson = require("<%= toNxRoot %>package.json");
5
- // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
6
- const packageJson = require("./package.json");
5
+ const nxPackageJson = loadNxRootPackageJson(join(__dirname, "<%= toNxRoot %>"));
7
6
 
8
- const irisAppManifest: IrisAppManifest = {
7
+ const irisAppManifest : IrisAppManifest = {
9
8
  specVersion: "1.1",
10
9
  moduleFederationName: packageJson.name,
11
- dependencies: nxPackageJson.dependencies || {},
12
- devDependencies: nxPackageJson.devDependencies || {},
10
+ dependencies: nxPackageJson.dependencies,
11
+ devDependencies: nxPackageJson.devDependencies,
13
12
 
14
13
  installation: {
15
14
  accountIds: 'ALL_ACCOUNTS',
@@ -17,7 +17,7 @@ const lifeCycle = singleSpaReact({
17
17
  rootComponent: RootComponent,
18
18
  errorBoundary(err, info, props) {
19
19
  return (
20
- <div>An error occurred in the <%= projectName %> app!</div>
20
+ <div className="flex h-full items-center justify-center">An error occurred in the <%= projectName %> app!</div>
21
21
  );
22
22
  },
23
23
  });
@@ -33,6 +33,14 @@ async function presetGenerator(tree, options) {
33
33
  tsConfigName: "tsconfig.base.json",
34
34
  skipFormat: true,
35
35
  });
36
+ (0, devkit_1.updateJson)(tree, "tsconfig.base.json", (tsconfig) => {
37
+ if (!tsconfig.compilerOptions) {
38
+ tsconfig.compilerOptions = {};
39
+ }
40
+ tsconfig.compilerOptions.esModuleInterop = true;
41
+ tsconfig.compilerOptions.resolveJsonModule = true;
42
+ return tsconfig;
43
+ });
36
44
  (0, devkit_1.addDependenciesToPackageJson)(tree, {
37
45
  react: "19.0.0",
38
46
  "react-dom": "19.0.0",