create-rstack 1.4.4 → 1.4.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1615,8 +1615,8 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1615
1615
  if (!version) version = (await readPackageJson(root)).version;
1616
1616
  const projectName = argv.dir ?? checkCancel(await he({
1617
1617
  message: 'Project name or path',
1618
- placeholder: `${name}-project`,
1619
- defaultValue: `${name}-project`,
1618
+ placeholder: `${name.toLowerCase()}-project`,
1619
+ defaultValue: `${name.toLowerCase()}-project`,
1620
1620
  validate (value) {
1621
1621
  if (0 === value.length) return 'Project name is required';
1622
1622
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Create a new Rstack project",
5
5
  "repository": {
6
6
  "type": "git",