@japa/runner 3.0.0-3 → 3.0.0-4

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.
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
  import debug from './debug.js';
10
- import { spec } from './reporters/main.js';
10
+ import { dot, ndjson, spec } from './reporters/main.js';
11
11
  import { Refiner } from '../modules/core/main.js';
12
12
  /**
13
13
  * Defaults to use for configuration
@@ -20,7 +20,7 @@ const DEFAULTS = {
20
20
  plugins: [],
21
21
  reporters: {
22
22
  activated: ['spec'],
23
- list: [spec()],
23
+ list: [spec(), ndjson(), dot()],
24
24
  },
25
25
  importer: (filePath) => import(filePath.href),
26
26
  configureSuite: () => { },
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@japa/runner",
3
- "version": "3.0.0-3",
4
3
  "description": "Runner for Japa testing framework",
4
+ "version": "3.0.0-4",
5
+ "engines": {
6
+ "node": ">=18.16.0"
7
+ },
5
8
  "main": "build/index.js",
6
9
  "type": "module",
7
10
  "files": [
@@ -11,9 +14,6 @@
11
14
  "build/index.d.ts",
12
15
  "build/index.js"
13
16
  ],
14
- "engines": {
15
- "node": ">=18.16.0"
16
- },
17
17
  "exports": {
18
18
  ".": "./build/index.js",
19
19
  "./types": "./build/src/types.js",
@@ -25,7 +25,7 @@
25
25
  "pretest": "npm run lint",
26
26
  "test": "cross-env NODE_ENV=japa:runner c8 npm run quick:test",
27
27
  "quick:test": "glob -c \"node --enable-source-maps --loader=ts-node/esm --test-reporter=spec --test\" \"tests/*.spec.ts\"",
28
- "clean": "del build",
28
+ "clean": "del-cli build",
29
29
  "typecheck": "tsc --noEmit",
30
30
  "compile": "npm run lint && npm run clean && tsc",
31
31
  "build": "npm run compile",
@@ -36,13 +36,6 @@
36
36
  "version": "npm run build",
37
37
  "sync-labels": "github-label-sync --labels .github/labels.json japa/runner"
38
38
  },
39
- "keywords": [
40
- "japa",
41
- "tests",
42
- "test-runner"
43
- ],
44
- "author": "virk,japa",
45
- "license": "MIT",
46
39
  "devDependencies": {
47
40
  "@adonisjs/eslint-config": "^1.1.7",
48
41
  "@adonisjs/prettier-config": "^1.1.7",
@@ -50,7 +43,7 @@
50
43
  "@adonisjs/tsconfig": "^1.1.7",
51
44
  "@commitlint/cli": "^17.6.6",
52
45
  "@commitlint/config-conventional": "^17.6.6",
53
- "@swc/core": "^1.3.67",
46
+ "@swc/core": "^1.3.68",
54
47
  "@types/chai": "^4.3.5",
55
48
  "@types/chai-subset": "^1.3.3",
56
49
  "@types/find-cache-dir": "^3.2.1",
@@ -82,9 +75,9 @@
82
75
  "ms": "^2.1.3",
83
76
  "slash": "^5.1.0"
84
77
  },
85
- "directories": {
86
- "test": "test"
87
- },
78
+ "author": "virk,japa",
79
+ "license": "MIT",
80
+ "homepage": "https://github.com/japa/runner#readme",
88
81
  "repository": {
89
82
  "type": "git",
90
83
  "url": "git+https://github.com/japa/runner.git"
@@ -92,7 +85,23 @@
92
85
  "bugs": {
93
86
  "url": "https://github.com/japa/runner/issues"
94
87
  },
95
- "homepage": "https://github.com/japa/runner#readme",
88
+ "keywords": [
89
+ "japa",
90
+ "tests",
91
+ "test-runner"
92
+ ],
93
+ "directories": {
94
+ "test": "test"
95
+ },
96
+ "eslintConfig": {
97
+ "extends": "@adonisjs/eslint-config/package"
98
+ },
99
+ "prettier": "@adonisjs/prettier-config",
100
+ "commitlint": {
101
+ "extends": [
102
+ "@commitlint/config-conventional"
103
+ ]
104
+ },
96
105
  "publishConfig": {
97
106
  "access": "public",
98
107
  "tag": "next"
@@ -103,15 +112,6 @@
103
112
  "branch": "main",
104
113
  "anyBranch": false
105
114
  },
106
- "commitlint": {
107
- "extends": [
108
- "@commitlint/config-conventional"
109
- ]
110
- },
111
- "prettier": "@adonisjs/prettier-config",
112
- "eslintConfig": {
113
- "extends": "@adonisjs/eslint-config/package"
114
- },
115
115
  "c8": {
116
116
  "reporter": [
117
117
  "text",