@mochabug/adaptkit 0.14.4 → 0.14.6

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.
@@ -11,7 +11,12 @@ const config = [
11
11
  file: 'dist/executors.js',
12
12
  format: 'esm'
13
13
  },
14
- plugins: [typescript(), nodeResolve(), commonjs(), terser()]
14
+ plugins: [typescript(), nodeResolve(
15
+ {
16
+ browser: true,
17
+ preferBuiltins: false
18
+ }
19
+ ), commonjs(), terser()]
15
20
  }
16
21
  ];
17
22
 
@@ -23,7 +28,12 @@ if (fs.existsSync('src/configurators.ts')) {
23
28
  file: 'dist/configurators.js',
24
29
  format: 'esm'
25
30
  },
26
- plugins: [typescript(), nodeResolve(), commonjs(), terser()]
31
+ plugins: [typescript(), nodeResolve(
32
+ {
33
+ browser: true,
34
+ preferBuiltins: false
35
+ }
36
+ ), commonjs(), terser()]
27
37
  });
28
38
  }
29
39
 
package/bin/index.js CHANGED
@@ -2949,7 +2949,10 @@ async function sendPlugin(manifest, client, metadata) {
2949
2949
  async function emulate(manifest, host) {
2950
2950
  const transport = new GrpcTransport({
2951
2951
  host,
2952
- channelCredentials: ChannelCredentials.createInsecure()
2952
+ channelCredentials: ChannelCredentials.createInsecure(),
2953
+ 'grpc.default_compression_algorithm': 2,
2954
+ 'grpc.default_compression_level': 2,
2955
+ 'grpc.max_send_message_length': 16 * 1024 * 1024
2953
2956
  });
2954
2957
  const client = new PluginServiceClient(transport);
2955
2958
  try {
@@ -2974,7 +2977,8 @@ async function publish(manifest, host, accessToken, insecure) {
2974
2977
  })
2975
2978
  : ChannelCredentials.createSsl(),
2976
2979
  'grpc.default_compression_algorithm': 2,
2977
- 'grpc.default_compression_level': 2
2980
+ 'grpc.default_compression_level': 2,
2981
+ 'grpc.max_send_message_length': 16 * 1024 * 1024
2978
2982
  });
2979
2983
  const client = new PluginServiceClient(transport);
2980
2984
  const metadata = { authorization: `Bearer ${accessToken}` };
@@ -3202,7 +3206,7 @@ function handleVersion(bump, cmd) {
3202
3206
  }
3203
3207
  async function main() {
3204
3208
  const notifier = updateNotifier({
3205
- pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.14.4"}')
3209
+ pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.14.6"}')
3206
3210
  });
3207
3211
  notifier.notify({ isGlobal: true, defer: false });
3208
3212
  program
@@ -1 +1 @@
1
- {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,QAAQ,EAET,MAAM,kDAAkD,CAAC;AAmM1D,wBAAsB,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iBAkB7D;AAED,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,iBA0BlB"}
1
+ {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,QAAQ,EAET,MAAM,kDAAkD,CAAC;AAmM1D,wBAAsB,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iBAqB7D;AAED,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,iBA2BlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mochabug/adaptkit",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
4
4
  "description": "A cmd to create, emulate and publish Mochabug Adapt plugins",
5
5
  "main": "bin/index.js",
6
6
  "type": "module",
@@ -50,11 +50,11 @@
50
50
  "@types/express": "^5.0.0",
51
51
  "@types/figlet": "^1.7.0",
52
52
  "@types/jest": "^29.5.14",
53
- "@types/node": "^22.10.6",
53
+ "@types/node": "^22.10.9",
54
54
  "@types/semver": "^7.5.8",
55
55
  "@types/update-notifier": "^6.0.8",
56
56
  "jest": "^29.7.0",
57
- "rollup": "^4.30.1",
57
+ "rollup": "^4.31.0",
58
58
  "rollup-plugin-string": "^3.0.0",
59
59
  "ts-jest": "^29.2.5",
60
60
  "ts-node": "^10.9.2",
@@ -69,7 +69,7 @@
69
69
  "@protobuf-ts/runtime-rpc": "^2.9.4",
70
70
  "archiver": "^7.0.1",
71
71
  "chalk": "^5.4.1",
72
- "commander": "^13.0.0",
72
+ "commander": "^13.1.0",
73
73
  "express": "^4.21.2",
74
74
  "fast-glob": "^3.3.3",
75
75
  "figlet": "^1.8.0",