@trackunit/iris-app 2.2.23 → 2.2.24-alpha-0322e181a48.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.24-alpha-0322e181a48.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.85-alpha-0322e181a48.0",
|
|
27
|
+
"@trackunit/iris-app-api": "2.1.23-alpha-0322e181a48.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
|
}
|