Skip to content

Conversation

@d-klotz
Copy link
Contributor

@d-klotz d-klotz commented Dec 15, 2025

Summary

  • Add infrastructure/ to the files array in devtools package.json

Problem

The doctor-command requires files from infrastructure/domains/health/ but the infrastructure/ directory was not included in the npm package. This caused deployments to fail with:

Error: Cannot find module '../../infrastructure/domains/health/domain/value-objects/stack-identifier'
Require stack:
- /home/runner/work/frigg-integrations/frigg-integrations/backend/node_modules/@friggframework/devtools/frigg-cli/doctor-command/index.js

Solution

Add infrastructure/ to the files array in packages/devtools/package.json to ensure it's published to npm.

Version

Published prerelease version: v2.0.0-next.63

Changelog

🐛 Bug Fix

  • @friggframework/devtools
    • fix(devtools): include infrastructure/ in npm package files #519 (@d-klotz)
  • @friggframework/core, @friggframework/devtools, @friggframework/eslint-config, @friggframework/prettier-config, @friggframework/schemas, @friggframework/serverless-plugin, @friggframework/test, @friggframework/ui

Authors: 3

The doctor-command requires files from infrastructure/domains/health/
but the infrastructure/ directory was not included in the package.json
files array. This caused deployments to fail with:

Error: Cannot find module '../../infrastructure/domains/health/domain/value-objects/stack-identifier'

Add infrastructure/ to the files array to ensure it's published to npm.
@sonarqubecloud
Copy link

@d-klotz d-klotz added the release Create a release when this pr is merged label Dec 15, 2025
@d-klotz d-klotz merged commit bbd2a93 into next Dec 15, 2025
7 of 8 checks passed
@d-klotz d-klotz deleted the fix/include-infrastructure-in-devtools-npm-package branch December 15, 2025 17:51
@seanspeaks seanspeaks added the prerelease This change is available in a prerelease. label Dec 15, 2025
@seanspeaks
Copy link
Contributor

🚀 PR was released in v2.0.0-next.65 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prerelease This change is available in a prerelease. release Create a release when this pr is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants