Skip to content

chore: update dependencies and modernize codebase - #24722

Merged
raycastbot merged 13 commits into
raycast:mainfrom
stackingsaunter:main
Feb 17, 2026
Merged

raycastbot merged 13 commits into
raycast:mainfrom
stackingsaunter:main

Conversation

@stackingsaunter

@stackingsaunter stackingsaunter commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Updates dependencies and modernizes the codebase for compatibility with the latest NWC versions.

Dependencies:

  • Updated all dependencies to latest versions (@getalby/sdk v7, @getalby/lightning-tools v6, @raycast/api v1.104.1, etc.)
  • Downgraded websocket-polyfill to v0.0.3 for compatibility with Raycast runtime

Code changes:

  • Migrated to ESM ("type": "module" in package.json)
  • Updated TypeScript config for ESM (module: "ESNext", moduleResolution: "bundler")
  • Migrated ESLint config to flat config format (ESLint 9)
  • Updated SDK imports for v7 API (@getalby/sdk/webln, @getalby/lightning-tools/fiat)
  • Added WebCrypto polyfill for Raycast runtime compatibility
  • Fixed command script path (ShowBalance.tsx → Balance.tsx)
  • Fixed lint errors (unused variables, null safety)

Documentation:

  • Overhauled README following Raycast extension standards
  • Updated NWC wallets list with 6 example wallets
  • Clarified setup instructions (NWC connection secret prompt on first use)
  • Expanded features section (Cashu ecash, LNURL-withdraw, fiat invoices)
  • Updated support Bitcoin address

Testing

  • All builds pass successfully
  • Linting passes with no errors
  • npm audit shows 0 vulnerabilities

Checklist

Jakub Szwedo and others added 4 commits May 17, 2024 00:26
- Update all dependencies to latest versions
- Migrate to ESM and update TypeScript/ESLint configs
- Fix SDK imports for v7 compatibility
- Add WebCrypto polyfill for Raycast runtime
- Fix command script paths and lint errors
- Overhaul README with updated wallet list and features
- Downgrade websocket-polyfill for compatibility
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: vortex Issues related to the vortex extension platform: macOS OP is author The OP of the PR is the author of the extension labels Jan 20, 2026
@raycastbot

ghost commented Jan 20, 2026 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @stackingsaunter you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="main"
FORK_URL="https://github.com/stackingsaunter/raycast-extensions.git"
EXTENSION_NAME="vortex"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@greptile-apps

ghost commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR makes focused improvements to the Vortex extension:

  • Fixed typo in ListTransactions.tsx (key prop: balane → balance)
  • Updated Transactions command title and icon for better clarity
  • Cleaned up error handling by removing unused error variables
  • Updated @getalby/sdk import to use new webln namespace
  • Updated TypeScript config to ESNext module with Bundler resolution
  • Improved README with better setup instructions and NWC wallet examples

Issue found:

  • CHANGELOG entry uses hardcoded date 2026-02-12 instead of {PR_MERGE_DATE} placeholder

Note about PR description:
The PR description claims dependency updates to @getalby/sdk v7, @getalby/lightning-tools v6, and @raycast/api v1.104.1, but package.json shows these remain at v3.5.1, v5.0.3, and v1.74.1 respectively. The description also mentions ESM migration with "type": "module", but this field is not present in package.json. The actual changes are more modest: minor code cleanup, documentation improvements, and TypeScript config updates.

Confidence Score: 4/5

  • Safe to merge after fixing the CHANGELOG date placeholder
  • The code changes are solid - typo fixes, cleanup of unused variables, and a proper SDK import update. However, the CHANGELOG uses a hardcoded date instead of the required {PR_MERGE_DATE} placeholder, which needs correction before merge. The PR description is misleading about the scope of changes (no actual dependency version updates or ESM migration occurred), but the actual changes themselves are safe and well-implemented.
  • extensions/vortex/CHANGELOG.md requires the date placeholder fix

Important Files Changed

Filename Overview
extensions/vortex/CHANGELOG.md Added new changelog entry with incorrect date format - uses hardcoded date instead of {PR_MERGE_DATE} placeholder
extensions/vortex/package.json Updated command title and icon, dependencies remain unchanged despite PR description claims
extensions/vortex/tsconfig.json Updated module config to ESNext and added Bundler moduleResolution
extensions/vortex/src/utils/cashuRedeemUtils.ts Updated SDK import to use new webln namespace

