Skip to content

Conversation

Tatsinnit
Copy link

@Tatsinnit Tatsinnit commented Jul 27, 2025

Hiya, ❤️ This PR intends to update package.json and node js modern evolution of packages and associated ways.

Few key things are update like vsc engine is at 1.101.0 and above rather then in old 1.31.0 or 0.32.0

Some associated changes are due to dependencies being so old the condition changes could have been done differently like, you might notice check if proc.stdin is not null before calling end(stdin) to avoid the error, or under K8s sub dir explicitly check the service type and assign the correct array type to the corresponding property to satisfy TypeScript's type checking, Or check the callback type to accept both NodeJS.ErrnoException and null, matching the Node.js NoParamCallback signature.

Fixed the prepare script:

Before: "prepare": "node ./node_modules/vscode/bin/install && npm run compile"
After: "prepare": "npx @vscode/dts dev && npm run compile",

@vscode/dts dev is the modern replacement for the deprecated vscode/bin/install
Removed the deprecated vscode/bin/install pattern

Successful runs post updates are below. Thanks.

Screenshot 2025-07-28 at 10 26 45 AM Screenshot 2025-07-28 at 10 30 15 AM Screenshot 2025-07-28 at 10 40 19 AM Screenshot 2025-07-28 at 10 42 26 AM

Gentle fyi @squillace ❤️ thanks.

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.

1 participant