create-raredays-app 0.1.9 → 0.1.11

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
- spawnSync("skillex", ["init", "--yes"], { cwd: targetDir });
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-raredays-app",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Scaffold a new RareDays Next.js app.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Jeremy Harper <jeremy@raredays.com>",
@@ -48,3 +48,14 @@ pnpm exec skillex query --search "<concepts>"
48
48
  pnpm exec skillex query --package "@raredays/components"
49
49
  pnpm exec skillex query --topic identity
50
50
  ```
51
+
52
+ ## Before client handoff
53
+
54
+ `@raredays/dev` is a RareDays-internal devDependency (it ships the
55
+ `report-framework-issue` skill, which targets the framework's private repo and
56
+ board). Remove it before handing this project to a client:
57
+
58
+ ```sh
59
+ pnpm remove @raredays/dev
60
+ pnpm exec skillex refresh
61
+ ```
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
7
- "postinstall": "skillex refresh -q || true",
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,6 +38,8 @@
38
38
  "react-dom": "19.2.7"
39
39
  },
40
40
  "devDependencies": {
41
+ "@atheory-ai/skillex": "0.7.2",
42
+ "@raredays/dev": "^0.1.0",
41
43
  "@raredays/lint": "^0.1.0",
42
44
  "@raredays/site-config": "^0.1.0",
43
45
  "@raredays/theme-build": "^0.1.0",
@@ -48,3 +48,14 @@ pnpm exec skillex query --search "<concepts>"
48
48
  pnpm exec skillex query --package "@raredays/components"
49
49
  pnpm exec skillex query --topic identity
50
50
  ```
51
+
52
+ ## Before client handoff
53
+
54
+ `@raredays/dev` is a RareDays-internal devDependency (it ships the
55
+ `report-framework-issue` skill, which targets the framework's private repo and
56
+ board). Remove it before handing this project to a client:
57
+
58
+ ```sh
59
+ pnpm remove @raredays/dev
60
+ pnpm exec skillex refresh
61
+ ```
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
7
- "postinstall": "skillex refresh -q || true",
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,6 +48,8 @@
48
48
  "react-dom": "19.2.7"
49
49
  },
50
50
  "devDependencies": {
51
+ "@atheory-ai/skillex": "0.7.2",
52
+ "@raredays/dev": "^0.1.0",
51
53
  "@raredays/lint": "^0.1.0",
52
54
  "@raredays/site-config": "^0.1.0",
53
55
  "@raredays/theme-build": "^0.1.0",
@@ -48,3 +48,14 @@ pnpm exec skillex query --search "<concepts>"
48
48
  pnpm exec skillex query --package "@raredays/components"
49
49
  pnpm exec skillex query --topic identity
50
50
  ```
51
+
52
+ ## Before client handoff
53
+
54
+ `@raredays/dev` is a RareDays-internal devDependency (it ships the
55
+ `report-framework-issue` skill, which targets the framework's private repo and
56
+ board). Remove it before handing this project to a client:
57
+
58
+ ```sh
59
+ pnpm remove @raredays/dev
60
+ pnpm exec skillex refresh
61
+ ```
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
7
- "postinstall": "skillex refresh -q || true",
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,6 +31,8 @@
31
31
  "react-dom": "19.2.7"
32
32
  },
33
33
  "devDependencies": {
34
+ "@atheory-ai/skillex": "0.7.2",
35
+ "@raredays/dev": "^0.1.0",
34
36
  "@raredays/lint": "^0.1.0",
35
37
  "@raredays/site-config": "^0.1.0",
36
38
  "@raredays/theme-build": "^0.1.0",