create-raredays-app 0.1.10 → 0.1.12
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/index.js
CHANGED
|
@@ -616,7 +616,17 @@ async function scaffold(opts) {
|
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
p.note("Initializing skillex skill registry.", "Skillex");
|
|
619
|
-
|
|
619
|
+
// Run the app-local skillex (declared as a template devDependency) via
|
|
620
|
+
// `pnpm exec` so this doesn't depend on a globally installed binary, and
|
|
621
|
+
// check the result — a silent no-op here leaves skills unindexed.
|
|
622
|
+
const skillexResult = spawnSync("pnpm", ["exec", "skillex", "init", "--yes"], {
|
|
623
|
+
cwd: targetDir,
|
|
624
|
+
});
|
|
625
|
+
if (skillexResult.status !== 0) {
|
|
626
|
+
p.log.warn(
|
|
627
|
+
"skillex init failed. Run `pnpm exec skillex init --yes` in the project directory.",
|
|
628
|
+
);
|
|
629
|
+
}
|
|
620
630
|
}
|
|
621
631
|
|
|
622
632
|
return { targetDir, slug, envVars };
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "skillex refresh
|
|
7
|
+
"postinstall": "skillex refresh",
|
|
8
8
|
"dev": "pnpm theme:build && next dev -p ${PORT:-3000}",
|
|
9
9
|
"dev:mocks": "MOCKS=on NEXT_PUBLIC_MOCKS=on pnpm dev",
|
|
10
10
|
"build": "pnpm theme:build && next build",
|
|
@@ -38,9 +38,11 @@
|
|
|
38
38
|
"react-dom": "19.2.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
+
"@atheory-ai/skillex": "0.7.2",
|
|
41
42
|
"@raredays/dev": "^0.1.0",
|
|
42
43
|
"@raredays/lint": "^0.1.0",
|
|
43
44
|
"@raredays/site-config": "^0.1.0",
|
|
45
|
+
"@raredays/skills": "^0.1.0",
|
|
44
46
|
"@raredays/theme-build": "^0.1.0",
|
|
45
47
|
"@raredays/typescript": "^0.1.0",
|
|
46
48
|
"@storybook/react-vite": "10.3.6",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "skillex refresh
|
|
7
|
+
"postinstall": "skillex refresh",
|
|
8
8
|
"dev": "pnpm theme:build && next dev -p ${PORT:-3000}",
|
|
9
9
|
"dev:mocks": "MOCKS=on NEXT_PUBLIC_MOCKS=on pnpm dev",
|
|
10
10
|
"build": "pnpm theme:build && next build",
|
|
@@ -48,9 +48,11 @@
|
|
|
48
48
|
"react-dom": "19.2.7"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
+
"@atheory-ai/skillex": "0.7.2",
|
|
51
52
|
"@raredays/dev": "^0.1.0",
|
|
52
53
|
"@raredays/lint": "^0.1.0",
|
|
53
54
|
"@raredays/site-config": "^0.1.0",
|
|
55
|
+
"@raredays/skills": "^0.1.0",
|
|
54
56
|
"@raredays/theme-build": "^0.1.0",
|
|
55
57
|
"@raredays/typescript": "^0.1.0",
|
|
56
58
|
"@tailwindcss/postcss": "4.2.4",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "skillex refresh
|
|
7
|
+
"postinstall": "skillex refresh",
|
|
8
8
|
"dev": "pnpm theme:build && next dev -p ${PORT:-3000}",
|
|
9
9
|
"build": "pnpm theme:build && next build",
|
|
10
10
|
"start": "serve out -l ${PORT:-3000}",
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
"react-dom": "19.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
+
"@atheory-ai/skillex": "0.7.2",
|
|
34
35
|
"@raredays/dev": "^0.1.0",
|
|
35
36
|
"@raredays/lint": "^0.1.0",
|
|
36
37
|
"@raredays/site-config": "^0.1.0",
|
|
38
|
+
"@raredays/skills": "^0.1.0",
|
|
37
39
|
"@raredays/theme-build": "^0.1.0",
|
|
38
40
|
"@raredays/typescript": "^0.1.0",
|
|
39
41
|
"@storybook/react-vite": "10.3.6",
|