feat: rebrand PGPM packages from @launchql/* to @pgpmjs/*#395
Closed
pyramation wants to merge 7 commits intomainfrom
Closed
feat: rebrand PGPM packages from @launchql/* to @pgpmjs/*#395pyramation wants to merge 7 commits intomainfrom
pyramation wants to merge 7 commits intomainfrom
Conversation
This commit implements the comprehensive rebranding strategy as outlined in rebranding.md: Package Renames: - @launchql/core -> @pgpmjs/core - @launchql/env -> @pgpmjs/env - @launchql/types -> @pgpmjs/types - @launchql/logger -> @pgpmjs/logger - @launchql/server-utils -> @pgpmjs/server-utils - @launchql/client -> @pgpmjs/client - @launchql/orm -> @pgpmjs/orm Class/Type Renames: - LaunchQLPackage -> PgpmPackage - LaunchQLMigrate -> PgpmMigrate - LaunchQLInit -> PgpmInit - LaunchQLError -> PgpmError - LaunchQLOptions -> PgpmOptions - LaunchQLWorkspaceConfig -> PgpmWorkspaceConfig - LaunchQLMigrateOptions -> PgpmMigrateOptions File Renames: - packages/types/src/launchql.ts -> packages/types/src/pgpm.ts - packages/core/src/core/class/launchql.ts -> packages/core/src/core/class/pgpm.ts Function Renames: - resolveLaunchqlPath -> resolvePgpmPath Backward Compatibility: - Added deprecated re-exports for all renamed classes and types - Old names still work but will show deprecation warnings All import statements and package.json dependencies have been updated across the entire codebase. Co-Authored-By: Dan Lynch <pyramation@gmail.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Updated test files and test-utils to use: - PgpmPackage instead of LaunchQLPackage - PgpmMigrate instead of LaunchQLMigrate - Import from '../src/core/class/pgpm' instead of '../src/core/class/launchql' Co-Authored-By: Dan Lynch <pyramation@gmail.com>
…ences to Pgpm* - Removed all backward-compatible re-exports from core, types, and env packages - Updated all LaunchQLOptions -> PgpmOptions across entire codebase - Updated all LaunchQLPackage -> PgpmPackage usages - Updated all LaunchQLMigrate -> PgpmMigrate usages - Updated all LaunchQLInit -> PgpmInit usages - Updated all LaunchQLError -> PgpmError usages This is a clean upgrade with no backward compatibility as requested. Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Fixed LaunchQLMigrate -> PgpmMigrate in CLI test-utils - Updated error messages in pgpm commands to say 'PGPM' instead of 'LaunchQL' - Fixed LaunchQLProject -> PgpmPackage in sandbox test files Co-Authored-By: Dan Lynch <pyramation@gmail.com>
Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Updated add-functionality.test.ts to expect 'PGPM' instead of 'LaunchQL' in error message - Removed obsolete LaunchQLPackage.writeModulePlan snapshots (now PgpmPackage) Co-Authored-By: Dan Lynch <pyramation@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: rebrand PGPM packages from @launchql/* to @pgpmjs/*
Summary
This PR implements the comprehensive rebranding strategy outlined in
rebranding.md, renaming PGPM (PostgreSQL Package Manager) packages from the@launchql/*npm scope to@pgpmjs/*.Package renames (7 packages):
@launchql/core→@pgpmjs/core@launchql/env→@pgpmjs/env@launchql/types→@pgpmjs/types@launchql/logger→@pgpmjs/logger@launchql/server-utils→@pgpmjs/server-utils@launchql/client→@pgpmjs/client@launchql/orm→@pgpmjs/ormClass/type renames:
LaunchQLPackage→PgpmPackage,LaunchQLMigrate→PgpmMigrate,LaunchQLInit→PgpmInit,LaunchQLError→PgpmError,LaunchQLOptions→PgpmOptions,LaunchQLWorkspaceConfig→PgpmWorkspaceConfigFile renames:
launchql.ts→pgpm.tsin both types and core packagesPgpm*names directly. Old names (LaunchQLPackage,LaunchQLOptions, etc.) are no longer exported.Updates since last revision
Pgpm*names directly (no moreLaunchQL*references in PGPM packages)LaunchQLOptions→PgpmOptionsin graphile-settings, explorer, server, cli, and env packagesLaunchQLInit,LaunchQLMigrate,LaunchQLError→PgpmInit,PgpmMigrate,PgpmErrorin pgpm CLI commandsReview & Testing Checklist for Human
grep -r "LaunchQL" packages/ --include="*.ts" | grep -v "node_modules" | grep -v "dist"and confirm only comments/strings remain (not type/class usages)pnpm test)pgpm deploy,pgpm revert,pgpm verifyin a sandbox to confirm they work with new class namesLaunchQLProjectwhich may need updating or may be intentionally separateRecommended test plan:
pnpm testacross the workspace in CI environment with PostgreSQL@pgpmjs/coreexportPgpmPackage(notLaunchQLPackage)Notes
@launchql/*but now import types from@pgpmjs/typesLink to Devin run: https://app.devin.ai/sessions/dba689d603e94f1f9eb4b12895bd14a7
Requested by: Dan Lynch (pyramation@gmail.com) / @pyramation