@nx/detox 22.7.0-beta.1 → 22.7.0-beta.2
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/detox",
|
|
3
|
-
"version": "22.7.0-beta.
|
|
3
|
+
"version": "22.7.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
|
|
6
6
|
"keywords": [
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"main": "./index.js",
|
|
28
28
|
"types": "index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@nx/devkit": "22.7.0-beta.
|
|
31
|
-
"@nx/jest": "22.7.0-beta.
|
|
32
|
-
"@nx/js": "22.7.0-beta.
|
|
33
|
-
"@nx/eslint": "22.7.0-beta.
|
|
34
|
-
"@nx/react": "22.7.0-beta.
|
|
30
|
+
"@nx/devkit": "22.7.0-beta.2",
|
|
31
|
+
"@nx/jest": "22.7.0-beta.2",
|
|
32
|
+
"@nx/js": "22.7.0-beta.2",
|
|
33
|
+
"@nx/eslint": "22.7.0-beta.2",
|
|
34
|
+
"@nx/react": "22.7.0-beta.2",
|
|
35
35
|
"semver": "^7.6.3",
|
|
36
36
|
"tslib": "^2.3.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"nx": "22.7.0-beta.
|
|
39
|
+
"nx": "22.7.0-beta.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"detox": "^20.9.0"
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.detoxApplicationGenerator = detoxApplicationGenerator;
|
|
4
4
|
exports.detoxApplicationGeneratorInternal = detoxApplicationGeneratorInternal;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
5
6
|
const devkit_1 = require("@nx/devkit");
|
|
6
7
|
const js_1 = require("@nx/js");
|
|
7
|
-
const init_1 = require("../init/init");
|
|
8
|
+
const init_1 = tslib_1.__importDefault(require("../init/init"));
|
|
8
9
|
const add_git_ignore_entry_1 = require("./lib/add-git-ignore-entry");
|
|
9
10
|
const add_linting_1 = require("./lib/add-linting");
|
|
10
11
|
const add_project_1 = require("./lib/add-project");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-linting.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAGjB,IAAI,EACL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-linting.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAGjB,IAAI,EACL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,8BAgDrE"}
|
|
@@ -23,7 +23,7 @@ async function addLinting(host, options) {
|
|
|
23
23
|
tasks.push(lintTask);
|
|
24
24
|
if ((0, eslint_file_1.isEslintConfigSupported)(host)) {
|
|
25
25
|
if ((0, flat_config_1.useFlatConfig)(host)) {
|
|
26
|
-
(0, eslint_file_1.addPredefinedConfigToFlatLintConfig)(host, options.e2eProjectRoot, 'flat/react');
|
|
26
|
+
(0, eslint_file_1.addPredefinedConfigToFlatLintConfig)(host, options.e2eProjectRoot, 'flat/react', { checkBaseConfig: true });
|
|
27
27
|
// Add an empty rules object to users know how to add/override rules
|
|
28
28
|
(0, eslint_file_1.addOverrideToLintConfig)(host, options.e2eProjectRoot, {
|
|
29
29
|
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
|