swico 0.8.4-beta3 → 0.8.4-beta4
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/command/start.js +3 -1
- package/src/utils/config.js +1 -1
- package/src/utils/tools.js +0 -2
package/package.json
CHANGED
package/src/command/start.js
CHANGED
|
@@ -199,7 +199,9 @@ function start() {
|
|
|
199
199
|
createCompileListener(compiler);
|
|
200
200
|
compiler.getInfrastructureLogger = oriLogger;
|
|
201
201
|
handleWatch(projectPath, devServer);
|
|
202
|
-
|
|
202
|
+
if (RESTART !== 'true') {
|
|
203
|
+
tools_1.toast.info("Project is running at\uFF1A".concat(chalk_1.default.hex('#29abe0')("".concat(startConfig.devServer.server, "://localhost:").concat(availablePort, "/"))));
|
|
204
|
+
}
|
|
203
205
|
return [3, 10];
|
|
204
206
|
case 9:
|
|
205
207
|
e_1 = _b.sent();
|
package/src/utils/config.js
CHANGED
|
@@ -132,7 +132,7 @@ var getProjectConfig = function (env) { return __awaiter(void 0, void 0, void 0,
|
|
|
132
132
|
}
|
|
133
133
|
unSupportedField = configFields.find(function (field) { return !supportedFieldList_1.includes(field); });
|
|
134
134
|
if (configFields.length > 0 && unSupportedField) {
|
|
135
|
-
msgText = "
|
|
135
|
+
msgText = "The Swico configuration file '".concat(chalk_1.default.blue(configFileName), "' does not support the field '").concat(chalk_1.default.red(unSupportedField), "' ");
|
|
136
136
|
tools_1.toast.error(msgText);
|
|
137
137
|
process.exit();
|
|
138
138
|
}
|
package/src/utils/tools.js
CHANGED
|
@@ -235,7 +235,6 @@ exports.toast = {
|
|
|
235
235
|
console.log("> ".concat(chalk_1.default.red.bold(message)));
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
console.log('\n');
|
|
239
238
|
},
|
|
240
239
|
warning: function (message, options) {
|
|
241
240
|
var _a = options || {}, inline = _a.inline, title = _a.title;
|
|
@@ -254,7 +253,6 @@ exports.toast = {
|
|
|
254
253
|
console.log("> ".concat(chalk_1.default.hex(color).bold(message)));
|
|
255
254
|
}
|
|
256
255
|
}
|
|
257
|
-
console.log('\n');
|
|
258
256
|
}
|
|
259
257
|
};
|
|
260
258
|
var initIndexFile = function () { return __awaiter(void 0, void 0, void 0, function () {
|