clawport-ui 0.2.0 → 0.2.2

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/clawport.mjs CHANGED
@@ -17,6 +17,8 @@ const PKG_ROOT = resolve(dirname(__filename), '..')
17
17
  // Helpers
18
18
  // ---------------------------------------------------------------------------
19
19
 
20
+ const NEXT_BIN = resolve(PKG_ROOT, 'node_modules', '.bin', 'next')
21
+
20
22
  const green = (s) => `\x1b[32m${s}\x1b[0m`
21
23
  const yellow = (s) => `\x1b[33m${s}\x1b[0m`
22
24
  const red = (s) => `\x1b[31m${s}\x1b[0m`
@@ -60,12 +62,12 @@ ${dim(`Package root: ${PKG_ROOT}`)}
60
62
 
61
63
  function cmdDev() {
62
64
  console.log(`\n ${bold('Starting ClawPort dev server...')}\n`)
63
- run('npx', ['next', 'dev'])
65
+ run(NEXT_BIN, ['dev'])
64
66
  }
65
67
 
66
68
  function cmdStart() {
67
69
  console.log(`\n ${bold('Building and starting ClawPort...')}\n`)
68
- run('npx', ['next', 'build', '&&', 'npx', 'next', 'start'])
70
+ run(NEXT_BIN, ['build', '&&', NEXT_BIN, 'start'])
69
71
  }
70
72
 
71
73
  function cmdSetup() {
@@ -0,0 +1,6 @@
1
+ /** @type {import('next').NextConfig} */
2
+ const nextConfig = {
3
+ /* config options here */
4
+ };
5
+
6
+ export default nextConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawport-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Open-source dashboard for managing, monitoring, and chatting with your OpenClaw AI agents.",
5
5
  "homepage": "https://clawport.dev",
6
6
  "repository": {
package/next.config.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { NextConfig } from "next";
2
-
3
- const nextConfig: NextConfig = {
4
- /* config options here */
5
- };
6
-
7
- export default nextConfig;