@nx/expo 24.0.0-canary.20261020-e7ffd79 → 24.0.0-rc.0
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/dist/src/generators/application/lib/add-e2e.js +1 -3
- package/dist/src/generators/application/schema.d.ts +0 -4
- package/dist/src/generators/application/schema.json +0 -6
- package/dist/src/generators/library/schema.d.ts +0 -4
- package/dist/src/generators/library/schema.json +0 -6
- package/dist/src/utils/add-linting.d.ts +0 -4
- package/dist/src/utils/add-linting.js +1 -1
- package/package.json +10 -10
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.addE2e = addE2e;
|
|
4
4
|
const internal_1 = require("@nx/devkit/internal");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const internal_2 = require("@nx/eslint/internal");
|
|
7
6
|
const versions_1 = require("../../../utils/versions");
|
|
8
7
|
async function addE2e(tree, options) {
|
|
9
8
|
const e2eWebServerInfo = await getExpoE2EWebServerInfo(tree, options.projectName, (0, devkit_1.joinPathFragments)(options.appProjectRoot, 'app.json'));
|
|
@@ -85,7 +84,7 @@ async function addE2e(tree, options) {
|
|
|
85
84
|
directory: 'src',
|
|
86
85
|
js: false,
|
|
87
86
|
linter: options.linter,
|
|
88
|
-
enableTypedLinting:
|
|
87
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
89
88
|
webServerCommand: e2eWebServerInfo.e2eWebServerCommand,
|
|
90
89
|
webServerAddress: e2eWebServerInfo.e2eWebServerAddress,
|
|
91
90
|
ciWebServerCommand: e2eWebServerInfo.e2eCiWebServerCommand,
|
|
@@ -104,7 +103,6 @@ async function addE2e(tree, options) {
|
|
|
104
103
|
appDisplayName: options.displayName,
|
|
105
104
|
appName: options.simpleName,
|
|
106
105
|
framework: 'expo',
|
|
107
|
-
enableTypedLinting: (0, internal_2.isTypedLintingEnabled)(options),
|
|
108
106
|
skipFormat: true,
|
|
109
107
|
});
|
|
110
108
|
case 'none':
|
|
@@ -12,10 +12,6 @@ export interface Schema {
|
|
|
12
12
|
js: boolean; // default is false
|
|
13
13
|
linter?: LinterType;
|
|
14
14
|
enableTypedLinting?: boolean; // default is false
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
17
|
-
*/
|
|
18
|
-
setParserOptionsProject?: boolean; // default is false
|
|
19
15
|
e2eTestRunner: 'cypress' | 'playwright' | 'detox' | 'none'; // default is none
|
|
20
16
|
skipPackageJson?: boolean; // default is false
|
|
21
17
|
// Internal options
|
|
@@ -74,12 +74,6 @@
|
|
|
74
74
|
"description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
|
|
75
75
|
"default": false
|
|
76
76
|
},
|
|
77
|
-
"setParserOptionsProject": {
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
80
|
-
"default": false,
|
|
81
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
82
|
-
},
|
|
83
77
|
"e2eTestRunner": {
|
|
84
78
|
"description": "Adds the specified e2e test runner",
|
|
85
79
|
"type": "string",
|
|
@@ -17,10 +17,6 @@ export interface Schema {
|
|
|
17
17
|
js: boolean; // default is false
|
|
18
18
|
strict: boolean; // default is true
|
|
19
19
|
enableTypedLinting?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
22
|
-
*/
|
|
23
|
-
setParserOptionsProject?: boolean;
|
|
24
20
|
skipPackageJson?: boolean; // default is false
|
|
25
21
|
useProjectJson?: boolean;
|
|
26
22
|
}
|
|
@@ -84,12 +84,6 @@
|
|
|
84
84
|
"description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
|
|
85
85
|
"default": false
|
|
86
86
|
},
|
|
87
|
-
"setParserOptionsProject": {
|
|
88
|
-
"type": "boolean",
|
|
89
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
90
|
-
"default": false,
|
|
91
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
92
|
-
},
|
|
93
87
|
"skipPackageJson": {
|
|
94
88
|
"type": "boolean",
|
|
95
89
|
"description": "Do not add dependencies to `package.json`.",
|
|
@@ -5,10 +5,6 @@ interface NormalizedSchema {
|
|
|
5
5
|
projectName: string;
|
|
6
6
|
projectRoot: string;
|
|
7
7
|
enableTypedLinting?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
10
|
-
*/
|
|
11
|
-
setParserOptionsProject?: boolean;
|
|
12
8
|
tsConfigPaths: string[];
|
|
13
9
|
unitTestRunner?: string;
|
|
14
10
|
skipPackageJson?: boolean;
|
|
@@ -14,7 +14,7 @@ async function addLinting(host, options) {
|
|
|
14
14
|
tsConfigPaths: options.tsConfigPaths,
|
|
15
15
|
unitTestRunner: options.unitTestRunner,
|
|
16
16
|
skipPackageJson: options.skipPackageJson,
|
|
17
|
-
enableTypedLinting:
|
|
17
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
18
18
|
addPackageJsonDependencyChecks: options.buildable,
|
|
19
19
|
}));
|
|
20
20
|
// Everything below configures ESLint — predefined configs, `extends`, ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/expo",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-rc.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
|
|
6
6
|
"keywords": [
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@nx/devkit": "24.0.0-
|
|
63
|
-
"@nx/eslint": "24.0.0-
|
|
64
|
-
"@nx/js": "24.0.0-
|
|
65
|
-
"@nx/react": "24.0.0-
|
|
62
|
+
"@nx/devkit": "24.0.0-rc.0",
|
|
63
|
+
"@nx/eslint": "24.0.0-rc.0",
|
|
64
|
+
"@nx/js": "24.0.0-rc.0",
|
|
65
|
+
"@nx/react": "24.0.0-rc.0",
|
|
66
66
|
"enhanced-resolve": "^5.8.3",
|
|
67
67
|
"picocolors": "^1.1.0",
|
|
68
68
|
"semver": "^7.6.3",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"tslib": "^2.3.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@nx/cypress": "24.0.0-
|
|
74
|
-
"@nx/playwright": "24.0.0-
|
|
73
|
+
"@nx/cypress": "24.0.0-rc.0",
|
|
74
|
+
"@nx/playwright": "24.0.0-rc.0",
|
|
75
75
|
"expo": ">=53.0.0",
|
|
76
76
|
"@expo/metro": ">= 55.0.0",
|
|
77
77
|
"metro-config": ">= 0.82.0",
|
|
@@ -98,11 +98,11 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"nx": "24.0.0-
|
|
101
|
+
"nx": "24.0.0-rc.0"
|
|
102
102
|
},
|
|
103
103
|
"optionalDependencies": {
|
|
104
|
-
"@nx/detox": "24.0.0-
|
|
105
|
-
"@nx/rollup": "24.0.0-
|
|
104
|
+
"@nx/detox": "24.0.0-rc.0",
|
|
105
|
+
"@nx/rollup": "24.0.0-rc.0"
|
|
106
106
|
},
|
|
107
107
|
"executors": "./executors.json",
|
|
108
108
|
"ng-update": {
|