@mulanjs/mulanjs 1.0.1-dev.20260228083459 → 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 +9 -5
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,
|
|
@@ -142,7 +142,7 @@ program
|
|
|
142
142
|
"@mulanjs/mulanjs": ownPackage.version
|
|
143
143
|
},
|
|
144
144
|
devDependencies: {
|
|
145
|
-
"webpack": "^5.
|
|
145
|
+
"webpack": "^5.105.3",
|
|
146
146
|
"webpack-cli": "^6.0.1",
|
|
147
147
|
"webpack-dev-server": "^5.2.3",
|
|
148
148
|
"css-loader": "^6.8.1",
|
|
@@ -150,6 +150,10 @@ program
|
|
|
150
150
|
"sass": "^1.83.0",
|
|
151
151
|
"sass-loader": "^16.0.0"
|
|
152
152
|
},
|
|
153
|
+
"overrides": {
|
|
154
|
+
"minimatch": "^3.1.4",
|
|
155
|
+
"serialize-javascript": "^7.0.3"
|
|
156
|
+
},
|
|
153
157
|
scripts: {
|
|
154
158
|
"start": "mulan dev",
|
|
155
159
|
"dev": "mulan dev",
|