@nx/react-native 22.0.0-canary.20251006-738b06b → 22.0.0-canary.20251007-01d5f3f
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 +7 -7
- package/plugins/plugin.d.ts +2 -2
- package/plugins/plugin.d.ts.map +1 -1
- package/plugins/plugin.js +3 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react-native",
|
|
3
|
-
"version": "22.0.0-canary.
|
|
3
|
+
"version": "22.0.0-canary.20251007-01d5f3f",
|
|
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": [
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"main": "./index.js",
|
|
27
27
|
"types": "index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@nx/devkit": "22.0.0-canary.
|
|
30
|
-
"@nx/js": "22.0.0-canary.
|
|
31
|
-
"@nx/eslint": "22.0.0-canary.
|
|
32
|
-
"@nx/react": "22.0.0-canary.
|
|
29
|
+
"@nx/devkit": "22.0.0-canary.20251007-01d5f3f",
|
|
30
|
+
"@nx/js": "22.0.0-canary.20251007-01d5f3f",
|
|
31
|
+
"@nx/eslint": "22.0.0-canary.20251007-01d5f3f",
|
|
32
|
+
"@nx/react": "22.0.0-canary.20251007-01d5f3f",
|
|
33
33
|
"ajv": "^8.12.0",
|
|
34
34
|
"enhanced-resolve": "^5.8.3",
|
|
35
35
|
"ignore": "^5.0.4",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"metro-resolver": ">= 0.82.0"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@nx/detox": "22.0.0-canary.
|
|
47
|
-
"@nx/rollup": "22.0.0-canary.
|
|
46
|
+
"@nx/detox": "22.0.0-canary.20251007-01d5f3f",
|
|
47
|
+
"@nx/rollup": "22.0.0-canary.20251007-01d5f3f"
|
|
48
48
|
},
|
|
49
49
|
"executors": "./executors.json",
|
|
50
50
|
"ng-update": {
|
package/plugins/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateNodesV2 } from '@nx/devkit';
|
|
2
2
|
export interface ReactNativePluginOptions {
|
|
3
3
|
startTargetName?: string;
|
|
4
4
|
podInstallTargetName?: string;
|
|
@@ -10,6 +10,6 @@ export interface ReactNativePluginOptions {
|
|
|
10
10
|
syncDepsTargetName?: string;
|
|
11
11
|
upgradeTargetName?: string;
|
|
12
12
|
}
|
|
13
|
+
export declare const createNodes: CreateNodesV2<ReactNativePluginOptions>;
|
|
13
14
|
export declare const createNodesV2: CreateNodesV2<ReactNativePluginOptions>;
|
|
14
|
-
export declare const createNodes: CreateNodes<ReactNativePluginOptions>;
|
|
15
15
|
//# sourceMappingURL=plugin.d.ts.map
|
package/plugins/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../packages/react-native/plugins/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../packages/react-native/plugins/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,aAAa,EAOd,MAAM,YAAY,CAAC;AAUpB,MAAM,WAAW,wBAAwB;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAyBD,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,wBAAwB,CAsB/D,CAAC;AAEF,eAAO,MAAM,aAAa,yCAAc,CAAC"}
|
package/plugins/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createNodesV2 = exports.createNodes = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const path_1 = require("path");
|
|
6
6
|
const js_1 = require("@nx/js");
|
|
@@ -20,7 +20,7 @@ function writeTargetsToCache(cachePath, targetsCache) {
|
|
|
20
20
|
targetsCache,
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
exports.
|
|
23
|
+
exports.createNodes = [
|
|
24
24
|
'**/app.{json,config.js,config.ts}',
|
|
25
25
|
async (configFiles, options, context) => {
|
|
26
26
|
const optionsHash = (0, devkit_internals_1.hashObject)(options);
|
|
@@ -34,17 +34,7 @@ exports.createNodesV2 = [
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
];
|
|
37
|
-
exports.
|
|
38
|
-
'**/app.{json,config.js,config.ts}',
|
|
39
|
-
async (configFilePath, options, context) => {
|
|
40
|
-
const optionsHash = (0, devkit_internals_1.hashObject)(options);
|
|
41
|
-
const cachePath = (0, path_1.join)(cache_directory_1.workspaceDataDirectory, `react-native-${optionsHash}.hash`);
|
|
42
|
-
const targetsCache = readTargetsCache(cachePath);
|
|
43
|
-
const result = await createNodesInternal(configFilePath, options, context, targetsCache);
|
|
44
|
-
writeTargetsToCache(cachePath, targetsCache);
|
|
45
|
-
return result;
|
|
46
|
-
},
|
|
47
|
-
];
|
|
37
|
+
exports.createNodesV2 = exports.createNodes;
|
|
48
38
|
async function createNodesInternal(configFile, options, context, targetsCache) {
|
|
49
39
|
options = normalizeOptions(options);
|
|
50
40
|
const projectRoot = (0, path_1.dirname)(configFile);
|