@nx/react-native 16.8.0-beta.2 → 16.8.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react-native",
3
- "version": "16.8.0-beta.2",
3
+ "version": "16.8.0-beta.3",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: \n\n-Integration with libraries such as Jest, Detox, and Storybook.\n-Scaffolding for creating buildable libraries that can be published to npm.\n-Utilities for automatic workspace refactoring.",
6
6
  "keywords": [
@@ -25,14 +25,14 @@
25
25
  "main": "./index.js",
26
26
  "types": "index.d.ts",
27
27
  "dependencies": {
28
- "@nrwl/react-native": "16.8.0-beta.2",
29
- "@nx/detox": "16.8.0-beta.2",
30
- "@nx/devkit": "16.8.0-beta.2",
31
- "@nx/jest": "16.8.0-beta.2",
32
- "@nx/js": "16.8.0-beta.2",
33
- "@nx/linter": "16.8.0-beta.2",
34
- "@nx/react": "16.8.0-beta.2",
35
- "@nx/workspace": "16.8.0-beta.2",
28
+ "@nrwl/react-native": "16.8.0-beta.3",
29
+ "@nx/detox": "16.8.0-beta.3",
30
+ "@nx/devkit": "16.8.0-beta.3",
31
+ "@nx/jest": "16.8.0-beta.3",
32
+ "@nx/js": "16.8.0-beta.3",
33
+ "@nx/linter": "16.8.0-beta.3",
34
+ "@nx/react": "16.8.0-beta.3",
35
+ "@nx/workspace": "16.8.0-beta.3",
36
36
  "chalk": "^4.1.0",
37
37
  "enhanced-resolve": "^5.8.3",
38
38
  "fs-extra": "^11.1.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "type": "commonjs",
61
- "gitHead": "9bcc04742f9e1516d8c1ddbfb1907770c347876f"
61
+ "gitHead": "dcd48165a485bc8db57a1fb02b96a0772de3b7e9"
62
62
  }
@@ -6,6 +6,7 @@ const devkit_1 = require("@nx/devkit");
6
6
  const normalize_options_1 = require("./lib/normalize-options");
7
7
  const add_import_1 = require("./lib/add-import");
8
8
  const ensure_typescript_1 = require("@nx/js/src/utils/typescript/ensure-typescript");
9
+ const path_1 = require("path");
9
10
  function reactNativeComponentGenerator(host, schema) {
10
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
11
12
  const options = yield (0, normalize_options_1.normalizeOptions)(host, schema);
@@ -17,7 +18,7 @@ function reactNativeComponentGenerator(host, schema) {
17
18
  exports.reactNativeComponentGenerator = reactNativeComponentGenerator;
18
19
  function createComponentFiles(host, options) {
19
20
  const componentDir = (0, devkit_1.joinPathFragments)(options.projectSourceRoot, options.directory);
20
- (0, devkit_1.generateFiles)(host, (0, devkit_1.joinPathFragments)(__dirname, './files'), componentDir, Object.assign(Object.assign({}, options), { tmpl: '' }));
21
+ (0, devkit_1.generateFiles)(host, (0, path_1.join)(__dirname, './files'), componentDir, Object.assign(Object.assign({}, options), { tmpl: '' }));
21
22
  for (const c of host.listChanges()) {
22
23
  let deleteFile = false;
23
24
  if (options.skipTests && /.*spec.tsx/.test(c.path)) {