@pikku/skills 0.12.12 → 0.12.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @pikku/skills
2
2
 
3
+ ## 0.12.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 58cb0f8: Scaffold an addon whose exports point at the leaf its codegen actually writes
8
+
9
+ `pikku all` roots an addon's generated tree at `.pikku/addon/`, but `pikku new
10
+ addon` still wrote the pre-split targets: `./.pikku/*` resolved to
11
+ `./dist/.pikku/*` and the internal RPC map to `./dist/.pikku/rpc/...`, neither of
12
+ which exists in the published package. The subpaths a consumer writes are
13
+ unchanged — only the targets gain the `addon` segment.
14
+
15
+ The addon manifest reference in the `pikku-addon` skill described the same
16
+ package.json one migration further back, with `imports` and `exports` naming the
17
+ source tree and `files: ["dist", ".pikku"]` shipping `.ts` files Node cannot
18
+ load. It now documents the built layout, and why `imports` and tsconfig `paths`
19
+ deliberately point at different trees.
20
+
21
+ The plain scaffold — no `--secret`, `--oauth` or `--credential` — built its API
22
+ service with `new XService(variables)` against a class declaring no constructor,
23
+ so `pikku new addon <name>` produced a package that did not typecheck until the
24
+ author deleted the argument. Only the authenticating variants take one.
25
+
3
26
  ## 0.12.12
4
27
 
5
28
  ### Patch Changes