@nx/react-native 22.7.0-beta.8 → 22.7.0-beta.9

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.
@@ -1,81 +1,81 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "cli": "nx",
5
- "$id": "NxReactNativeBuildAndroid",
6
- "$schema": "https://json-schema.org/schema",
7
- "title": "Release Build for Android",
8
- "description": "Build target options for Android.",
9
- "type": "object",
10
- "presets": [
11
- {
12
- "name": "Build Android for current device architecture",
13
- "keys": ["activeArchOnly"]
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "cli": "nx",
5
+ "$id": "NxReactNativeBuildAndroid",
6
+ "$schema": "https://json-schema.org/schema",
7
+ "title": "Release Build for Android",
8
+ "description": "Build target options for Android.",
9
+ "type": "object",
10
+ "presets": [
11
+ {
12
+ "name": "Build Android for current device architecture",
13
+ "keys": ["activeArchOnly"]
14
+ },
15
+ {
16
+ "name": "Build Android without metro cache",
17
+ "keys": ["resetCache"]
18
+ },
19
+ {
20
+ "name": "Build Android with specific tasks",
21
+ "keys": ["tasks"]
22
+ },
23
+ {
24
+ "name": "Build Android with a specific mode",
25
+ "keys": ["mode"]
26
+ }
27
+ ],
28
+ "properties": {
29
+ "mode": {
30
+ "type": "string",
31
+ "description": "Specify your app's build variant",
32
+ "default": "debug",
33
+ "examples": ["debug", "release"],
34
+ "x-priority": "important"
35
+ },
36
+ "port": {
37
+ "type": "number",
38
+ "description": "The port where the packager server is listening on.",
39
+ "default": 8081
40
+ },
41
+ "tasks": {
42
+ "oneOf": [
43
+ { "type": "array", "items": { "type": "string" } },
44
+ { "type": "string" }
45
+ ],
46
+ "description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments.",
47
+ "examples": [
48
+ "assembleDebug",
49
+ "assembleRelease",
50
+ "bundleDebug",
51
+ "bundleRelease",
52
+ "installDebug",
53
+ "installRelease"
54
+ ]
55
+ },
56
+ "activeArchOnly": {
57
+ "type": "boolean",
58
+ "description": "Build native libraries only for the current device architecture for debug builds.",
59
+ "default": false
60
+ },
61
+ "extraParams": {
62
+ "oneOf": [
63
+ { "type": "array", "items": { "type": "string" } },
64
+ { "type": "string" }
65
+ ],
66
+ "description": "Custom params passed to gradle build command",
67
+ "examples": ["-x lint -x test"]
68
+ },
69
+ "interactive": {
70
+ "type": "boolean",
71
+ "description": "Explicitly select build type and flavour to use before running a build"
72
+ },
73
+ "resetCache": {
74
+ "type": "boolean",
75
+ "description": "Resets metro cache.",
76
+ "default": false
77
+ }
14
78
  },
15
- {
16
- "name": "Build Android without metro cache",
17
- "keys": ["resetCache"]
18
- },
19
- {
20
- "name": "Build Android with specific tasks",
21
- "keys": ["tasks"]
22
- },
23
- {
24
- "name": "Build Android with a specific mode",
25
- "keys": ["mode"]
26
- }
27
- ],
28
- "properties": {
29
- "mode": {
30
- "type": "string",
31
- "description": "Specify your app's build variant",
32
- "default": "debug",
33
- "examples": ["debug", "release"],
34
- "x-priority": "important"
35
- },
36
- "port": {
37
- "type": "number",
38
- "description": "The port where the packager server is listening on.",
39
- "default": 8081
40
- },
41
- "tasks": {
42
- "oneOf": [
43
- { "type": "array", "items": { "type": "string" } },
44
- { "type": "string" }
45
- ],
46
- "description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments.",
47
- "examples": [
48
- "assembleDebug",
49
- "assembleRelease",
50
- "bundleDebug",
51
- "bundleRelease",
52
- "installDebug",
53
- "installRelease"
54
- ]
55
- },
56
- "activeArchOnly": {
57
- "type": "boolean",
58
- "description": "Build native libraries only for the current device architecture for debug builds.",
59
- "default": false
60
- },
61
- "extraParams": {
62
- "oneOf": [
63
- { "type": "array", "items": { "type": "string" } },
64
- { "type": "string" }
65
- ],
66
- "description": "Custom params passed to gradle build command",
67
- "examples": ["-x lint -x test"]
68
- },
69
- "interactive": {
70
- "type": "boolean",
71
- "description": "Explicitly select build type and flavour to use before running a build"
72
- },
73
- "resetCache": {
74
- "type": "boolean",
75
- "description": "Resets metro cache.",
76
- "default": false
77
- }
78
- },
79
- "required": [],
80
- "examplesFile": "../../../docs/build-android-examples.md"
79
+ "required": [],
80
+ "examplesFile": "../../../docs/build-android-examples.md"
81
81
  }
@@ -1,91 +1,91 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "version": 2,
4
- "cli": "nx",
5
- "title": "React Native Build iOS executor",
6
- "description": "Build iOS app.",
7
- "type": "object",
8
- "presets": [
9
- {
10
- "name": "Build iOS for a simulator",
11
- "keys": ["simulator"]
2
+ "$schema": "https://json-schema.org/schema",
3
+ "version": 2,
4
+ "cli": "nx",
5
+ "title": "React Native Build iOS executor",
6
+ "description": "Build iOS app.",
7
+ "type": "object",
8
+ "presets": [
9
+ {
10
+ "name": "Build iOS for a simulator",
11
+ "keys": ["simulator"]
12
+ },
13
+ {
14
+ "name": "Build iOS for a device",
15
+ "keys": ["device"]
16
+ },
17
+ {
18
+ "name": "Build iOS for a device with udid",
19
+ "keys": ["udid"]
20
+ }
21
+ ],
22
+ "properties": {
23
+ "simulator": {
24
+ "type": "string",
25
+ "description": "Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: \"iPhone 6 (10.0)\"",
26
+ "examples": [
27
+ "iPhone 14",
28
+ "iPhone 13",
29
+ "iPhone 12",
30
+ "iPhone 11",
31
+ "iPhone X"
32
+ ],
33
+ "x-priority": "important"
34
+ },
35
+ "mode": {
36
+ "type": "string",
37
+ "description": "Explicitly set the scheme configuration to use",
38
+ "default": "Debug",
39
+ "examples": ["Debug", "Release"],
40
+ "x-priority": "important"
41
+ },
42
+ "scheme": {
43
+ "type": "string",
44
+ "description": "Explicitly set Xcode scheme to use"
45
+ },
46
+ "device": {
47
+ "type": "string",
48
+ "description": "Explicitly set device to use by name. The value is not required if you have a single device connected."
49
+ },
50
+ "udid": {
51
+ "type": "string",
52
+ "description": "Explicitly set device to use by udid"
53
+ },
54
+ "verbose": {
55
+ "type": "boolean",
56
+ "description": "Do not use xcbeautify or xcpretty even if installed"
57
+ },
58
+ "port": {
59
+ "type": "number",
60
+ "description": "The port where the packager server is listening on.",
61
+ "default": 8081
62
+ },
63
+ "xcconfig": {
64
+ "type": "string",
65
+ "description": "Explicitly set xcconfig to use"
66
+ },
67
+ "buildFolder": {
68
+ "type": "string",
69
+ "description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\". Relative to ios directory",
70
+ "default": "./build"
71
+ },
72
+ "interactive": {
73
+ "type": "boolean",
74
+ "description": "Explicitly select which scheme and configuration to use before running a build"
75
+ },
76
+ "extraParams": {
77
+ "oneOf": [
78
+ { "type": "array", "items": { "type": "string" } },
79
+ { "type": "string" }
80
+ ],
81
+ "description": "Custom params that will be passed to xcodebuild command."
82
+ },
83
+ "resetCache": {
84
+ "type": "boolean",
85
+ "description": "Resets metro cache.",
86
+ "default": false
87
+ }
12
88
  },
13
- {
14
- "name": "Build iOS for a device",
15
- "keys": ["device"]
16
- },
17
- {
18
- "name": "Build iOS for a device with udid",
19
- "keys": ["udid"]
20
- }
21
- ],
22
- "properties": {
23
- "simulator": {
24
- "type": "string",
25
- "description": "Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: \"iPhone 6 (10.0)\"",
26
- "examples": [
27
- "iPhone 14",
28
- "iPhone 13",
29
- "iPhone 12",
30
- "iPhone 11",
31
- "iPhone X"
32
- ],
33
- "x-priority": "important"
34
- },
35
- "mode": {
36
- "type": "string",
37
- "description": "Explicitly set the scheme configuration to use",
38
- "default": "Debug",
39
- "examples": ["Debug", "Release"],
40
- "x-priority": "important"
41
- },
42
- "scheme": {
43
- "type": "string",
44
- "description": "Explicitly set Xcode scheme to use"
45
- },
46
- "device": {
47
- "type": "string",
48
- "description": "Explicitly set device to use by name. The value is not required if you have a single device connected."
49
- },
50
- "udid": {
51
- "type": "string",
52
- "description": "Explicitly set device to use by udid"
53
- },
54
- "verbose": {
55
- "type": "boolean",
56
- "description": "Do not use xcbeautify or xcpretty even if installed"
57
- },
58
- "port": {
59
- "type": "number",
60
- "description": "The port where the packager server is listening on.",
61
- "default": 8081
62
- },
63
- "xcconfig": {
64
- "type": "string",
65
- "description": "Explicitly set xcconfig to use"
66
- },
67
- "buildFolder": {
68
- "type": "string",
69
- "description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\". Relative to ios directory",
70
- "default": "./build"
71
- },
72
- "interactive": {
73
- "type": "boolean",
74
- "description": "Explicitly select which scheme and configuration to use before running a build"
75
- },
76
- "extraParams": {
77
- "oneOf": [
78
- { "type": "array", "items": { "type": "string" } },
79
- { "type": "string" }
80
- ],
81
- "description": "Custom params that will be passed to xcodebuild command."
82
- },
83
- "resetCache": {
84
- "type": "boolean",
85
- "description": "Resets metro cache.",
86
- "default": false
87
- }
88
- },
89
- "required": [],
90
- "examplesFile": "../../../docs/build-ios-examples.md"
89
+ "required": [],
90
+ "examplesFile": "../../../docs/build-ios-examples.md"
91
91
  }
