@nrwl/react-native 0.0.0-pr-22179-271588f
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 +22 -0
- package/README.md +18 -0
- package/executors.json +106 -0
- package/generators.json +4 -0
- package/index.d.ts +1 -0
- package/index.js +4 -0
- package/package.json +39 -0
- package/plugins/jest/svg-mock.d.ts +0 -0
- package/plugins/jest/svg-mock.js +3 -0
- package/plugins/with-nx-metro.d.ts +1 -0
- package/plugins/with-nx-metro.js +4 -0
- package/typings/svg.d.ts +7 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-2023 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
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## @nrwl/react-native has been renamed to @nx/react-native!
|
|
2
|
+
|
|
3
|
+
@nrwl/react-native has been renamed to [@nx/react-native](https://www.npmjs.com/package/@nx/react-native). Please use that instead.
|
|
4
|
+
|
|
5
|
+
[Read more here](https://nx.dev/recipes/other/rescope)
|
|
6
|
+
|
|
7
|
+
@nrwl/react-native will no longer be published in Nx v18.
|
|
8
|
+
|
|
9
|
+
<p style="text-align: center;">
|
|
10
|
+
<picture>
|
|
11
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
|
|
12
|
+
<img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
|
|
13
|
+
</picture>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
# Nx: Smart Monorepos · Fast CI
|
|
17
|
+
|
|
18
|
+
Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
|
package/executors.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"executors": {
|
|
3
|
+
"run-android": {
|
|
4
|
+
"implementation": "@nx/react-native/src/executors/run-android/run-android.impl",
|
|
5
|
+
"schema": "@nx/react-native/src/executors/run-android/schema.json",
|
|
6
|
+
"description": "Runs Android application."
|
|
7
|
+
},
|
|
8
|
+
"run-ios": {
|
|
9
|
+
"implementation": "@nx/react-native/src/executors/run-ios/run-ios.impl",
|
|
10
|
+
"schema": "@nx/react-native/src/executors/run-ios/schema.json",
|
|
11
|
+
"description": "Runs iOS application."
|
|
12
|
+
},
|
|
13
|
+
"bundle": {
|
|
14
|
+
"implementation": "@nx/react-native/src/executors/bundle/bundle.impl",
|
|
15
|
+
"schema": "@nx/react-native/src/executors/bundle/schema.json",
|
|
16
|
+
"description": "Builds the JavaScript bundle for offline use."
|
|
17
|
+
},
|
|
18
|
+
"build-android": {
|
|
19
|
+
"implementation": "@nx/react-native/src/executors/build-android/build-android.impl",
|
|
20
|
+
"schema": "@nx/react-native/src/executors/build-android/schema.json",
|
|
21
|
+
"description": "Release Build for Android."
|
|
22
|
+
},
|
|
23
|
+
"build-ios": {
|
|
24
|
+
"implementation": "@nx/react-native/src/executors/build-ios/build-ios.impl",
|
|
25
|
+
"schema": "@nx/react-native/src/executors/build-ios/schema.json",
|
|
26
|
+
"description": "Build iOS app"
|
|
27
|
+
},
|
|
28
|
+
"start": {
|
|
29
|
+
"implementation": "@nx/react-native/src/executors/start/start.impl",
|
|
30
|
+
"schema": "@nx/react-native/src/executors/start/schema.json",
|
|
31
|
+
"description": "Starts the Javascript server that communicates with connected devices."
|
|
32
|
+
},
|
|
33
|
+
"sync-deps": {
|
|
34
|
+
"implementation": "@nx/react-native/src/executors/sync-deps/sync-deps.impl",
|
|
35
|
+
"schema": "@nx/react-native/src/executors/sync-deps/schema.json",
|
|
36
|
+
"description": "Syncs dependencies to `package.json` (required for autolinking)."
|
|
37
|
+
},
|
|
38
|
+
"ensure-symlink": {
|
|
39
|
+
"implementation": "@nx/react-native/src/executors/ensure-symlink/ensure-symlink.impl",
|
|
40
|
+
"schema": "@nx/react-native/src/executors/ensure-symlink/schema.json",
|
|
41
|
+
"description": "Ensure workspace `node_modules` is symlink under app's `node_modules` folder."
|
|
42
|
+
},
|
|
43
|
+
"storybook": {
|
|
44
|
+
"implementation": "@nx/react-native/src/executors/storybook/storybook.impl",
|
|
45
|
+
"schema": "@nx/react-native/src/executors/storybook/schema.json",
|
|
46
|
+
"description": "Serve React Native Storybook."
|
|
47
|
+
},
|
|
48
|
+
"pod-install": {
|
|
49
|
+
"implementation": "@nx/react-native/src/executors/pod-install/pod-install.impl",
|
|
50
|
+
"schema": "@nx/react-native/src/executors/pod-install/schema.json",
|
|
51
|
+
"description": "Run `pod install` in the `ios` directory."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"builders": {
|
|
55
|
+
"run-android": {
|
|
56
|
+
"implementation": "@nx/react-native/src/executors/run-android/compat",
|
|
57
|
+
"schema": "@nx/react-native/src/executors/run-android/schema.json",
|
|
58
|
+
"description": "Runs Android application."
|
|
59
|
+
},
|
|
60
|
+
"run-ios": {
|
|
61
|
+
"implementation": "@nx/react-native/src/executors/run-ios/compat",
|
|
62
|
+
"schema": "@nx/react-native/src/executors/run-ios/schema.json",
|
|
63
|
+
"description": "Runs iOS application."
|
|
64
|
+
},
|
|
65
|
+
"bundle": {
|
|
66
|
+
"implementation": "@nx/react-native/src/executors/bundle/compat",
|
|
67
|
+
"schema": "@nx/react-native/src/executors/bundle/schema.json",
|
|
68
|
+
"description": "Builds the JavaScript bundle for offline use."
|
|
69
|
+
},
|
|
70
|
+
"build-android": {
|
|
71
|
+
"implementation": "@nx/react-native/src/executors/build-android/compat",
|
|
72
|
+
"schema": "@nx/react-native/src/executors/build-android/schema.json",
|
|
73
|
+
"description": "Release Build for Android."
|
|
74
|
+
},
|
|
75
|
+
"build-ios": {
|
|
76
|
+
"implementation": "@nx/react-native/src/executors/build-ios/compat",
|
|
77
|
+
"schema": "@nx/react-native/src/executors/build-ios/schema.json",
|
|
78
|
+
"description": "Build iOS app"
|
|
79
|
+
},
|
|
80
|
+
"start": {
|
|
81
|
+
"implementation": "@nx/react-native/src/executors/start/compat",
|
|
82
|
+
"schema": "@nx/react-native/src/executors/start/schema.json",
|
|
83
|
+
"description": "Starts the Javascript server that communicates with connected devices."
|
|
84
|
+
},
|
|
85
|
+
"sync-deps": {
|
|
86
|
+
"implementation": "@nx/react-native/src/executors/sync-deps/compat",
|
|
87
|
+
"schema": "@nx/react-native/src/executors/sync-deps/schema.json",
|
|
88
|
+
"description": "Syncs dependencies to `package.json` (required for autolinking)."
|
|
89
|
+
},
|
|
90
|
+
"ensure-symlink": {
|
|
91
|
+
"implementation": "@nx/react-native/src/executors/ensure-symlink/compat",
|
|
92
|
+
"schema": "@nx/react-native/src/executors/ensure-symlink/schema.json",
|
|
93
|
+
"description": "Ensure workspace `node_modules` is symlink under app's `node_modules` folder."
|
|
94
|
+
},
|
|
95
|
+
"storybook": {
|
|
96
|
+
"implementation": "@nx/react-native/src/executors/storybook/compat",
|
|
97
|
+
"schema": "@nx/react-native/src/executors/storybook/schema.json",
|
|
98
|
+
"description": "Serve React Native Storybook."
|
|
99
|
+
},
|
|
100
|
+
"pod-install": {
|
|
101
|
+
"implementation": "@nx/react-native/src/executors/pod-install/compat",
|
|
102
|
+
"schema": "@nx/react-native/src/executors/pod-install/schema.json",
|
|
103
|
+
"description": "Run `pod install` in the `ios` directory."
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
package/generators.json
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@nx/react-native';
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nrwl/react-native",
|
|
3
|
+
"version": "0.0.0-pr-22179-271588f",
|
|
4
|
+
"private": false,
|
|
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
|
+
"keywords": [
|
|
7
|
+
"Monorepo",
|
|
8
|
+
"React",
|
|
9
|
+
"Web",
|
|
10
|
+
"Jest",
|
|
11
|
+
"Native",
|
|
12
|
+
"CLI"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://nx.dev",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/nrwl/nx/issues"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/nrwl/nx.git",
|
|
21
|
+
"directory": "packages-legacy/react-native"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "Victor Savkin",
|
|
25
|
+
"main": "./index.js",
|
|
26
|
+
"types": "index.d.ts",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@nx/react-native": "0.0.0-pr-22179-271588f"
|
|
29
|
+
},
|
|
30
|
+
"builders": "./executors.json",
|
|
31
|
+
"schematics": "./generators.json",
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"nx-migrations": {
|
|
36
|
+
"migrations": "@nx/react-native/migrations.json"
|
|
37
|
+
},
|
|
38
|
+
"type": "commonjs"
|
|
39
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@nx/react-native/plugins/with-nx-metro';
|
package/typings/svg.d.ts
ADDED