@trackunit/iris-app 2.2.26 → 2.2.28-alpha-40607e2d0bc.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,3 +1,12 @@
|
|
|
1
|
+
## 2.2.27 (2026-08-03)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated iris-app-build-utilities to 2.1.26
|
|
6
|
+
- Updated iris-app-api to 2.1.25
|
|
7
|
+
- Updated react-vite-test-setup to 0.0.85
|
|
8
|
+
- Updated shared-utils to 1.15.87
|
|
9
|
+
|
|
1
10
|
## 2.2.26 (2026-07-31)
|
|
2
11
|
|
|
3
12
|
### 🧱 Updated Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.28-alpha-40607e2d0bc.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"generators": "./generators.json",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"ts-morph": "^20.0.0",
|
|
19
19
|
"@phenomnomnominal/tsquery": "^6.1.3",
|
|
20
20
|
"typescript": "6.0.2",
|
|
21
|
-
"@nx/js": "
|
|
22
|
-
"@nx/eslint": "
|
|
23
|
-
"@nx/react": "
|
|
21
|
+
"@nx/js": "23.1.0",
|
|
22
|
+
"@nx/eslint": "23.1.0",
|
|
23
|
+
"@nx/react": "23.1.0",
|
|
24
24
|
"@npmcli/arborist": "^9.1.9",
|
|
25
25
|
"win-ca": "^3.5.1",
|
|
26
|
-
"@trackunit/shared-utils": "1.15.
|
|
27
|
-
"@trackunit/iris-app-api": "2.1.
|
|
26
|
+
"@trackunit/shared-utils": "1.15.88-alpha-40607e2d0bc.0",
|
|
27
|
+
"@trackunit/iris-app-api": "2.1.26-alpha-40607e2d0bc.0",
|
|
28
28
|
"tslib": "^2.6.2",
|
|
29
29
|
"@clack/prompts": "^1.0.0",
|
|
30
30
|
"@npm/types": "^1.0.2",
|
|
31
|
-
"@nx/devkit": "
|
|
32
|
-
"nx": "
|
|
31
|
+
"@nx/devkit": "23.1.0",
|
|
32
|
+
"nx": "23.1.0"
|
|
33
33
|
},
|
|
34
34
|
"migrations": "./migrations.json",
|
|
35
35
|
"types": "./src/index.d.ts",
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.IrisAppGenerator = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const
|
|
6
|
+
const internal_1 = require("@nx/js/internal");
|
|
7
7
|
const pacote = tslib_1.__importStar(require("pacote"));
|
|
8
8
|
const path = tslib_1.__importStar(require("path"));
|
|
9
9
|
function normalizeOptions(tree, options) {
|
|
@@ -11,7 +11,7 @@ function normalizeOptions(tree, options) {
|
|
|
11
11
|
const projectDirectory = options.directory ? path.join(options.directory, name) : name;
|
|
12
12
|
const toNxRoot = `../../${projectDirectory.indexOf("/") !== -1 ? "../" : ""}`;
|
|
13
13
|
const projectName = name.replace(new RegExp("/", "g"), "_");
|
|
14
|
-
const npmScope = (0,
|
|
14
|
+
const npmScope = (0, internal_1.getNpmScope)(tree);
|
|
15
15
|
if (!npmScope) {
|
|
16
16
|
throw new Error("Could not find npm scope in package.json");
|
|
17
17
|
}
|
|
@@ -83,11 +83,11 @@ const IrisAppGenerator = async function (tree, options) {
|
|
|
83
83
|
"single-spa-react": "5.1.4",
|
|
84
84
|
}, {
|
|
85
85
|
...tuDevDependencies,
|
|
86
|
-
nx: "
|
|
87
|
-
"@nx/react": "
|
|
88
|
-
"@nx/workspace": "
|
|
89
|
-
"@nx/devkit": "
|
|
90
|
-
"@nx/eslint-plugin": "
|
|
86
|
+
nx: "23.1.0",
|
|
87
|
+
"@nx/react": "23.1.0",
|
|
88
|
+
"@nx/workspace": "23.1.0",
|
|
89
|
+
"@nx/devkit": "23.1.0",
|
|
90
|
+
"@nx/eslint-plugin": "23.1.0",
|
|
91
91
|
"@types/react": "19.0.8",
|
|
92
92
|
eslint: "9.33.0",
|
|
93
93
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
@@ -12,10 +12,10 @@ exports.spaDependencies = {
|
|
|
12
12
|
"single-spa-react": "5.1.4",
|
|
13
13
|
};
|
|
14
14
|
exports.testDependencies = {
|
|
15
|
-
"@nx/jest": "
|
|
15
|
+
"@nx/jest": "23.1.0",
|
|
16
16
|
"@testing-library/react": "16.2.0",
|
|
17
17
|
"@testing-library/dom": "^10.4.0",
|
|
18
|
-
jest: "30.0
|
|
18
|
+
jest: "30.3.0",
|
|
19
19
|
"jest-environment-jsdom": "30.0.5",
|
|
20
20
|
"jest-transform-stub": "^2.0.0",
|
|
21
21
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -6,7 +6,7 @@ const tslib_1 = require("tslib");
|
|
|
6
6
|
const devkit_1 = require("@nx/devkit");
|
|
7
7
|
const eslint_1 = require("@nx/eslint");
|
|
8
8
|
const js_1 = require("@nx/js");
|
|
9
|
-
const
|
|
9
|
+
const internal_1 = require("@nx/js/internal");
|
|
10
10
|
const react_1 = require("@nx/react");
|
|
11
11
|
const iris_app_api_1 = require("@trackunit/iris-app-api");
|
|
12
12
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -24,7 +24,7 @@ function normalizeOptions(tree, options) {
|
|
|
24
24
|
const projectRoot = `${wsLayout.libsDir}/${projectDirectory}`;
|
|
25
25
|
const sourceRoot = `${wsLayout.libsDir}/${projectDirectory}/src`;
|
|
26
26
|
const dependencyDefinitionFile = `${wsLayout.libsDir}/${projectDirectory}/package.json`;
|
|
27
|
-
const npmScope = (0,
|
|
27
|
+
const npmScope = (0, internal_1.getNpmScope)(tree);
|
|
28
28
|
if (!npmScope) {
|
|
29
29
|
throw new Error("Could not find npm scope in package.json");
|
|
30
30
|
}
|
|
@@ -104,6 +104,10 @@ const IrisAppExtensionGenerator = async function (tree, options) {
|
|
|
104
104
|
style: "none",
|
|
105
105
|
skipFormat: false,
|
|
106
106
|
strict: true,
|
|
107
|
+
// Nx 23 warns that "jest" emits the deprecated @nx/jest:jest target, but unlike
|
|
108
|
+
// createSubgraph this generator has no jest.config/tsconfig.spec templates of its
|
|
109
|
+
// own and updates the generated tsconfig.spec.json below. Switching to "none"
|
|
110
|
+
// requires shipping those templates first.
|
|
107
111
|
unitTestRunner: "jest",
|
|
108
112
|
linter: eslint_1.Linter.EsLint,
|
|
109
113
|
routing: false,
|