vike 0.4.265 → 0.4.266

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.
@@ -25,13 +25,13 @@ const globalObject = getGlobalObject('logSkillHint.ts', {
25
25
  alreadyChecked: false,
26
26
  });
27
27
  const docsUrl = 'https://vike.dev/ai#skill';
28
- const tellAgent = `by telling your agent "${pc.cyan(`Install skill ${docsUrl}`)}"`;
29
- const suppressHint = `set ${pc.cyan('+ai.skill')} to ${pc.cyan('false')} to suppress this log`;
30
- const logMissing = `Add Vike's skill for AI agents (Claude Code, Codex, Cursor, ...) ${tellAgent}, or ${suppressHint}`;
28
+ const seeDocs = `— see ${pc.underline(docsUrl)}`;
29
+ const suppressHint = `set ${pc.cyan('+ai.skill')} to ${pc.cyan('false')} to suppress this log.`;
30
+ const logMissing = `Add Vike's skill for AI agents (Claude Code, Codex, Cursor, ...) ${seeDocs}, or ${suppressHint}`;
31
31
  const logOutdated = (skillFilePaths) => {
32
32
  const isPlural = skillFilePaths.length > 1;
33
33
  const files = skillFilePaths.map((f) => pc.cyan(f)).join(', ');
34
- return `Your Vike skill${isPlural ? 's' : ''} ${files} ${isPlural ? "don't" : "doesn't"} match the official ${pc.cyan('vike/SKILL.md')}, update ${isPlural ? 'them' : 'it'} ${tellAgent}, or, if you maintain your own version, ${suppressHint}`;
34
+ return `Your Vike skill${isPlural ? 's' : ''} ${files} ${isPlural ? "don't" : "doesn't"} match the official ${pc.cyan('vike/SKILL.md')}, update ${isPlural ? 'them' : 'it'} ${seeDocs}, or, if you maintain your own version, ${suppressHint}`;
35
35
  };
36
36
  const skillName = 'vike';
37
37
  // The skill file shipped by the vike npm package: node_modules/vike/skills/vike/SKILL.md (see packages/vike/scripts/copySkill.mjs)
@@ -148,7 +148,7 @@ function getConfigValueAiSkill(vikeConfig) {
148
148
  const skill = configAi.skill;
149
149
  if (skill === undefined)
150
150
  return true;
151
- assertUsage(typeof skill === 'boolean', `${pc.cyan('+ai.skill')} should be a boolean, see ${pc.underline('https://vike.dev/ai#skill')}`);
151
+ assertUsage(typeof skill === 'boolean', `${pc.cyan('+ai.skill')} should be a boolean, see ${pc.underline(docsUrl)}`);
152
152
  return skill;
153
153
  }
154
154
  // The root directory of the user's Git repository — skills directories usually live at the repository root (e.g. monorepos).
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: '0.4.265';
1
+ export declare const PROJECT_VERSION: '0.4.266';
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.265';
2
+ export const PROJECT_VERSION = '0.4.266';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.265",
3
+ "version": "0.4.266",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {