@pylonsync/create-pylon 0.3.285 → 0.3.286
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/create-pylon.js +6 -0
- package/package.json +1 -1
- package/templates/agency/bunfig +4 -0
- package/templates/ai-chat/bunfig +4 -0
- package/templates/ai-studio/bunfig +4 -0
- package/templates/barebones/bunfig +4 -0
- package/templates/chat/bunfig +4 -0
- package/templates/consumer/bunfig +4 -0
- package/templates/creator/bunfig +4 -0
- package/templates/default/bunfig +4 -0
- package/templates/directory/bunfig +4 -0
- package/templates/local-service/bunfig +4 -0
- package/templates/marketplace/bunfig +4 -0
- package/templates/restaurant/bunfig +4 -0
- package/templates/shop/bunfig +4 -0
- package/templates/todo/bunfig +4 -0
- package/templates/waitlist/bunfig +4 -0
package/bin/create-pylon.js
CHANGED
|
@@ -465,6 +465,12 @@ function walkAndSubstitute(dir) {
|
|
|
465
465
|
// scaffold time — otherwise the new project has no ignore file
|
|
466
466
|
// and node_modules / .pylon / *.db get committed.
|
|
467
467
|
if (renamed === "gitignore") renamed = ".gitignore";
|
|
468
|
+
// `bun publish` (which the release uses) strips a literal
|
|
469
|
+
// `bunfig.toml` — it treats it as Bun's own runtime config and
|
|
470
|
+
// refuses to ship it in a package. Templates ship it as `bunfig`
|
|
471
|
+
// and we restore the `.toml` here, so the happy-dom test preload
|
|
472
|
+
// actually lands and component tests can render.
|
|
473
|
+
if (renamed === "bunfig") renamed = "bunfig.toml";
|
|
468
474
|
let target = abs;
|
|
469
475
|
if (renamed !== entry) {
|
|
470
476
|
target = join(dir, renamed);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pylonsync/create-pylon",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.286",
|
|
4
4
|
"description": "Scaffold a new Pylon app — realtime backend + web/mobile/expo frontends in one command. Run via `npm create @pylonsync/pylon@latest`.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|