@mochabug/adaptkit 0.10.3 → 0.11.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/assets/configurator.ts +131 -0
- package/assets/executor_action.ts +22 -0
- package/assets/executor_browser.ts +118 -0
- package/assets/executor_cron_trigger.ts +26 -0
- package/assets/executor_external_trigger.ts +44 -0
- package/assets/gitignore +116 -0
- package/assets/license.md +15 -0
- package/assets/readme.md +51 -0
- package/assets/rollup.config.ts +30 -0
- package/assets/success_page.html +93 -0
- package/assets/tsconf.json +35 -0
- package/bin/add.d.ts.map +1 -1
- package/bin/genproto/google/api/client.d.ts +34 -0
- package/bin/genproto/google/api/client.d.ts.map +1 -1
- package/bin/index.js +80 -5530
- package/bin/init.d.ts.map +1 -1
- package/bin/utils.d.ts +2 -1
- package/bin/utils.d.ts.map +1 -1
- package/bin/vertices.d.ts +1 -1
- package/bin/vertices.d.ts.map +1 -1
- package/package.json +13 -10
package/bin/init.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAwBA,wBAAsB,IAAI,CAAC,GAAG,EAAE,MAAM,iBAsIrC"}
|
package/bin/utils.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Manifest } from './genproto/mochabugapis/adapt/plugins/v1/plugins';
|
|
2
|
+
export declare function readAsset(name: string): string;
|
|
2
3
|
export declare function writeFile(filePath: string, content: string): void;
|
|
3
4
|
export declare function readManifest(filePath: string): Manifest | null;
|
|
4
|
-
export declare function
|
|
5
|
+
export declare function labelize(val: string): string;
|
|
5
6
|
//# sourceMappingURL=utils.d.ts.map
|
package/bin/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AAI5E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAW9C;AAED,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAI1D;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAiB9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE5C"}
|
package/bin/vertices.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Vertex } from './genproto/mochabugapis/adapt/plugins/v1/plugins';
|
|
2
|
-
export declare function addVertex(cwd: string, name: string, type: string, hasConfigurator: boolean): Vertex;
|
|
2
|
+
export declare function addVertex(cwd: string, name: string, type: string, hasConfigurator: boolean, existingVertices: Vertex[]): Vertex;
|
|
3
3
|
//# sourceMappingURL=vertices.d.ts.map
|
package/bin/vertices.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertices.d.ts","sourceRoot":"","sources":["../src/vertices.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vertices.d.ts","sourceRoot":"","sources":["../src/vertices.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,MAAM,EAEP,MAAM,kDAAkD,CAAC;AAkB1D,wBAAgB,SAAS,CACvB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,OAAO,EACxB,gBAAgB,EAAE,MAAM,EAAE,GACzB,MAAM,CAqGR"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adaptkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "A cmd to create, emulate and publish Mochabug Adapt plugins",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"adaptkit": "bin/index.js"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
"bin"
|
|
19
|
+
"bin",
|
|
20
|
+
"assets"
|
|
20
21
|
],
|
|
21
22
|
"scripts": {
|
|
22
23
|
"generate": "rm -rf src/genproto && buf generate --include-imports --path api/mochabugapis/adapt/plugins",
|
|
@@ -38,22 +39,25 @@
|
|
|
38
39
|
"license": "Apache-2.0",
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"@jest/globals": "^29.7.0",
|
|
42
|
+
"@mochabug/adapt-plugin-toolkit": "^0.11.0-alpha.1",
|
|
43
|
+
"@mochabug/adapt-plugin-typings": "^0.2.0-alpha.2",
|
|
41
44
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
42
45
|
"@rollup/plugin-json": "^6.1.0",
|
|
43
46
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
47
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
48
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
44
49
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
45
50
|
"@types/express": "^4.17.21",
|
|
46
51
|
"@types/figlet": "^1.5.8",
|
|
47
52
|
"@types/jest": "^29.5.12",
|
|
48
|
-
"@types/
|
|
49
|
-
"@types/node": "^22.3.0",
|
|
53
|
+
"@types/node": "^22.5.1",
|
|
50
54
|
"@types/update-notifier": "^6.0.8",
|
|
51
55
|
"jest": "^29.7.0",
|
|
52
|
-
"rollup": "^4.
|
|
56
|
+
"rollup": "^4.21.1",
|
|
53
57
|
"rollup-plugin-string": "^3.0.0",
|
|
54
|
-
"ts-jest": "^29.2.
|
|
58
|
+
"ts-jest": "^29.2.5",
|
|
55
59
|
"ts-node": "^10.9.2",
|
|
56
|
-
"tslib": "^2.
|
|
60
|
+
"tslib": "^2.7.0",
|
|
57
61
|
"typescript": "^5.5.4"
|
|
58
62
|
},
|
|
59
63
|
"dependencies": {
|
|
@@ -69,11 +73,10 @@
|
|
|
69
73
|
"figlet": "^1.7.0",
|
|
70
74
|
"is-valid-hostname": "^1.0.2",
|
|
71
75
|
"mkdirp": "^3.0.1",
|
|
72
|
-
"mustache": "^4.2.0",
|
|
73
76
|
"node-fetch": "^3.3.2",
|
|
74
77
|
"open": "^10.1.0",
|
|
75
78
|
"pkce-challenge": "^4.1.0",
|
|
76
|
-
"sharp": "^0.33.
|
|
77
|
-
"update-notifier": "^7.
|
|
79
|
+
"sharp": "^0.33.5",
|
|
80
|
+
"update-notifier": "^7.3.0"
|
|
78
81
|
}
|
|
79
82
|
}
|