@brightsideoy/kama 0.1.0-alpha.16 → 0.1.0-alpha.17

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/bin/cli.js +6 -6
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -30,9 +30,9 @@ async function main() {
30
30
  * MODE 1: Kickstart full Monorepo Workspace
31
31
  */
32
32
  async function createFullWorkspace() {
33
- const projName = (await rl.question('Project folder name [kama-network]: ')) || 'kama-network';
34
- const cmsDomain = (await rl.question('CMS Admin Domain [kama.t3cloud.eu]: ')) || 'kama.t3cloud.eu';
35
- const siteDomain = (await rl.question('First Website Domain [demo.t3cloud.eu]: ')) || 'demo.t3cloud.eu';
33
+ const projName = (await rl.question('Project folder name [kama-workspace]: ')) || 'kama-workspace';
34
+ const cmsDomain = (await rl.question('CMS Admin Domain (e.g., cms.example.com): ')) || 'cms.example.com';
35
+ const siteDomain = (await rl.question('First Website Domain (e.g., www.example.com): ')) || 'www.example.com';
36
36
 
37
37
  const rootDir = join(process.cwd(), projName);
38
38
 
@@ -103,7 +103,7 @@ async function createFullWorkspace() {
103
103
  );
104
104
 
105
105
  // 3. Setup First Astro Site
106
- const siteFolderName = siteDomain.split('.')[0]; // e.g. "demo" from "demo.t3cloud.eu"
106
+ const siteFolderName = siteDomain.split('.')[0]; // e.g. "www" or "demo"
107
107
  await generateAstroSite(rootDir, siteFolderName, siteDomain, cmsDomain);
108
108
 
109
109
  console.log(`\n✨ Workspace ready! Next steps:`);
@@ -123,9 +123,9 @@ async function createNewSiteOnly() {
123
123
  return;
124
124
  }
125
125
 
126
- const siteFolder = await rl.question('Site folder name (e.g., site-two): ');
126
+ const siteFolder = await rl.question('Site folder name (e.g., my-new-site): ');
127
127
  const siteDomain = await rl.question('Website Domain (e.g., brand.com): ');
128
- const cmsDomain = (await rl.question('CMS API Domain [kama.t3cloud.eu]: ')) || 'kama.t3cloud.eu';
128
+ const cmsDomain = (await rl.question('CMS API Domain (e.g., cms.example.com): ')) || 'cms.example.com';
129
129
 
130
130
  await generateAstroSite(rootDir, siteFolder, siteDomain, cmsDomain.replace(/^https?:\/\//, ''));
131
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightsideoy/kama",
3
- "version": "0.1.0-alpha.16",
3
+ "version": "0.1.0-alpha.17",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",