@nrwl/react-native 13.8.4 → 13.8.7

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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2017-2022 Narwhal Technologies Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
1
+ <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
2
2
 
3
3
  <div style="text-align: center;">
4
4
 
@@ -15,190 +15,70 @@
15
15
 
16
16
  <hr>
17
17
 
18
- # React Native Plugin for Nx
19
-
20
- {{what-is-nx}}
21
-
22
- {{getting-started}}
23
-
24
- ## Table of Contents
25
-
26
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
27
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
28
-
29
- - [Getting started](#getting-started)
30
- - [Create a new Nx workspace:](#create-a-new-nx-workspace)
31
- - [Install React Native plugin](#install-react-native-plugin)
32
- - [Create an app](#create-an-app)
33
- - [Start the JavaScript bundler](#start-the-javascript-bundler)
34
- - [Run on devices](#run-on-devices)
35
- - [Release build](#release-build)
36
- - [Test/lint the app](#testlint-the-app)
37
- - [E2e test the app](#e2e-test-the-app)
38
- - [Setup](#setup)
39
- - [Install applesimutils (Mac only)](#install-applesimutils-mac-only)
40
- - [Install Jest Globally](#install-jest-globally)
41
- - [Commands](#commands)
42
- - [Manually Add E2E Folder](#manually-add-e2e-folder)
43
- - [Change Testing Simulator/Emulator](#change-testing-simulatoremulator)
44
- - [Using components from React library](#using-components-from-react-library)
45
- - [CLI Commands and Options](#cli-commands-and-options)
46
- - [`start`](#start)
47
- - [`--port [number]`](#--port-number)
48
- - [`run-ios`](#run-ios)
49
- - [`--port [number]`](#--port-number-1)
50
- - [`--install`](#--install)
51
- - [`--sync`](#--sync)
52
- - [`run-android`](#run-android)
53
- - [`--port [number]`](#--port-number-2)
54
- - [`--sync`](#--sync-1)
55
- - [`sync-deps`](#sync-deps)
56
- - [`--include [string]`](#--include-string)
57
- - [Learn more](#learn-more)
58
- - [Contributing](#contributing)
59
- - [Debugging](#debugging)
60
-
61
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
62
-
63
- ## Getting started
64
-
65
- ### Create a new Nx workspace:
66
-
67
- ```sh
68
- npx create-nx-workspace --cli=nx --preset=empty
69
- ```
70
-
71
- ### Install React Native plugin
72
-
73
- ```sh
74
- # Using npm
75
- npm install --save-dev @nrwl/react-native
76
-
77
- # Using yarn
78
- yarn add -D @nrwl/react-native
79
- ```
80
-
81
- ### Create an app
82
-
83
- ```sh
84
- npx nx g @nrwl/react-native:app <app-name>
85
- ```
86
-
87
- When using Nx, you can create multiple applications and themes in the same workspace. If you don't want to prefix your commands with npx, install `@nrwl/cli` globally.
88
-
89
- ### Start the JavaScript bundler
18
+ # Nx: Smart, Fast and Extensible Build System
90
19
 
91
- ```sh
92
- npx nx start <app-name>
93
- ```
20
+ Nx is a next generation build system with first class monorepo support and powerful integrations.
94
21
 
95
- This will start the bundler at `http://localhost:8081`.
22
+ This package is a [React Native plugin for Nx](https://nx.dev/react-native/overview).
96
23
 
97
- ### Run on devices
24
+ ## Getting Started
98
25
 
99
- Make sure the bundler server is running.
26
+ ### Creating an Nx Workspace
100
27
 
101
- **Android:**
28
+ **Using `npx`**
102
29
 
103
- ```sh
104
- npx nx run-android <app-name>
30
+ ```bash
31
+ npx create-nx-workspace
105
32
  ```
106
33
 
107
- **iOS:** (Mac only)
34
+ **Using `npm init`**
108
35
 
109
- ```sh
110
- npx nx run-ios <app-name> --install
36
+ ```bash
37
+ npm init nx-workspace
111
38
  ```
112
39
 
113
- Note: The `--install` flag installs Xcode dependencies before building the iOS app. This option keeps dependencies up to date.
114
-
115
- ### Release build
116
-
117
- **Android:**
40
+ **Using `yarn create`**
118
41
 
119
- ```sh
120
- npx nx build-android <app-name>
42
+ ```bash
43
+ yarn create nx-workspace
121
44
  ```
122
45
 
123
- **iOS:** (Mac only)
124
-
125
- No CLI support yet. Run in the Xcode project. See: https://reactnative.dev/docs/running-on-device
126
-
127
- ### Test/lint the app
46
+ The `create-nx-workspace` command will ask you to select a preset, which will configure some plugins and create your applications to help you get started.
128
47
 
129
- ```sh
130
- npx nx test <app-name>
131
- npx nx lint <app-name>
132
48
  ```
133
-
134
- ## Using components from React library
135
-
136
- You can use a component from React library generated using Nx package for React. Once you run:
137
-
138
- ```sh
139
- npx nx g @nrwl/react-native:lib ui-button
49
+ ? What to create in the new workspace (Use arrow keys)
50
+ apps [an empty workspace with no plugins with a layout that works best for building apps]
51
+ core [an empty workspace with no plugins set up to publish npm packages (similar to yarn workspaces)]
52
+ ts [an empty workspace with the JS/TS plugin preinstalled]
53
+ react [a workspace with a single React application]
54
+ angular [a workspace with a single Angular application]
55
+ next.js [a workspace with a single Next.js application]
56
+ nest [a workspace with a single Nest application]
57
+ express [a workspace with a single Express application]
58
+ web components [a workspace with a single app built using web components]
59
+ react-native [a workspace with a single React Native application]
60
+ react-express [a workspace with a full stack application (React + Express)]
140
61
  ```
141
62
 
142
- This will generate the `UiButton` component, which you can use in your app.
143
-
144
- ```jsx
145
- import { UiButton } from '@myorg/ui-button';
146
- ```
63
+ Select the preset that works best for you
147
64
 
148
- ## CLI Commands and Options
65
+ ### Adding Nx to an Existing Monorepo
149
66
 
150
- Usage:
67
+ Run:
151
68
 
152
- ```sh
153
- npx nx [command] [app] [...options]
69
+ ```bash
70
+ npx add-nx-to-monorepo@latest
154
71
  ```
155
72
 
156
- ### `start`
157
-
158
- Starts the JS bundler that communicates with connected devices.
159
-
160
- #### `--port [number]`
161
-
162
- The port to listen on.
163
-
164
- ### `run-ios`
165
-
166
- Builds your app and starts it on iOS simulator.
167
-
168
- #### `--port [number]`
169
-
170
- The port of the JS bundler.
171
-
172
- #### `--install`
173
-
174
- Install dependencies for the Xcode project before building iOS app.
175
-
176
- #### `--sync`
177
-
178
- Sync app dependencies to its `package.json`. On by default, use `--no-sync` to turn it off.
179
-
180
- ### `run-android`
181
-
182
- Builds your app and starts it on iOS simulator.
183
-
184
- #### `--port [number]`
185
-
186
- The port of the JS bundler.
187
-
188
- #### `--sync`
189
-
190
- Sync app dependencies to its `package.json`. On by default, use `--no-sync` to turn it off.
191
-
192
- ### `sync-deps`
193
-
194
- Sync app dependencies to its `package.json`.
195
-
196
- #### `--include [string]`
73
+ ## Documentation & Resources
197
74
 
198
- A comma-separate list of additional packages to include.
75
+ A few links to help you get started:
199
76
 
200
- e.g. `nx sync-deps [app] --include react-native-gesture,react-native-safe-area-context`
77
+ - [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
78
+ - [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
79
+ - [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
80
+ - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
201
81
 
202
- ## Learn more
82
+ <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
83
+ width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
203
84
 
204
- Visit the [Nx Documentation](https://nx.dev) to learn more.
package/migrations.json CHANGED
@@ -374,6 +374,39 @@
374
374
  "alwaysAddToPackageJson": false
375
375
  }
376
376
  }
377
+ },
378
+ "13.8.6": {
379
+ "version": "13.8.6-beta.0",
380
+ "packages": {
381
+ "react-native": {
382
+ "version": "0.67.3",
383
+ "alwaysAddToPackageJson": false
384
+ },
385
+ "@types/react-native": {
386
+ "version": "0.67.2",
387
+ "alwaysAddToPackageJson": false
388
+ },
389
+ "metro": {
390
+ "version": "0.69.0",
391
+ "alwaysAddToPackageJson": false
392
+ },
393
+ "metro-resolver": {
394
+ "version": "0.69.0",
395
+ "alwaysAddToPackageJson": false
396
+ },
397
+ "metro-react-native-babel-preset": {
398
+ "version": "0.69.0",
399
+ "alwaysAddToPackageJson": false
400
+ },
401
+ "react-native-svg": {
402
+ "version": "12.3.0",
403
+ "alwaysAddToPackageJson": false
404
+ },
405
+ "@react-native-async-storage/async-storage": {
406
+ "version": "1.16.1",
407
+ "alwaysAddToPackageJson": false
408
+ }
409
+ }
377
410
  }
378
411
  }
379
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/react-native",
3
- "version": "13.8.4",
3
+ "version": "13.8.7",
4
4
  "description": "React Native Plugin for Nx",
5
5
  "keywords": [
6
6
  "Monorepo",
@@ -24,13 +24,13 @@
24
24
  "main": "index.js",
25
25
  "types": "index.d.ts",
26
26
  "dependencies": {
27
- "@nrwl/detox": "13.8.4",
28
- "@nrwl/devkit": "13.8.4",
29
- "@nrwl/jest": "13.8.4",
30
- "@nrwl/linter": "13.8.4",
31
- "@nrwl/storybook": "13.8.4",
32
- "@nrwl/react": "13.8.4",
33
- "@nrwl/workspace": "13.8.4",
27
+ "@nrwl/detox": "13.8.7",
28
+ "@nrwl/devkit": "13.8.7",
29
+ "@nrwl/jest": "13.8.7",
30
+ "@nrwl/linter": "13.8.7",
31
+ "@nrwl/storybook": "13.8.7",
32
+ "@nrwl/react": "13.8.7",
33
+ "@nrwl/workspace": "13.8.7",
34
34
  "chalk": "^4.1.0",
35
35
  "enhanced-resolve": "^5.8.3",
36
36
  "fs-extra": "^9.1.0",
@@ -40,7 +40,7 @@
40
40
  "tsconfig-paths": "^3.9.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "react-native": "^0.67.2"
43
+ "react-native": "^0.67.3"
44
44
  },
45
45
  "builders": "./executors.json",
46
46
  "ng-update": {
package/project.json CHANGED
@@ -63,6 +63,11 @@
63
63
  "input": "packages/react-native",
64
64
  "glob": "**/*.d.ts",
65
65
  "output": "/"
66
+ },
67
+ {
68
+ "input": "",
69
+ "glob": "LICENSE",
70
+ "output": "/"
66
71
  }
67
72
  ]
68
73
  },
@@ -62,4 +62,18 @@ describe('app', () => {
62
62
 
63
63
  expect(appTree.exists('apps/my-app/.eslintrc.json')).toBe(true);
64
64
  });
65
+
66
+ it('should extend from root tsconfig.json when no tsconfig.base.json', async () => {
67
+ appTree.rename('tsconfig.base.json', 'tsconfig.json');
68
+
69
+ await reactNativeApplicationGenerator(appTree, {
70
+ name: 'myApp',
71
+ displayName: 'myApp',
72
+ linter: Linter.EsLint,
73
+ e2eTestRunner: 'none',
74
+ });
75
+
76
+ const tsconfig = readJson(appTree, 'apps/my-app/tsconfig.json');
77
+ expect(tsconfig.extends).toEqual('../../tsconfig.json');
78
+ });
65
79
  });
@@ -1,5 +1,6 @@
1
1
  const { withNxMetro } = require('@nrwl/react-native');
2
2
  const { getDefaultConfig } = require('metro-config');
3
+ const exclusionList = require('metro-config/src/defaults/exclusionList');
3
4
 
4
5
  module.exports = (async () => {
5
6
  const {
@@ -20,6 +21,7 @@ module.exports = (async () => {
20
21
  assetExts: assetExts.filter((ext) => ext !== 'svg'),
21
22
  sourceExts: [...sourceExts, 'svg'],
22
23
  resolverMainFields: ['sbmodern', 'browser', 'main'],
24
+ blacklistRE: exclusionList([/\.\/dist\/.*/]),
23
25
  },
24
26
  },
25
27
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "<%= offsetFromRoot %>tsconfig.base.json",
2
+ "extends": "<%= rootTsConfigPath %>",
3
3
  "compilerOptions": {
4
4
  "allowSyntheticDefaultImports": true,
5
5
  "jsx": "react-native",
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createApplicationFiles = void 0;
4
4
  const devkit_1 = require("@nrwl/devkit");
5
+ const typescript_1 = require("@nrwl/workspace/src/utilities/typescript");
5
6
  const path_1 = require("path");
6
7
  function createApplicationFiles(host, options) {
7
- (0, devkit_1.generateFiles)(host, (0, path_1.join)(__dirname, '../files/app'), options.appProjectRoot, Object.assign(Object.assign({}, options), { offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.appProjectRoot) }));
8
+ (0, devkit_1.generateFiles)(host, (0, path_1.join)(__dirname, '../files/app'), options.appProjectRoot, Object.assign(Object.assign({}, options), { offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.appProjectRoot), rootTsConfigPath: (0, typescript_1.getRelativePathToRootTsConfig)(host, options.appProjectRoot) }));
8
9
  if (options.unitTestRunner === 'none') {
9
10
  host.delete((0, path_1.join)(options.appProjectRoot, `/src/app/App.spec.tsx`));
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"create-application-files.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/application/lib/create-application-files.ts"],"names":[],"mappings":";;;AAAA,yCAAyE;AACzE,+BAA4B;AAG5B,SAAgB,sBAAsB,CAAC,IAAU,EAAE,OAAyB;IAC1E,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,cAAc,kCACtE,OAAO,KACV,cAAc,EAAE,IAAA,uBAAc,EAAC,OAAO,CAAC,cAAc,CAAC,IACtD,CAAC;IACH,IAAI,OAAO,CAAC,cAAc,KAAK,MAAM,EAAE;QACrC,IAAI,CAAC,MAAM,CAAC,IAAA,WAAI,EAAC,OAAO,CAAC,cAAc,EAAE,uBAAuB,CAAC,CAAC,CAAC;KACpE;IACD,IAAI,OAAO,CAAC,aAAa,KAAK,MAAM,EAAE;QACpC,IAAI,CAAC,MAAM,CACT,IAAA,WAAI,EACF,OAAO,CAAC,kBAAkB,EAC1B,iCAAiC,OAAO,CAAC,aAAa,iBAAiB,CACxE,CACF,CAAC;KACH;IACD,IAAI,OAAO,CAAC,EAAE,EAAE;QACd,IAAA,aAAI,EAAC,IAAI,CAAC,CAAC;KACZ;AACH,CAAC;AAnBD,wDAmBC"}
1
+ {"version":3,"file":"create-application-files.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/application/lib/create-application-files.ts"],"names":[],"mappings":";;;AAAA,yCAAyE;AACzE,yEAAyF;AACzF,+BAA4B;AAG5B,SAAgB,sBAAsB,CAAC,IAAU,EAAE,OAAyB;IAC1E,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,cAAc,kCACtE,OAAO,KACV,cAAc,EAAE,IAAA,uBAAc,EAAC,OAAO,CAAC,cAAc,CAAC,EACtD,gBAAgB,EAAE,IAAA,0CAA6B,EAC7C,IAAI,EACJ,OAAO,CAAC,cAAc,CACvB,IACD,CAAC;IACH,IAAI,OAAO,CAAC,cAAc,KAAK,MAAM,EAAE;QACrC,IAAI,CAAC,MAAM,CAAC,IAAA,WAAI,EAAC,OAAO,CAAC,cAAc,EAAE,uBAAuB,CAAC,CAAC,CAAC;KACpE;IACD,IAAI,OAAO,CAAC,aAAa,KAAK,MAAM,EAAE;QACpC,IAAI,CAAC,MAAM,CACT,IAAA,WAAI,EACF,OAAO,CAAC,kBAAkB,EAC1B,iCAAiC,OAAO,CAAC,aAAa,iBAAiB,CACxE,CACF,CAAC;KACH;IACD,IAAI,OAAO,CAAC,EAAE,EAAE;QACd,IAAA,aAAI,EAAC,IAAI,CAAC,CAAC;KACZ;AACH,CAAC;AAvBD,wDAuBC"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "<%= offsetFromRoot %>tsconfig.base.json",
2
+ "extends": "<%= rootTsConfigPath %>",
3
3
  "compilerOptions": {
4
4
  "jsx": "react-jsx",
5
5
  "allowJs": true,
@@ -8,6 +8,7 @@ const init_1 = require("../init/init");
8
8
  const add_linting_1 = require("../../utils/add-linting");
9
9
  const add_jest_1 = require("../../utils/add-jest");
10
10
  const normalize_options_1 = require("./lib/normalize-options");
11
+ const typescript_1 = require("@nrwl/workspace/src/utilities/typescript");
11
12
  function reactNativeLibraryGenerator(host, schema) {
12
13
  return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
13
14
  const options = (0, normalize_options_1.normalizeOptions)(host, schema);
@@ -74,7 +75,7 @@ function updateTsConfig(tree, options) {
74
75
  });
75
76
  }
76
77
  function updateBaseTsConfig(host, options) {
77
- (0, devkit_1.updateJson)(host, 'tsconfig.base.json', (json) => {
78
+ (0, devkit_1.updateJson)(host, (0, typescript_1.getRootTsConfigPathInTree)(host), (json) => {
78
79
  const c = json.compilerOptions;
79
80
  c.paths = c.paths || {};
80
81
  delete c.paths[options.name];
@@ -89,7 +90,7 @@ function updateBaseTsConfig(host, options) {
89
90
  });
90
91
  }
91
92
  function createFiles(host, options) {
92
- (0, devkit_1.generateFiles)(host, (0, devkit_1.joinPathFragments)(__dirname, './files/lib'), options.projectRoot, Object.assign(Object.assign(Object.assign({}, options), (0, devkit_1.names)(options.name)), { tmpl: '', offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot) }));
93
+ (0, devkit_1.generateFiles)(host, (0, devkit_1.joinPathFragments)(__dirname, './files/lib'), options.projectRoot, Object.assign(Object.assign(Object.assign({}, options), (0, devkit_1.names)(options.name)), { tmpl: '', offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot), rootTsConfigPath: (0, typescript_1.getRelativePathToRootTsConfig)(host, options.projectRoot) }));
93
94
  if (!options.publishable && !options.buildable) {
94
95
  host.delete(`${options.projectRoot}/package.json`);
95
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/library/library.ts"],"names":[],"mappings":";;;;AAAA,yCAcsB;AACtB,2FAAqF;AACrF,uCAAgC;AAChC,yDAAqD;AACrD,mDAA+C;AAC/C,+DAA6E;AAG7E,SAAsB,2BAA2B,CAC/C,IAAU,EACV,MAAc;;QAEd,MAAM,OAAO,GAAG,IAAA,oCAAgB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;YACtD,MAAM,IAAI,KAAK,CACb,oJAAoJ,CACrJ,CAAC;SACH;QAED,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE3B,MAAM,QAAQ,GAAG,MAAM,IAAA,cAAI,EAAC,IAAI,kCAC3B,OAAO,KACV,UAAU,EAAE,IAAI,EAChB,aAAa,EAAE,MAAM,IACrB,CAAC;QAEH,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAU,EAC/B,IAAI,EACJ,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,WAAW,EACnB,CAAC,IAAA,0BAAiB,EAAC,OAAO,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,EAC7D,OAAO,C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,GAAG,OAAO,CAAC,UAAU,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,OAAO,CAAC,OAAyB,EAAE,IAAY;IACtD,OAAO,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAClE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC;QAChC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,kBAAe,2BAA2B,CAAC;AAC9B,QAAA,2BAA2B,GAAG,IAAA,2BAAkB,EAC3D,2BAA2B,CAC5B,CAAC"}
1
+ {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/library/library.ts"],"names":[],"mappings":";;;;AAAA,yCAcsB;AACtB,2FAAqF;AACrF,uCAAgC;AAChC,yDAAqD;AACrD,mDAA+C;AAC/C,+DAA6E;AAE7E,yEAGkD;AAElD,SAAsB,2BAA2B,CAC/C,IAAU,EACV,MAAc;;QAEd,MAAM,OAAO,GAAG,IAAA,oCAAgB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;YACtD,MAAM,IAAI,KAAK,CACb,oJAAoJ,CACrJ,CAAC;SACH;QAED,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE3B,MAAM,QAAQ,GAAG,MAAM,IAAA,cAAI,EAAC,IAAI,kCAC3B,OAAO,KACV,UAAU,EAAE,IAAI,EAChB,aAAa,EAAE,MAAM,IACrB,CAAC;QAEH,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAU,EAC/B,IAAI,EACJ,OAAO,CAAC,IAAI,EACZ,OAA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EAAE,OAAO,CAAC,CAAC;AAChC,CAAC;AAED,SAAS,wBAAwB,CAAC,IAAU,EAAE,OAAyB;IACrE,OAAO,IAAA,mBAAU,EAAC,IAAI,EAAE,GAAG,OAAO,CAAC,WAAW,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE;QACtE,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,OAAO,CAAC,OAAyB,EAAE,IAAY;IACtD,OAAO,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAClE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC;QAChC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,kBAAe,2BAA2B,CAAC;AAC9B,QAAA,2BAA2B,GAAG,IAAA,2BAAkB,EAC3D,2BAA2B,CAC5B,CAAC"}
@@ -37,7 +37,7 @@ describe('lib', () => {
37
37
  expect(workspaceJson.projects['my-lib'].tags).toEqual(['one', 'two']);
38
38
  });
39
39
 
40
- it('should update tsconfig.base.json', async () => {
40
+ it('should update root tsconfig.base.json', async () => {
41
41
  await libraryGenerator(appTree, defaultSchema);
42
42
  const tsconfigJson = readJson(appTree, '/tsconfig.base.json');
43
43
  expect(tsconfigJson.compilerOptions.paths['@proj/my-lib']).toEqual([
@@ -45,6 +45,17 @@ describe('lib', () => {
45
45
  ]);
46
46
  });
47
47
 
48
+ it('should update root tsconfig.json when no tsconfig.base.json', async () => {
49
+ appTree.rename('tsconfig.base.json', 'tsconfig.json');
50
+
51
+ await libraryGenerator(appTree, defaultSchema);
52
+
53
+ const tsconfigJson = readJson(appTree, '/tsconfig.json');
54
+ expect(tsconfigJson.compilerOptions.paths['@proj/my-lib']).toEqual([
55
+ 'libs/my-lib/src/index.ts',
56
+ ]);
57
+ });
58
+
48
59
  it('should update root tsconfig.base.json (no existing path mappings)', async () => {
49
60
  updateJson(appTree, 'tsconfig.base.json', (json) => {
50
61
  json.compilerOptions.paths = undefined;
@@ -60,7 +71,9 @@ describe('lib', () => {
60
71
 
61
72
  it('should create a local tsconfig.json', async () => {
62
73
  await libraryGenerator(appTree, defaultSchema);
74
+
63
75
  const tsconfigJson = readJson(appTree, 'libs/my-lib/tsconfig.json');
76
+ expect(tsconfigJson.extends).toBe('../../tsconfig.base.json');
64
77
  expect(tsconfigJson.references).toEqual([
65
78
  {
66
79
  path: './tsconfig.lib.json',
@@ -79,6 +92,15 @@ describe('lib', () => {
79
92
  );
80
93
  });
81
94
 
95
+ it('should extend from root tsconfig.json when no tsconfig.base.json', async () => {
96
+ appTree.rename('tsconfig.base.json', 'tsconfig.json');
97
+
98
+ await libraryGenerator(appTree, defaultSchema);
99
+
100
+ const tsconfigJson = readJson(appTree, 'libs/my-lib/tsconfig.json');
101
+ expect(tsconfigJson.extends).toBe('../../tsconfig.json');
102
+ });
103
+
82
104
  it('should extend the local tsconfig.json with tsconfig.spec.json', async () => {
83
105
  await libraryGenerator(appTree, defaultSchema);
84
106
  const tsconfigJson = readJson(appTree, 'libs/my-lib/tsconfig.spec.json');
@@ -140,7 +162,7 @@ describe('lib', () => {
140
162
  });
141
163
  });
142
164
 
143
- it('should update tsconfig.base.json', async () => {
165
+ it('should update root tsconfig.base.json', async () => {
144
166
  await libraryGenerator(appTree, { ...defaultSchema, directory: 'myDir' });
145
167
  const tsconfigJson = readJson(appTree, '/tsconfig.base.json');
146
168
  expect(tsconfigJson.compilerOptions.paths['@proj/my-dir/my-lib']).toEqual(
@@ -151,6 +173,20 @@ describe('lib', () => {
151
173
  ).toBeUndefined();
152
174
  });
153
175
 
176
+ it('should update root tsconfig.json when no tsconfig.base.json', async () => {
177
+ appTree.rename('tsconfig.base.json', 'tsconfig.json');
178
+
179
+ await libraryGenerator(appTree, { ...defaultSchema, directory: 'myDir' });
180
+
181
+ const tsconfigJson = readJson(appTree, '/tsconfig.json');
182
+ expect(tsconfigJson.compilerOptions.paths['@proj/my-dir/my-lib']).toEqual(
183
+ ['libs/my-dir/my-lib/src/index.ts']
184
+ );
185
+ expect(
186
+ tsconfigJson.compilerOptions.paths['my-dir-my-lib/*']
187
+ ).toBeUndefined();
188
+ });
189
+
154
190
  it('should create a local tsconfig.json', async () => {
155
191
  await libraryGenerator(appTree, { ...defaultSchema, directory: 'myDir' });
156
192
 
@@ -158,6 +194,7 @@ describe('lib', () => {
158
194
  appTree,
159
195
  'libs/my-dir/my-lib/tsconfig.json'
160
196
  );
197
+ expect(tsconfigJson.extends).toBe('../../../tsconfig.base.json');
161
198
  expect(tsconfigJson.references).toEqual([
162
199
  {
163
200
  path: './tsconfig.lib.json',
@@ -167,6 +204,18 @@ describe('lib', () => {
167
204
  },
168
205
  ]);
169
206
  });
207
+
208
+ it('should extend from root tsconfig.json when no tsconfig.base.json', async () => {
209
+ appTree.rename('tsconfig.base.json', 'tsconfig.json');
210
+
211
+ await libraryGenerator(appTree, { ...defaultSchema, directory: 'myDir' });
212
+
213
+ const tsconfigJson = readJson(
214
+ appTree,
215
+ 'libs/my-dir/my-lib/tsconfig.json'
216
+ );
217
+ expect(tsconfigJson.extends).toBe('../../../tsconfig.json');
218
+ });
170
219
  });
171
220
 
172
221
  describe('--unit-test-runner none', () => {
@@ -1,17 +1,17 @@
1
1
  export declare const nxVersion = "*";
2
- export declare const reactNativeVersion = "0.67.2";
3
- export declare const typesReactNativeVersion = "0.66.15";
4
- export declare const metroVersion = "0.67.0";
2
+ export declare const reactNativeVersion = "0.67.3";
3
+ export declare const typesReactNativeVersion = "0.67.2";
4
+ export declare const metroVersion = "0.69.0";
5
5
  export declare const reactNativeCommunityCli = "7.0.1";
6
6
  export declare const reactNativeCommunityCliIos = "7.0.1";
7
7
  export declare const reactNativeCommunityCliAndroid = "7.0.1";
8
8
  export declare const reactNativeConfigVersion = "1.4.5";
9
- export declare const reactNativeAsyncStorageVersion = "1.15.17";
10
- export declare const metroReactNativeBabelPresetVersion = "0.67.0";
9
+ export declare const reactNativeAsyncStorageVersion = "1.16.1";
10
+ export declare const metroReactNativeBabelPresetVersion = "0.69.0";
11
11
  export declare const testingLibraryReactNativeVersion = "9.0.0";
12
12
  export declare const testingLibraryJestNativeVersion = "4.0.4";
13
13
  export declare const jestReactNativeVersion = "18.0.0";
14
14
  export declare const reactTestRendererVersion = "17.0.2";
15
15
  export declare const reactNativeSvgTransformerVersion = "1.0.0";
16
- export declare const reactNativeSvgVersion = "12.1.1";
16
+ export declare const reactNativeSvgVersion = "12.3.0";
17
17
  export declare const babelRuntimeVersion = "7.17.2";
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.babelRuntimeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactTestRendererVersion = exports.jestReactNativeVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.metroReactNativeBabelPresetVersion = exports.reactNativeAsyncStorageVersion = exports.reactNativeConfigVersion = exports.reactNativeCommunityCliAndroid = exports.reactNativeCommunityCliIos = exports.reactNativeCommunityCli = exports.metroVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.nxVersion = void 0;
4
- exports.nxVersion = '13.8.4';
5
- exports.reactNativeVersion = '0.67.2';
6
- exports.typesReactNativeVersion = '0.66.15';
7
- exports.metroVersion = '0.67.0';
4
+ exports.nxVersion = '13.8.7';
5
+ exports.reactNativeVersion = '0.67.3';
6
+ exports.typesReactNativeVersion = '0.67.2';
7
+ exports.metroVersion = '0.69.0';
8
8
  exports.reactNativeCommunityCli = '7.0.1';
9
9
  exports.reactNativeCommunityCliIos = '7.0.1';
10
10
  exports.reactNativeCommunityCliAndroid = '7.0.1';
11
11
  exports.reactNativeConfigVersion = '1.4.5';
12
- exports.reactNativeAsyncStorageVersion = '1.15.17';
13
- exports.metroReactNativeBabelPresetVersion = '0.67.0';
12
+ exports.reactNativeAsyncStorageVersion = '1.16.1';
13
+ exports.metroReactNativeBabelPresetVersion = '0.69.0';
14
14
  exports.testingLibraryReactNativeVersion = '9.0.0';
15
15
  exports.testingLibraryJestNativeVersion = '4.0.4';
16
16
  exports.jestReactNativeVersion = '18.0.0';
17
17
  exports.reactTestRendererVersion = '17.0.2';
18
18
  exports.reactNativeSvgTransformerVersion = '1.0.0';
19
- exports.reactNativeSvgVersion = '12.1.1';
19
+ exports.reactNativeSvgVersion = '12.3.0';
20
20
  exports.babelRuntimeVersion = '7.17.2';
21
21
  //# sourceMappingURL=versions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,GAAG,CAAC;AAEhB,QAAA,kBAAkB,GAAG,QAAQ,CAAC;AAC9B,QAAA,uBAAuB,GAAG,SAAS,CAAC;AAEpC,QAAA,YAAY,GAAG,QAAQ,CAAC;AAExB,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,0BAA0B,GAAG,OAAO,CAAC;AACrC,QAAA,8BAA8B,GAAG,OAAO,CAAC;AAEzC,QAAA,wBAAwB,GAAG,OAAO,CAAC;AACnC,QAAA,8BAA8B,GAAG,SAAS,CAAC;AAE3C,QAAA,kCAAkC,GAAG,QAAQ,CAAC;AAE9C,QAAA,gCAAgC,GAAG,OAAO,CAAC;AAC3C,QAAA,+BAA+B,GAAG,OAAO,CAAC;AAE1C,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAElC,QAAA,wBAAwB,GAAG,QAAQ,CAAC;AAEpC,QAAA,gCAAgC,GAAG,OAAO,CAAC;AAC3C,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AAEjC,QAAA,mBAAmB,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react-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