Skip to content

chore: rename library to prettier-modals#3

Merged
antuuanyf merged 2 commits into
mainfrom
chore/rename-prettier-modals
May 30, 2026
Merged

chore: rename library to prettier-modals#3
antuuanyf merged 2 commits into
mainfrom
chore/rename-prettier-modals

Conversation

@antuuanyf

Copy link
Copy Markdown
Owner

Qué

Rebranding del proyecto Pretty Modal → Prettier Modals, de cara a sacarlo de la red de forks. Mantiene la licencia MIT original intacta para que todo sea legal.

Cambios

Nombres de paquete npm

  • pretty-modalprettier-modals
  • pretty-modal-angularprettier-modals-angular
  • Aplicado en: package.json (nombres, scripts -w, peer dep, file: deps de la demo), import specifiers, el vi.mock del test y el import del core en el servicio Angular.

READMEs

  • Nombre visible, snippets de install/uso, y URLs de repo/clone (ahora antuuanyf/prettier-modals).

Atribución / licencia

  • author de los package.json y los footers/credits de los READMEs → Antonio Monreal Diaz.
  • El bloque de licencia MIT en packages/core/README.md mantiene Copyright (c) 2026 srdavo (licencia original).
  • Los credits reconocen el trabajo original de srdavo.

Fuera de alcance (a propósito)

Los símbolos públicos de la API (PrettyModal, PrettyModalService, las directivas) y las clases CSS inyectadas (pretty-modal-*) no se renombran: hacerlo sería un cambio de API/comportamiento que rompería el demo vanilla y los e2e. Si lo quieres, lo hacemos en un PR aparte.

Tampoco se tocan docs/ ni AGENTS.md (notas internas) ni los remotes de git (el repo aún no está renombrado en GitHub).

Verificación

  • Core: 15/15 tests
  • Wrapper Angular: 13/13 tests
  • Demo Angular compila contra los paquetes renombrados (npm install + ng build OK)

🤖 Generated with Claude Code

antuuanyf and others added 2 commits May 30, 2026 17:35
Rebrand the project from "Pretty Modal" to "Prettier Modals" ahead of
detaching it from the fork network, keeping the original MIT license
intact for legal compliance.

- npm packages: pretty-modal -> prettier-modals,
  pretty-modal-angular -> prettier-modals-angular (package.json names,
  workspace scripts, peer dep, demo file: deps, import specifiers, the
  vitest mock and the core import in the Angular service).
- READMEs: display name, install/usage snippets, repository/clone URLs
  (now antuuanyf/prettier-modals).
- Attribution: package.json author and README footers/credits now name
  Antonio Monreal Diaz. The original MIT license block in
  packages/core/README.md keeps "Copyright (c) 2026 srdavo", and the
  credits acknowledge the original work by srdavo.

Public API symbols (PrettyModal, PrettyModalService, the directives) and
the injected CSS classes (pretty-modal-*) are intentionally unchanged:
renaming them would be a breaking API/behavior change, not a rename.

Verified: core 15/15 + Angular wrapper 13/13 tests pass, and the Angular
demo builds against the renamed packages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add LICENSE (MIT) at the repo root and in each publishable package
(packages/core, packages/angular) so the original "Copyright (c) 2026
srdavo" notice ships with every distribution, as MIT requires.

Verified the file is included: `npm pack` for the core and ng-packagr's
dist for the Angular wrapper both contain LICENSE.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antuuanyf antuuanyf merged commit ddca97d into main May 30, 2026
1 check passed
@antuuanyf antuuanyf deleted the chore/rename-prettier-modals branch May 30, 2026 16:03
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