@allurereport/directory-watcher 3.3.1 → 3.4.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/index.js +1 -1
- package/package.json +13 -24
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { watch as chokidarWatch } from "chokidar";
|
|
2
1
|
import console from "node:console";
|
|
2
|
+
import { watch as chokidarWatch } from "chokidar";
|
|
3
3
|
const watchDirectory = (directory, handler, options = {}) => {
|
|
4
4
|
const { usePolling = false, ignoreInitial = false } = options;
|
|
5
5
|
const watcher = chokidarWatch(directory, { persistent: true, usePolling, ignoreInitial });
|
package/package.json
CHANGED
|
@@ -1,52 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/directory-watcher",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "File system watcher for directories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
7
|
-
"testing",
|
|
8
7
|
"fs",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"fsevents",
|
|
9
|
+
"testing",
|
|
10
|
+
"watcher"
|
|
11
11
|
],
|
|
12
|
-
"repository": "https://github.com/allure-framework/allure3",
|
|
13
12
|
"license": "Apache-2.0",
|
|
14
13
|
"author": "Qameta Software",
|
|
14
|
+
"repository": "https://github.com/allure-framework/allure3",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
15
18
|
"type": "module",
|
|
19
|
+
"module": "dist/index.js",
|
|
20
|
+
"types": "dist/index.d.ts",
|
|
16
21
|
"exports": {
|
|
17
22
|
".": "./dist/index.js"
|
|
18
23
|
},
|
|
19
|
-
"module": "dist/index.js",
|
|
20
|
-
"types": "dist/index.d.ts",
|
|
21
|
-
"files": [
|
|
22
|
-
"dist"
|
|
23
|
-
],
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "run clean && tsc --project ./tsconfig.json",
|
|
26
26
|
"clean": "rimraf ./dist",
|
|
27
|
-
"eslint": "eslint ./src/**/*.{js,jsx,ts,tsx}",
|
|
28
|
-
"eslint:format": "eslint --fix ./src/**/*.{js,jsx,ts,tsx}",
|
|
29
27
|
"pretest": "rimraf ./out",
|
|
30
|
-
"test": "rimraf ./out && vitest run"
|
|
28
|
+
"test": "rimraf ./out && vitest run",
|
|
29
|
+
"lint": "oxlint --import-plugin src test features stories",
|
|
30
|
+
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"chokidar": "^4.0.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@stylistic/eslint-plugin": "^2.6.1",
|
|
37
|
-
"@types/eslint": "^8.56.11",
|
|
38
36
|
"@types/node": "^20.17.9",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
40
|
-
"@typescript-eslint/parser": "^8.0.0",
|
|
41
37
|
"@vitest/runner": "^2.1.9",
|
|
42
38
|
"allure-vitest": "^3.3.3",
|
|
43
|
-
"eslint": "^8.57.0",
|
|
44
|
-
"eslint-config-prettier": "^9.1.0",
|
|
45
|
-
"eslint-plugin-import": "^2.29.1",
|
|
46
|
-
"eslint-plugin-jsdoc": "^50.0.0",
|
|
47
|
-
"eslint-plugin-n": "^17.10.1",
|
|
48
|
-
"eslint-plugin-no-null": "^1.0.2",
|
|
49
|
-
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
50
39
|
"rimraf": "^6.0.1",
|
|
51
40
|
"ts-node": "^10.9.2",
|
|
52
41
|
"typescript": "^5.6.3",
|