@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/index.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulanjs/mulanjs",
3
- "version": "1.0.1-dev.20260218165325",
3
+ "version": "1.0.1-dev.20260218170441",
4
4
  "description": "A powerful, secure, and enterprise-grade JavaScript framework.",
5
5
  "main": "dist/mulan.js",
6
6
  "module": "dist/mulan.esm.js",
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": "^1.0.0"
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 link @mulanjs/mulanjs`);
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 {