Skip to content

fix: Summary of Changes#79

Merged
lazaki merged 3 commits into
masterfrom
fix-issue-with-imports
Jul 2, 2026
Merged

fix: Summary of Changes#79
lazaki merged 3 commits into
masterfrom
fix-issue-with-imports

Conversation

@lazaki

@lazaki lazaki commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator
 ✅ @baloise/web-app-validators-angular (validators-angular/package.json)
 Updated main: dist/fesm2020/baloise-web-app-validators-angular.mjs → dist/fesm2022/baloise-web-app-validators-angular.mjs
 Updated module: dist/fesm2015/baloise-web-app-validators-angular.js → dist/fesm2022/baloise-web-app-validators-angular.mjs
 Added "type": "module" for ES module support
 Added exports field with proper subpath exports for modern bundlers
 ✅ @baloise/web-app-pipes-angular (pipes-angular/package.json)
 Updated main: dist/fesm2020/baloise-web-app-pipes-angular.mjs → dist/fesm2022/baloise-web-app-pipes-angular.mjs
 Updated module: dist/fesm2015/baloise-web-app-pipes-angular.js → dist/fesm2022/baloise-web-app-pipes-angular.mjs
 Added "type": "module" for ES module support
 Added exports field with proper subpath exports for modern bundlers
 These changes ensure that:
 Modern bundlers (esbuild, Angular 17+) can properly resolve these packages
 The correct fesm2022 paths are used instead of the non-existent fesm2020/fesm2015 files
 The exports field provides proper entry point configuration for different module formats
 Type definitions are correctly exposed via the types field

Closes #

{{short description}}

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}

Removed

  • {{removed thing}}

     ✅ @baloise/web-app-validators-angular (validators-angular/package.json)
     Updated main: dist/fesm2020/baloise-web-app-validators-angular.mjs → dist/fesm2022/baloise-web-app-validators-angular.mjs
     Updated module: dist/fesm2015/baloise-web-app-validators-angular.js → dist/fesm2022/baloise-web-app-validators-angular.mjs
     Added "type": "module" for ES module support
     Added exports field with proper subpath exports for modern bundlers
     ✅ @baloise/web-app-pipes-angular (pipes-angular/package.json)
     Updated main: dist/fesm2020/baloise-web-app-pipes-angular.mjs → dist/fesm2022/baloise-web-app-pipes-angular.mjs
     Updated module: dist/fesm2015/baloise-web-app-pipes-angular.js → dist/fesm2022/baloise-web-app-pipes-angular.mjs
     Added "type": "module" for ES module support
     Added exports field with proper subpath exports for modern bundlers
     These changes ensure that:
     Modern bundlers (esbuild, Angular 17+) can properly resolve these packages
     The correct fesm2022 paths are used instead of the non-existent fesm2020/fesm2015 files
     The exports field provides proper entry point configuration for different module formats
     Type definitions are correctly exposed via the types field

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the published entry-point metadata for the Angular wrapper packages so modern toolchains (Angular 17+/esbuild) resolve the correct ES module outputs (fesm2022/esm2022) instead of older, potentially missing build targets.

Changes:

  • Switch main/module to dist/fesm2022/*.mjs and mark packages as ESM via "type": "module".
  • Add an exports map exposing types and the intended ESM entry points for bundlers.
  • Apply the same packaging metadata changes to both validators-angular and pipes-angular.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/validators-angular/package.json Updates ESM entry points and adds exports for modern resolution.
packages/pipes-angular/package.json Updates ESM entry points and adds exports for modern resolution.

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

Comment thread packages/validators-angular/package.json
Comment thread packages/pipes-angular/package.json
Copilot finished work on behalf of lazaki July 2, 2026 11:08
@lazaki lazaki merged commit 5b82e8c into master Jul 2, 2026
1 check passed
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.

4 participants