allure 3.0.0-beta.2 → 3.0.0-beta.3
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/commands/awesome.js +2 -2
- package/dist/commands/classic.js +2 -2
- package/dist/commands/csv.js +2 -2
- package/dist/commands/generate.js +1 -1
- package/dist/commands/history.js +1 -1
- package/dist/commands/knownIssue.js +1 -1
- package/dist/commands/log.js +2 -2
- package/dist/commands/open.js +2 -2
- package/dist/commands/qualityGate.js +1 -1
- package/dist/commands/run.js +5 -5
- package/dist/commands/slack.js +2 -2
- package/dist/commands/testplan.js +2 -2
- package/dist/commands/watch.js +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/terminal.d.ts +1 -1
- package/dist/utils/terminal.js +1 -1
- package/package.json +10 -10
package/dist/commands/awesome.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const AwesomeCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const before = new Date().getTime();
|
|
@@ -9,7 +9,7 @@ export const AwesomeCommandAction = async (resultsDir, options) => {
|
|
|
9
9
|
historyPath,
|
|
10
10
|
knownIssuesPath,
|
|
11
11
|
plugins: {
|
|
12
|
-
"@
|
|
12
|
+
"@allurereport/plugin-awesome": {
|
|
13
13
|
options: rest,
|
|
14
14
|
},
|
|
15
15
|
},
|
package/dist/commands/classic.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const ClassicCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const before = new Date().getTime();
|
|
@@ -9,7 +9,7 @@ export const ClassicCommandAction = async (resultsDir, options) => {
|
|
|
9
9
|
historyPath,
|
|
10
10
|
knownIssuesPath,
|
|
11
11
|
plugins: {
|
|
12
|
-
"@
|
|
12
|
+
"@allurereport/plugin-classic": {
|
|
13
13
|
options: rest,
|
|
14
14
|
},
|
|
15
15
|
},
|
package/dist/commands/csv.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const CsvCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const before = new Date().getTime();
|
|
5
5
|
const config = await resolveConfig({
|
|
6
6
|
plugins: {
|
|
7
|
-
"@
|
|
7
|
+
"@allurereport/plugin-csv": {
|
|
8
8
|
options,
|
|
9
9
|
},
|
|
10
10
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, readRuntimeConfig } from "@
|
|
1
|
+
import { AllureReport, readRuntimeConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const GenerateCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const { config: configPath, output, cwd, reportName } = options;
|
package/dist/commands/history.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const HistoryCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const config = await resolveConfig({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, createConfig, writeKnownIssues } from "@
|
|
1
|
+
import { AllureReport, createConfig, writeKnownIssues } from "@allurereport/core";
|
|
2
2
|
import console from "node:console";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { createCommand } from "../utils/commands.js";
|
package/dist/commands/log.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const LogCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const before = new Date().getTime();
|
|
5
5
|
const config = await resolveConfig({
|
|
6
6
|
plugins: {
|
|
7
|
-
"@
|
|
7
|
+
"@allurereport/plugin-log": {
|
|
8
8
|
options,
|
|
9
9
|
},
|
|
10
10
|
},
|
package/dist/commands/open.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { readRuntimeConfig } from "@
|
|
2
|
-
import { serve } from "@
|
|
1
|
+
import { readRuntimeConfig } from "@allurereport/core";
|
|
2
|
+
import { serve } from "@allurereport/static-server";
|
|
3
3
|
import { createCommand } from "../utils/commands.js";
|
|
4
4
|
export const OpenCommandAction = async (reportDir, options) => {
|
|
5
5
|
const { config: configPath, port, live } = options;
|
package/dist/commands/run.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AllureReport, isFileNotFoundError, readRuntimeConfig } from "@
|
|
2
|
-
import { createTestPlan } from "@
|
|
3
|
-
import { allureResultsDirectoriesWatcher, delayedFileProcessingWatcher, newFilesInDirectoryWatcher, } from "@
|
|
4
|
-
import AllureAwesome from "@
|
|
5
|
-
import { PathResultFile } from "@
|
|
1
|
+
import { AllureReport, isFileNotFoundError, readRuntimeConfig } from "@allurereport/core";
|
|
2
|
+
import { createTestPlan } from "@allurereport/core-api";
|
|
3
|
+
import { allureResultsDirectoriesWatcher, delayedFileProcessingWatcher, newFilesInDirectoryWatcher, } from "@allurereport/directory-watcher";
|
|
4
|
+
import AllureAwesome from "@allurereport/plugin-awesome";
|
|
5
|
+
import { PathResultFile } from "@allurereport/reader-api";
|
|
6
6
|
import * as console from "node:console";
|
|
7
7
|
import { mkdtemp, realpath, rm, writeFile } from "node:fs/promises";
|
|
8
8
|
import { tmpdir } from "node:os";
|
package/dist/commands/slack.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { createCommand } from "../utils/commands.js";
|
|
3
3
|
export const SlackCommandAction = async (resultsDir, options) => {
|
|
4
4
|
const before = new Date().getTime();
|
|
5
5
|
const config = await resolveConfig({
|
|
6
6
|
plugins: {
|
|
7
|
-
"@
|
|
7
|
+
"@allurereport/plugin-slack": {
|
|
8
8
|
options,
|
|
9
9
|
},
|
|
10
10
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllureReport, resolveConfig } from "@
|
|
1
|
+
import { AllureReport, resolveConfig } from "@allurereport/core";
|
|
2
2
|
import { basename, dirname, resolve } from "node:path";
|
|
3
3
|
import { createCommand } from "../utils/commands.js";
|
|
4
4
|
export const TestPlanCommandAction = async (resultsDir, options) => {
|
|
@@ -9,7 +9,7 @@ export const TestPlanCommandAction = async (resultsDir, options) => {
|
|
|
9
9
|
const config = await resolveConfig({
|
|
10
10
|
output: output,
|
|
11
11
|
plugins: {
|
|
12
|
-
"@
|
|
12
|
+
"@allurereport/plugin-testplan": {
|
|
13
13
|
options: { fileName },
|
|
14
14
|
},
|
|
15
15
|
},
|
package/dist/commands/watch.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AllureReport, isFileNotFoundError, readRuntimeConfig } from "@
|
|
2
|
-
import { newFilesInDirectoryWatcher } from "@
|
|
3
|
-
import AllureAwesome from "@
|
|
4
|
-
import ProgressPlugin from "@
|
|
5
|
-
import ServerReloadPlugin from "@
|
|
6
|
-
import { PathResultFile } from "@
|
|
7
|
-
import { serve } from "@
|
|
1
|
+
import { AllureReport, isFileNotFoundError, readRuntimeConfig } from "@allurereport/core";
|
|
2
|
+
import { newFilesInDirectoryWatcher } from "@allurereport/directory-watcher";
|
|
3
|
+
import AllureAwesome from "@allurereport/plugin-awesome";
|
|
4
|
+
import ProgressPlugin from "@allurereport/plugin-progress";
|
|
5
|
+
import ServerReloadPlugin from "@allurereport/plugin-server-reload";
|
|
6
|
+
import { PathResultFile } from "@allurereport/reader-api";
|
|
7
|
+
import { serve } from "@allurereport/static-server";
|
|
8
8
|
import * as console from "node:console";
|
|
9
9
|
import { rm } from "node:fs/promises";
|
|
10
10
|
import { join, resolve } from "node:path";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { defineConfig } from "@
|
|
1
|
+
import { defineConfig } from "@allurereport/core";
|
|
2
2
|
export { defineConfig };
|
package/dist/index.js
CHANGED
package/dist/utils/terminal.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TestResult, TestStatus } from "@
|
|
1
|
+
import { TestResult, TestStatus } from "@allurereport/core-api";
|
|
2
2
|
export declare const status2color: (status: TestStatus) => import("yoctocolors").Format;
|
|
3
3
|
export declare const logTests: (testResults: TestResult[]) => void;
|
package/dist/utils/terminal.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "allure",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "Allure Commandline Tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"test": "vitest run"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
31
|
+
"@allurereport/core": "3.0.0-beta.3",
|
|
32
|
+
"@allurereport/core-api": "3.0.0-beta.3",
|
|
33
|
+
"@allurereport/directory-watcher": "3.0.0-beta.3",
|
|
34
|
+
"@allurereport/plugin-awesome": "3.0.0-beta.3",
|
|
35
|
+
"@allurereport/plugin-progress": "3.0.0-beta.3",
|
|
36
|
+
"@allurereport/plugin-server-reload": "3.0.0-beta.3",
|
|
37
|
+
"@allurereport/plugin-slack": "3.0.0-beta.3",
|
|
38
|
+
"@allurereport/reader-api": "3.0.0-beta.3",
|
|
39
|
+
"@allurereport/static-server": "3.0.0-beta.3",
|
|
40
40
|
"cac": "^6.7.14",
|
|
41
41
|
"lodash.omit": "^4.5.0",
|
|
42
42
|
"yoctocolors": "^2.1.1"
|