Skip to content

chore: update to latests Deno and CLI standards#33

Merged
WilliamBergamin merged 8 commits intomainfrom
update-to-latests-standards
May 29, 2025
Merged

chore: update to latests Deno and CLI standards#33
WilliamBergamin merged 8 commits intomainfrom
update-to-latests-standards

Conversation

@WilliamBergamin
Copy link
Contributor

Type of change (place an x in the [ ] that applies)

  • New sample
  • New feature
  • Bug fix
  • Documentation

Summary

This PR aims to update the sample to the Deno 2 standards and the latest CLI standards.

  • Move content of slack.json to .slack/hooks.json
  • Import from JSR as much as possible
  • Move imports from import-map.json to deno.jsonc

Requirements (place an x in each [ ] that applies)

  • I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@WilliamBergamin WilliamBergamin requested review from mwbrooks and zimeg May 21, 2025 19:49
@WilliamBergamin WilliamBergamin self-assigned this May 21, 2025
@WilliamBergamin WilliamBergamin added the update PR only - an update or maintenance is being made to an existing app label May 21, 2025
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

@WilliamBergamin LGTM! 🦕 ✨

One comment around tests, but I'm already so thankful that a test was added for this sample. Thank you! 🎁

@zimeg
Copy link
Member

zimeg commented May 22, 2025

📝 I made a suggested change to the title in slack-samples/deno-message-translator#48 that might be applicable here too, but I'm not certain at the best phrasing...

Something similar might be nice to use here to so we can find when these deno updates happened!

@WilliamBergamin WilliamBergamin changed the title chore: update to latests standards chore: update to latests deno and CLI standards May 23, 2025
@WilliamBergamin WilliamBergamin changed the title chore: update to latests deno and CLI standards chore: update to latests Deno and CLI standards May 23, 2025
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

🏆 @WilliamBergamin LGTM! I'm now a big fan of inlining these for fast reads 📚 ✨

Comment on lines -31 to +30
"test": "deno fmt --check && deno lint && deno test --allow-read --allow-none"
"test": "deno fmt --check && deno lint && deno test --allow-read"
Copy link
Member

Choose a reason for hiding this comment

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

🧠 Great way to make sure we're actually running tests!

@WilliamBergamin WilliamBergamin merged commit 69b7ebc into main May 29, 2025
2 checks passed
@WilliamBergamin WilliamBergamin deleted the update-to-latests-standards branch May 29, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update PR only - an update or maintenance is being made to an existing app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants