@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/bin/init.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AA8BA,wBAAsB,IAAI,CAAC,GAAG,EAAE,MAAM,iBAyIrC"}
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 capitilize(val: string): string;
5
+ export declare function labelize(val: string): string;
5
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AAG5E,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,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C"}
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
@@ -1 +1 @@
1
- {"version":3,"file":"vertices.d.ts","sourceRoot":"","sources":["../src/vertices.ts"],"names":[],"mappings":"AAuBA,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,GACvB,MAAM,CAkIR"}
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.10.3",
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/mustache": "^4.2.5",
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.20.0",
56
+ "rollup": "^4.21.1",
53
57
  "rollup-plugin-string": "^3.0.0",
54
- "ts-jest": "^29.2.4",
58
+ "ts-jest": "^29.2.5",
55
59
  "ts-node": "^10.9.2",
56
- "tslib": "^2.6.3",
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.4",
77
- "update-notifier": "^7.2.0"
79
+ "sharp": "^0.33.5",
80
+ "update-notifier": "^7.3.0"
78
81
  }
79
82
  }