create-clarity 1.1.0 → 1.3.0
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/bin/create-clarity.js +1 -1
- package/lib/templates.js +3 -1
- package/package.json +1 -1
package/bin/create-clarity.js
CHANGED
|
@@ -26,7 +26,7 @@ const { scaffold, isNonEmptyDir } = require('../lib/scaffold');
|
|
|
26
26
|
const c = prompts.colors;
|
|
27
27
|
const PKG_VERSION = require('../package.json').version;
|
|
28
28
|
// the versions a new project asks for (bumped with each release of the framework)
|
|
29
|
-
const VERSIONS = { clarity: '^1.
|
|
29
|
+
const VERSIONS = { clarity: '^1.3.0', gl: '^1.0.0', audio: '^1.0.0' }; // (1.1.0 was the first whose `clarity lint` and `clarity check` read a file as the compiler does)
|
|
30
30
|
|
|
31
31
|
function parseArgs(argv) {
|
|
32
32
|
const args = { _: [], flags: {} };
|
package/lib/templates.js
CHANGED
|
@@ -523,7 +523,9 @@ Two rules:
|
|
|
523
523
|
assistant to operate, and put secrets in \`ai:forbidden\`.
|
|
524
524
|
${opts.game ? `- This is a game: the \`clarity-game\` and \`clarity-gl\` skills cover it
|
|
525
525
|
(\`npx skills add https://gitlab.com/ozsarman/clarity.js\`).
|
|
526
|
-
` : `- For
|
|
526
|
+
` : `- For buttons, fields, dialogs, tabs, menus, toasts and tables there is \`@clarity-js/ui\`
|
|
527
|
+
(\`npm i @clarity-js/ui\`; \`references/language.md\` §21 shows it). Do not write those again.
|
|
528
|
+
- For anything 3D, and for games: \`npx skills add https://gitlab.com/ozsarman/clarity.js\`
|
|
527
529
|
(the \`clarity-gl\` and \`clarity-game\` skills).
|
|
528
530
|
`}`;
|
|
529
531
|
return { 'AGENTS.md': agents, 'CLAUDE.md': '@AGENTS.md\n' };
|