@@ -1,92 +1,92 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "cli": "nx",
5
- "$id": "NxReactNativeBundle",
6
- "$schema": "https://json-schema.org/schema",
7
- "title": "Offline JS Bundle for React Native",
8
- "description": "JS Bundle target options.",
9
- "type": "object",
10
- "presets": [
11
- {
12
- "name": "Bundle for a specific platform",
13
- "keys": ["platform"]
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "cli": "nx",
5
+ "$id": "NxReactNativeBundle",
6
+ "$schema": "https://json-schema.org/schema",
7
+ "title": "Offline JS Bundle for React Native",
8
+ "description": "JS Bundle target options.",
9
+ "type": "object",
10
+ "presets": [
11
+ {
12
+ "name": "Bundle for a specific platform",
13
+ "keys": ["platform"]
14
+ },
15
+ {
16
+ "name": "Bundle a development build",
17
+ "keys": ["dev"]
18
+ },
19
+ {
20
+ "name": "Bundle to a specific output path",
21
+ "keys": ["bundleOutput"]
22
+ },
23
+ {
24
+ "name": "Bundle without global cache",
25
+ "keys": ["resetCache"]
26
+ }
27
+ ],
28
+ "properties": {
29
+ "entryFile": {
30
+ "type": "string",
31
+ "description": "The entry file relative to project root.",
32
+ "x-completion-type": "file",
33
+ "x-completion-glob": "main@(.js|.ts)"
34
+ },
35
+ "platform": {
36
+ "enum": ["ios", "android"],
37
+ "alias": "p",
38
+ "description": "Platform to build for."
39
+ },
40
+ "transformer": {
41
+ "type": "string",
42
+ "description": "Specify a custom transformer to be used."
43
+ },
44
+ "dev": {
45
+ "type": "boolean",
46
+ "description": "Generate a development build.",
47
+ "default": true
48
+ },
49
+ "minify": {
50
+ "type": "boolean",
51
+ "description": "Allows overriding whether bundle is minified."
52
+ },
53
+ "bundleOutput": {
54
+ "type": "string",
55
+ "description": "The output path of the generated files.",
56
+ "x-completion-type": "directory"
57
+ },
58
+ "maxWorkers": {
59
+ "type": "number",
60
+ "description": "The number of workers we should parallelize the transformer on."
61
+ },
62
+ "sourcemapOutput": {
63
+ "type": "string",
64
+ "description": "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map."
65
+ },
66
+ "sourcemapSourcesRoot": {
67
+ "type": "string",
68
+ "description": "Path to make sourcemaps sources entries relative to, ex. /root/dir."
69
+ },
70
+ "sourcemapUseAbsolutePath": {
71
+ "type": "boolean",
72
+ "description": "Report SourceMapURL using its full path.",
73
+ "default": false
74
+ },
75
+ "assetsDest": {
76
+ "type": "string",
77
+ "description": "Directory name where to store assets referenced in the bundle."
78
+ },
79
+ "resetCache": {
80
+ "type": "boolean",
81
+ "description": "Removes cached files.",
82
+ "default": false
83
+ },
84
+ "readGlobalCache": {
85
+ "type": "boolean",
86
+ "description": "Try to fetch transformed JS code from the global cache, if configured.",
87
+ "default": false
88
+ }
14
89
  },
15
- {
16
- "name": "Bundle a development build",
17
- "keys": ["dev"]
18
- },
19
- {
20
- "name": "Bundle to a specific output path",
21
- "keys": ["bundleOutput"]
22
- },
23
- {
24
- "name": "Bundle without global cache",
25
- "keys": ["resetCache"]
26
- }
27
- ],
28
- "properties": {
29
- "entryFile": {
30
- "type": "string",
31
- "description": "The entry file relative to project root.",
32
- "x-completion-type": "file",
33
- "x-completion-glob": "main@(.js|.ts)"
34
- },
35
- "platform": {
36
- "enum": ["ios", "android"],
37
- "alias": "p",
38
- "description": "Platform to build for."
39
- },
40
- "transformer": {
41
- "type": "string",
42
- "description": "Specify a custom transformer to be used."
43
- },
44
- "dev": {
45
- "type": "boolean",
46
- "description": "Generate a development build.",
47
- "default": true
48
- },
49
- "minify": {
50
- "type": "boolean",
51
- "description": "Allows overriding whether bundle is minified."
52
- },
53
- "bundleOutput": {
54
- "type": "string",
55
- "description": "The output path of the generated files.",
56
- "x-completion-type": "directory"
57
- },
58
- "maxWorkers": {
59
- "type": "number",
60
- "description": "The number of workers we should parallelize the transformer on."
61
- },
62
- "sourcemapOutput": {
63
- "type": "string",
64
- "description": "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map."
65
- },
66
- "sourcemapSourcesRoot": {
67
- "type": "string",
68
- "description": "Path to make sourcemaps sources entries relative to, ex. /root/dir."
69
- },
70
- "sourcemapUseAbsolutePath": {
71
- "type": "boolean",
72
- "description": "Report SourceMapURL using its full path.",
73
- "default": false
74
- },
75
- "assetsDest": {
76
- "type": "string",
77
- "description": "Directory name where to store assets referenced in the bundle."
78
- },
79
- "resetCache": {
80
- "type": "boolean",
81
- "description": "Removes cached files.",
82
- "default": false
83
- },
84
- "readGlobalCache": {
85
- "type": "boolean",
86
- "description": "Try to fetch transformed JS code from the global cache, if configured.",
87
- "default": false
88
- }
89
- },
90
- "required": ["platform", "entryFile", "bundleOutput"],
91
- "examplesFile": "../../../docs/bundle-examples.md"
90
+ "required": ["platform", "entryFile", "bundleOutput"],
91
+ "examplesFile": "../../../docs/bundle-examples.md"
92
92
  }
