swico 0.8.1-beta19 → 0.8.1-beta20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "0.8.1-beta19",
3
+ "version": "0.8.1-beta20",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -177,7 +177,7 @@ function start() {
177
177
  if (stats.hasWarnings()) {
178
178
  tools_1.toast.warning(info.warnings.map(function (item) { return item.stack; }));
179
179
  }
180
- console.log("Compiled successfully in ".concat(info.time, "ms"));
180
+ tools_1.toast.info("Compiled successfully in ".concat(info.time, "ms"));
181
181
  });
182
182
  _b.label = 7;
183
183
  case 7:
@@ -209,13 +209,13 @@ exports.getPort = getPort;
209
209
  exports.themeColor = '#7888FCFF';
210
210
  exports.toast = {
211
211
  info: function (message) {
212
- console.log(" ".concat(chalk_1.default.hex(exports.themeColor)('info'), "-").concat(message, "\n"));
212
+ console.log("".concat(chalk_1.default.hex(exports.themeColor)('info'), " - ").concat(message, "\n"));
213
213
  },
214
214
  success: function (message) {
215
- console.log(" ".concat(chalk_1.default.hex('#32f264')('info'), "-").concat(message, "\n"));
215
+ console.log("".concat(chalk_1.default.hex('#32f264')('info'), " - ").concat(message, "\n"));
216
216
  },
217
217
  error: function (message) {
218
- console.log(" ".concat(chalk_1.default.red('error'), "-There are some errors about Swico\uFF1A \n"));
218
+ console.log("".concat(chalk_1.default.red('error'), " - There are some errors about Swico\uFF1A \n"));
219
219
  if (Array.isArray(message)) {
220
220
  message.forEach(function (item) {
221
221
  console.log(" > ".concat(chalk_1.default.red.bold(item), " \n"));
@@ -226,7 +226,7 @@ exports.toast = {
226
226
  }
227
227
  },
228
228
  warning: function (message) {
229
- console.log("> ".concat(chalk_1.default.red('#fb8918'), "-There are some errors about Swico\uFF1A \n"));
229
+ console.log("".concat(chalk_1.default.red('#fb8918'), " - There are some errors about Swico\uFF1A \n"));
230
230
  if (Array.isArray(message)) {
231
231
  message.forEach(function (item) {
232
232
  console.log(" > ".concat(chalk_1.default.hex('#fb8918').bold(item), " \n"));