@nx/react-native 17.2.0-beta.5 → 17.2.0-beta.8
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": "17.2.0-beta.
|
|
3
|
+
"version": "17.2.0-beta.8",
|
|
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": [
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"node-fetch": "^2.6.7",
|
|
37
37
|
"tsconfig-paths": "^4.1.2",
|
|
38
38
|
"tslib": "^2.3.0",
|
|
39
|
-
"@nx/detox": "17.2.0-beta.
|
|
40
|
-
"@nx/devkit": "17.2.0-beta.
|
|
41
|
-
"@nx/jest": "17.2.0-beta.
|
|
42
|
-
"@nx/js": "17.2.0-beta.
|
|
43
|
-
"@nx/eslint": "17.2.0-beta.
|
|
44
|
-
"@nx/react": "17.2.0-beta.
|
|
45
|
-
"@nx/workspace": "17.2.0-beta.
|
|
46
|
-
"@nrwl/react-native": "17.2.0-beta.
|
|
39
|
+
"@nx/detox": "17.2.0-beta.8",
|
|
40
|
+
"@nx/devkit": "17.2.0-beta.8",
|
|
41
|
+
"@nx/jest": "17.2.0-beta.8",
|
|
42
|
+
"@nx/js": "17.2.0-beta.8",
|
|
43
|
+
"@nx/eslint": "17.2.0-beta.8",
|
|
44
|
+
"@nx/react": "17.2.0-beta.8",
|
|
45
|
+
"@nx/workspace": "17.2.0-beta.8",
|
|
46
|
+
"@nrwl/react-native": "17.2.0-beta.8"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react-native": ">= 0.72.0 < 0.73.0"
|
|
@@ -420,7 +420,6 @@ export async function createTestUILib(libName: string): Promise<Tree> {
|
|
|
420
420
|
const currentWorkspaceJson = getProjects(appTree);
|
|
421
421
|
|
|
422
422
|
const projectConfig = currentWorkspaceJson.get(libName);
|
|
423
|
-
projectConfig.targets.lint.options.linter = 'eslint';
|
|
424
423
|
|
|
425
424
|
updateProjectConfiguration(appTree, libName, projectConfig);
|
|
426
425
|
|
|
@@ -36,9 +36,6 @@ describe('lib', () => {
|
|
|
36
36
|
expect(projectConfiguration.targets.lint).toEqual({
|
|
37
37
|
executor: '@nx/eslint:lint',
|
|
38
38
|
outputs: ['{options.outputFile}'],
|
|
39
|
-
options: {
|
|
40
|
-
lintFilePatterns: ['my-lib/**/*.{ts,tsx,js,jsx}'],
|
|
41
|
-
},
|
|
42
39
|
});
|
|
43
40
|
expect(projectConfiguration.tags).toEqual(['one', 'two']);
|
|
44
41
|
});
|
|
@@ -160,9 +157,6 @@ describe('lib', () => {
|
|
|
160
157
|
expect(projectConfiguration.targets.lint).toEqual({
|
|
161
158
|
executor: '@nx/eslint:lint',
|
|
162
159
|
outputs: ['{options.outputFile}'],
|
|
163
|
-
options: {
|
|
164
|
-
lintFilePatterns: ['my-dir/**/*.{ts,tsx,js,jsx}'],
|
|
165
|
-
},
|
|
166
160
|
});
|
|
167
161
|
});
|
|
168
162
|
|
|
@@ -241,9 +235,6 @@ describe('lib', () => {
|
|
|
241
235
|
expect(projectConfiguration.targets.test).toBeUndefined();
|
|
242
236
|
expect(projectConfiguration.targets.lint).toMatchObject({
|
|
243
237
|
executor: '@nx/eslint:lint',
|
|
244
|
-
options: {
|
|
245
|
-
lintFilePatterns: ['my-lib/**/*.{ts,tsx,js,jsx}'],
|
|
246
|
-
},
|
|
247
238
|
outputs: ['{options.outputFile}'],
|
|
248
239
|
});
|
|
249
240
|
});
|
package/src/utils/add-linting.js
CHANGED
|
@@ -14,7 +14,6 @@ async function addLinting(host, options) {
|
|
|
14
14
|
linter: options.linter,
|
|
15
15
|
project: options.projectName,
|
|
16
16
|
tsConfigPaths: options.tsConfigPaths,
|
|
17
|
-
eslintFilePatterns: [`${options.projectRoot}/**/*.{ts,tsx,js,jsx}`],
|
|
18
17
|
skipFormat: true,
|
|
19
18
|
skipPackageJson: options.skipPackageJson,
|
|
20
19
|
});
|