Last reviewed commit: 5ddbc37

ghost left a comment •

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.

Additional Comments (1)

  1. extensions/vortex/src/ListTransactions.tsx, line 77 (link)

    syntax: Typo in key: 'balane' should be 'balance'

9 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/vortex/src/wallet.ts Outdated
Comment on lines 10 to 12
interface Preferences {
nwcurl: string;
}

ghost Jan 20, 2026

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.

style: Manual Preferences interface definition detected - this should be auto-generated in raycast-env.d.ts

Context Used: Rule from dashboard - What: Don't manually define Preferences for getPreferenceValues() or commends Argument interfa... (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment thread extensions/vortex/eslint.config.js Outdated
Comment on lines +1 to +3
const raycast = require("@raycast/eslint-config");

module.exports = Array.isArray(raycast) ? raycast.flat() : raycast;

ghost Jan 20, 2026

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.

style: This implementation doesn't follow Raycast's documented pattern. According to the ESLint documentation, you should use defineConfig from eslint/config and spread the raycast config:

Suggested change
const raycast = require("@raycast/eslint-config");
module.exports = Array.isArray(raycast) ? raycast.flat() : raycast;
const { defineConfig } = require("eslint/config");
const raycastConfig = require("@raycast/eslint-config");
module.exports = defineConfig([
...raycastConfig,
]);

Context Used: Rule from dashboard - What: Enforce importing defineConfig from "eslint/config" subpath, not directly from "eslint".... (source). Is there a specific reason you're not following the documented pattern with defineConfig?

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

ghost left a comment

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.

Hi @stackingsaunter 👋

Can you look into the merge conflicts?


I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊

@pernielsentikaer
pernielsentikaer marked this pull request as draft January 20, 2026 21:36
Updated the ESLint config to the documented flat-config pattern, removed the manual Preferences type in favor of the auto‑generated one, and fixed the typoed list item key
@stackingsaunter
stackingsaunter marked this pull request as ready for review January 22, 2026 14:52
@stackingsaunter

ghost commented Jan 22, 2026

Copy link
Copy Markdown
Contributor Author

I think it's good to go @pernielsentikaer

@pernielsentikaer

ghost commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

It still says there is conflicts @stackingsaunter

ghost left a comment

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.

9 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

const balanceInfo = await nwc.getBalance(); // Fetch the balance from the connected wallet
const fiatCurrency = getPreferenceValues<{ currency: string }>().currency;
const fiatBalance = await fiat.getFormattedFiatValue({
const fiatCurrency = getPreferenceValues<Preferences>().currency;

ghost Jan 22, 2026

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.

syntax: Using Preferences type without importing it - this should be auto-generated in raycast-env.d.ts

Context Used: Rule from dashboard - What: Don't manually define Preferences for getPreferenceValues() or commends Argument interfa... (source)

@pernielsentikaer

ghost commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊

@pernielsentikaer
pernielsentikaer marked this pull request as draft January 22, 2026 20:18
@pernielsentikaer pernielsentikaer self-assigned this Jan 22, 2026
@raycastbot

ghost commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Feb 5, 2026
@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Feb 11, 2026
@stackingsaunter

ghost commented Feb 12, 2026

Copy link
Copy Markdown
Contributor Author

Hey @pernielsentikaer, I hope it's all good now!

@pernielsentikaer
pernielsentikaer marked this pull request as ready for review February 17, 2026 11:28

ghost left a comment

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.

10 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread extensions/vortex/CHANGELOG.md Outdated
@@ -1,5 +1,12 @@
# Alby Changelog

## [Fixes] - {PR_MERGE_DATE}

ghost Feb 17, 2026

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.

Hardcoded date instead of {PR_MERGE_DATE} placeholder

Suggested change
## [Fixes] - {PR_MERGE_DATE}
## [Fixes] - {PR_MERGE_DATE}

Context Used: Rule from dashboard - What: Changelog entries must use {PR_MERGE_DATE} placeholder in titles, be placed at the top of th... (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

ghost left a comment

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.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 6b58249 into raycast:main Feb 17, 2026
@github-actions

ghost commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: vortex Issues related to the vortex extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants