@nrwl/expo 14.3.1 → 14.3.2
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 +3 -3
- package/src/generators/application/files/tsconfig.app.json.template +1 -1
- package/src/utils/add-jest.js +2 -2
- package/src/utils/add-jest.js.map +1 -1
- package/src/utils/versions.d.ts +3 -3
- package/src/utils/versions.js +3 -3
- package/src/utils/versions.js.map +1 -1
package/migrations.json
CHANGED
|
@@ -208,6 +208,23 @@
|
|
|
208
208
|
"alwaysAddToPackageJson": false
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
+
},
|
|
212
|
+
"14.3.2": {
|
|
213
|
+
"version": "14.3.2-beta.0",
|
|
214
|
+
"packages": {
|
|
215
|
+
"expo": {
|
|
216
|
+
"version": "45.0.6",
|
|
217
|
+
"alwaysAddToPackageJson": false
|
|
218
|
+
},
|
|
219
|
+
"expo-cli": {
|
|
220
|
+
"version": "5.4.11",
|
|
221
|
+
"alwaysAddToPackageJson": false
|
|
222
|
+
},
|
|
223
|
+
"@types/react-native": {
|
|
224
|
+
"version": "0.68.0",
|
|
225
|
+
"alwaysAddToPackageJson": false
|
|
226
|
+
}
|
|
227
|
+
}
|
|
211
228
|
}
|
|
212
229
|
}
|
|
213
230
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/expo",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.2",
|
|
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.
|
|
36
|
+
"expo-cli": "^5.4.11",
|
|
37
37
|
"metro-resolver": "^0.71.0",
|
|
38
38
|
"tsconfig-paths": "^3.9.0",
|
|
39
39
|
"tsconfig-paths-webpack-plugin": "^3.5.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"expo": "^45.0.
|
|
42
|
+
"expo": "^45.0.6"
|
|
43
43
|
},
|
|
44
44
|
"builders": "./executors.json",
|
|
45
45
|
"ng-update": {
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"outDir": "<%= offsetFromRoot %>dist/out-tsc",
|
|
5
5
|
"types": ["node"]
|
|
6
6
|
},
|
|
7
|
-
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "test-setup.ts"],
|
|
7
|
+
"exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.spec.tsx", "test-setup.ts"],
|
|
8
8
|
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"]
|
|
9
9
|
}
|
package/src/utils/add-jest.js
CHANGED
|
@@ -15,8 +15,8 @@ function addJest(host, unitTestRunner, projectName, appProjectRoot, js) {
|
|
|
15
15
|
setupFile: 'none',
|
|
16
16
|
babelJest: true,
|
|
17
17
|
});
|
|
18
|
-
// overwrite the jest.config.
|
|
19
|
-
const configPath = `${appProjectRoot}/jest.config
|
|
18
|
+
// overwrite the jest.config.ts file because react native needs to have special transform property
|
|
19
|
+
const configPath = `${appProjectRoot}/jest.config.${js ? 'js' : 'ts'}`;
|
|
20
20
|
const content = `module.exports = {
|
|
21
21
|
displayName: '${projectName}',
|
|
22
22
|
resolver: '@nrwl/jest/plugins/resolver',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-jest.js","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/add-jest.ts"],"names":[],"mappings":";;;;AACA,qCAAkD;AAElD,SAAsB,OAAO,CAC3B,IAAU,EACV,cAA+B,EAC/B,WAAmB,EACnB,cAAsB,EACtB,EAAW;;QAEX,IAAI,cAAc,KAAK,MAAM,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;SACjB;QAED,MAAM,QAAQ,GAAG,MAAM,IAAA,2BAAoB,EAAC,IAAI,EAAE;YAChD,OAAO,EAAE,WAAW;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,IAAI;YACrB,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;QAEH,kGAAkG;QAClG,MAAM,UAAU,GAAG,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"add-jest.js","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/add-jest.ts"],"names":[],"mappings":";;;;AACA,qCAAkD;AAElD,SAAsB,OAAO,CAC3B,IAAU,EACV,cAA+B,EAC/B,WAAmB,EACnB,cAAsB,EACtB,EAAW;;QAEX,IAAI,cAAc,KAAK,MAAM,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;SACjB;QAED,MAAM,QAAQ,GAAG,MAAM,IAAA,2BAAoB,EAAC,IAAI,EAAE;YAChD,OAAO,EAAE,WAAW;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,IAAI;YACrB,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;QAEH,kGAAkG;QAClG,MAAM,UAAU,GAAG,GAAG,cAAc,gBAAgB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACvE,MAAM,OAAO,GAAG;kBACA,WAAW;;;;;;;+CAOkB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;;;;;;;;;;GAU5D,CAAC;QACF,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAEhC,OAAO,QAAQ,CAAC;IAClB,CAAC;CAAA;AA3CD,0BA2CC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const nxVersion = "*";
|
|
2
|
-
export declare const expoVersion = "45.0.
|
|
2
|
+
export declare const expoVersion = "45.0.6";
|
|
3
3
|
export declare const expoDevClientVersion = "~1.0.0";
|
|
4
4
|
export declare const expoStatusBarVersion = "~1.3.0";
|
|
5
5
|
export declare const expoMetroConfigVersion = "0.3.17";
|
|
@@ -7,10 +7,10 @@ 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.4.
|
|
10
|
+
export declare const expoCliVersion = "5.4.11";
|
|
11
11
|
export declare const babelPresetExpoVersion = "~9.1.0";
|
|
12
12
|
export declare const reactNativeVersion = "0.68.2";
|
|
13
|
-
export declare const typesReactNativeVersion = "0.
|
|
13
|
+
export declare const typesReactNativeVersion = "0.68.0";
|
|
14
14
|
export declare const reactNativeWebVersion = "0.17.7";
|
|
15
15
|
export declare const reactNativeGestureHandlerVersion = "~2.2.1";
|
|
16
16
|
export declare const reactNativeReanimatedVersion = "~2.8.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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 = '45.0.
|
|
5
|
+
exports.expoVersion = '45.0.6';
|
|
6
6
|
exports.expoDevClientVersion = '~1.0.0';
|
|
7
7
|
exports.expoStatusBarVersion = '~1.3.0';
|
|
8
8
|
exports.expoMetroConfigVersion = '0.3.17';
|
|
@@ -10,10 +10,10 @@ 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.4.
|
|
13
|
+
exports.expoCliVersion = '5.4.11';
|
|
14
14
|
exports.babelPresetExpoVersion = '~9.1.0';
|
|
15
15
|
exports.reactNativeVersion = '0.68.2';
|
|
16
|
-
exports.typesReactNativeVersion = '0.
|
|
16
|
+
exports.typesReactNativeVersion = '0.68.0';
|
|
17
17
|
exports.reactNativeWebVersion = '0.17.7';
|
|
18
18
|
exports.reactNativeGestureHandlerVersion = '~2.2.1';
|
|
19
19
|
exports.reactNativeReanimatedVersion = '~2.8.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,
|
|
1
|
+
{"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