Skip to content

Migrate dependencies from GitHub packages to npm#41

Merged
F88 merged 14 commits into
mainfrom
issue-38-migrate-to-npm-packages
Jan 16, 2026
Merged

Migrate dependencies from GitHub packages to npm#41
F88 merged 14 commits into
mainfrom
issue-38-migrate-to-npm-packages

Conversation

@F88

@F88 F88 commented Jan 16, 2026

Copy link
Copy Markdown
Owner

Overview

Migrate dependencies from GitHub packages to npm registry with updated package names.

Changes

Dependencies

  • @f88/promidas (github:F88/promidas#v1.1.0) → promidas (^2.0.0)
  • @f88/promidas-utils (github:F88/promidas-utils#v1.0.0) → promidas-utils (^2.0.0)

Code Updates

  • Updated all import statements across ~50 files
  • Updated vite.config.ts path references
  • Updated DESIGN.md diagram

ESLint Improvements

  • Added eslint-plugin-import for import management
  • Added eslint-import-resolver-typescript for TypeScript path resolution
  • Configured import ordering, newline rules, and duplicate detection

Testing

  • ✅ Type check passed
  • ✅ Format check passed
  • ✅ Lint check passed
  • ✅ Tests passed
  • ✅ Build succeeded

Closes #38

F88 added 12 commits January 16, 2026 12:56
- Replace @f88/promidas (github:F88/promidas#v1.1.0) with promidas ^2.0.0
- Replace @f88/promidas-utils (github:F88/promidas-utils#v1.0.0) with promidas-utils ^2.0.0

Refs: #38
- Reorganized import statements for better readability and consistency.
- Updated type imports from '@f88/promidas' to 'promidas' and related packages.
- Added missing imports in several files to ensure proper functionality.
- Cleaned up unused imports and ensured all components and hooks are correctly referencing types.
- Adjusted the order of imports in various files to follow a consistent pattern.
- Enhanced the structure of the codebase by ensuring all components are using the latest type definitions.
- Removed duplicate entries for "promidas" and "promidas-utils" from the dependencies section.
- Added "eslint-import-resolver-typescript" and "eslint-plugin-import" to enhance linting capabilities.
Copilot AI review requested due to automatic review settings January 16, 2026 06:29
@changeset-bot

changeset-bot Bot commented Jan 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2b5d0a3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI 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.

Pull request overview

This PR migrates the project's dependency management from GitHub packages to npm registry, updating package names from @f88/promidaspromidas and @f88/promidas-utilspromidas-utils (both to v2.0.0). The migration includes comprehensive import statement updates across ~50 files and introduces ESLint import management plugins for maintaining consistent import ordering and organization.

Changes:

  • Migrated dependencies from GitHub packages to npm with updated package names and versions
  • Added ESLint import management with eslint-plugin-import and eslint-import-resolver-typescript
  • Updated all import statements and references across the codebase to use new package names

Reviewed changes

Copilot reviewed 119 out of 120 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updated dependencies to npm packages and added ESLint import plugins
package-lock.json Updated lockfile with new dependency resolutions
eslint.config.mjs Added import plugin configuration with ordering rules
vite.config.ts Updated build configuration paths and import ordering
src/**/*.ts(x) Updated import statements to use new package names
scripts/generate-snapshot.ts Updated promidas import statements
DESIGN.md Updated architecture diagram reference
CHANGELOG.md Documented migration changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @F88, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the project's dependency management by transitioning core internal packages from a private GitHub Packages setup to the public npm registry. This change simplifies access and maintenance for these dependencies. Concurrently, the PR refines the development environment by integrating advanced ESLint configurations to enforce consistent import practices and improve TypeScript support.

Highlights

  • Dependency Migration: Migrated @f88/promidas and @f88/promidas-utils from GitHub Packages to the public npm registry, updating package names to promidas and promidas-utils respectively.
  • Codebase Updates: Updated all import statements across approximately 50 files to reflect the new npm package names and adjusted vite.config.ts path references.
  • ESLint Improvements: Introduced eslint-plugin-import and eslint-import-resolver-typescript to enhance import management, including rules for ordering, newlines, and duplicate detection, along with TypeScript path alias resolution.
  • Configuration and Documentation: Updated DESIGN.md diagram to reflect the new package name and modified .prettierignore to remove temporary ignore rules.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request successfully migrates dependencies from GitHub packages to the public npm registry, which is a significant improvement for dependency management and build consistency. The addition of eslint-plugin-import and the automatic reordering of imports across numerous files greatly enhance code quality and maintainability. The changes are thorough, covering configuration files, source code, and documentation. I have one suggestion to make the manual chunking logic in vite.config.ts more robust, but overall, this is an excellent and well-executed update.

Comment thread vite.config.ts
@F88 F88 merged commit e3845ea into main Jan 16, 2026
1 check passed
@F88 F88 added the enhancement New feature or request label Jan 16, 2026
@F88 F88 self-assigned this Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate dependency from GitHub packages to npm

2 participants