cayo 1.5.0 → 1.5.1

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 CHANGED
@@ -258,7 +258,7 @@ To use the improved `component` prop syntax with Cayo components (instead of jus
258
258
 
259
259
  ```js
260
260
  // cayo.config.js
261
- import { cayoPreprocess } from 'cayo/build';
261
+ import { cayoPreprocess } from 'cayo';
262
262
 
263
263
  export default {
264
264
  svelte: {
package/lib/cli/cli.js CHANGED
@@ -74,8 +74,9 @@ function help(_cayo, logger, isUnknownCommand) {
74
74
 
75
75
  async function run(command) {
76
76
  const { cmd, options } = command;
77
+ let prefix = `${chalk.magenta.bold('[cayo]')} ${chalk.gray(`[${cmd}]`)}`;
77
78
  logger.log.info(
78
- `\n ${chalk.magenta.bold(`cayo.${cmd}`)}${chalk.dim(` starting`)}`,
79
+ `${prefix} ${chalk.dim(`starting`)}`,
79
80
  { timestamp: false }
80
81
  );
81
82
 
@@ -29,7 +29,8 @@ function resolvePluginDefaults(overrides = {}) {
29
29
  function sveltePluginDefaults() {
30
30
  return {
31
31
  onwarn: (warning, handler) => {
32
- console.log('Svelte processing:', warning.filename);
32
+ // console.log('Svelte processing:', warning.filename);
33
+ // console.log('Svelte warning:', warning.message);
33
34
  handler(warning);
34
35
  }
35
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cayo",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "node cayo dev --projectRoot test",