Skip to content

chore: upgrade conf-dates toolchain#33

Merged
NoEgAm merged 2 commits into
mainfrom
updates
Apr 23, 2026
Merged

chore: upgrade conf-dates toolchain#33
NoEgAm merged 2 commits into
mainfrom
updates

Conversation

@tiye
Copy link
Copy Markdown
Contributor

@tiye tiye commented Apr 11, 2026

Summary

  • migrate the project from legacy Calcit manifests to deps.cirru
  • upgrade Yarn, Vite, GitHub Actions, and Calcit CLI integration
  • update the async hint syntax so the upgraded build passes

Validation

  • caps outdated --yes
  • caps
  • yarn install --immutable
  • cr js
  • yarn vite build --base=./

Copilot AI review requested due to automatic review settings April 11, 2026 14:16
Copy link
Copy Markdown

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

Upgrades the project’s Calcit + JS toolchain and migrates from legacy Calcit manifests to the newer deps.cirru workflow, aligning local scripts and CI to build successfully with updated dependencies.

Changes:

  • Migrated Calcit project metadata from package.cirru / calcit.cirru to deps.cirru, and refreshed generated compact.cirru.
  • Upgraded Yarn (to Berry) and Vite, including a new .yarnrc.yml and updated lockfile format.
  • Updated GitHub Actions workflow to use Corepack + newer Calcit CLI and updated build commands.

Reviewed changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Regenerated lockfile for Yarn Berry (v8 lock format) after dependency/toolchain upgrades.
package.json Adds Yarn packageManager, introduces scripts, upgrades @calcit/procs and vite.
package.cirru Removes legacy Calcit dependency manifest (replaced by deps.cirru).
deps.cirru Adds new Calcit deps/config manifest with pinned dependency versions and calcit version.
compact.cirru Updates generated compact output to new syntax/tooling (incl. async hint syntax).
calcit.cirru Removes legacy Calcit full manifest output.
.yarnrc.yml Configures Yarn Berry to use node-modules linker.
.gitignore Ignores macOS .DS_Store and Yarn-generated gz artifacts.
.github/workflows/upload.yaml Updates CI Node/Calcit setup, enables Corepack, and uses yarn install --immutable + new build commands.

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

Comment thread compact.cirru
Comment on lines 126 to 130
a $ {}
:href $ :url conf
:inner-text $ :url conf
:target "\"_blank"
:target |_blank
:style $ {}
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

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

Links opened with :target _blank should also set :rel to noopener noreferrer to prevent reverse-tabnabbing and to avoid giving the opened page access to window.opener. Add an appropriate :rel attribute to this anchor.

Copilot uses AI. Check for mistakes.
Comment thread compact.cirru Outdated
Comment on lines +181 to +184
a $ {} (:href |https://github.com/b-conf/chinese-tech-conf-schedule) (:inner-text "|Data source") (:target |_blank) (:class-name |minor-tip)
:style $ {} (:font-family ui/font-fancy)
=< 8 nil
a $ {} (:href "\"https://github.com/b-conf/conf-dates") (:inner-text "\"Fork") (:target "\"_blank") (:class-name "\"minor-tip")
a $ {} (:href |https://github.com/b-conf/conf-dates) (:inner-text |Fork) (:target |_blank) (:class-name |minor-tip)
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

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

These anchors use :target _blank but don't set :rel (e.g., noopener noreferrer). Please add :rel to both links to prevent reverse-tabnabbing and avoid exposing window.opener to the opened page.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Implemented in commit c6cd51e: added :rel |noopener noreferrer to all _blank anchors in compact.cirru (conference URL, data source, and fork links).

Screenshot:
link security update

@tiye tiye requested a review from a team April 11, 2026 15:15
Copilot finished work on behalf of tiye April 12, 2026 04:26
@NoEgAm NoEgAm merged commit f62f236 into main Apr 23, 2026
@NoEgAm NoEgAm deleted the updates branch April 23, 2026 05:11
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.

4 participants