create-kimesh 0.2.49 → 0.2.50
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/dist/index.mjs +1 -1
- package/dist/{main--7fyoTg4.mjs → main-CCZpZT4D.mjs} +1 -1
- package/dist/main.mjs +1 -1
- package/dist/run.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as transformTemplateToLayer, i as toPascalCase, n as generatePackageName, o as validateLayerName, t as DEFAULT_KIMESH_VERSION } from "./layer-BYUYJ1ln.mjs";
|
|
2
|
-
import { A as hasUnmetDependencies, B as promptNpmScope, C as fetchTemplate, D as isValidTemplateName, E as getTemplateSource, F as isValidModuleId, G as promptProjectName, H as promptUpdateHost, I as parseModulesArg, K as validateProjectName, L as promptHostAppSelection, M as AVAILABLE_MODULES, N as getModule, O as promptModuleSelection, P as getModuleIds, R as promptLayerDirectory, S as fetchAllTemplates, T as getTemplateNames, U as promptDirectoryConflict, V as promptProjectType, W as promptNewDirectoryName, _ as detectPreferredPackageManager, a as findHostApps, b as installDependencies, c as collectPackages, d as installModules, f as installNpmPackages, g as promptPackageManager, h as promptInstallDeps, i as detectMonorepoRoot, j as resolveModules, k as getModuleDisplayHint, l as generateModuleFiles, m as promptGitInit, n as addLayerToHost, o as getRecommendedLayerDir, p as updateKimeshConfig, r as canUpdateHost, s as isInWorkspace, t as main, u as getInstallSummary, v as downloadProjectTemplate, w as getDefaultTemplateName, x as promptTemplateSelection, y as initGitRepo, z as promptLayerName } from "./main
|
|
2
|
+
import { A as hasUnmetDependencies, B as promptNpmScope, C as fetchTemplate, D as isValidTemplateName, E as getTemplateSource, F as isValidModuleId, G as promptProjectName, H as promptUpdateHost, I as parseModulesArg, K as validateProjectName, L as promptHostAppSelection, M as AVAILABLE_MODULES, N as getModule, O as promptModuleSelection, P as getModuleIds, R as promptLayerDirectory, S as fetchAllTemplates, T as getTemplateNames, U as promptDirectoryConflict, V as promptProjectType, W as promptNewDirectoryName, _ as detectPreferredPackageManager, a as findHostApps, b as installDependencies, c as collectPackages, d as installModules, f as installNpmPackages, g as promptPackageManager, h as promptInstallDeps, i as detectMonorepoRoot, j as resolveModules, k as getModuleDisplayHint, l as generateModuleFiles, m as promptGitInit, n as addLayerToHost, o as getRecommendedLayerDir, p as updateKimeshConfig, r as canUpdateHost, s as isInWorkspace, t as main, u as getInstallSummary, v as downloadProjectTemplate, w as getDefaultTemplateName, x as promptTemplateSelection, y as initGitRepo, z as promptLayerName } from "./main-CCZpZT4D.mjs";
|
|
3
3
|
export { AVAILABLE_MODULES, DEFAULT_KIMESH_VERSION, addLayerToHost, canUpdateHost, collectPackages, detectMonorepoRoot, detectPreferredPackageManager, downloadProjectTemplate, fetchAllTemplates, fetchTemplate, findHostApps, generateModuleFiles, generatePackageName, getDefaultTemplateName, getInstallSummary, getModule, getModuleDisplayHint, getModuleIds, getRecommendedLayerDir, getTemplateNames, getTemplateSource, hasUnmetDependencies, initGitRepo, installDependencies, installModules, installNpmPackages, isInWorkspace, isValidModuleId, isValidTemplateName, main, parseModulesArg, promptDirectoryConflict, promptGitInit, promptHostAppSelection, promptInstallDeps, promptLayerDirectory, promptLayerName, promptModuleSelection, promptNewDirectoryName, promptNpmScope, promptPackageManager, promptProjectName, promptProjectType, promptTemplateSelection, promptUpdateHost, resolveModules, toPascalCase, transformTemplateToLayer, updateKimeshConfig, validateLayerName, validateProjectName };
|
|
@@ -88,7 +88,7 @@ async function promptNewDirectoryName(currentName) {
|
|
|
88
88
|
message: "Enter a new directory name:",
|
|
89
89
|
placeholder: `${currentName}-new`,
|
|
90
90
|
validate: (value) => {
|
|
91
|
-
const trimmed = value.trim();
|
|
91
|
+
const trimmed = (value ?? "").trim();
|
|
92
92
|
if (!trimmed) return "Directory name cannot be empty";
|
|
93
93
|
if (!/^[\w-]+$/.test(trimmed)) return "Directory name can only contain letters, numbers, hyphens, and underscores";
|
|
94
94
|
}
|
package/dist/main.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as main } from "./main
|
|
1
|
+
import { t as main } from "./main-CCZpZT4D.mjs";
|
|
2
2
|
export { main };
|
package/dist/run.mjs
CHANGED