@sublime-ui/devkit 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.
@@ -89,8 +89,8 @@ function renderAppPackageJson(name, targets) {
89
89
  if (has(targets, "desktop")) {
90
90
  deps["@sublime-ui/desktop"] = SUBLIME_VERSIONS.desktop;
91
91
  devDeps["electron"] = PEER_VERSIONS["electron"];
92
- scripts["desktop:dev"] = "sublime desktop:dev";
93
- scripts["desktop:build"] = "sublime desktop:build";
92
+ scripts["dev:desktop"] = "sublime desktop:dev";
93
+ scripts["build:desktop"] = "sublime desktop:build";
94
94
  }
95
95
  const pkg = {
96
96
  name,
@@ -177,7 +177,7 @@ function renderAppReadme(name, targets) {
177
177
  ];
178
178
  if (has(targets, "web")) lines.push("npm run dev:web # web (Vite)");
179
179
  if (has(targets, "mobile")) lines.push("npm run dev:mobile # Android (debug)");
180
- if (has(targets, "desktop")) lines.push("npm run desktop:dev # Electron");
180
+ if (has(targets, "desktop")) lines.push("npm run dev:desktop # Electron");
181
181
  lines.push("```", "");
182
182
  return lines.join("\n");
183
183
  }
@@ -795,7 +795,7 @@ async function initApp(opts) {
795
795
  if (!(opts.install ?? true)) log.info(" npm install && npm run build:nav");
796
796
  if (targets.includes("web")) log.info(" npm run dev:web");
797
797
  if (targets.includes("mobile")) log.info(" npm run dev:mobile");
798
- if (targets.includes("desktop")) log.info(" npm run desktop:dev");
798
+ if (targets.includes("desktop")) log.info(" npm run dev:desktop");
799
799
  return 0;
800
800
  }
801
801
 
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  run,
7
7
  runInherit,
8
8
  safeWrite
9
- } from "./chunk-PPA6U663.js";
9
+ } from "./chunk-PHO3DVF2.js";
10
10
 
11
11
  // src/cli.ts
12
12
  import { Command } from "commander";
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  initApp,
4
4
  isValidNpmName
5
- } from "./chunk-PPA6U663.js";
5
+ } from "./chunk-PHO3DVF2.js";
6
6
 
7
7
  // src/index.ts
8
8
  var version = "0.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sublime-ui/devkit",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "The Sublime UI CLI (sublime) — offline Android builds, code generators, the navigation compiler, and desktop tooling.",
5
5
  "keywords": [
6
6
  "sublime-ui",