create-flow-os 0.0.1-dev.1771665523 → 0.0.1-dev.1771665760

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.
@@ -886,7 +886,7 @@ var force = argv.includes("--force");
886
886
  var yes = argv.includes("--yes") || argv.includes("-y");
887
887
  var useDevTag = argv.includes("--dev");
888
888
  var nameArg = argv.find((a3) => !a3.startsWith("--"));
889
- var DIR = basename(import.meta.dir) === "dist" ? join2(import.meta.dir, "..") : import.meta.dir;
889
+ var DIR = basename(import.meta.dir) === "dist" || basename(import.meta.dir) === "bin" ? join2(import.meta.dir, "..") : import.meta.dir;
890
890
  var REPO_ROOT = (process.env.FLOW_FRAMEWORK_ROOT ?? join2(DIR, "..", "..")).replace(/\\/g, "/");
891
891
  async function main() {
892
892
  pe(import_picocolors3.default.cyan(` Flow \u2013 create project
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "create-flow-os",
3
- "version": "0.0.1-dev.1771665523",
3
+ "version": "0.0.1-dev.1771665760",
4
4
  "type": "module",
5
- "bin": "./dist/index.js",
5
+ "bin": {
6
+ "create-flow-os": "bin/index.js"
7
+ },
6
8
  "files": [
7
- "dist",
9
+ "bin",
8
10
  "config.json",
9
11
  "flow.config.client.ts",
10
12
  "profiles",
@@ -13,7 +15,7 @@
13
15
  "scripts": {
14
16
  "gen": "bun gen.ts",
15
17
  "create": "bun index.ts",
16
- "build": "bun build ./index.ts --outdir=dist --target=bun",
18
+ "build": "bun build ./index.ts --outdir=bin --target=bun",
17
19
  "publish:dev": "bun publish-dev.ts",
18
20
  "publish": "bun publish.ts"
19
21
  },