@nrwl/expo 14.3.2 → 14.4.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/executors.json +30 -0
- package/migrations.json +20 -0
- package/package.json +4 -2
- package/src/executors/build/build.impl.d.ts +6 -0
- package/src/executors/build/build.impl.js +62 -0
- package/src/executors/build/build.impl.js.map +1 -0
- package/src/executors/build/compat.d.ts +2 -0
- package/src/executors/build/compat.js +6 -0
- package/src/executors/build/compat.js.map +1 -0
- package/src/executors/build/schema.d.ts +14 -0
- package/src/executors/build/schema.json +56 -0
- package/src/executors/build-list/build-list.impl.d.ts +7 -0
- package/src/executors/build-list/build-list.impl.js +42 -0
- package/src/executors/build-list/build-list.impl.js.map +1 -0
- package/src/executors/build-list/compat.d.ts +2 -0
- package/src/executors/build-list/compat.js +6 -0
- package/src/executors/build-list/compat.js.map +1 -0
- package/src/executors/build-list/schema.d.ts +24 -0
- package/src/executors/build-list/schema.json +71 -0
- package/src/executors/download/compat.d.ts +2 -0
- package/src/executors/download/compat.js +6 -0
- package/src/executors/download/compat.js.map +1 -0
- package/src/executors/download/download.impl.d.ts +14 -0
- package/src/executors/download/download.impl.js +99 -0
- package/src/executors/download/download.impl.js.map +1 -0
- package/src/executors/download/schema.d.ts +16 -0
- package/src/executors/download/schema.json +56 -0
- package/src/generators/application/lib/add-project.js +14 -0
- package/src/generators/application/lib/add-project.js.map +1 -1
- package/src/generators/init/init.js +1 -0
- package/src/generators/init/init.js.map +1 -1
- package/src/migrations/update-14-4-3/add-eas-build-target.d.ts +5 -0
- package/src/migrations/update-14-4-3/add-eas-build-target.js +42 -0
- package/src/migrations/update-14-4-3/add-eas-build-target.js.map +1 -0
- package/src/utils/versions.d.ts +2 -1
- package/src/utils/versions.js +3 -2
- package/src/utils/versions.js.map +1 -1
package/executors.json
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"executors": {
|
|
3
|
+
"build": {
|
|
4
|
+
"implementation": "./src/executors/build/build.impl",
|
|
5
|
+
"schema": "./src/executors/build/schema.json",
|
|
6
|
+
"description": "Start an EAS build for your expo project"
|
|
7
|
+
},
|
|
8
|
+
"build-list": {
|
|
9
|
+
"implementation": "./src/executors/build-list/build-list.impl",
|
|
10
|
+
"schema": "./src/executors/build-list/schema.json",
|
|
11
|
+
"description": "List all EAS builds for your Expo project"
|
|
12
|
+
},
|
|
13
|
+
"download": {
|
|
14
|
+
"implementation": "./src/executors/download/download.impl",
|
|
15
|
+
"schema": "./src/executors/download/schema.json",
|
|
16
|
+
"description": "Download an EAS build"
|
|
17
|
+
},
|
|
3
18
|
"build-ios": {
|
|
4
19
|
"implementation": "./src/executors/build-ios/build-ios.impl",
|
|
5
20
|
"schema": "./src/executors/build-ios/schema.json",
|
|
@@ -62,6 +77,21 @@
|
|
|
62
77
|
}
|
|
63
78
|
},
|
|
64
79
|
"builders": {
|
|
80
|
+
"build": {
|
|
81
|
+
"implementation": "./src/executors/build/compat",
|
|
82
|
+
"schema": "./src/executors/build/schema.json",
|
|
83
|
+
"description": "Start an EAS build for your expo project"
|
|
84
|
+
},
|
|
85
|
+
"build-list": {
|
|
86
|
+
"implementation": "./src/executors/build-list/compat",
|
|
87
|
+
"schema": "./src/executors/build-list/schema.json",
|
|
88
|
+
"description": "List all EAS builds for your Expo project"
|
|
89
|
+
},
|
|
90
|
+
"download": {
|
|
91
|
+
"implementation": "./src/executors/download/compat",
|
|
92
|
+
"schema": "./src/executors/download/schema.json",
|
|
93
|
+
"description": "Download an EAS build"
|
|
94
|
+
},
|
|
65
95
|
"build-ios": {
|
|
66
96
|
"implementation": "./src/executors/build-ios/compat",
|
|
67
97
|
"schema": "./src/executors/build-ios/schema.json",
|
package/migrations.json
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
"cli": "nx",
|
|
12
12
|
"description": "Add target eject for expo projects in project.json",
|
|
13
13
|
"factory": "./src/migrations/update-14-1-2/add-eject-target-14-1-2"
|
|
14
|
+
},
|
|
15
|
+
"add-build-target-14-4-3": {
|
|
16
|
+
"version": "14.4.3-beta.0",
|
|
17
|
+
"cli": "nx",
|
|
18
|
+
"description": "Add target build and build-list for expo projects in project.json",
|
|
19
|
+
"factory": "./src/migrations/update-14-4-3/add-eas-build-target"
|
|
14
20
|
}
|
|
15
21
|
},
|
|
16
22
|
"packageJsonUpdates": {
|
|
@@ -225,6 +231,20 @@
|
|
|
225
231
|
"alwaysAddToPackageJson": false
|
|
226
232
|
}
|
|
227
233
|
}
|
|
234
|
+
},
|
|
235
|
+
"14.4.3": {
|
|
236
|
+
"version": "14.4.3-beta.0",
|
|
237
|
+
"packages": {
|
|
238
|
+
"eas-cli": {
|
|
239
|
+
"version": "0.55.1",
|
|
240
|
+
"alwaysAddToPackageJson": false,
|
|
241
|
+
"addToPackageJson": "devDependencies"
|
|
242
|
+
},
|
|
243
|
+
"expo-cli": {
|
|
244
|
+
"version": "5.5.1",
|
|
245
|
+
"alwaysAddToPackageJson": false
|
|
246
|
+
}
|
|
247
|
+
}
|
|
228
248
|
}
|
|
229
249
|
}
|
|
230
250
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/expo",
|
|
3
|
-
"version": "14.3
|
|
3
|
+
"version": "14.4.3",
|
|
4
4
|
"description": "Expo Plugin for Nx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -33,8 +33,10 @@
|
|
|
33
33
|
"@nrwl/workspace": "*",
|
|
34
34
|
"chalk": "4.1.0",
|
|
35
35
|
"enhanced-resolve": "^5.8.3",
|
|
36
|
-
"
|
|
36
|
+
"eas-cli": "^0.55.1",
|
|
37
|
+
"expo-cli": "^5.5.1",
|
|
37
38
|
"metro-resolver": "^0.71.0",
|
|
39
|
+
"tar-fs": "^2.1.1",
|
|
38
40
|
"tsconfig-paths": "^3.9.0",
|
|
39
41
|
"tsconfig-paths-webpack-plugin": "^3.5.2"
|
|
40
42
|
},
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
+
import { ExpoEasBuildOptions } from './schema';
|
|
3
|
+
export interface ReactNativeBuildOutput {
|
|
4
|
+
success: boolean;
|
|
5
|
+
}
|
|
6
|
+
export default function buildExecutor(options: ExpoEasBuildOptions, context: ExecutorContext): AsyncGenerator<ReactNativeBuildOutput>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
const child_process_1 = require("child_process");
|
|
7
|
+
const ensure_node_modules_symlink_1 = require("../../utils/ensure-node-modules-symlink");
|
|
8
|
+
let childProcess;
|
|
9
|
+
function buildExecutor(options, context) {
|
|
10
|
+
return tslib_1.__asyncGenerator(this, arguments, function* buildExecutor_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 tslib_1.__await(runCliBuild(context.root, projectRoot, options));
|
|
15
|
+
yield yield tslib_1.__await({ success: true });
|
|
16
|
+
}
|
|
17
|
+
finally {
|
|
18
|
+
if (childProcess) {
|
|
19
|
+
childProcess.kill();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
exports.default = buildExecutor;
|
|
25
|
+
function runCliBuild(workspaceRoot, projectRoot, options) {
|
|
26
|
+
return new Promise((resolve, reject) => {
|
|
27
|
+
childProcess = (0, child_process_1.fork)((0, path_1.join)(workspaceRoot, './node_modules/eas-cli/bin/run'), ['build', ...createBuildOptions(options)], { cwd: (0, path_1.join)(workspaceRoot, projectRoot) });
|
|
28
|
+
// Ensure the child process is killed when the parent exits
|
|
29
|
+
process.on('exit', () => childProcess.kill());
|
|
30
|
+
process.on('SIGTERM', () => childProcess.kill());
|
|
31
|
+
childProcess.on('error', (err) => {
|
|
32
|
+
reject(err);
|
|
33
|
+
});
|
|
34
|
+
childProcess.on('exit', (code) => {
|
|
35
|
+
if (code === 0) {
|
|
36
|
+
resolve(code);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
reject(code);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function createBuildOptions(options) {
|
|
45
|
+
return Object.keys(options).reduce((acc, k) => {
|
|
46
|
+
const v = options[k];
|
|
47
|
+
if (typeof v === 'boolean') {
|
|
48
|
+
if (v === true) {
|
|
49
|
+
// when true, does not need to pass the value true, just need to pass the flag in kebob case
|
|
50
|
+
acc.push(`--${(0, devkit_1.names)(k).fileName}`);
|
|
51
|
+
}
|
|
52
|
+
if (v === false && k === 'wait') {
|
|
53
|
+
acc.push('--no-wait');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
acc.push(`--${(0, devkit_1.names)(k).fileName}`, v);
|
|
58
|
+
}
|
|
59
|
+
return acc;
|
|
60
|
+
}, []);
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=build.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.impl.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build/build.impl.ts"],"names":[],"mappings":";;;AAAA,yCAAsD;AACtD,+BAA4B;AAC5B,iDAAmD;AAEnD,yFAAmF;AAQnF,IAAI,YAA0B,CAAC;AAE/B,SAA+B,aAAa,CAC1C,OAA4B,EAC5B,OAAwB;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QACzE,IAAA,sDAAwB,EAAC,OAA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;AACL,CAAC;AAED,SAAS,kBAAkB,CAAC,OAA4B;IACtD,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,OAAO,CAAC,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,KAAK,IAAI,EAAE;gBACd,4FAA4F;gBAC5F,GAAG,CAAC,IAAI,CAAC,KAAK,IAAA,cAAK,EAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;aACpC;YACD,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,MAAM,EAAE;gBAC/B,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACvB;SACF;aAAM;YACL,GAAG,CAAC,IAAI,CAAC,KAAK,IAAA,cAAK,EAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;SACvC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
4
|
+
const build_impl_1 = require("./build.impl");
|
|
5
|
+
exports.default = (0, devkit_1.convertNxExecutor)(build_impl_1.default);
|
|
6
|
+
//# sourceMappingURL=compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build/compat.ts"],"names":[],"mappings":";;AAAA,yCAAiD;AAEjD,6CAAyC;AAEzC,kBAAe,IAAA,0BAAiB,EAAC,oBAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// command to run https://github.com/expo/eas-cli/tree/main#eas-build
|
|
2
|
+
// options from github.com/expo/eas-cli/blob/main/packages/eas-cli/src/commands/build/index.ts
|
|
3
|
+
export interface ExpoEasBuildOptions {
|
|
4
|
+
platform: 'ios' | 'android' | 'all';
|
|
5
|
+
profile?: string;
|
|
6
|
+
nonInteractive: boolean; // default is false
|
|
7
|
+
local: boolean; // default is false
|
|
8
|
+
output?: string;
|
|
9
|
+
wait: boolean; // default is true
|
|
10
|
+
clearCache: boolean; // default is false
|
|
11
|
+
json: boolean; // default is false
|
|
12
|
+
autoSubmit: boolean; // default is false
|
|
13
|
+
autoSubmitWithProfile?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "NxExpoEasBuild",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Expo EAS Build executor",
|
|
6
|
+
"description": "Start an EAS build for your expo project",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"platform": {
|
|
10
|
+
"enum": ["ios", "android", "all"],
|
|
11
|
+
"alias": "p",
|
|
12
|
+
"description": "The platform to build the app, example values: ios, android, all."
|
|
13
|
+
},
|
|
14
|
+
"json": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "Enable JSON output, non-JSON messages will be printed to stderr",
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
"profile": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.",
|
|
22
|
+
"examples": ["PROFILE_NAME"]
|
|
23
|
+
},
|
|
24
|
+
"nonInteractive": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Run command in non-interactive mode",
|
|
27
|
+
"default": false
|
|
28
|
+
},
|
|
29
|
+
"local": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Run build locally [experimental]",
|
|
32
|
+
"default": false
|
|
33
|
+
},
|
|
34
|
+
"wait": {
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"description": "Wait for build(s) to complete",
|
|
37
|
+
"default": true
|
|
38
|
+
},
|
|
39
|
+
"clearCache": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Clear cache before the build",
|
|
42
|
+
"default": false
|
|
43
|
+
},
|
|
44
|
+
"autoSubmit": {
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"description": "Submit on build complete using the submit profile with the same name as the build profile",
|
|
47
|
+
"default": false
|
|
48
|
+
},
|
|
49
|
+
"autoSubmitWithProfile": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Submit on build complete using the submit profile with provided name",
|
|
52
|
+
"examples": ["PROFILE_NAME"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": []
|
|
56
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
+
import { ExpoEasBuildListOptions } from './schema';
|
|
3
|
+
export interface ReactNativeBuildListOutput {
|
|
4
|
+
success: boolean;
|
|
5
|
+
}
|
|
6
|
+
export default function buildListExecutor(options: ExpoEasBuildListOptions, context: ExecutorContext): AsyncGenerator<ReactNativeBuildListOutput>;
|
|
7
|
+
export declare function runCliBuildList(workspaceRoot: string, projectRoot: string, options: ExpoEasBuildListOptions): string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.runCliBuildList = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
6
|
+
const path_1 = require("path");
|
|
7
|
+
const child_process_1 = require("child_process");
|
|
8
|
+
const ensure_node_modules_symlink_1 = require("../../utils/ensure-node-modules-symlink");
|
|
9
|
+
function buildListExecutor(options, context) {
|
|
10
|
+
return tslib_1.__asyncGenerator(this, arguments, function* buildListExecutor_1() {
|
|
11
|
+
const projectRoot = context.workspace.projects[context.projectName].root;
|
|
12
|
+
(0, ensure_node_modules_symlink_1.ensureNodeModulesSymlink)(context.root, projectRoot);
|
|
13
|
+
devkit_1.logger.info(runCliBuildList(context.root, projectRoot, options));
|
|
14
|
+
yield yield tslib_1.__await({ success: true });
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
exports.default = buildListExecutor;
|
|
18
|
+
function runCliBuildList(workspaceRoot, projectRoot, options) {
|
|
19
|
+
const packageManager = (0, devkit_1.detectPackageManager)(workspaceRoot);
|
|
20
|
+
const packageManagerCommand = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
21
|
+
return (0, child_process_1.execSync)(`${packageManagerCommand.exec} eas-cli build:list ${createBuildListOptions(options).join(' ')}`, { cwd: (0, path_1.join)(workspaceRoot, projectRoot) }).toString();
|
|
22
|
+
}
|
|
23
|
+
exports.runCliBuildList = runCliBuildList;
|
|
24
|
+
const nxOptions = ['output'];
|
|
25
|
+
function createBuildListOptions(options) {
|
|
26
|
+
return Object.keys(options).reduce((acc, k) => {
|
|
27
|
+
const v = options[k];
|
|
28
|
+
if (!nxOptions.includes(k)) {
|
|
29
|
+
if (typeof v === 'boolean') {
|
|
30
|
+
if (v === true) {
|
|
31
|
+
// when true, does not need to pass the value true, just need to pass the flag in kebob case
|
|
32
|
+
acc.push(`--${(0, devkit_1.names)(k).fileName}`);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
acc.push(`--${(0, devkit_1.names)(k).fileName}`, v);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return acc;
|
|
40
|
+
}, []);
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=build-list.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-list.impl.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build-list/build-list.impl.ts"],"names":[],"mappings":";;;;AAAA,yCAMsB;A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AK,SAAS,EAAE;gBAC1B,IAAI,CAAC,KAAK,IAAI,EAAE;oBACd,4FAA4F;oBAC5F,GAAG,CAAC,IAAI,CAAC,KAAK,IAAA,cAAK,EAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;iBACpC;aACF;iBAAM;gBACL,GAAG,CAAC,IAAI,CAAC,KAAK,IAAA,cAAK,EAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;aACvC;SACF;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
4
|
+
const build_list_impl_1 = require("./build-list.impl");
|
|
5
|
+
exports.default = (0, devkit_1.convertNxExecutor)(build_list_impl_1.default);
|
|
6
|
+
//# sourceMappingURL=compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build-list/compat.ts"],"names":[],"mappings":";;AAAA,yCAAiD;AAEjD,uDAAkD;AAElD,kBAAe,IAAA,0BAAiB,EAAC,yBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// command to run https://github.com/expo/eas-cli/tree/main#eas-buildlist
|
|
2
|
+
// options from https://github.com/expo/eas-cli/blob/main/packages/eas-cli/src/commands/build/list.ts
|
|
3
|
+
export interface ExpoEasBuildListOptions {
|
|
4
|
+
platform: 'ios' | 'android' | 'all';
|
|
5
|
+
json?: boolean;
|
|
6
|
+
// status and distribution enum from https://github.com/expo/eas-cli/blob/main/packages/eas-cli/src/build/types.ts
|
|
7
|
+
status?:
|
|
8
|
+
| 'new'
|
|
9
|
+
| 'in-queue'
|
|
10
|
+
| 'in-progress'
|
|
11
|
+
| 'errored'
|
|
12
|
+
| 'finished'
|
|
13
|
+
| 'canceled';
|
|
14
|
+
distribution?: 'store' | 'internal' | 'simulator';
|
|
15
|
+
channel?: string;
|
|
16
|
+
appVersion?: string;
|
|
17
|
+
appBuildVersion?: string;
|
|
18
|
+
sdkVersion?: string;
|
|
19
|
+
runtimeVersion?: string;
|
|
20
|
+
appIdentifier?: string;
|
|
21
|
+
buildProject?: string;
|
|
22
|
+
gitCommitHash?: string;
|
|
23
|
+
limit?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "NxExpoEasBuildList",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Expo EAS Build List executor",
|
|
6
|
+
"description": "List all EAS builds for your Expo project",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"platform": {
|
|
10
|
+
"enum": ["ios", "android", "all"],
|
|
11
|
+
"alias": "p",
|
|
12
|
+
"description": "The platform to build the app, example values: ios, android, all."
|
|
13
|
+
},
|
|
14
|
+
"json": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "Enable JSON output, non-JSON messages will be printed to stderr"
|
|
17
|
+
},
|
|
18
|
+
"status": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"new",
|
|
21
|
+
"in-queue",
|
|
22
|
+
"in-progress",
|
|
23
|
+
"errored",
|
|
24
|
+
"finished",
|
|
25
|
+
"canceled"
|
|
26
|
+
],
|
|
27
|
+
"description": "Status of EAS build"
|
|
28
|
+
},
|
|
29
|
+
"distribution": {
|
|
30
|
+
"enum": ["store", "internal", "simulator"],
|
|
31
|
+
"description": "Distribution of EAS build"
|
|
32
|
+
},
|
|
33
|
+
"channel": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Channel of EAS build"
|
|
36
|
+
},
|
|
37
|
+
"appVersion": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "App version of EAS build"
|
|
40
|
+
},
|
|
41
|
+
"appBuildVersion": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "App build version of EAS build"
|
|
44
|
+
},
|
|
45
|
+
"sdkVersion": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "SDK version of EAS build"
|
|
48
|
+
},
|
|
49
|
+
"runtimeVersion": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Runtime version of EAS build"
|
|
52
|
+
},
|
|
53
|
+
"appIdentifier": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "App identifier of EAS build"
|
|
56
|
+
},
|
|
57
|
+
"buildProfile": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Build profile of EAS build"
|
|
60
|
+
},
|
|
61
|
+
"gitCommitHash": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Git commit hash of EAS build"
|
|
64
|
+
},
|
|
65
|
+
"limit": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"description": "Limit of numbers to list EAS builds"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": []
|
|
71
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
4
|
+
const download_impl_1 = require("./download.impl");
|
|
5
|
+
exports.default = (0, devkit_1.convertNxExecutor)(download_impl_1.default);
|
|
6
|
+
//# sourceMappingURL=compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/download/compat.ts"],"names":[],"mappings":";;AAAA,yCAAiD;AAEjD,mDAA+C;AAE/C,kBAAe,IAAA,0BAAiB,EAAC,uBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
+
import { ExpoEasDownloadOptions } from './schema';
|
|
3
|
+
export interface ReactNativeDownloadOutput {
|
|
4
|
+
success: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* This executor downloads the latest EAS build.
|
|
8
|
+
* It calls the build list exectuor to list EAS builds with options passed in.
|
|
9
|
+
*/
|
|
10
|
+
export default function downloadExecutor(options: ExpoEasDownloadOptions, context: ExecutorContext): AsyncGenerator<ReactNativeDownloadOutput>;
|
|
11
|
+
export declare function getBuild(workspaceRoot: string, projectRoot: string, options: ExpoEasDownloadOptions): any;
|
|
12
|
+
export declare function getAppExtension(platform: string, downloadFileName: string): string;
|
|
13
|
+
export declare function unzipBuild(downloadFilePath: string, outputDirectoryPath: string): Promise<void> | Promise<unknown>;
|
|
14
|
+
export declare function copyBuildFile(downloadFilePath: string, outputFilePath: string): Promise<void>;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.copyBuildFile = exports.unzipBuild = exports.getAppExtension = exports.getBuild = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
6
|
+
const fs_1 = require("fs");
|
|
7
|
+
const node_fetch_1 = require("node-fetch");
|
|
8
|
+
const util_1 = require("util");
|
|
9
|
+
const stream_1 = require("stream");
|
|
10
|
+
const chalk = require("chalk");
|
|
11
|
+
const path_1 = require("path");
|
|
12
|
+
const tar = require("tar-fs");
|
|
13
|
+
const zlib_1 = require("zlib");
|
|
14
|
+
const ensure_node_modules_symlink_1 = require("../../utils/ensure-node-modules-symlink");
|
|
15
|
+
const build_list_impl_1 = require("../build-list/build-list.impl");
|
|
16
|
+
const streamPipeline = (0, util_1.promisify)(stream_1.pipeline);
|
|
17
|
+
/**
|
|
18
|
+
* This executor downloads the latest EAS build.
|
|
19
|
+
* It calls the build list exectuor to list EAS builds with options passed in.
|
|
20
|
+
*/
|
|
21
|
+
function downloadExecutor(options, context) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
return tslib_1.__asyncGenerator(this, arguments, function* downloadExecutor_1() {
|
|
24
|
+
const projectRoot = context.workspace.projects[context.projectName].root;
|
|
25
|
+
(0, ensure_node_modules_symlink_1.ensureNodeModulesSymlink)(context.root, projectRoot);
|
|
26
|
+
const build = getBuild(context.root, projectRoot, options);
|
|
27
|
+
const buildUrl = (_a = build === null || build === void 0 ? void 0 : build.artifacts) === null || _a === void 0 ? void 0 : _a.buildUrl;
|
|
28
|
+
if (!buildUrl) {
|
|
29
|
+
throw new Error(`No build URL found.`);
|
|
30
|
+
}
|
|
31
|
+
if (!(0, fs_1.existsSync)(options.output)) {
|
|
32
|
+
(0, fs_1.mkdirSync)(options.output, { recursive: true });
|
|
33
|
+
}
|
|
34
|
+
const downloadFileName = buildUrl.split('/').pop();
|
|
35
|
+
const downloadFilePath = (0, path_1.join)(options.output, downloadFileName);
|
|
36
|
+
yield tslib_1.__await(downloadBuild(buildUrl, downloadFilePath));
|
|
37
|
+
const appExtension = getAppExtension(build.platform, downloadFileName);
|
|
38
|
+
const appName = `${(0, devkit_1.names)((_b = build.project) === null || _b === void 0 ? void 0 : _b.name).className}${appExtension}`;
|
|
39
|
+
const outputFilePath = (0, path_1.join)(options.output, appName);
|
|
40
|
+
if (downloadFileName.endsWith('.tar.gz')) {
|
|
41
|
+
yield tslib_1.__await(unzipBuild(downloadFilePath, options.output));
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
yield tslib_1.__await(copyBuildFile(downloadFilePath, outputFilePath));
|
|
45
|
+
}
|
|
46
|
+
devkit_1.logger.info(`Succesfully download the build to ${outputFilePath}`);
|
|
47
|
+
yield yield tslib_1.__await({ success: true });
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
exports.default = downloadExecutor;
|
|
51
|
+
function downloadBuild(buildUrl, output) {
|
|
52
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
const response = yield (0, node_fetch_1.default)(buildUrl);
|
|
54
|
+
if (!response.ok)
|
|
55
|
+
throw new Error(`Unable to download the build ${buildUrl}. Error: ${response.statusText}`);
|
|
56
|
+
return streamPipeline(response.body, (0, fs_1.createWriteStream)(output));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function getBuild(workspaceRoot, projectRoot, options) {
|
|
60
|
+
const buildList = (0, build_list_impl_1.runCliBuildList)(workspaceRoot, projectRoot, Object.assign(Object.assign({}, options), { json: true, status: 'finished', limit: 1 }));
|
|
61
|
+
const builds = JSON.parse(buildList);
|
|
62
|
+
if (!builds.length) {
|
|
63
|
+
throw new Error(`No EAS build found. Please check expo.dev to make sure your build is finished.`);
|
|
64
|
+
}
|
|
65
|
+
devkit_1.logger.info(`${chalk.bold.cyan('info')} Found build: ${buildList}`);
|
|
66
|
+
return builds[0];
|
|
67
|
+
}
|
|
68
|
+
exports.getBuild = getBuild;
|
|
69
|
+
function getAppExtension(platform, downloadFileName) {
|
|
70
|
+
platform = platform.toLowerCase();
|
|
71
|
+
if (platform === 'ios') {
|
|
72
|
+
return '.app';
|
|
73
|
+
}
|
|
74
|
+
if (downloadFileName.includes('.')) {
|
|
75
|
+
return downloadFileName.split('.').pop();
|
|
76
|
+
}
|
|
77
|
+
throw new Error(`Invalid build name found: ${downloadFileName}`);
|
|
78
|
+
}
|
|
79
|
+
exports.getAppExtension = getAppExtension;
|
|
80
|
+
function unzipBuild(downloadFilePath, outputDirectoryPath) {
|
|
81
|
+
const unzip = (0, zlib_1.createUnzip)();
|
|
82
|
+
const extract = tar.extract(outputDirectoryPath);
|
|
83
|
+
return streamPipeline((0, fs_1.createReadStream)(downloadFilePath), unzip, extract);
|
|
84
|
+
}
|
|
85
|
+
exports.unzipBuild = unzipBuild;
|
|
86
|
+
function copyBuildFile(downloadFilePath, outputFilePath) {
|
|
87
|
+
return new Promise((resolve, reject) => {
|
|
88
|
+
(0, fs_1.copyFile)(downloadFilePath, outputFilePath, (error) => {
|
|
89
|
+
if (error) {
|
|
90
|
+
reject(error);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
resolve();
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
exports.copyBuildFile = copyBuildFile;
|
|
99
|
+
//# sourceMappingURL=download.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.impl.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/download/download.impl.ts"],"names":[],"mappings":";;;;AAAA,yCAA8D;AAC9D,2BAMY;AACZ,2CAA+B;AAC/B,+BAAiC;AACjC,mCAAkC;AAClC,+BAA+B;AAC/B,+BAA4B;AAC5B,8BAA8B;AAC9B,+BAAmC;AAEnC,yFAAmF;AAGnF,mEAAgE;AAMhE,MAAM,cAAc,GAAG,IAAA,gBAAS,EAAC,iBAAQ,CAAC,CAAC;AAE3C;;;GAGG;AACH,SAA+B,gBAAgB,CAC7C,OAA+B,EAC/B,OAAwB;;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QACzE,IAAA,sDAAwB,EAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAEpD,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QAC3D,MAAM,QAAQ,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,0CAAE,QAAQ,CAAC;QAC5C,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;SACxC;QAED,IAAI,CAAC,IAAA,eAAU,EAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YAC/B,IAAA,cAAS,EAAC,OAAO,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IA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AAE,OAAO,CAAC,CAAC;AAC5E,CAAC;AAPD,gCAOC;AAED,SAAgB,aAAa,CAC3B,gBAAwB,EACxB,cAAsB;IAEtB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3C,IAAA,aAAQ,EAAC,gBAAgB,EAAE,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE;YACnD,IAAI,KAAK,EAAE;gBACT,MAAM,CAAC,KAAK,CAAC,CAAC;aACf;iBAAM;gBACL,OAAO,EAAE,CAAC;aACX;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAbD,sCAaC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// subset options from https://github.com/expo/eas-cli/blob/main/packages/eas-cli/src/commands/build/list.ts
|
|
2
|
+
export interface ExpoEasDownloadOptions {
|
|
3
|
+
platform: 'ios' | 'android' | 'all';
|
|
4
|
+
// status and distribution enum from https://github.com/expo/eas-cli/blob/main/packages/eas-cli/src/build/types.ts
|
|
5
|
+
distribution?: 'store' | 'internal' | 'simulator';
|
|
6
|
+
channel?: string;
|
|
7
|
+
appVersion?: string;
|
|
8
|
+
appBuildVersion?: string;
|
|
9
|
+
sdkVersion?: string;
|
|
10
|
+
runtimeVersion?: string;
|
|
11
|
+
appIdentifier?: string;
|
|
12
|
+
buildProject?: string;
|
|
13
|
+
gitCommitHash?: string;
|
|
14
|
+
output: string;
|
|
15
|
+
appName?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "NxExpoDownloadEasBuild",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Download EAS Build executor",
|
|
6
|
+
"description": "Download an EAS build",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"platform": {
|
|
10
|
+
"enum": ["ios", "android"],
|
|
11
|
+
"alias": "p",
|
|
12
|
+
"description": "The platform to build the app, example values: ios, android, all."
|
|
13
|
+
},
|
|
14
|
+
"distribution": {
|
|
15
|
+
"enum": ["store", "internal", "simulator"],
|
|
16
|
+
"description": "Distribution of EAS build"
|
|
17
|
+
},
|
|
18
|
+
"channel": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Channel of EAS build"
|
|
21
|
+
},
|
|
22
|
+
"appVersion": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "App version of EAS build"
|
|
25
|
+
},
|
|
26
|
+
"appBuildVersion": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "App build version of EAS build"
|
|
29
|
+
},
|
|
30
|
+
"sdkVersion": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "SDK version of EAS build"
|
|
33
|
+
},
|
|
34
|
+
"runtimeVersion": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Runtime version of EAS build"
|
|
37
|
+
},
|
|
38
|
+
"appIdentifier": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "App identifier of EAS build"
|
|
41
|
+
},
|
|
42
|
+
"buildProfile": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Build profile of EAS build"
|
|
45
|
+
},
|
|
46
|
+
"gitCommitHash": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Git commit hash of EAS build"
|
|
49
|
+
},
|
|
50
|
+
"output": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Output directory for the download build"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["output"]
|
|
56
|
+
}
|
|
@@ -51,6 +51,20 @@ function getTargets(options) {
|
|
|
51
51
|
platform: 'android',
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
|
+
architect['build'] = {
|
|
55
|
+
executor: '@nrwl/expo:build',
|
|
56
|
+
options: {},
|
|
57
|
+
};
|
|
58
|
+
architect['build-list'] = {
|
|
59
|
+
executor: '@nrwl/expo:build-list',
|
|
60
|
+
options: {},
|
|
61
|
+
};
|
|
62
|
+
architect['download'] = {
|
|
63
|
+
executor: '@nrwl/expo:download',
|
|
64
|
+
options: {
|
|
65
|
+
output: `${options.appProjectRoot}/dist`,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
54
68
|
architect['build-ios'] = {
|
|
55
69
|
executor: '@nrwl/expo:build-ios',
|
|
56
70
|
options: {},
|
|
@@ -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,EAAE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,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,SAAS,CAAC,OAAO,CAAC,GAAG;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,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,G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AAE;KACZ,CAAC;IAEF,SAAS,CAAC,WAAW,CAAC,GAAG;QACvB,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,SAAS,CAAC,gBAAgB,CAAC,GAAG;QAC5B,QAAQ,EAAE,2BAA2B;QACrC,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,SAAS,CAAC,SAAS,CAAC,GAAG;QACrB,QAAQ,EAAE,oBAAoB;QAC9B,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,SAAS,CAAC,aAAa,CAAC,GAAG;QACzB,QAAQ,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,SAAS,CAAC,OAAO,CAAC,GAAG;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -60,6 +60,7 @@ function updateDependencies(host) {
|
|
|
60
60
|
'@testing-library/jest-native': versions_1.testingLibraryJestNativeVersion,
|
|
61
61
|
'jest-expo': versions_1.jestExpoVersion,
|
|
62
62
|
'expo-cli': versions_1.expoCliVersion,
|
|
63
|
+
'eas-cli': versions_1.easCliVersion,
|
|
63
64
|
'@svgr/webpack': versions_1.svgrWebpackVersion,
|
|
64
65
|
'babel-preset-expo': versions_1.babelPresetExpoVersion,
|
|
65
66
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,yCAMsB;AAEtB,
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,yCAMsB;AAEtB,mDA0B8B;AA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,oBAAoB,EAAE,iCAAsB;QAC5C,yBAAyB,EAAE,uCAA4B;QACvD,oBAAoB,EAAE,kCAAuB;QAC7C,cAAc,EAAE,6BAAkB;QAClC,8BAA8B,EAAE,2CAAgC;QAChE,yBAAyB,EAAE,uCAA4B;QACvD,gCAAgC,EAAE,4CAAiC;QACnE,sBAAsB,EAAE,oCAAyB;QACjD,8BAA8B,EAAE,2CAAgC;QAChE,kBAAkB,EAAE,gCAAqB;KAC1C,EACD;QACE,YAAY,EAAE,oBAAS;QACvB,cAAc,EAAE,4BAAiB;QACjC,qBAAqB,EAAE,kCAAuB;QAC9C,gBAAgB,EAAE,uBAAY;QAC9B,sBAAsB,EAAE,uBAAY;QACpC,qBAAqB,EAAE,mCAAwB;QAC/C,+BAA+B,EAAE,2CAAgC;QACjE,8BAA8B,EAAE,0CAA+B;QAC/D,WAAW,EAAE,0BAAe;QAC5B,UAAU,EAAE,yBAAc;QAC1B,SAAS,EAAE,wBAAa;QACxB,eAAe,EAAE,6BAAkB;QACnC,mBAAmB,EAAE,iCAAsB;KAC5C,CACF,CAAC;AACJ,CAAC;AAtCD,gDAsCC;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,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
/**
|
|
7
|
+
* Add eas build and build-list target for expo
|
|
8
|
+
*/
|
|
9
|
+
function update(tree) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
const projects = (0, devkit_1.getProjects)(tree);
|
|
13
|
+
for (const [name, config] of projects.entries()) {
|
|
14
|
+
if (((_b = (_a = config.targets) === null || _a === void 0 ? void 0 : _a['start']) === null || _b === void 0 ? void 0 : _b.executor) === '@nrwl/expo:start') {
|
|
15
|
+
if (!config.targets['build']) {
|
|
16
|
+
config.targets['build'] = {
|
|
17
|
+
executor: '@nrwl/expo:build',
|
|
18
|
+
options: {},
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
if (!config.targets['build-list']) {
|
|
22
|
+
config.targets['build-list'] = {
|
|
23
|
+
executor: '@nrwl/expo:build-list',
|
|
24
|
+
options: {},
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (!config.targets['download']) {
|
|
28
|
+
config.targets['download'] = {
|
|
29
|
+
executor: '@nrwl/expo:download',
|
|
30
|
+
options: {
|
|
31
|
+
output: (0, path_1.join)(config.root, 'dist'),
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
(0, devkit_1.updateProjectConfiguration)(tree, name, config);
|
|
37
|
+
}
|
|
38
|
+
yield (0, devkit_1.formatFiles)(tree);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
exports.default = update;
|
|
42
|
+
//# sourceMappingURL=add-eas-build-target.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-eas-build-target.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/migrations/update-14-4-3/add-eas-build-target.ts"],"names":[],"mappings":";;;AAAA,yCAKsB;AACtB,+BAA4B;AAE5B;;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,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;oBAC5B,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG;wBACxB,QAAQ,EAAE,kBAAkB;wBAC5B,OAAO,EAAE,EAAE;qBACZ,CAAC;iBACH;gBACD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;oBACjC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;wBAC7B,QAAQ,EAAE,uBAAuB;wBACjC,OAAO,EAAE,EAAE;qBACZ,CAAC;iBACH;gBACD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;oBAC/B,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG;wBAC3B,QAAQ,EAAE,qBAAqB;wBAC/B,OAAO,EAAE;4BACP,MAAM,EAAE,IAAA,WAAI,EAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC;yBAClC;qBACF,CAAC;iBACH;aACF;YAED,IAAA,mCAA0B,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;SAChD;QAED,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;;CACzB;AA/BD,yBA+BC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ export declare const expoStructuredHeadersVersion = "~2.2.1";
|
|
|
7
7
|
export declare const expoSplashScreenVersion = "0.15.1";
|
|
8
8
|
export declare const expoUpdatesVersion = "~0.13.2";
|
|
9
9
|
export declare const jestExpoVersion = "45.0.1";
|
|
10
|
-
export declare const expoCliVersion = "5.
|
|
10
|
+
export declare const expoCliVersion = "5.5.1";
|
|
11
|
+
export declare const easCliVersion = "0.55.1";
|
|
11
12
|
export declare const babelPresetExpoVersion = "~9.1.0";
|
|
12
13
|
export declare const reactNativeVersion = "0.68.2";
|
|
13
14
|
export declare const typesReactNativeVersion = "0.68.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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.babelPresetExpoVersion = exports.expoCliVersion = exports.jestExpoVersion = exports.expoUpdatesVersion = exports.expoSplashScreenVersion = exports.expoStructuredHeadersVersion = exports.expoMetroConfigVersion = exports.expoStatusBarVersion = exports.expoDevClientVersion = exports.expoVersion = exports.nxVersion = void 0;
|
|
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.easCliVersion = 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
5
|
exports.expoVersion = '45.0.6';
|
|
6
6
|
exports.expoDevClientVersion = '~1.0.0';
|
|
@@ -10,7 +10,8 @@ exports.expoStructuredHeadersVersion = '~2.2.1';
|
|
|
10
10
|
exports.expoSplashScreenVersion = '0.15.1';
|
|
11
11
|
exports.expoUpdatesVersion = '~0.13.2';
|
|
12
12
|
exports.jestExpoVersion = '45.0.1';
|
|
13
|
-
exports.expoCliVersion = '5.
|
|
13
|
+
exports.expoCliVersion = '5.5.1';
|
|
14
|
+
exports.easCliVersion = '0.55.1';
|
|
14
15
|
exports.babelPresetExpoVersion = '~9.1.0';
|
|
15
16
|
exports.reactNativeVersion = '0.68.2';
|
|
16
17
|
exports.typesReactNativeVersion = '0.68.0';
|
|
@@ -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,QAAQ,CAAC;AAChC,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAChC,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,4BAA4B,GAAG,QAAQ,CAAC;AACxC,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,kBAAkB,GAAG,SAAS,CAAC;AAC/B,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,cAAc,GAAG,QAAQ,CAAC;
|
|
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,QAAQ,CAAC;AACxC,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,kBAAkB,GAAG,SAAS,CAAC;AAC/B,Q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