@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
|
|
93
|
-
scripts["desktop
|
|
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
|
|
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
|
|
798
|
+
if (targets.includes("desktop")) log.info(" npm run dev:desktop");
|
|
799
799
|
return 0;
|
|
800
800
|
}
|
|
801
801
|
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED