@bagelink/workspace 1.7.27 → 1.7.29
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/bin/bgl.cjs +1 -1
- package/dist/bin/bgl.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/shared/{workspace.DChvMH3n.mjs → workspace.B3TYwgq_.mjs} +2 -0
- package/dist/shared/{workspace.CFgMNgfN.cjs → workspace.ChDOzr7c.cjs} +2 -0
- package/package.json +1 -1
- package/src/dev.ts +2 -0
package/dist/bin/bgl.cjs
CHANGED
package/dist/bin/bgl.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import process from 'node:process';
|
|
3
|
-
import { k as initWorkspace, g as generateWorkspaceConfig, j as addProject, l as listProjects, i as isWorkspace, e as setupLint, h as generateSDKForWorkspace, f as generateSDK, r as runDev } from '../shared/workspace.
|
|
3
|
+
import { k as initWorkspace, g as generateWorkspaceConfig, j as addProject, l as listProjects, i as isWorkspace, e as setupLint, h as generateSDKForWorkspace, f as generateSDK, r as runDev } from '../shared/workspace.B3TYwgq_.mjs';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'node:path';
|
|
6
6
|
import 'prompts';
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const node_fs = require('node:fs');
|
|
4
4
|
const node_path = require('node:path');
|
|
5
5
|
const process = require('node:process');
|
|
6
|
-
const workspace = require('./shared/workspace.
|
|
6
|
+
const workspace = require('./shared/workspace.ChDOzr7c.cjs');
|
|
7
7
|
require('prompts');
|
|
8
8
|
require('node:child_process');
|
|
9
9
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { resolve, join } from 'node:path';
|
|
3
3
|
import process from 'node:process';
|
|
4
|
-
import { g as generateWorkspaceConfig, s as setBuildEnvVars, w as writeNetlifyConfig } from './shared/workspace.
|
|
5
|
-
export { j as addProject, a as generateNetlifyConfig, b as generateNetlifyRedirect, f as generateSDK, h as generateSDKForWorkspace, c as generateWorkspaceConfigSync, d as getWorkspaceInfo, k as initWorkspace, i as isWorkspace, l as listProjects, r as runDev, e as setupLint } from './shared/workspace.
|
|
4
|
+
import { g as generateWorkspaceConfig, s as setBuildEnvVars, w as writeNetlifyConfig } from './shared/workspace.B3TYwgq_.mjs';
|
|
5
|
+
export { j as addProject, a as generateNetlifyConfig, b as generateNetlifyRedirect, f as generateSDK, h as generateSDKForWorkspace, c as generateWorkspaceConfigSync, d as getWorkspaceInfo, k as initWorkspace, i as isWorkspace, l as listProjects, r as runDev, e as setupLint } from './shared/workspace.B3TYwgq_.mjs';
|
|
6
6
|
import 'prompts';
|
|
7
7
|
import 'node:child_process';
|
|
8
8
|
|
|
@@ -327,6 +327,7 @@ async function runDev(filter = "./[!shared]*") {
|
|
|
327
327
|
if (projectMatch) {
|
|
328
328
|
const name = projectMatch[1];
|
|
329
329
|
if (!servers.has(name)) {
|
|
330
|
+
console.log(`${colors.dim}[DEBUG] Detected project: ${name}${colors.reset}`);
|
|
330
331
|
servers.set(name, { name, status: "starting" });
|
|
331
332
|
clearAndPrintServers();
|
|
332
333
|
}
|
|
@@ -338,6 +339,7 @@ async function runDev(filter = "./[!shared]*") {
|
|
|
338
339
|
if (projectInLine) {
|
|
339
340
|
const name = projectInLine[1];
|
|
340
341
|
const info = servers.get(name);
|
|
342
|
+
console.log(`${colors.dim}[DEBUG] Port ${port} for project: ${name}, exists: ${!!info}, hasPort: ${info?.port}${colors.reset}`);
|
|
341
343
|
if (info && !info.port) {
|
|
342
344
|
info.port = port;
|
|
343
345
|
info.status = "ready";
|
|
@@ -334,6 +334,7 @@ async function runDev(filter = "./[!shared]*") {
|
|
|
334
334
|
if (projectMatch) {
|
|
335
335
|
const name = projectMatch[1];
|
|
336
336
|
if (!servers.has(name)) {
|
|
337
|
+
console.log(`${colors.dim}[DEBUG] Detected project: ${name}${colors.reset}`);
|
|
337
338
|
servers.set(name, { name, status: "starting" });
|
|
338
339
|
clearAndPrintServers();
|
|
339
340
|
}
|
|
@@ -345,6 +346,7 @@ async function runDev(filter = "./[!shared]*") {
|
|
|
345
346
|
if (projectInLine) {
|
|
346
347
|
const name = projectInLine[1];
|
|
347
348
|
const info = servers.get(name);
|
|
349
|
+
console.log(`${colors.dim}[DEBUG] Port ${port} for project: ${name}, exists: ${!!info}, hasPort: ${info?.port}${colors.reset}`);
|
|
348
350
|
if (info && !info.port) {
|
|
349
351
|
info.port = port;
|
|
350
352
|
info.status = "ready";
|
package/package.json
CHANGED
package/src/dev.ts
CHANGED
|
@@ -66,6 +66,7 @@ export async function runDev(filter = './[!shared]*') {
|
|
|
66
66
|
if (projectMatch) {
|
|
67
67
|
const name = projectMatch[1]
|
|
68
68
|
if (!servers.has(name)) {
|
|
69
|
+
console.log(`${colors.dim}[DEBUG] Detected project: ${name}${colors.reset}`)
|
|
69
70
|
servers.set(name, { name, status: 'starting' })
|
|
70
71
|
clearAndPrintServers()
|
|
71
72
|
}
|
|
@@ -81,6 +82,7 @@ export async function runDev(filter = './[!shared]*') {
|
|
|
81
82
|
if (projectInLine) {
|
|
82
83
|
const name = projectInLine[1]
|
|
83
84
|
const info = servers.get(name)
|
|
85
|
+
console.log(`${colors.dim}[DEBUG] Port ${port} for project: ${name}, exists: ${!!info}, hasPort: ${info?.port}${colors.reset}`)
|
|
84
86
|
if (info && !info.port) {
|
|
85
87
|
info.port = port
|
|
86
88
|
info.status = 'ready'
|