@daemonitor/plugins 1.1.1 → 1.1.2
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 +9 -16
- package/index.ts +0 -11
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daemonitor/plugins",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "daemonitor plugins",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
|
-
"main": "index.
|
|
6
|
+
"main": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsc",
|
|
@@ -15,22 +15,15 @@
|
|
|
15
15
|
"types"
|
|
16
16
|
],
|
|
17
17
|
"exports": {
|
|
18
|
-
".":
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./types/index.d.ts",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./lib/*": "./dist/lib/*.js",
|
|
23
|
+
"./plugins/*": "./dist/plugins/*.js"
|
|
21
24
|
},
|
|
22
25
|
"publishConfig": {
|
|
23
|
-
"access": "public"
|
|
24
|
-
"main": "dist/index.js",
|
|
25
|
-
"types": "types/index.d.ts",
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./types/index.d.ts",
|
|
29
|
-
"default": "./dist/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./lib/*": "./dist/lib/*.js",
|
|
32
|
-
"./plugins/*": "./dist/plugins/*.js"
|
|
33
|
-
}
|
|
26
|
+
"access": "public"
|
|
34
27
|
},
|
|
35
28
|
"author": "",
|
|
36
29
|
"license": "ISC",
|
package/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Export core plugin utilities
|
|
2
|
-
export { PluginConfigProvider } from "./lib/PluginConfigProvider"
|
|
3
|
-
export { PluginManager } from "./lib/PluginManager"
|
|
4
|
-
export { PluginLoader } from "./lib/PluginLoader"
|
|
5
|
-
|
|
6
|
-
// Only export creation functions, not types
|
|
7
|
-
export { createBasePlugin } from "./lib/BasePlugin"
|
|
8
|
-
export { createMonitoringPlugin } from "./lib/MonitoringPlugin"
|
|
9
|
-
|
|
10
|
-
// Export the PM2 plugin factory function
|
|
11
|
-
export { createPM2Plugin } from "./plugins/monitoring/PM2Plugin"
|