@yaoxfly/cli 1.0.3 → 1.0.4
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/README.md +1 -1
- package/bin/create.js +3 -3
- package/package.json +1 -1
- package/version.json +1 -1
package/README.md
CHANGED
package/bin/create.js
CHANGED
|
@@ -49,7 +49,7 @@ const tips = (param) => {
|
|
|
49
49
|
console.log(log_symbols_1.default.success, chalk_1.default.green('The project is initialized'));
|
|
50
50
|
console.log('\n To get started');
|
|
51
51
|
console.log(`\n cd ${projectName}`);
|
|
52
|
-
!install && console.log(`\n ${installMode}
|
|
52
|
+
!install && console.log(`\n ${installMode} install`);
|
|
53
53
|
console.log(`\n ${installMode === 'yarn' ? 'yarn dev' : `${installMode} run dev`} `);
|
|
54
54
|
};
|
|
55
55
|
const create = (projectName, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -132,10 +132,10 @@ const create = (projectName, options) => __awaiter(void 0, void 0, void 0, funct
|
|
|
132
132
|
spinner.succeed();
|
|
133
133
|
if (install) {
|
|
134
134
|
const stdout = yield (0, utils_1.shellExec)({
|
|
135
|
-
directive: `${installMode}
|
|
135
|
+
directive: `${installMode} install --force`,
|
|
136
136
|
cwd: projectName,
|
|
137
137
|
loading: 'Install...',
|
|
138
|
-
log: `${installMode}
|
|
138
|
+
log: `${installMode} install`
|
|
139
139
|
});
|
|
140
140
|
console.log(stdout);
|
|
141
141
|
tips({ projectName, install, installMode });
|
package/package.json
CHANGED
package/version.json
CHANGED