Skip to content

update traits#2

Merged
NoEgAm merged 2 commits intomainfrom
updates
Mar 10, 2026
Merged

update traits#2
NoEgAm merged 2 commits intomainfrom
updates

Conversation

@tiye
Copy link
Member

@tiye tiye commented Feb 20, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s Calcit/tooling dependencies and regenerates generated artifacts to reflect newer “traits”/implementation patterns, while also migrating the JS package manager setup to Yarn Berry (Yarn 4) with Plug’n’Play.

Changes:

  • Bump @calcit/procs and update Calcit dependency pins (deps.cirru) including Respo/respo.calcit and calcit-lang/memof.
  • Regenerate compact.cirru with new trait/impl constructs (deftrait / defimpl / impl-traits) and updated metadata.
  • Migrate from Yarn v1 lockfile to Yarn Berry lockfile (v8), add Yarn PnP config (.yarnrc.yml) and include the generated .pnp.loader.mjs.

Reviewed changes

Copilot reviewed 6 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Updates dependency versions and pins Yarn via packageManager.
yarn.lock Regenerated lockfile in Yarn Berry (v8) format to match Yarn 4.
deps.cirru Updates Calcit toolchain version and dependency pins.
compact.cirru Regenerated compiled/compact artifact with updated trait/impl patterns and metadata.
.yarnrc.yml Enables Yarn Plug’n’Play (nodeLinker: pnp).
.pnp.loader.mjs Adds Yarn-generated ESM loader for PnP resolution.
.gitignore Ignores Yarn-generated .gz state artifacts under .yarn/.
.gitattributes Marks PnP/Yarn artifacts as generated and disables diffs.
Files not reviewed (1)
  • .pnp.loader.mjs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

{} (:package |gen-code)
:configs $ {} (:init-fn |gen-code.main/main!) (:reload-fn |gen-code.main/reload!) (:version |0.0.5)
{} (:about "|file is generated - never edit directly; learn cr edit/tree workflows before changing") (:package |gen-code)
:configs $ {} (:init-fn |gen-code.main/main!) (:reload-fn |gen-code.main/reload!) (:version |0.0.6)
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compact.cirru now reports :version |0.0.6, but package.json is still 0.0.5 (and calcit.cirru also still references 0.0.5). Keeping these versions inconsistent can confuse releases and downstream consumers; consider updating the source-of-truth version(s) and regenerating compact.cirru so they all match.

Suggested change
:configs $ {} (:init-fn |gen-code.main/main!) (:reload-fn |gen-code.main/reload!) (:version |0.0.6)
:configs $ {} (:init-fn |gen-code.main/main!) (:reload-fn |gen-code.main/reload!) (:version |0.0.5)

Copilot uses AI. Check for mistakes.
},
"version": "0.0.5"
"version": "0.0.5",
"packageManager": "yarn@4.12.0"
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With packageManager pinned to Yarn 4 and the lockfile moved to the Yarn Berry format (v8) + PnP, environments that run yarn without Corepack (or with a globally installed Yarn 1.x) may fail to install/build. Consider updating CI/dev setup docs (and CI workflows) to explicitly enable Corepack / activate the specified Yarn version before running yarn.

Copilot uses AI. Check for mistakes.

.pnp* -diff linguist-generated
.yarn/* -diff linguist-generated
.yarnrc.yml -diff linguist-generated
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.gitattributes marks .yarnrc.yml as -diff linguist-generated, which will hide diffs for a small, human-edited config file. Since changes to Yarn configuration can be impactful, consider not disabling diffs for .yarnrc.yml (keep the generated/diff suppression for .pnp*/lockfiles only).

Suggested change
.yarnrc.yml -diff linguist-generated

Copilot uses AI. Check for mistakes.
@NoEgAm NoEgAm merged commit 411fa33 into main Mar 10, 2026
1 check passed
@NoEgAm NoEgAm deleted the updates branch March 10, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants