@nx/react-native 17.3.1 → 18.0.0-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react-native",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: \n\n-Integration with libraries such as Jest, Detox, and Storybook.\n-Scaffolding for creating buildable libraries that can be published to npm.\n-Utilities for automatic workspace refactoring.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"node-fetch": "^2.6.7",
|
|
37
37
|
"tsconfig-paths": "^4.1.2",
|
|
38
38
|
"tslib": "^2.3.0",
|
|
39
|
-
"@nx/detox": "
|
|
40
|
-
"@nx/devkit": "
|
|
41
|
-
"@nx/jest": "
|
|
42
|
-
"@nx/js": "
|
|
43
|
-
"@nx/eslint": "
|
|
44
|
-
"@nx/react": "
|
|
45
|
-
"@nx/workspace": "
|
|
46
|
-
"@nrwl/react-native": "
|
|
39
|
+
"@nx/detox": "18.0.0-beta.1",
|
|
40
|
+
"@nx/devkit": "18.0.0-beta.1",
|
|
41
|
+
"@nx/jest": "18.0.0-beta.1",
|
|
42
|
+
"@nx/js": "18.0.0-beta.1",
|
|
43
|
+
"@nx/eslint": "18.0.0-beta.1",
|
|
44
|
+
"@nx/react": "18.0.0-beta.1",
|
|
45
|
+
"@nx/workspace": "18.0.0-beta.1",
|
|
46
|
+
"@nrwl/react-native": "18.0.0-beta.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react-native": ">= 0.72.0 < 0.73.0"
|
|
@@ -14,6 +14,7 @@ const add_project_1 = require("./lib/add-project");
|
|
|
14
14
|
const create_application_files_1 = require("./lib/create-application-files");
|
|
15
15
|
const add_detox_1 = require("./lib/add-detox");
|
|
16
16
|
const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
|
|
17
|
+
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
|
|
17
18
|
async function reactNativeApplicationGenerator(host, schema) {
|
|
18
19
|
return await reactNativeApplicationGeneratorInternal(host, {
|
|
19
20
|
projectNameAndRootFormat: 'derived',
|
|
@@ -59,6 +60,9 @@ async function reactNativeApplicationGeneratorInternal(host, schema) {
|
|
|
59
60
|
if (!options.skipFormat) {
|
|
60
61
|
await (0, devkit_1.formatFiles)(host);
|
|
61
62
|
}
|
|
63
|
+
tasks.push(() => {
|
|
64
|
+
(0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
|
|
65
|
+
});
|
|
62
66
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
63
67
|
}
|
|
64
68
|
exports.reactNativeApplicationGeneratorInternal = reactNativeApplicationGeneratorInternal;
|
|
@@ -9,6 +9,7 @@ const add_jest_1 = require("../../utils/add-jest");
|
|
|
9
9
|
const versions_1 = require("../../utils/versions");
|
|
10
10
|
const normalize_options_1 = require("./lib/normalize-options");
|
|
11
11
|
const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
|
|
12
|
+
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
|
|
12
13
|
async function reactNativeLibraryGenerator(host, schema) {
|
|
13
14
|
return await reactNativeLibraryGeneratorInternal(host, {
|
|
14
15
|
projectNameAndRootFormat: 'derived',
|
|
@@ -58,6 +59,9 @@ async function reactNativeLibraryGeneratorInternal(host, schema) {
|
|
|
58
59
|
if (!options.skipFormat) {
|
|
59
60
|
await (0, devkit_1.formatFiles)(host);
|
|
60
61
|
}
|
|
62
|
+
tasks.push(() => {
|
|
63
|
+
(0, log_show_project_command_1.logShowProjectCommand)(options.name);
|
|
64
|
+
});
|
|
61
65
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
62
66
|
}
|
|
63
67
|
exports.reactNativeLibraryGeneratorInternal = reactNativeLibraryGeneratorInternal;
|