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 +4 -2
- package/next.config.mjs +6 -0
- package/package.json +1 -1
- package/next.config.ts +0 -7
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(
|
|
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(
|
|
70
|
+
run(NEXT_BIN, ['build', '&&', NEXT_BIN, 'start'])
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
function cmdSetup() {
|
package/next.config.mjs
ADDED
package/package.json
CHANGED