create-flow-os 0.0.1-dev.1771669629 → 0.0.1-dev.1771669831

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/index.js CHANGED
@@ -921,9 +921,18 @@ function optsForProfile(config, profileId) {
921
921
  }
922
922
  async function main() {
923
923
  const devBadge = useDevTag ? c2.dim(" \xB7 dev") : "";
924
+ const introW = 44;
925
+ const introLine = (content) => {
926
+ const plain = stripAnsi(content);
927
+ const pad = Math.max(0, introW - plain.length);
928
+ return c2.dim(" \u2502 ") + content + " ".repeat(pad) + c2.dim(" \u2502");
929
+ };
930
+ const introBorder = (ch) => c2.dim(" " + (ch === "t" ? "\u256D" : "\u2570") + "\u2500".repeat(introW) + (ch === "t" ? "\u256E" : "\u256F"));
924
931
  console.log(`
925
- ` + c2.bold("Flow OS") + devBadge + `
926
- ` + c2.dim("Create Flow OS application") + `
932
+ ` + introBorder("t") + `
933
+ ` + introLine(c2.bold(c2.cyan("Flow OS")) + devBadge) + `
934
+ ` + introLine("Create " + c2.bold(c2.cyan("Flow OS")) + " application") + `
935
+ ` + introBorder("b") + `
927
936
  `);
928
937
  const config = await Bun.file(join2(DIR, "config.json")).json();
929
938
  const hasDeps = Object.values(config.packages).every((e2) => Array.isArray(e2.deps));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-flow-os",
3
- "version": "0.0.1-dev.1771669629",
3
+ "version": "0.0.1-dev.1771669831",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-flow-os": "bin/index.js"
@@ -2,4 +2,4 @@
2
2
  import { pathToFileURL } from 'node:url';
3
3
  import { join } from 'node:path';
4
4
 
5
- await import(pathToFileURL(join(import.meta.dir, 'packages/client/start-dev.ts')).href);
5
+ await import(pathToFileURL(join(import.meta.dir, 'node_modules/@flow.os/client/start-dev.ts')).href);
@@ -2,4 +2,4 @@
2
2
  import { pathToFileURL } from 'node:url';
3
3
  import { join } from 'node:path';
4
4
 
5
- await import(pathToFileURL(join(import.meta.dir, 'packages/client/start-dev.ts')).href);
5
+ await import(pathToFileURL(join(import.meta.dir, 'node_modules/@flow.os/client/start-dev.ts')).href);
@@ -2,4 +2,4 @@
2
2
  import { pathToFileURL } from 'node:url';
3
3
  import { join } from 'node:path';
4
4
 
5
- await import(pathToFileURL(join(import.meta.dir, 'packages/client/start-dev.ts')).href);
5
+ await import(pathToFileURL(join(import.meta.dir, 'node_modules/@flow.os/client/start-dev.ts')).href);