@chimerai/cli 0.2.86 → 0.2.88
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/commands/create.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,UAAU,aAAa;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA+CD,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/commands/create.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,UAAU,aAAa;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA+CD,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,iBAuH9E"}
|
package/dist/commands/create.js
CHANGED
|
@@ -156,11 +156,9 @@ async function createCommand(projectName, options) {
|
|
|
156
156
|
console.log(chalk_1.default.white(` cd ${projectName}`));
|
|
157
157
|
console.log(chalk_1.default.white(' npm run dev'));
|
|
158
158
|
console.log(chalk_1.default.gray('\n Server will run on http://localhost:3001\n'));
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
console.log(chalk_1.default.white(' Password: admin123\n'));
|
|
163
|
-
}
|
|
159
|
+
console.log(chalk_1.default.yellow('Login with:'));
|
|
160
|
+
console.log(chalk_1.default.white(' Email: admin@example.com'));
|
|
161
|
+
console.log(chalk_1.default.white(' Password: admin123\n'));
|
|
164
162
|
}
|
|
165
163
|
catch (error) {
|
|
166
164
|
console.log(chalk_1.default.red('\n❌ Installation failed'));
|
|
@@ -1425,7 +1423,6 @@ async function createDockerCompose(targetDir) {
|
|
|
1425
1423
|
await fs_extra_1.default.writeFile(path_1.default.join(targetDir, 'docker-compose.yml'), (0, index_js_1.generateDockerComposeDev)());
|
|
1426
1424
|
}
|
|
1427
1425
|
async function createInstallScripts(targetDir, features, sqlite) {
|
|
1428
|
-
// Windows install.bat
|
|
1429
1426
|
// Windows install.bat
|
|
1430
1427
|
const installBat = sqlite
|
|
1431
1428
|
? `@echo off
|
|
@@ -1726,13 +1723,13 @@ npm run dev
|
|
|
1726
1723
|
|
|
1727
1724
|
Open [http://localhost:3001](http://localhost:3001) in your browser.
|
|
1728
1725
|
|
|
1729
|
-
|
|
1726
|
+
### Default Admin Credentials
|
|
1730
1727
|
|
|
1731
1728
|
- Email: admin@example.com
|
|
1732
1729
|
- Password: admin123
|
|
1733
1730
|
|
|
1734
1731
|
⚠️ Change these in production!
|
|
1735
|
-
|
|
1732
|
+
|
|
1736
1733
|
## Available Scripts
|
|
1737
1734
|
|
|
1738
1735
|
- \`pnpm dev\` - Start development server
|
|
@@ -1793,7 +1790,8 @@ Commercial License - See LICENSE file
|
|
|
1793
1790
|
5. \`pnpm dev\`
|
|
1794
1791
|
|
|
1795
1792
|
## Default Login
|
|
1796
|
-
|
|
1793
|
+
- Email: admin@example.com
|
|
1794
|
+
- Password: admin123
|
|
1797
1795
|
|
|
1798
1796
|
## CLI Commands
|
|
1799
1797
|
- \`chimerai add <component>\` — Add features
|
package/package.json
CHANGED