create-flow-os 0.0.1-dev.1771779298 → 0.0.1-dev.1771779476
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 +7 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -974,6 +974,13 @@ async function main() {
|
|
|
974
974
|
` + introLine(singleLine) + `
|
|
975
975
|
` + introBorder("b") + `
|
|
976
976
|
`);
|
|
977
|
+
if (!useDevTag) {
|
|
978
|
+
try {
|
|
979
|
+
const cfPkg = await Bun.file(join2(DIR, "package.json")).json();
|
|
980
|
+
if (cfPkg.version && String(cfPkg.version).includes("-dev"))
|
|
981
|
+
useDevTag = true;
|
|
982
|
+
} catch {}
|
|
983
|
+
}
|
|
977
984
|
const config = await Bun.file(join2(DIR, "config.json")).json();
|
|
978
985
|
const hasDeps = Object.values(config.packages).every((e2) => Array.isArray(e2.deps));
|
|
979
986
|
if (!hasDeps) {
|