@nx/expo 16.1.4 → 16.2.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/migrations.json +17 -0
- package/package.json +11 -11
- package/src/generators/library/lib/normalize-options.js +3 -2
- package/src/generators/library/lib/normalize-options.js.map +1 -1
- package/src/migrations/update-16-1-4/add-detox-app-json.js.map +1 -1
- package/src/utils/versions.d.ts +3 -3
- package/src/utils/versions.js +3 -3
package/migrations.json
CHANGED
|
@@ -800,6 +800,23 @@
|
|
|
800
800
|
"alwaysAddToPackageJson": false
|
|
801
801
|
}
|
|
802
802
|
}
|
|
803
|
+
},
|
|
804
|
+
"16.1.5": {
|
|
805
|
+
"version": "16.1.5-beta.0",
|
|
806
|
+
"packages": {
|
|
807
|
+
"expo": {
|
|
808
|
+
"version": "^48.0.16",
|
|
809
|
+
"alwaysAddToPackageJson": false
|
|
810
|
+
},
|
|
811
|
+
"eas-cli": {
|
|
812
|
+
"version": "~3.12.0",
|
|
813
|
+
"alwaysAddToPackageJson": false
|
|
814
|
+
},
|
|
815
|
+
"@testing-library/react-native": {
|
|
816
|
+
"version": "12.1.2",
|
|
817
|
+
"alwaysAddToPackageJson": false
|
|
818
|
+
}
|
|
819
|
+
}
|
|
803
820
|
}
|
|
804
821
|
}
|
|
805
822
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/expo",
|
|
3
|
-
"version": "16.1
|
|
3
|
+
"version": "16.2.0-beta.1",
|
|
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": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"main": "./index",
|
|
27
27
|
"types": "index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@nrwl/expo": "16.1
|
|
30
|
-
"@nx/detox": "16.1
|
|
31
|
-
"@nx/devkit": "16.1
|
|
32
|
-
"@nx/jest": "16.1
|
|
33
|
-
"@nx/js": "16.1
|
|
34
|
-
"@nx/linter": "16.1
|
|
35
|
-
"@nx/react": "16.1
|
|
36
|
-
"@nx/webpack": "16.1
|
|
29
|
+
"@nrwl/expo": "16.2.0-beta.1",
|
|
30
|
+
"@nx/detox": "16.2.0-beta.1",
|
|
31
|
+
"@nx/devkit": "16.2.0-beta.1",
|
|
32
|
+
"@nx/jest": "16.2.0-beta.1",
|
|
33
|
+
"@nx/js": "16.2.0-beta.1",
|
|
34
|
+
"@nx/linter": "16.2.0-beta.1",
|
|
35
|
+
"@nx/react": "16.2.0-beta.1",
|
|
36
|
+
"@nx/webpack": "16.2.0-beta.1",
|
|
37
37
|
"chalk": "^4.1.0",
|
|
38
38
|
"enhanced-resolve": "^5.8.3",
|
|
39
39
|
"fs-extra": "^11.1.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tsconfig-paths-webpack-plugin": "^4.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"expo": "^48.0.
|
|
47
|
+
"expo": "^48.0.16"
|
|
48
48
|
},
|
|
49
49
|
"builders": "./executors.json",
|
|
50
50
|
"ng-update": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "79fa3fb0ead486e33a7e00b5c13a0f2545278202"
|
|
59
59
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.normalizeOptions = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
|
|
5
6
|
function normalizeOptions(host, options) {
|
|
6
7
|
const name = (0, devkit_1.names)(options.name).fileName;
|
|
7
8
|
const projectDirectory = options.directory
|
|
@@ -9,12 +10,12 @@ function normalizeOptions(host, options) {
|
|
|
9
10
|
: name;
|
|
10
11
|
const projectName = projectDirectory.replace(new RegExp('/', 'g'), '-');
|
|
11
12
|
const fileName = projectName;
|
|
12
|
-
const { libsDir
|
|
13
|
+
const { libsDir } = (0, devkit_1.getWorkspaceLayout)(host);
|
|
13
14
|
const projectRoot = (0, devkit_1.joinPathFragments)(libsDir, projectDirectory);
|
|
14
15
|
const parsedTags = options.tags
|
|
15
16
|
? options.tags.split(',').map((s) => s.trim())
|
|
16
17
|
: [];
|
|
17
|
-
const importPath = options.importPath || (0,
|
|
18
|
+
const importPath = options.importPath || (0, get_import_path_1.getImportPath)(host, projectDirectory);
|
|
18
19
|
const appMain = options.js ? 'src/index.js' : 'src/index.ts';
|
|
19
20
|
const normalized = Object.assign(Object.assign({}, options), { fileName, routePath: `/${name}`, name: projectName, projectRoot,
|
|
20
21
|
projectDirectory,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/expo/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/expo/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":";;;AAAA,uCAAgF;AAChF,sEAAiE;AAajE,SAAgB,gBAAgB,CAC9B,IAAU,EACV,OAAe;IAEf,MAAM,IAAI,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;IAC1C,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS;QACxC,CAAC,CAAC,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC,QAAQ,IAAI,IAAI,EAAE;QAChD,CAAC,CAAC,IAAI,CAAC;IAET,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;IACxE,MAAM,QAAQ,GAAG,WAAW,CAAC;IAC7B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,2BAAkB,EAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,WAAW,GAAG,IAAA,0BAAiB,EAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;IAEjE,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI;QAC7B,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9C,CAAC,CAAC,EAAE,CAAC;IAEP,MAAM,UAAU,GACd,OAAO,CAAC,UAAU,IAAI,IAAA,+BAAa,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAE9D,MAAM,OAAO,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC;IAE7D,MAAM,UAAU,mCACX,OAAO,KACV,QAAQ,EACR,SAAS,EAAE,IAAI,IAAI,EAAE,EACrB,IAAI,EAAE,WAAW,EACjB,WAAW;QACX,gBAAgB;QAChB,UAAU;QACV,UAAU;QACV,OAAO,GACR,CAAC;IAEF,OAAO,UAAU,CAAC;AACpB,CAAC;AApCD,4CAoCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-detox-app-json.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/migrations/update-16-1-4/add-detox-app-json.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"add-detox-app-json.js","sourceRoot":"","sources":["../../../../../../packages/expo/src/migrations/update-16-1-4/add-detox-app-json.ts"],"names":[],"mappings":";;;AAAA,uCAAwE;AAExE;;GAEG;AACH,SAA8B,MAAM,CAAC,IAAU;;QAC7C,MAAM,QAAQ,GAAG,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAEnC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;;YAC1B,IAAI,CAAA,MAAA,MAAA,MAAM,CAAC,OAAO,0CAAG,OAAO,CAAC,0CAAE,QAAQ,MAAK,kBAAkB,EAAE;gBAC9D,IAAA,mBAAU,EAAC,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;oBACnD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;wBACtB,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;qBACxB;oBACD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;wBACrB,uBAAuB;wBACvB;4BACE,YAAY,EAAE,KAAK;4BACnB,UAAU,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;yBACtC;qBACF,CAAC,CAAC;oBACH,OAAO,IAAI,CAAC;gBACd,CAAC,CAAC,CAAC;aACJ;QACH,CAAC,CAAC,CAAC;QAEH,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CAAA;AAtBD,yBAsBC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
|
-
export declare const expoVersion = "48.0.
|
|
2
|
+
export declare const expoVersion = "48.0.16";
|
|
3
3
|
export declare const expoMetroConfigVersion = "0.7.1";
|
|
4
4
|
export declare const expoSplashScreenVersion = "~0.18.2";
|
|
5
5
|
export declare const expoStatusBarVersion = "~1.4.4";
|
|
6
6
|
export declare const expoCliVersion = "~0.7.1";
|
|
7
|
-
export declare const easCliVersion = "~3.
|
|
7
|
+
export declare const easCliVersion = "~3.12.0";
|
|
8
8
|
export declare const babelPresetExpoVersion = "~9.3.2";
|
|
9
9
|
export declare const reactVersion = "18.2.0";
|
|
10
10
|
export declare const reactDomVersion = "18.2.0";
|
|
@@ -16,6 +16,6 @@ export declare const reactNativeWebVersion = "~0.18.12";
|
|
|
16
16
|
export declare const reactNativeSvgTransformerVersion = "1.0.0";
|
|
17
17
|
export declare const reactNativeSvgVersion = "13.4.0";
|
|
18
18
|
export declare const metroVersion = "0.74.1";
|
|
19
|
-
export declare const testingLibraryReactNativeVersion = "12.
|
|
19
|
+
export declare const testingLibraryReactNativeVersion = "12.1.2";
|
|
20
20
|
export declare const testingLibraryJestNativeVersion = "5.4.2";
|
|
21
21
|
export declare const jestExpoVersion = "~48.0.2";
|
package/src/utils/versions.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.jestExpoVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.metroVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeWebVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.typesReactVersion = exports.reactTestRendererVersion = exports.reactDomVersion = exports.reactVersion = exports.babelPresetExpoVersion = exports.easCliVersion = exports.expoCliVersion = exports.expoStatusBarVersion = exports.expoSplashScreenVersion = exports.expoMetroConfigVersion = exports.expoVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
|
-
exports.expoVersion = '48.0.
|
|
5
|
+
exports.expoVersion = '48.0.16';
|
|
6
6
|
exports.expoMetroConfigVersion = '0.7.1';
|
|
7
7
|
exports.expoSplashScreenVersion = '~0.18.2';
|
|
8
8
|
exports.expoStatusBarVersion = '~1.4.4';
|
|
9
9
|
exports.expoCliVersion = '~0.7.1'; // @expo/cli
|
|
10
|
-
exports.easCliVersion = '~3.
|
|
10
|
+
exports.easCliVersion = '~3.12.0';
|
|
11
11
|
exports.babelPresetExpoVersion = '~9.3.2';
|
|
12
12
|
exports.reactVersion = '18.2.0';
|
|
13
13
|
exports.reactDomVersion = '18.2.0';
|
|
@@ -19,7 +19,7 @@ exports.reactNativeWebVersion = '~0.18.12';
|
|
|
19
19
|
exports.reactNativeSvgTransformerVersion = '1.0.0';
|
|
20
20
|
exports.reactNativeSvgVersion = '13.4.0';
|
|
21
21
|
exports.metroVersion = '0.74.1';
|
|
22
|
-
exports.testingLibraryReactNativeVersion = '12.
|
|
22
|
+
exports.testingLibraryReactNativeVersion = '12.1.2';
|
|
23
23
|
exports.testingLibraryJestNativeVersion = '5.4.2';
|
|
24
24
|
exports.jestExpoVersion = '~48.0.2';
|
|
25
25
|
//# sourceMappingURL=versions.js.map
|