@pylonsync/create-pylon 0.22.35 → 0.22.39

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.
@@ -257,9 +257,9 @@ const flags = {
257
257
  platforms: takeValue(args, "--platforms"),
258
258
  skipInstall: args.includes("--skip-install"),
259
259
  // --skill / --no-skill: install the Pylon skill into the new project via
260
- // `npx skills add pylonsync/pylon` — the skills.sh CLI detects the coding
261
- // agent (Claude Code / Codex / Cursor) and drops the always-current skill
262
- // from this repo's skills/pylon/SKILL.md. undefined => prompt (default yes).
260
+ // `npx skills add pylonsync/pylon-skills` — the skills.sh CLI detects the
261
+ // coding agent (Claude Code / Codex / Cursor) and drops the skill from the
262
+ // public pylon-skills repo, which each release copies from skills/. undefined => prompt (default yes).
263
263
  skill: args.includes("--skill")
264
264
  ? true
265
265
  : args.includes("--no-skill")
@@ -611,7 +611,7 @@ function mustCopy(srcSubpath, destSubpath = "", label = srcSubpath) {
611
611
  ` (expected ${join(TEMPLATES, srcSubpath)}).\n` +
612
612
  ` This usually means a corrupt or partial create-pylon install.\n` +
613
613
  ` Re-run with @latest: npm create @pylonsync/pylon@latest\n` +
614
- ` or report it: https://github.com/pylonsync/pylon/issues\n`,
614
+ ` or report it: support@pylonsync.com\n`,
615
615
  );
616
616
  exit(1);
617
617
  }
@@ -736,20 +736,21 @@ if (!flags.skipInstall) {
736
736
  // ---------------------------------------------------------------------------
737
737
  // Optional: install the Pylon skill into the project's coding agent.
738
738
  //
739
- // `npx skills add pylonsync/pylon` (skills.sh) detects the installed agent
740
- // (Claude Code / Codex / Cursor) and drops the canonical skill from this
741
- // repo's skills/pylon/SKILL.md — always current, no stale bundled copy. We
739
+ // `npx skills add pylonsync/pylon-skills` (skills.sh) detects the installed
740
+ // agent (Claude Code / Codex / Cursor) and drops the skill from the public
741
+ // pylon-skills repo, which each release copies from this repo's skills/. We
742
742
  // only auto-run it when stdin is a TTY: the skills CLI prompts for scope and
743
743
  // agent, which would hang a non-interactive scaffold (CI, piped input). When
744
744
  // we can't run it, the footer prints the one-liner so the user can opt in.
745
745
  // ---------------------------------------------------------------------------
746
746
 
747
- const SKILL_INSTALL_CMD = "npx skills add pylonsync/pylon";
747
+ const SKILL_REPO = "pylonsync/pylon-skills";
748
+ const SKILL_INSTALL_CMD = `npx skills add ${SKILL_REPO}`;
748
749
  let skillInstalled = false;
749
750
  if (flags.skill && stdin.isTTY) {
750
751
  console.log("\nAdding the Pylon skill to your coding agent...");
751
752
  const { spawnSync } = await import("node:child_process");
752
- const result = spawnSync("npx", ["-y", "skills", "add", "pylonsync/pylon"], {
753
+ const result = spawnSync("npx", ["-y", "skills", "add", SKILL_REPO], {
753
754
  cwd: root,
754
755
  stdio: "inherit",
755
756
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pylonsync/create-pylon",
3
- "version": "0.22.35",
3
+ "version": "0.22.39",
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"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Campbell Venture Studio, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.