Comparing version 0.24.3-alpha.6 to 0.24.3-alpha.7
@@ -33,8 +33,10 @@ "use strict"; | ||
const NOVU_ENDPOINT_PATH = options.route; | ||
devSpinner.succeed(`Local Tunnel started:\t${tunnelOrigin}`); | ||
devSpinner.succeed(`🛣️ Tunnel → ${tunnelOrigin}`); | ||
const opts = Object.assign(Object.assign({}, parsedOptions), { tunnelOrigin }); | ||
const httpServer = new dev_server_1.DevServer(opts); | ||
const dashboardSpinner = ora('Opening dashboard').start(); | ||
const studioSpinner = ora('Starting local studio server').start(); | ||
await httpServer.listen(); | ||
studioSpinner.succeed(`Novu Studio started:\t${httpServer.getStudioAddress()}`); | ||
studioSpinner.succeed(`🧑💻 Studio → ${httpServer.getStudioAddress()}`); | ||
dashboardSpinner.succeed(`🖥️ Dashboard → ${parsedOptions.dashboardUrl}`); | ||
if (process.env.NODE_ENV !== 'dev') { | ||
@@ -66,3 +68,3 @@ await open(httpServer.getStudioAddress()); | ||
if (healthy) { | ||
endpointSpinner.succeed(`Bridge Endpoint up:\t${fullEndpoint}`); | ||
endpointSpinner.succeed(`🌉 Endpoint → ${fullEndpoint}`); | ||
} | ||
@@ -69,0 +71,0 @@ else { |
{ | ||
"name": "novu", | ||
"version": "0.24.3-alpha.6", | ||
"version": "0.24.3-alpha.7", | ||
"description": "Novu CLI. Used to sync with Novu Cloud, and run Novu Studio.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -45,3 +45,3 @@ import { DevServer } from '../dev-server'; | ||
devSpinner.succeed(`Local Tunnel started:\t${tunnelOrigin}`); | ||
devSpinner.succeed(`🛣️ Tunnel → ${tunnelOrigin}`); | ||
@@ -55,6 +55,8 @@ const opts = { | ||
const dashboardSpinner = ora('Opening dashboard').start(); | ||
const studioSpinner = ora('Starting local studio server').start(); | ||
await httpServer.listen(); | ||
studioSpinner.succeed(`Novu Studio started:\t${httpServer.getStudioAddress()}`); | ||
studioSpinner.succeed(`🧑💻 Studio → ${httpServer.getStudioAddress()}`); | ||
dashboardSpinner.succeed(`🖥️ Dashboard → ${parsedOptions.dashboardUrl}`); | ||
if (process.env.NODE_ENV !== 'dev') { | ||
@@ -89,3 +91,3 @@ await open(httpServer.getStudioAddress()); | ||
if (healthy) { | ||
endpointSpinner.succeed(`Bridge Endpoint up:\t${fullEndpoint}`); | ||
endpointSpinner.succeed(`🌉 Endpoint → ${fullEndpoint}`); | ||
} else { | ||
@@ -92,0 +94,0 @@ await wait(1000); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97826
1709