@@ -1,11 +1,11 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "cli": "nx",
5
- "$id": "NxReactNativeEnsureSymlink",
6
- "$schema": "https://json-schema.org/schema",
7
- "title": "Ensure Symlink for React Native",
8
- "description": "Ensure workspace node_modules is symlink under app's node_modules folder.",
9
- "type": "object",
10
- "properties": {}
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "cli": "nx",
5
+ "$id": "NxReactNativeEnsureSymlink",
6
+ "$schema": "https://json-schema.org/schema",
7
+ "title": "Ensure Symlink for React Native",
8
+ "description": "Ensure workspace node_modules is symlink under app's node_modules folder.",
9
+ "type": "object",
10
+ "properties": {}
11
11
  }
@@ -1,33 +1,33 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "cli": "nx",
5
- "$id": "NxReactNativePodInstall",
6
- "$schema": "https://json-schema.org/schema",
7
- "title": "Run Pod Install for React Native iOS Project",
8
- "description": "Run `pod install` for React Native iOS Project.",
9
- "type": "object",
10
- "properties": {
11
- "buildFolder": {
12
- "description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\". Relative to ios directory.",
13
- "type": "string",
14
- "default": "./build"
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "cli": "nx",
5
+ "$id": "NxReactNativePodInstall",
6
+ "$schema": "https://json-schema.org/schema",
7
+ "title": "Run Pod Install for React Native iOS Project",
8
+ "description": "Run `pod install` for React Native iOS Project.",
9
+ "type": "object",
10
+ "properties": {
11
+ "buildFolder": {
12
+ "description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\". Relative to ios directory.",
13
+ "type": "string",
14
+ "default": "./build"
15
+ },
16
+ "repoUpdate": {
17
+ "description": "Force running `pod repo update` before install.",
18
+ "type": "boolean",
19
+ "default": false
20
+ },
21
+ "deployment": {
22
+ "description": "Disallow any changes to the Podfile or the Podfile.lock during installation.",
23
+ "type": "boolean",
24
+ "default": false
25
+ },
26
+ "useBundler": {
27
+ "description": "Run cocoapods within a Bundler environment, i.e. with the `bundle exec pod install` command",
28
+ "type": "boolean",
29
+ "default": false
30
+ }
15
31
  },
16
- "repoUpdate": {
17
- "description": "Force running `pod repo update` before install.",
18
- "type": "boolean",
19
- "default": false
20
- },
21
- "deployment": {
22
- "description": "Disallow any changes to the Podfile or the Podfile.lock during installation.",
23
- "type": "boolean",
24
- "default": false
25
- },
26
- "useBundler": {
27
- "description": "Run cocoapods within a Bundler environment, i.e. with the `bundle exec pod install` command",
28
- "type": "boolean",
29
- "default": false
30
- }
31
- },
32
- "required": ["buildFolder"]
32
+ "required": ["buildFolder"]
33
33
  }