@nx/expo 20.3.2 → 20.3.3
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/expo",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
|
|
6
6
|
"keywords": [
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"main": "./index",
|
|
29
29
|
"types": "index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nx/devkit": "20.3.
|
|
32
|
-
"@nx/eslint": "20.3.
|
|
33
|
-
"@nx/jest": "20.3.
|
|
34
|
-
"@nx/js": "20.3.
|
|
35
|
-
"@nx/react": "20.3.
|
|
36
|
-
"@nx/web": "20.3.
|
|
37
|
-
"@nx/webpack": "20.3.
|
|
31
|
+
"@nx/devkit": "20.3.3",
|
|
32
|
+
"@nx/eslint": "20.3.3",
|
|
33
|
+
"@nx/jest": "20.3.3",
|
|
34
|
+
"@nx/js": "20.3.3",
|
|
35
|
+
"@nx/react": "20.3.3",
|
|
36
|
+
"@nx/web": "20.3.3",
|
|
37
|
+
"@nx/webpack": "20.3.3",
|
|
38
38
|
"enhanced-resolve": "^5.8.3",
|
|
39
39
|
"metro-config": "~0.80.4",
|
|
40
40
|
"metro-resolver": "~0.80.4",
|
|
@@ -16,6 +16,7 @@ const add_e2e_1 = require("./lib/add-e2e");
|
|
|
16
16
|
const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
|
|
17
17
|
const init_root_babel_config_1 = require("../../utils/init-root-babel-config");
|
|
18
18
|
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
|
|
19
|
+
const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
|
|
19
20
|
async function expoApplicationGenerator(host, schema) {
|
|
20
21
|
return await expoApplicationGeneratorInternal(host, {
|
|
21
22
|
addPlugin: false,
|
|
@@ -66,6 +67,7 @@ async function expoApplicationGeneratorInternal(host, schema) {
|
|
|
66
67
|
if (options.useTsSolution) {
|
|
67
68
|
(0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.appProjectRoot);
|
|
68
69
|
}
|
|
70
|
+
(0, sort_fields_1.sortPackageJsonFields)(host, options.appProjectRoot);
|
|
69
71
|
if (!options.skipFormat) {
|
|
70
72
|
await (0, devkit_1.formatFiles)(host);
|
|
71
73
|
}
|
|
@@ -15,6 +15,7 @@ const target_defaults_utils_1 = require("@nx/devkit/src/generators/target-defaul
|
|
|
15
15
|
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
|
|
16
16
|
const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
|
|
17
17
|
const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
|
|
18
|
+
const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
|
|
18
19
|
async function expoLibraryGenerator(host, schema) {
|
|
19
20
|
return await expoLibraryGeneratorInternal(host, {
|
|
20
21
|
addPlugin: false,
|
|
@@ -71,6 +72,7 @@ async function expoLibraryGeneratorInternal(host, schema) {
|
|
|
71
72
|
if (options.isUsingTsSolutionConfig) {
|
|
72
73
|
(0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.projectRoot);
|
|
73
74
|
}
|
|
75
|
+
(0, sort_fields_1.sortPackageJsonFields)(host, options.projectRoot);
|
|
74
76
|
if (!options.skipFormat) {
|
|
75
77
|
await (0, devkit_1.formatFiles)(host);
|
|
76
78
|
}
|