node-pluginsmanager 3.0.1 → 3.2.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.
@@ -217,9 +217,6 @@ class PluginsManager extends node_events_1.default {
217
217
  })).then(() => {
218
218
  this.plugins = [];
219
219
  this.emit("alldestroyed", ...data);
220
- // remove all external resources
221
- }).then(() => {
222
- return (0, rmdirp_1.default)(this.externalResourcesDirectory);
223
220
  });
224
221
  }
225
222
  // add a function executed before initializing all plugins
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
 
3
3
  "name": "node-pluginsmanager",
4
- "version": "3.0.1",
4
+ "version": "3.2.0",
5
5
  "description": "A plugins manager.",
6
6
 
7
7
  "type": "commonjs",
@@ -32,10 +32,11 @@
32
32
  "build": "npm run build-back",
33
33
 
34
34
  "check-requires": "npx used-deps-analyzer ./package.json ./lib/src --no-dev",
35
- "check-updates": "npx check-version-modules",
36
- "unit-tests": "npm run build && npx nyc --reporter=html --reporter=text mocha",
35
+ "check-updates": "npx check-version-modules --no-fail-at-major --fail-at-minor --fail-at-patch",
36
+ "unit-tests": "npx mocha",
37
+ "unit-tests-local": "npx nyc --reporter=html --reporter=text mocha",
37
38
 
38
- "tests": "npm run lint && npm run check-requires && npm run check-updates && npm run unit-tests"
39
+ "tests": "npm run lint && npm run check-requires && npm run check-updates && npm run build && npm run unit-tests-local"
39
40
 
40
41
  },
41
42
 
@@ -47,31 +48,31 @@
47
48
  },
48
49
 
49
50
  "dependencies": {
50
- "check-version-modules": "2.2.2"
51
+ "check-version-modules": "2.3.0"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@types/express": "5.0.6",
54
- "@types/node": "25.5.0",
55
+ "@types/node": "25.6.0",
55
56
  "@types/socket.io": "3.0.2",
56
57
  "@types/ws": "8.18.1",
57
58
  "eslint-plugin-personnallinter": "git+ssh://git@github.com/Psychopoulet/eslint-plugin-personnallinter",
58
59
  "express": "5.2.1",
59
60
  "husky": "9.1.7",
60
61
  "mocha": "11.7.5",
61
- "node-pluginsmanager-plugin": "7.0.1",
62
+ "node-pluginsmanager-plugin": "7.1.0",
62
63
  "nyc": "18.0.0",
63
64
  "proxyquire": "2.1.3",
64
65
  "rimraf": "6.1.3",
65
66
  "socket.io": "4.8.3",
66
67
  "typescript": "5.9.3",
67
- "used-deps-analyzer": "0.2.0",
68
- "ws": "8.19.0"
68
+ "used-deps-analyzer": "0.3.0",
69
+ "ws": "8.20.0"
69
70
  },
70
71
 
71
72
  "husky": {
72
73
  "hooks": {
73
74
  "pre-commit": "npm run lint",
74
- "pre-push": "npm run unit-tests"
75
+ "pre-push": "npm run build && npm run unit-tests-local"
75
76
  }
76
77
  },
77
78