@nx/expo 20.6.2 → 20.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/expo",
3
- "version": "20.6.2",
3
+ "version": "20.6.4",
4
4
  "private": false,
5
5
  "description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
6
6
  "keywords": [
@@ -28,13 +28,13 @@
28
28
  "main": "./index",
29
29
  "types": "index.d.ts",
30
30
  "dependencies": {
31
- "@nx/devkit": "20.6.2",
32
- "@nx/eslint": "20.6.2",
33
- "@nx/jest": "20.6.2",
34
- "@nx/js": "20.6.2",
35
- "@nx/react": "20.6.2",
36
- "@nx/web": "20.6.2",
37
- "@nx/webpack": "20.6.2",
31
+ "@nx/devkit": "20.6.4",
32
+ "@nx/eslint": "20.6.4",
33
+ "@nx/jest": "20.6.4",
34
+ "@nx/js": "20.6.4",
35
+ "@nx/react": "20.6.4",
36
+ "@nx/web": "20.6.4",
37
+ "@nx/webpack": "20.6.4",
38
38
  "enhanced-resolve": "^5.8.3",
39
39
  "metro-config": "~0.80.4",
40
40
  "metro-resolver": "~0.80.4",
@@ -190,6 +190,12 @@ function createFiles(host, options) {
190
190
  updateTsConfig(host, options);
191
191
  }
192
192
  function determineEntryFields(options) {
193
+ if (options.buildable ||
194
+ options.publishable ||
195
+ !options.isUsingTsSolutionConfig) {
196
+ // For buildable libraries, the entries are configured by the bundler (i.e. Rollup).
197
+ return undefined;
198
+ }
193
199
  return {
194
200
  main: options.js ? './src/index.js' : './src/index.ts',
195
201
  types: options.js ? './src/index.js' : './src/index.ts',