@mulanjs/mulanjs 1.0.1-dev.20260228084130 → 1.0.1-dev.20260228084838
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/package.json +1 -1
- package/src/cli/index.js +4 -4
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -8,10 +8,12 @@ const readline = require('readline');
|
|
|
8
8
|
|
|
9
9
|
const program = new Command();
|
|
10
10
|
|
|
11
|
+
const ownPackage = require('../../package.json');
|
|
12
|
+
|
|
11
13
|
program
|
|
12
14
|
.name('mulan')
|
|
13
15
|
.description('MulanJS CLI - The World\'s Most Powerful ASTR-Q Framework CLI')
|
|
14
|
-
.version(
|
|
16
|
+
.version(ownPackage.version);
|
|
15
17
|
|
|
16
18
|
// --- Auditor Helper Functions (Legitimate Shell Access) ---
|
|
17
19
|
function shell(command, options = {}) {
|
|
@@ -50,7 +52,7 @@ const delay = ms => new Promise(res => setTimeout(res, ms));
|
|
|
50
52
|
|
|
51
53
|
async function printBanner() {
|
|
52
54
|
const lines = [
|
|
53
|
-
|
|
55
|
+
`\x1b[35mMULANJS v${ownPackage.version}\x1b[0m`,
|
|
54
56
|
'\x1b[33m⚡ THE WORLD\'S MOST POWERFUL ASTR-Q FRAMEWORK ⚡\x1b[0m',
|
|
55
57
|
'\x1b[36mIron Fortress Security: ACTIVE\x1b[0m',
|
|
56
58
|
'-'.repeat(50)
|
|
@@ -131,8 +133,6 @@ program
|
|
|
131
133
|
await fs.ensureDir(compPath);
|
|
132
134
|
await fs.ensureDir(pagesPath);
|
|
133
135
|
|
|
134
|
-
const ownPackage = require('../../package.json');
|
|
135
|
-
|
|
136
136
|
// 2. config files
|
|
137
137
|
const packageJson = {
|
|
138
138
|
name: projectName,
|