sellify-cli 0.1.1 → 0.1.2

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/README.md CHANGED
@@ -13,7 +13,7 @@ Needs Node 20 or newer. No other dependencies.
13
13
  ```bash
14
14
  sellify login # opens your browser; pick the store and click Allow
15
15
  sellify login --store mystore # straight to that store
16
- sellify login --url https://admin.your-sellify-domain.com
16
+ sellify login --url http://admin.localhost:3000 # a local or self-hosted Sellify
17
17
  ```
18
18
 
19
19
  Sign in to Sellify in the browser (password or Google), check the computer name and click **Allow**. The CLI receives its token directly from the browser (a one-off listener on `127.0.0.1` with PKCE), so you never see or copy it. It is saved in `~/.config/sellify/config.json`, readable only by you.
package/bin/sellify.mjs CHANGED
@@ -13,7 +13,7 @@ import { parseArgs } from "node:util";
13
13
  const VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
14
14
  const API_VERSION = "2026-10";
15
15
  // The Sellify admin host. Point at your own deployment with --url or SELLIFY_URL.
16
- const DEFAULT_URL = "http://admin.localhost:3000";
16
+ const DEFAULT_URL = "https://admin-sellifyhq.vercel.app";
17
17
  // Same rule as the server (lib/theme-code FILE_PATH_RE): which files a theme can hold. All are text.
18
18
  const THEME_PATH_RE =
19
19
  /^(layout|templates|sections|snippets)\/[a-z0-9][a-z0-9_.-]{0,60}\.liquid$|^(templates|sections)\/[a-z0-9][a-z0-9_.-]{0,60}\.json$|^assets\/[a-z0-9][a-z0-9_.-]{0,60}\.(css|js|svg|json)$|^config\/settings_(schema|data)\.json$|^locales\/[a-z]{2}(-[a-z]{2})?(\.default)?(\.schema)?\.json$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sellify-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Command line for Sellify: develop themes locally (pull, push, live sync) and call the GraphQL Admin API.",
5
5
  "license": "MIT",
6
6
  "type": "module",