codebolt 1.12.7 → 1.12.8
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
CHANGED
|
@@ -586061,8 +586061,14 @@ class PluginService {
|
|
|
586061
586061
|
const globalDir = this.getGlobalPluginDir();
|
|
586062
586062
|
const projectDir = this.getProjectPluginDir();
|
|
586063
586063
|
// Load built-in plugins (shipped with CodeBolt)
|
|
586064
|
+
// In monorepo: __dirname = packages/server/src/services → ../../../../plugins
|
|
586065
|
+
// In npm bundle (webpack): __dirname = dist/ → ./plugins (copied by CopyPlugin)
|
|
586064
586066
|
const builtinDir = path.resolve(__dirname, '../../../../plugins');
|
|
586067
|
+
const bundledDir = path.resolve(__dirname, 'plugins');
|
|
586065
586068
|
await this.scanDirectory(builtinDir);
|
|
586069
|
+
if (bundledDir !== builtinDir) {
|
|
586070
|
+
await this.scanDirectory(bundledDir);
|
|
586071
|
+
}
|
|
586066
586072
|
// Load global plugins
|
|
586067
586073
|
await this.scanDirectory(globalDir);
|
|
586068
586074
|
// Load per-project plugins (overrides global ones with the same name)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codebolt/remote-execution-plugin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Bridges ExecutionGateway with a provider from another environment",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "node build.mjs",
|
|
8
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
9
|
+
"dev": "tsc --watch"
|
|
10
|
+
},
|
|
11
|
+
"codebolt": {
|
|
12
|
+
"plugin": {
|
|
13
|
+
"type": "execution",
|
|
14
|
+
"gateway": {
|
|
15
|
+
"claimsExecutionGateway": true
|
|
16
|
+
},
|
|
17
|
+
"triggers": [
|
|
18
|
+
{ "type": "startup" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@codebolt/plugin-sdk": "*",
|
|
24
|
+
"ws": "^8.16.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/ws": "^8.5.10",
|
|
28
|
+
"typescript": "^5.3.0"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebolt",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.8",
|
|
4
4
|
"description": "CodeBolt headless server CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"bin",
|
|
13
|
-
"!dist/**/*.map"
|
|
13
|
+
"!dist/**/*.map",
|
|
14
|
+
"dist/plugins"
|
|
14
15
|
],
|
|
15
16
|
"scripts": {
|
|
16
17
|
"build": "npm run build:deps && webpack --config webpack.config.js",
|