@crossdelta/platform-sdk 0.21.29 → 0.22.1

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/bin/cli.mjs +100 -100
  3. package/bin/docs/generators/README.md +1 -1
  4. package/bin/templates/workspace/.claude/rules/cloudevents.md +85 -0
  5. package/bin/templates/workspace/.github/README.md +67 -0
  6. package/bin/templates/workspace/.github/actions/check-image-tag-exists/action.yml +27 -0
  7. package/bin/templates/workspace/.github/actions/check-image-tag-exists/index.js +179 -0
  8. package/bin/templates/workspace/.github/actions/generate-scope-matrix/action.yml +21 -0
  9. package/bin/templates/workspace/.github/actions/generate-scope-matrix/index.js +370 -0
  10. package/bin/templates/workspace/.github/actions/prepare-build-context/action.yml +167 -0
  11. package/bin/templates/workspace/.github/actions/setup-bun-install/action.yml.hbs +57 -0
  12. package/bin/templates/workspace/.github/dependabot.yml +18 -0
  13. package/bin/templates/workspace/.github/workflows/build-and-deploy.yml.hbs +409 -0
  14. package/bin/templates/workspace/.github/workflows/lint-and-tests.yml.hbs +83 -0
  15. package/bin/templates/workspace/.github/workflows/publish-packages.yml +228 -0
  16. package/bin/templates/workspace/.vscode/extensions.json +8 -0
  17. package/bin/templates/workspace/.vscode/settings.json +20 -0
  18. package/bin/templates/workspace/CLAUDE.md +76 -0
  19. package/bin/templates/workspace/apps/.gitkeep +0 -0
  20. package/bin/templates/workspace/docs/.gitkeep +0 -0
  21. package/bin/templates/workspace/infra/services/.gitkeep +0 -0
  22. package/bin/templates/workspace/packages/.gitkeep +0 -0
  23. package/bin/templates/workspace/packages/contracts/package.json.hbs +0 -1
  24. package/bin/templates/workspace/services/.gitkeep +0 -0
  25. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,37 @@ All notable changes to `@crossdelta/platform-sdk` will be documented in this fil
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.22.1] - 2026-08-24
9
+
10
+ ### Fixed
11
+ - **The published package carried an incomplete workspace template.** `actions/upload-artifact`
12
+ omits every path beginning with a dot unless `include-hidden-files` is set, and the publish job
13
+ ships whatever the artifact contained, so `.claude/`, `.github/` and `.vscode/` never reached npm.
14
+ `pf new workspace` from an installed copy aborted with
15
+ `ENOENT ... .github/workflows/lint-and-tests.yml.hbs`, while the same command run from a repo
16
+ checkout succeeded.
17
+
18
+ **Use this release rather than 0.22.0**, which is affected and cannot be replaced in place. The
19
+ loss is invisible in the build and publish logs, so the publish job now verifies that the shipped
20
+ template still carries its dotted directories.
21
+
22
+ ## [0.22.0] - 2026-08-24
23
+
24
+ ### Changed
25
+ - **`pf new workspace` scaffolds a Claude Code setup.** A new workspace gets a root `CLAUDE.md` and
26
+ `.claude/rules/cloudevents.md` instead of `.github/copilot-instructions.md` and three files under
27
+ `.github/instructions/`. Existing workspaces need no migration: their
28
+ `.github/copilot-instructions.md` is still read.
29
+ - **`loadProjectInstructions` reads every agent-instruction convention a workspace carries**, not
30
+ one: `CLAUDE.md`, `AGENTS.md`, `.github/copilot-instructions.md` and `docs/ai-guidelines.md`.
31
+ Missing files are skipped, and the token budget is divided among the files that actually
32
+ contribute after compression.
33
+
34
+ ### Fixed
35
+ - **`pf new workspace` aborted at `bun install`** with
36
+ `Workspace dependency "@<scope>/types" not found`. The scaffolded contracts package declared a
37
+ workspace dependency that the template does not create.
38
+
8
39
  ## [0.21.29] - 2026-08-23
9
40
 
10
41
  ### Changed