@gnuechtel/nx-cucumber 0.0.55 → 0.0.56-next
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": "@gnuechtel/nx-cucumber",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56-next+5103233032",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://gitlab.com/gnuechtel.com/open-source.git",
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@nx/devkit": "^16.0.0",
|
|
11
11
|
"tslib": "^2.3.0",
|
|
12
|
-
"@gnuechtel/shared-nx": "^0.0.
|
|
13
|
-
"@gnuechtel/shared-coverage": "^0.0.
|
|
12
|
+
"@gnuechtel/shared-nx": "^0.0.56",
|
|
13
|
+
"@gnuechtel/shared-coverage": "^0.0.56",
|
|
14
|
+
"debug": "^4.3.4"
|
|
14
15
|
},
|
|
15
16
|
"peerDependencies": {
|
|
16
17
|
"cucumber-html-reporter": "^7.1.0",
|
|
@@ -16,9 +16,35 @@ function cucumberJsGenerator(tree, options) {
|
|
|
16
16
|
const workspaceRootRelative = path.relative(path.join(devkit_1.workspaceRoot, projectRoot), devkit_1.workspaceRoot);
|
|
17
17
|
(0, devkit_1.addProjectConfiguration)(tree, options.name, {
|
|
18
18
|
root: projectRoot,
|
|
19
|
-
projectType: 'application',
|
|
20
19
|
sourceRoot: `${projectRoot}/src`,
|
|
21
|
-
|
|
20
|
+
projectType: 'application',
|
|
21
|
+
targets: {
|
|
22
|
+
e2e: {
|
|
23
|
+
executor: '@gnuechtel/nx-cucumber:cucumber-js',
|
|
24
|
+
outputs: [
|
|
25
|
+
`{workspaceRoot}/dist/cucumber-js/apps/${options.directory}`,
|
|
26
|
+
`{workspaceRoot}/dist/coverage/apps/${options.directory}`,
|
|
27
|
+
],
|
|
28
|
+
options: {
|
|
29
|
+
baseUrl: 'http://localhost:4200',
|
|
30
|
+
devServerTarget: `${options.project}:serve`,
|
|
31
|
+
featuresDirectory: `apps/${options.directory}/features`,
|
|
32
|
+
tags: 'not @ignore',
|
|
33
|
+
testRunner: options.testRunner,
|
|
34
|
+
disableVideoFiles: true,
|
|
35
|
+
disableVideoAttachments: true,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
lint: {
|
|
39
|
+
executor: '@nx/linter:eslint',
|
|
40
|
+
outputs: ['{options.outputFile}'],
|
|
41
|
+
options: {
|
|
42
|
+
lintFilePatterns: [`apps/${options.directory}/**/*.ts`],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
tags: [],
|
|
47
|
+
implicitDependencies: [options.project],
|
|
22
48
|
});
|
|
23
49
|
(0, devkit_1.generateFiles)(tree, path.join(__dirname, 'files'), projectRoot, Object.assign(Object.assign({}, options), { workspaceRootRelative }));
|
|
24
50
|
yield (0, devkit_1.formatFiles)(tree);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../libs/nx-cucumber/src/generators/cucumber-js/generator.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../libs/nx-cucumber/src/generators/cucumber-js/generator.ts"],"names":[],"mappings":";;;;AAAA,uCAAsG;AACtG,mDAA6B;AAG7B,SAAsB,mBAAmB,CAAC,IAAU,EAAE,OAAkC;;QACtF,IAAI,CAAC,OAAO,CAAC,IAAI;YAAE,OAAO,CAAC,IAAI,GAAG,GAAG,OAAO,CAAC,OAAO,MAAM,CAAC;QAC3D,IAAI,CAAC,OAAO,CAAC,SAAS;YAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;QACzD,IAAI,CAAC,OAAO,CAAC,UAAU;YAAE,OAAO,CAAC,UAAU,GAAG,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AA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CAAA;AA3CD,kDA2CC;AAED,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%= name %>",
|
|
3
|
-
"$schema": "{workspaceRoot}/node_modules/nx/schemas/project-schema.json",
|
|
4
|
-
"sourceRoot": "apps/<%= directory %>/src",
|
|
5
|
-
"projectType": "application",
|
|
6
|
-
"targets": {
|
|
7
|
-
"e2e": {
|
|
8
|
-
"executor": "@gnuechtel/nx-cucumber:cucumber-js",
|
|
9
|
-
"outputs": [
|
|
10
|
-
"{workspaceRoot}/dist/cucumber-js/apps/<%= directory %>",
|
|
11
|
-
"{workspaceRoot}/dist/coverage/apps/<%= directory %>"
|
|
12
|
-
],
|
|
13
|
-
"options": {
|
|
14
|
-
"baseUrl": "http://localhost:4200",
|
|
15
|
-
"devServerTarget": "<%= project %>:serve",
|
|
16
|
-
"featuresDirectory": "apps/<%= directory %>/features",
|
|
17
|
-
"tags": "not @ignore",
|
|
18
|
-
"testRunner": "<%= testRunner %>",
|
|
19
|
-
"disableVideoFiles": true,
|
|
20
|
-
"disableVideoAttachments": true
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"lint": {
|
|
24
|
-
"executor": "@nx/linter:eslint",
|
|
25
|
-
"outputs": [
|
|
26
|
-
"{options.outputFile}"
|
|
27
|
-
],
|
|
28
|
-
"options": {
|
|
29
|
-
"lintFilePatterns": [
|
|
30
|
-
"apps/<%= directory %>/**/*.ts"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"tags": [],
|
|
36
|
-
"implicitDependencies": [
|
|
37
|
-
"<%= project %>"
|
|
38
|
-
]
|
|
39
|
-
}
|