nvent 1.0.0-alpha.5 → 1.0.0-alpha.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.
package/dist/module.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as nuxt_schema from 'nuxt/schema';
1
+ import * as _nuxt_schema from '@nuxt/schema';
2
2
 
3
3
  /**
4
4
  * nvent module options
@@ -338,6 +338,6 @@ interface NventIiiOptions {
338
338
  };
339
339
  }
340
340
 
341
- declare const _default: nuxt_schema.NuxtModule<NventIiiOptions, NventIiiOptions, false>;
341
+ declare const _default: _nuxt_schema.NuxtModule<NventIiiOptions, NventIiiOptions, false>;
342
342
 
343
343
  export { _default as default };
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nvent",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.6",
4
4
  "configKey": "nvent",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -2,6 +2,7 @@ import { join, dirname, basename, relative, parse } from 'node:path';
2
2
  import { defineNuxtModule, createResolver, extendViteConfig, hasNuxtModule, addTemplate, addServerPlugin, addServerHandler, addServerImports, addImports, addPlugin, updateTemplates } from '@nuxt/kit';
3
3
  import { existsSync, mkdirSync, chmodSync, createWriteStream, unlinkSync, writeFileSync, readFileSync, copyFileSync } from 'node:fs';
4
4
  import { randomUUID } from 'node:crypto';
5
+ import { addCustomTab } from '@nuxt/devtools-kit';
5
6
  import { exec, execFileSync, spawn } from 'node:child_process';
6
7
  import { promisify } from 'node:util';
7
8
  import { pipeline } from 'node:stream/promises';
@@ -1432,9 +1433,10 @@ const module$1 = defineNuxtModule({
1432
1433
  await engine.stop();
1433
1434
  });
1434
1435
  if (consoleBinaryPath) {
1436
+ const consolePort = consoleCfg.port ?? 3113;
1435
1437
  const consoleManager = new ConsoleManager({
1436
1438
  binaryPath: consoleBinaryPath,
1437
- port: consoleCfg.port ?? 3113,
1439
+ port: consolePort,
1438
1440
  enginePort: engineCfg.httpPort,
1439
1441
  bridgePort: engineCfg.wsPort,
1440
1442
  flow: consoleCfg.flow ?? true,
@@ -1444,6 +1446,15 @@ const module$1 = defineNuxtModule({
1444
1446
  nuxt.hook("close", async () => {
1445
1447
  await consoleManager.stop();
1446
1448
  });
1449
+ addCustomTab({
1450
+ name: "nvent-console",
1451
+ title: "nvent",
1452
+ icon: "carbon:flow",
1453
+ view: {
1454
+ type: "iframe",
1455
+ src: `http://localhost:${consolePort}`
1456
+ }
1457
+ });
1447
1458
  }
1448
1459
  }
1449
1460
  if (!skipPython) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nvent",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.6",
4
4
  "description": "Event-driven workflows for Nuxt",
5
- "repository": "DevJoghurt/nvent",
5
+ "repository": "nhealthorg/nvent",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "exports": {
@@ -22,12 +22,13 @@
22
22
  "prepack": "pnpm build"
23
23
  },
24
24
  "dependencies": {
25
+ "@nuxt/devtools-kit": "^3.2.4",
25
26
  "@nuxt/kit": "4.4.4",
26
27
  "chokidar": "^5.0.0",
27
28
  "confbox": "^0.2.4",
28
29
  "globby": "16.2.0",
29
- "iii-browser-sdk": "^0.11.5",
30
- "iii-sdk": "^0.11.5",
30
+ "iii-browser-sdk": "^0.11.6",
31
+ "iii-sdk": "^0.11.6",
31
32
  "knitwork": "^1.3.0",
32
33
  "nuxt": "4.4.4",
33
34
  "pathe": "^2.0.3",