mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #33] [MERGED] Replace @snomiao/die with phpdie package across codebase #37
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/33
Author: @Copilot
Created: 7/17/2025
Status: ✅ Merged
Merged: 7/18/2025
Merged by: @snomiao
Base:
main← Head:copilot/fix-32📝 Commits (3)
71a8dadInitial plan51616c5Replace @snomiao/die with phpdie package across entire codebase190e198Merge branch 'main' into copilot/fix-32📊 Changes
32 files changed (+32 additions, -32 deletions)
View changed files
📝
app/(dashboard)/followup/actions/send-gmail/page.tsx(+1 -1)📝
package.json(+1 -1)📝
packages/mongodb-pipeline-ts/$fresh.test.ts(+1 -1)📝
scripts/REPO_CLEAN.ts(+1 -1)📝
src/EmailTasks.ts(+1 -1)📝
src/FORK_OWNER.ts(+1 -1)📝
src/FORK_PREFIX.ts(+1 -1)📝
src/addCommentAction.ts(+1 -1)📝
src/checkComfyActivated.ts(+1 -1)📝
src/cli.ts(+1 -1)📝
src/createGithubForkForRepo.ts(+1 -1)📝
src/createGithubPullRequest.ts(+1 -1)📝
src/createIssueComment.ts(+1 -1)📝
src/fetchComfyRegistryNodes.ts(+1 -1)📝
src/gcloud/GCloudOAuth2Credentials.ts(+1 -1)📝
src/gcloud/getAuthenticatedClient.ts(+1 -1)📝
src/gcloud/getOAuthTokenInfo.ts(+1 -1)📝
src/gh/index.ts(+1 -1)📝
src/ghUser.ts(+1 -1)📝
src/initializeFollowRules.ts(+1 -1)...and 12 more files
📄 Description
This PR migrates the entire codebase from using
@snomiao/dietophpdiepackage as requested in the issue.Changes Made
package.jsonto replace"@snomiao/die": "^1.2.3"with"phpdie": "^1.2.18"Files Updated
The migration affected files across multiple directories:
src/- Core source files (28 files)app/- Next.js app directory (1 file)scripts/- Utility scripts (1 file)packages/- Local packages (1 file)package.json- Dependency updateCompatibility
The
phpdiepackage provides the same API as@snomiao/die:DIEas default export for error throwingcatchArgsas named export for error handlingTesting
DIEandcatchArgsfunctions work correctlyFixes #32.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.