@mulanjs/mulanjs 1.0.1-dev.20260218165325 ā 1.0.1-dev.20260218170441
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 -3
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -115,13 +115,15 @@ program
|
|
|
115
115
|
await fs.ensureDir(compPath);
|
|
116
116
|
await fs.ensureDir(pagesPath);
|
|
117
117
|
|
|
118
|
+
const ownPackage = require('../../package.json');
|
|
119
|
+
|
|
118
120
|
// 2. config files
|
|
119
121
|
const packageJson = {
|
|
120
122
|
name: projectName,
|
|
121
123
|
version: "1.0.0",
|
|
122
124
|
description: "Powered by MulanJS",
|
|
123
125
|
dependencies: {
|
|
124
|
-
"@mulanjs/mulanjs":
|
|
126
|
+
"@mulanjs/mulanjs": ownPackage.version
|
|
125
127
|
},
|
|
126
128
|
devDependencies: {
|
|
127
129
|
"webpack": "^5.104.1",
|
|
@@ -467,8 +469,7 @@ if (app) {
|
|
|
467
469
|
console.log(`\nš Next Steps:`);
|
|
468
470
|
console.log(` 1. cd ${projectName}`);
|
|
469
471
|
console.log(` 2. npm install`);
|
|
470
|
-
console.log(` 3. npm
|
|
471
|
-
console.log(` 4. npm run dev`);
|
|
472
|
+
console.log(` 3. npm run dev`);
|
|
472
473
|
|
|
473
474
|
// Auto-install VS Code Extension
|
|
474
475
|
try {
|