@nrwl/expo 14.1.0 → 14.2.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/executors.json +12 -2
- package/migrations.json +91 -0
- package/package.json +4 -4
- package/src/executors/eject/compat.d.ts +2 -0
- package/src/executors/eject/compat.js +6 -0
- package/src/executors/eject/compat.js.map +1 -0
- package/src/executors/eject/eject.impl.d.ts +6 -0
- package/src/executors/eject/eject.impl.js +59 -0
- package/src/executors/eject/eject.impl.js.map +1 -0
- package/src/executors/eject/schema.d.ts +6 -0
- package/src/executors/eject/schema.json +21 -0
- package/src/generators/application/lib/add-project.js +4 -0
- package/src/generators/application/lib/add-project.js.map +1 -1
- package/src/generators/init/init.js +4 -9
- package/src/generators/init/init.js.map +1 -1
- package/src/migrations/updae-14-1-2/add-eject-target-14-1-2.d.ts +5 -0
- package/src/migrations/updae-14-1-2/add-eject-target-14-1-2.js +25 -0
- package/src/migrations/updae-14-1-2/add-eject-target-14-1-2.js.map +1 -0
- package/src/utils/pod-install-task.d.ts +8 -0
- package/src/utils/pod-install-task.js +54 -0
- package/src/utils/pod-install-task.js.map +1 -0
- package/src/utils/versions.d.ts +20 -21
- package/src/utils/versions.js +21 -25
- package/src/utils/versions.js.map +1 -1
package/executors.json
CHANGED
|
@@ -52,8 +52,13 @@
|
|
|
52
52
|
},
|
|
53
53
|
"ensure-symlink": {
|
|
54
54
|
"implementation": "./src/executors/ensure-symlink/ensure-symlink.impl",
|
|
55
|
-
"schema": "./src/executors/ensure-symlink
|
|
55
|
+
"schema": "./src/executors/ensure-symlink/schema.json",
|
|
56
56
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder."
|
|
57
|
+
},
|
|
58
|
+
"eject": {
|
|
59
|
+
"implementation": "./src/executors/eject/eject.impl",
|
|
60
|
+
"schema": "./src/executors/eject/schema.json",
|
|
61
|
+
"description": "Create native iOS and Android project files."
|
|
57
62
|
}
|
|
58
63
|
},
|
|
59
64
|
"builders": {
|
|
@@ -109,8 +114,13 @@
|
|
|
109
114
|
},
|
|
110
115
|
"ensure-symlink": {
|
|
111
116
|
"implementation": "./src/executors/ensure-symlink/compat",
|
|
112
|
-
"schema": "./src/executors/ensure-symlink
|
|
117
|
+
"schema": "./src/executors/ensure-symlink/schema.json",
|
|
113
118
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder."
|
|
119
|
+
},
|
|
120
|
+
"eject": {
|
|
121
|
+
"implementation": "./src/executors/eject/compat",
|
|
122
|
+
"schema": "./src/executors/eject/schema.json",
|
|
123
|
+
"description": "Create native iOS and Android project files."
|
|
114
124
|
}
|
|
115
125
|
}
|
|
116
126
|
}
|
package/migrations.json
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
"cli": "nx",
|
|
6
6
|
"description": "Add projectRoot option in metro.config.js",
|
|
7
7
|
"factory": "./src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0"
|
|
8
|
+
},
|
|
9
|
+
"add-eject-target-14-1-2": {
|
|
10
|
+
"version": "14.1.2-beta.0",
|
|
11
|
+
"cli": "nx",
|
|
12
|
+
"description": "Add target eject for expo projects in project.json",
|
|
13
|
+
"factory": "./src/migrations/updae-14-1-2/add-eject-target-14-1-2.ts"
|
|
8
14
|
}
|
|
9
15
|
},
|
|
10
16
|
"packageJsonUpdates": {
|
|
@@ -60,6 +66,91 @@
|
|
|
60
66
|
"alwaysAddToPackageJson": false
|
|
61
67
|
}
|
|
62
68
|
}
|
|
69
|
+
},
|
|
70
|
+
"14.1.1": {
|
|
71
|
+
"version": "14.1.1-beta.0",
|
|
72
|
+
"packages": {
|
|
73
|
+
"expo": {
|
|
74
|
+
"version": "45.0.4",
|
|
75
|
+
"alwaysAddToPackageJson": false
|
|
76
|
+
},
|
|
77
|
+
"expo-dev-client": {
|
|
78
|
+
"version": "~0.9.6",
|
|
79
|
+
"alwaysAddToPackageJson": false
|
|
80
|
+
},
|
|
81
|
+
"expo-status-bar": {
|
|
82
|
+
"version": "~1.3.0",
|
|
83
|
+
"alwaysAddToPackageJson": false
|
|
84
|
+
},
|
|
85
|
+
"@expo/metro-config": {
|
|
86
|
+
"version": "0.3.17",
|
|
87
|
+
"alwaysAddToPackageJson": false
|
|
88
|
+
},
|
|
89
|
+
"expo-splash-screen": {
|
|
90
|
+
"version": "0.15.1",
|
|
91
|
+
"alwaysAddToPackageJson": false
|
|
92
|
+
},
|
|
93
|
+
"expo-updates": {
|
|
94
|
+
"version": "~0.13.1",
|
|
95
|
+
"alwaysAddToPackageJson": false
|
|
96
|
+
},
|
|
97
|
+
"jest-expo": {
|
|
98
|
+
"version": "45.0.1",
|
|
99
|
+
"alwaysAddToPackageJson": false
|
|
100
|
+
},
|
|
101
|
+
"expo-cli": {
|
|
102
|
+
"version": "5.4.6",
|
|
103
|
+
"alwaysAddToPackageJson": false
|
|
104
|
+
},
|
|
105
|
+
"babel-preset-expo": {
|
|
106
|
+
"version": "~9.1.0",
|
|
107
|
+
"alwaysAddToPackageJson": false
|
|
108
|
+
},
|
|
109
|
+
"react-native": {
|
|
110
|
+
"version": "0.68.2",
|
|
111
|
+
"alwaysAddToPackageJson": false
|
|
112
|
+
},
|
|
113
|
+
"@types/react-native": {
|
|
114
|
+
"version": "0.67.7",
|
|
115
|
+
"alwaysAddToPackageJson": false
|
|
116
|
+
},
|
|
117
|
+
"react-native-web": {
|
|
118
|
+
"version": "0.17.7",
|
|
119
|
+
"alwaysAddToPackageJson": false
|
|
120
|
+
},
|
|
121
|
+
"react-native-gesture-handler": {
|
|
122
|
+
"version": "~2.2.1",
|
|
123
|
+
"alwaysAddToPackageJson": false
|
|
124
|
+
},
|
|
125
|
+
"react-native-reanimated": {
|
|
126
|
+
"version": "~2.8.0",
|
|
127
|
+
"alwaysAddToPackageJson": false
|
|
128
|
+
},
|
|
129
|
+
"react-native-safe-area-context": {
|
|
130
|
+
"version": "4.2.4",
|
|
131
|
+
"alwaysAddToPackageJson": false
|
|
132
|
+
},
|
|
133
|
+
"react-native-screens": {
|
|
134
|
+
"version": "~3.11.1",
|
|
135
|
+
"alwaysAddToPackageJson": false
|
|
136
|
+
},
|
|
137
|
+
"react-native-svg": {
|
|
138
|
+
"version": "12.3.0",
|
|
139
|
+
"alwaysAddToPackageJson": false
|
|
140
|
+
},
|
|
141
|
+
"metro-resolver": {
|
|
142
|
+
"version": "0.70.3",
|
|
143
|
+
"alwaysAddToPackageJson": false
|
|
144
|
+
},
|
|
145
|
+
"@testing-library/react-native": {
|
|
146
|
+
"version": "9.1.0",
|
|
147
|
+
"alwaysAddToPackageJson": false
|
|
148
|
+
},
|
|
149
|
+
"@testing-library/jest-native": {
|
|
150
|
+
"version": "4.0.5",
|
|
151
|
+
"alwaysAddToPackageJson": false
|
|
152
|
+
}
|
|
153
|
+
}
|
|
63
154
|
}
|
|
64
155
|
}
|
|
65
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/expo",
|
|
3
|
-
"version": "14.1
|
|
3
|
+
"version": "14.2.1",
|
|
4
4
|
"description": "Expo Plugin for Nx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@nrwl/workspace": "*",
|
|
34
34
|
"chalk": "4.1.0",
|
|
35
35
|
"enhanced-resolve": "^5.8.3",
|
|
36
|
-
"expo-cli": "^5.4.
|
|
37
|
-
"metro-resolver": "^0.70.
|
|
36
|
+
"expo-cli": "^5.4.6",
|
|
37
|
+
"metro-resolver": "^0.70.3",
|
|
38
38
|
"tsconfig-paths": "^3.9.0",
|
|
39
39
|
"tsconfig-paths-webpack-plugin": "^3.5.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"expo": "^
|
|
42
|
+
"expo": "^45.0.4"
|
|
43
43
|
},
|
|
44
44
|
"builders": "./executors.json",
|
|
45
45
|
"ng-update": {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
4
|
+
const eject_impl_1 = require("./eject.impl");
|
|
5
|
+
exports.default = (0, devkit_1.convertNxExecutor)(eject_impl_1.default);
|
|
6
|
+
//# sourceMappingURL=compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/eject/compat.ts"],"names":[],"mappings":";;AAAA,yCAAiD;AAEjD,6CAAyC;AAEzC,kBAAe,IAAA,0BAAiB,EAAC,oBAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
+
import { ExpoEjectOptions } from './schema';
|
|
3
|
+
export interface ExpoEjectOutput {
|
|
4
|
+
success: boolean;
|
|
5
|
+
}
|
|
6
|
+
export default function ejectExecutor(options: ExpoEjectOptions, context: ExecutorContext): AsyncGenerator<ExpoEjectOutput>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const child_process_1 = require("child_process");
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
const ensure_node_modules_symlink_1 = require("../../utils/ensure-node-modules-symlink");
|
|
7
|
+
const pod_install_task_1 = require("../../utils/pod-install-task");
|
|
8
|
+
let childProcess;
|
|
9
|
+
function ejectExecutor(options, context) {
|
|
10
|
+
return (0, tslib_1.__asyncGenerator)(this, arguments, function* ejectExecutor_1() {
|
|
11
|
+
const projectRoot = context.workspace.projects[context.projectName].root;
|
|
12
|
+
(0, ensure_node_modules_symlink_1.ensureNodeModulesSymlink)(context.root, projectRoot);
|
|
13
|
+
try {
|
|
14
|
+
yield (0, tslib_1.__await)(ejectAsync(context.root, projectRoot, options));
|
|
15
|
+
if (options.install) {
|
|
16
|
+
yield (0, tslib_1.__await)((0, pod_install_task_1.podInstall)((0, path_1.join)(context.root, projectRoot, 'ios')));
|
|
17
|
+
}
|
|
18
|
+
yield yield (0, tslib_1.__await)({
|
|
19
|
+
success: true,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
finally {
|
|
23
|
+
if (childProcess) {
|
|
24
|
+
childProcess.kill();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
exports.default = ejectExecutor;
|
|
30
|
+
function ejectAsync(workspaceRoot, projectRoot, options) {
|
|
31
|
+
return new Promise((resolve, reject) => {
|
|
32
|
+
childProcess = (0, child_process_1.fork)((0, path_1.join)(workspaceRoot, './node_modules/expo-cli/bin/expo.js'), ['eject', ...createEjectOptions(options), '--no-install'], { cwd: (0, path_1.join)(workspaceRoot, projectRoot) });
|
|
33
|
+
// Ensure the child process is killed when the parent exits
|
|
34
|
+
process.on('exit', () => childProcess.kill());
|
|
35
|
+
process.on('SIGTERM', () => childProcess.kill());
|
|
36
|
+
childProcess.on('error', (err) => {
|
|
37
|
+
reject(err);
|
|
38
|
+
});
|
|
39
|
+
childProcess.on('exit', (code) => {
|
|
40
|
+
if (code === 0) {
|
|
41
|
+
resolve(code);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
reject(code);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
const nxOptions = ['install'];
|
|
50
|
+
function createEjectOptions(options) {
|
|
51
|
+
return Object.keys(options).reduce((acc, k) => {
|
|
52
|
+
const v = options[k];
|
|
53
|
+
if (!nxOptions.includes(k)) {
|
|
54
|
+
acc.push(`--${k}`, v);
|
|
55
|
+
}
|
|
56
|
+
return acc;
|
|
57
|
+
}, []);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=eject.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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MAAM,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC;QAEjD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;YAC/B,MAAM,CAAC,GAAG,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;QACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YAC/B,IAAI,IAAI,KAAK,CAAC,EAAE;gBACd,OAAO,CAAC,IAAI,CAAC,CAAC;aACf;iBAAM;gBACL,MAAM,CAAC,IAAI,CAAC,CAAC;aACd;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,SAAS,GAAG,CAAC,SAAS,CAAC,CAAC;AAC9B,SAAS,kBAAkB,CAAC,OAAyB;IACnD,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QAC5C,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YAC1B,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;SACvB;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cli": "nx",
|
|
3
|
+
"$id": "NxExpoEject",
|
|
4
|
+
"$schema": "http://json-schema.org/schema",
|
|
5
|
+
"title": "Expo Eject",
|
|
6
|
+
"description": "Create native iOS and Android project files",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"install": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"description": "Install CocoaPods.",
|
|
12
|
+
"default": true
|
|
13
|
+
},
|
|
14
|
+
"platform": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Platforms to sync",
|
|
17
|
+
"default": "all",
|
|
18
|
+
"examples": ["ios", "android", "all"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-project.js","sourceRoot":"","sources":["../../../../../../../packages/expo/src/generators/application/lib/add-project.ts"],"names":[],"mappings":";;;AAAA,yCAOsB;AAGtB,SAAgB,UAAU,CAAC,IAAU,EAAE,OAAyB;IAC9D,MAAM,OAAO,GAAyB;QACpC,IAAI,EAAE,OAAO,CAAC,cAAc;QAC5B,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,MAAM;QAC3C,WAAW,EAAE,aAAa;QAC1B,OAAO,oBAAO,UAAU,CAAC,OAAO,CAAC,CAAE;QACnC,IAAI,EAAE,OAAO,CAAC,UAAU;KACzB,CAAC;IAEF,IAAA,gCAAuB,EAAC,IAAI,EAAE,OAAO,CAAC,WAAW,oBAC5C,OAAO,EACV,CAAC;IAEH,MAAM,SAAS,GAAG,IAAA,mCAA0B,EAAC,IAAI,CAAC,CAAC;IAEnD,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE;QAC7B,SAAS,CAAC,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;QAE/C,IAAA,qCAA4B,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;KAC/C;AACH,CAAC;AApBD,gCAoBC;AAED,SAAS,UAAU,CAAC,OAAyB;IAC3C,MAAM,SAAS,GAA2C,EAAE,CAAC;IAE7D,SAAS,CAAC,KAAK,GAAG;QAChB,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE;YACP,IAAI,EAAE,IAAI;SACX;KACF,CAAC;IAEF,SAAS,CAAC,GAAG,GAAG;QACd,QAAQ,EA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Q,EAAE,wBAAwB;QAClC,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,SAAS,CAAC,UAAU,CAAC,GAAG;QACtB,QAAQ,EAAE,qBAAqB;QAC/B,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"add-project.js","sourceRoot":"","sources":["../../../../../../../packages/expo/src/generators/application/lib/add-project.ts"],"names":[],"mappings":";;;AAAA,yCAOsB;AAGtB,SAAgB,UAAU,CAAC,IAAU,EAAE,OAAyB;IAC9D,MAAM,OAAO,GAAyB;QACpC,IAAI,EAAE,OAAO,CAAC,cAAc;QAC5B,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,MAAM;QAC3C,WAAW,EAAE,aAAa;QAC1B,OAAO,oBAAO,UAAU,CAAC,OAAO,CAAC,CAAE;QACnC,IAAI,EAAE,OAAO,CAAC,UAAU;KACzB,CAAC;IAEF,IAAA,gCAAuB,EAAC,IAAI,EAAE,OAAO,CAAC,WAAW,oBAC5C,OAAO,EACV,CAAC;IAEH,MAAM,SAAS,GAAG,IAAA,mCAA0B,EAAC,IAAI,CAAC,CAAC;IAEnD,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE;QAC7B,SAAS,CAAC,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;QAE/C,IAAA,qCAA4B,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;KAC/C;AACH,CAAC;AApBD,gCAoBC;AAED,SAAS,UAAU,CAAC,OAAyB;IAC3C,MAAM,SAAS,GAA2C,EAAE,CAAC;IAE7D,SAAS,CAAC,KAAK,GAAG;QAChB,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE;YACP,IAAI,EAAE,IAAI;SACX;KACF,CAAC;IAEF,SAAS,CAAC,GAAG,GAAG;QACd,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE;YACP,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,IAAI;SAC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AAC,GAAG;QACtB,QAAQ,EAAE,qBAAqB;QAC/B,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,SAAS,CAAC,OAAO,CAAC,GAAG;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const set_default_collection_1 = require("@nrwl/workspace/src/utilities/set-default-collection");
|
|
6
6
|
const devkit_1 = require("@nrwl/devkit");
|
|
7
7
|
const versions_1 = require("../../utils/versions");
|
|
8
|
+
const react_1 = require("@nrwl/react");
|
|
8
9
|
const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial");
|
|
9
10
|
const jest_1 = require("@nrwl/jest");
|
|
10
11
|
const detox_1 = require("@nrwl/detox");
|
|
@@ -32,15 +33,9 @@ function expoInitGenerator(host, schema) {
|
|
|
32
33
|
}
|
|
33
34
|
exports.expoInitGenerator = expoInitGenerator;
|
|
34
35
|
function updateDependencies(host) {
|
|
35
|
-
var _a;
|
|
36
|
-
const { dependencies = {} } = (0, devkit_1.readJson)(host, 'package.json');
|
|
37
|
-
// TODO(Emily): Remove this once Expo supports React Native 0.68.0.
|
|
38
|
-
if ((_a = dependencies['react']) === null || _a === void 0 ? void 0 : _a.match(/[\^~]?18/)) {
|
|
39
|
-
devkit_1.logger.warn(`React version ${dependencies['react']} is incompatible with Expo version ${versions_1.expoVersion}. Nx will downgrade the version to ${versions_1.reactVersion}.`);
|
|
40
|
-
}
|
|
41
36
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {
|
|
42
|
-
react:
|
|
43
|
-
'react-dom':
|
|
37
|
+
react: react_1.reactVersion,
|
|
38
|
+
'react-dom': react_1.reactDomVersion,
|
|
44
39
|
'react-native': versions_1.reactNativeVersion,
|
|
45
40
|
expo: versions_1.expoVersion,
|
|
46
41
|
'expo-dev-client': versions_1.expoDevClientVersion,
|
|
@@ -58,7 +53,7 @@ function updateDependencies(host) {
|
|
|
58
53
|
'react-native-svg': versions_1.reactNativeSvgVersion,
|
|
59
54
|
}, {
|
|
60
55
|
'@nrwl/expo': versions_1.nxVersion,
|
|
61
|
-
'@types/react':
|
|
56
|
+
'@types/react': react_1.reactVersion,
|
|
62
57
|
'@types/react-native': versions_1.typesReactNativeVersion,
|
|
63
58
|
'metro-resolver': versions_1.metroVersion,
|
|
64
59
|
'@testing-library/react-native': versions_1.testingLibraryReactNativeVersion,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,iGAA4F;AAC5F,
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,iGAA4F;AAC5F,yCAMsB;AAEtB,mDAyB8B;AAE9B,uCAA4D;AAC5D,2FAAqF;AACrF,qCAA+C;AAC/C,uCAAiD;AAEjD,qEAA+D;AAC/D,yEAAmE;AAGnE,SAAsB,iBAAiB,CAAC,IAAU,EAAE,MAAc;;QAChE,IAAA,6CAAoB,EAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QACzC,IAAA,wCAAiB,EAAC,IAAI,CAAC,CAAC;QACxB,IAAA,4CAAmB,EAAC,IAAI,CAAC,CAAC;QAE1B,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC;QAE/D,IAAI,CAAC,MAAM,CAAC,cAAc,IAAI,MAAM,CAAC,cAAc,KAAK,MAAM,EAAE;YAC9D,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC7C,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SACtB;QAED,IAAI,CAAC,MAAM,CA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,iCAAsB;KAC5C,CACF,CAAC;AACJ,CAAC;AAnCD,gDAmCC;AAED,SAAS,cAAc,CAAC,IAAU;IAChC,OAAO,IAAA,0CAAiC,EAAC,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC;AAED,kBAAe,iBAAiB,CAAC;AACpB,QAAA,wBAAwB,GAAG,IAAA,2BAAkB,EAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
/**
|
|
6
|
+
* Add eject to targets for expo app
|
|
7
|
+
*/
|
|
8
|
+
function update(tree) {
|
|
9
|
+
var _a, _b;
|
|
10
|
+
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
11
|
+
const projects = (0, devkit_1.getProjects)(tree);
|
|
12
|
+
for (const [name, config] of projects.entries()) {
|
|
13
|
+
if (((_b = (_a = config.targets) === null || _a === void 0 ? void 0 : _a['start']) === null || _b === void 0 ? void 0 : _b.executor) === '@nrwl/expo:start') {
|
|
14
|
+
config.targets['eject'] = {
|
|
15
|
+
executor: '@nrwl/expo:eject',
|
|
16
|
+
options: {},
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
(0, devkit_1.updateProjectConfiguration)(tree, name, config);
|
|
20
|
+
}
|
|
21
|
+
yield (0, devkit_1.formatFiles)(tree);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
exports.default = update;
|
|
25
|
+
//# sourceMappingURL=add-eject-target-14-1-2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-eject-target-14-1-2.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/migrations/updae-14-1-2/add-eject-target-14-1-2.ts"],"names":[],"mappings":";;;AAAA,yCAKsB;AAEtB;;GAEG;AACH,SAA8B,MAAM,CAAC,IAAU;;;QAC7C,MAAM,QAAQ,GAAG,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAEnC,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE;YAC/C,IAAI,CAAA,MAAA,MAAA,MAAM,CAAC,OAAO,0CAAG,OAAO,CAAC,0CAAE,QAAQ,MAAK,kBAAkB,EAAE;gBAC9D,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG;oBACxB,QAAQ,EAAE,kBAAkB;oBAC5B,OAAO,EAAE,EAAE;iBACZ,CAAC;aACH;YAED,IAAA,mCAA0B,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;SAChD;QAED,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;;CACzB;AAfD,yBAeC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GeneratorCallback } from '@nrwl/devkit';
|
|
2
|
+
/**
|
|
3
|
+
* Run pod install on ios directory
|
|
4
|
+
* @param iosDirectory ios directory that contains Podfile
|
|
5
|
+
* @returns resolve with 0 if not error, reject with error otherwise
|
|
6
|
+
*/
|
|
7
|
+
export declare function runPodInstall(iosDirectory: string): GeneratorCallback;
|
|
8
|
+
export declare function podInstall(iosDirectory: string): Promise<void>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.podInstall = exports.runPodInstall = void 0;
|
|
4
|
+
const child_process_1 = require("child_process");
|
|
5
|
+
const os_1 = require("os");
|
|
6
|
+
const chalk = require("chalk");
|
|
7
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
8
|
+
const podInstallErrorMessage = `
|
|
9
|
+
Running ${chalk.bold('pod install')} failed, see above.
|
|
10
|
+
Do you have CocoaPods (https://cocoapods.org/) installed?
|
|
11
|
+
|
|
12
|
+
Check that your XCode path is correct:
|
|
13
|
+
${chalk.bold('sudo xcode-select --print-path')}
|
|
14
|
+
|
|
15
|
+
If the path is wrong, switch the path: (your path may be different)
|
|
16
|
+
${chalk.bold('sudo xcode-select --switch /Applications/Xcode.app')}
|
|
17
|
+
`;
|
|
18
|
+
/**
|
|
19
|
+
* Run pod install on ios directory
|
|
20
|
+
* @param iosDirectory ios directory that contains Podfile
|
|
21
|
+
* @returns resolve with 0 if not error, reject with error otherwise
|
|
22
|
+
*/
|
|
23
|
+
function runPodInstall(iosDirectory) {
|
|
24
|
+
return () => {
|
|
25
|
+
if ((0, os_1.platform)() !== 'darwin') {
|
|
26
|
+
devkit_1.logger.info('Skipping `pod install` on non-darwin platform');
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
devkit_1.logger.info(`Running \`pod install\` from "${iosDirectory}"`);
|
|
30
|
+
return podInstall(iosDirectory);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.runPodInstall = runPodInstall;
|
|
34
|
+
function podInstall(iosDirectory) {
|
|
35
|
+
return new Promise((resolve, reject) => {
|
|
36
|
+
const process = (0, child_process_1.spawn)('pod', ['install'], {
|
|
37
|
+
cwd: iosDirectory,
|
|
38
|
+
stdio: [0, 1, 2],
|
|
39
|
+
});
|
|
40
|
+
process.on('close', (code) => {
|
|
41
|
+
if (code === 0) {
|
|
42
|
+
resolve();
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
reject(new Error(podInstallErrorMessage));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
process.on('error', () => {
|
|
49
|
+
reject(new Error(podInstallErrorMessage));
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
exports.podInstall = podInstall;
|
|
54
|
+
//# sourceMappingURL=pod-install-task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pod-install-task.js","sourceRoot":"","sources":["../../../../../packages/expo/src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,CAAC;QAC5C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAnBD,gCAmBC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
export declare const nxVersion = "*";
|
|
2
|
-
export declare const expoVersion = "
|
|
3
|
-
export declare const expoDevClientVersion = "0.
|
|
4
|
-
export declare const expoStatusBarVersion = "1.
|
|
5
|
-
export declare const expoMetroConfigVersion = "0.3.
|
|
2
|
+
export declare const expoVersion = "45.0.4";
|
|
3
|
+
export declare const expoDevClientVersion = "~0.9.6";
|
|
4
|
+
export declare const expoStatusBarVersion = "~1.3.0";
|
|
5
|
+
export declare const expoMetroConfigVersion = "0.3.17";
|
|
6
6
|
export declare const expoStructuredHeadersVersion = "2.1.1";
|
|
7
|
-
export declare const expoSplashScreenVersion = "0.
|
|
8
|
-
export declare const expoUpdatesVersion = "~0.
|
|
9
|
-
export declare const jestExpoVersion = "
|
|
10
|
-
export declare const expoCliVersion = "5.4.
|
|
11
|
-
export declare const babelPresetExpoVersion = "~9.0
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const reactNativeScreensVersion = "3.10.2";
|
|
7
|
+
export declare const expoSplashScreenVersion = "0.15.1";
|
|
8
|
+
export declare const expoUpdatesVersion = "~0.13.1";
|
|
9
|
+
export declare const jestExpoVersion = "45.0.1";
|
|
10
|
+
export declare const expoCliVersion = "5.4.6";
|
|
11
|
+
export declare const babelPresetExpoVersion = "~9.1.0";
|
|
12
|
+
export declare const reactNativeVersion = "0.68.2";
|
|
13
|
+
export declare const typesReactNativeVersion = "0.67.7";
|
|
14
|
+
export declare const reactNativeWebVersion = "0.17.7";
|
|
15
|
+
export declare const reactNativeGestureHandlerVersion = "~2.2.1";
|
|
16
|
+
export declare const reactNativeReanimatedVersion = "~2.8.0";
|
|
17
|
+
export declare const reactNativeSafeAreaContextVersion = "4.2.4";
|
|
18
|
+
export declare const reactNativeScreensVersion = "~3.11.1";
|
|
20
19
|
export declare const reactNativeSvgTransformerVersion = "1.0.0";
|
|
21
|
-
export declare const reactNativeSvgVersion = "12.
|
|
20
|
+
export declare const reactNativeSvgVersion = "12.3.0";
|
|
22
21
|
export declare const svgrWebpackVersion = "^5.5.0";
|
|
23
|
-
export declare const metroVersion = "0.70.
|
|
24
|
-
export declare const testingLibraryReactNativeVersion = "9.
|
|
25
|
-
export declare const testingLibraryJestNativeVersion = "4.0.
|
|
22
|
+
export declare const metroVersion = "0.70.3";
|
|
23
|
+
export declare const testingLibraryReactNativeVersion = "9.1.0";
|
|
24
|
+
export declare const testingLibraryJestNativeVersion = "4.0.5";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.metroVersion = exports.svgrWebpackVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeScreensVersion = exports.reactNativeSafeAreaContextVersion = exports.reactNativeReanimatedVersion = exports.reactNativeGestureHandlerVersion = exports.reactNativeWebVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.
|
|
3
|
+
exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.metroVersion = exports.svgrWebpackVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeScreensVersion = exports.reactNativeSafeAreaContextVersion = exports.reactNativeReanimatedVersion = exports.reactNativeGestureHandlerVersion = exports.reactNativeWebVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.babelPresetExpoVersion = exports.expoCliVersion = exports.jestExpoVersion = exports.expoUpdatesVersion = exports.expoSplashScreenVersion = exports.expoStructuredHeadersVersion = exports.expoMetroConfigVersion = exports.expoStatusBarVersion = exports.expoDevClientVersion = exports.expoVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = '*';
|
|
5
|
-
exports.expoVersion = '
|
|
6
|
-
exports.expoDevClientVersion = '0.
|
|
7
|
-
exports.expoStatusBarVersion = '1.
|
|
8
|
-
exports.expoMetroConfigVersion = '0.3.
|
|
5
|
+
exports.expoVersion = '45.0.4';
|
|
6
|
+
exports.expoDevClientVersion = '~0.9.6';
|
|
7
|
+
exports.expoStatusBarVersion = '~1.3.0';
|
|
8
|
+
exports.expoMetroConfigVersion = '0.3.17';
|
|
9
9
|
exports.expoStructuredHeadersVersion = '2.1.1';
|
|
10
|
-
exports.expoSplashScreenVersion = '0.
|
|
11
|
-
exports.expoUpdatesVersion = '~0.
|
|
12
|
-
exports.jestExpoVersion = '
|
|
13
|
-
exports.expoCliVersion = '5.4.
|
|
14
|
-
exports.babelPresetExpoVersion = '~9.0
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.reactNativeGestureHandlerVersion = '2.1.0';
|
|
23
|
-
exports.reactNativeReanimatedVersion = '2.3.1';
|
|
24
|
-
exports.reactNativeSafeAreaContextVersion = '3.3.2';
|
|
25
|
-
exports.reactNativeScreensVersion = '3.10.2';
|
|
10
|
+
exports.expoSplashScreenVersion = '0.15.1';
|
|
11
|
+
exports.expoUpdatesVersion = '~0.13.1';
|
|
12
|
+
exports.jestExpoVersion = '45.0.1';
|
|
13
|
+
exports.expoCliVersion = '5.4.6';
|
|
14
|
+
exports.babelPresetExpoVersion = '~9.1.0';
|
|
15
|
+
exports.reactNativeVersion = '0.68.2';
|
|
16
|
+
exports.typesReactNativeVersion = '0.67.7';
|
|
17
|
+
exports.reactNativeWebVersion = '0.17.7';
|
|
18
|
+
exports.reactNativeGestureHandlerVersion = '~2.2.1';
|
|
19
|
+
exports.reactNativeReanimatedVersion = '~2.8.0';
|
|
20
|
+
exports.reactNativeSafeAreaContextVersion = '4.2.4';
|
|
21
|
+
exports.reactNativeScreensVersion = '~3.11.1';
|
|
26
22
|
exports.reactNativeSvgTransformerVersion = '1.0.0';
|
|
27
|
-
exports.reactNativeSvgVersion = '12.
|
|
23
|
+
exports.reactNativeSvgVersion = '12.3.0';
|
|
28
24
|
exports.svgrWebpackVersion = '^5.5.0';
|
|
29
|
-
exports.metroVersion = '0.70.
|
|
30
|
-
exports.testingLibraryReactNativeVersion = '9.
|
|
31
|
-
exports.testingLibraryJestNativeVersion = '4.0.
|
|
25
|
+
exports.metroVersion = '0.70.3';
|
|
26
|
+
exports.testingLibraryReactNativeVersion = '9.1.0';
|
|
27
|
+
exports.testingLibraryJestNativeVersion = '4.0.5';
|
|
32
28
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,GAAG,CAAC;AAEhB,QAAA,WAAW,GAAG,QAAQ,CAAC;AACvB,QAAA,oBAAoB,GAAG,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,GAAG,CAAC;AAEhB,QAAA,WAAW,GAAG,QAAQ,CAAC;AACvB,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAChC,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAChC,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,4BAA4B,GAAG,OAAO,CAAC;AACvC,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,kBAAkB,GAAG,SAAS,CAAC;AAC/B,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,cAAc,GAAG,OAAO,CAAC;AACzB,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAElC,QAAA,kBAAkB,GAAG,QAAQ,CAAC;AAC9B,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AACjC,QAAA,gCAAgC,GAAG,QAAQ,CAAC;AAC5C,QAAA,4BAA4B,GAAG,QAAQ,CAAC;AACxC,QAAA,iCAAiC,GAAG,OAAO,CAAC;AAC5C,QAAA,yBAAyB,GAAG,SAAS,CAAC;AAEtC,QAAA,gCAAgC,GAAG,OAAO,CAAC;AAC3C,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AACjC,QAAA,kBAAkB,GAAG,QAAQ,CAAC;AAE9B,QAAA,YAAY,GAAG,QAAQ,CAAC;AAExB,QAAA,gCAAgC,GAAG,OAAO,CAAC;AAC3C,QAAA,+BAA+B,GAAG,OAAO,CAAC"}
|