create-flow-os 0.0.1-dev.1771777456 → 0.0.1-dev.1771777625
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 +1 -3
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -824,9 +824,7 @@ function transformScriptsForCreatedProject(scripts) {
|
|
|
824
824
|
for (const [key, value] of Object.entries(scripts)) {
|
|
825
825
|
if (key === "release")
|
|
826
826
|
continue;
|
|
827
|
-
let s = value.replace(/packages\/(
|
|
828
|
-
if (/^bun\s+node_modules\//.test(s))
|
|
829
|
-
s = s.replace(/^bun\s+node_modules\//, "bun ./node_modules/");
|
|
827
|
+
let s = value.replace(/bun\s+packages\/client\/start-dev\.ts\b/, "flow-os-dev").replace(/bun\s+packages\/client\/build\.ts\b/g, "flow-os-build").replace(/bun\s+packages\/client\/preview\.ts\b/, "flow-os-preview").replace(/bun\s+(\.\/)?node_modules\/@flow\.os\/client\/start-dev\.ts\b/, "flow-os-dev").replace(/bun\s+(\.\/)?node_modules\/@flow\.os\/client\/build\.ts\b/g, "flow-os-build").replace(/bun\s+(\.\/)?node_modules\/@flow\.os\/client\/preview\.ts\b/, "flow-os-preview").replace(/bun\s+(\.\/)?node_modules\/@flow\.os\/server\/start\.ts\b/, "server");
|
|
830
828
|
out[key] = s;
|
|
831
829
|
}
|
|
832
830
|
return Object.keys(out).length ? out : undefined;
|