Draft
fix: workspace:* for example packages + nx prisma:generate ordering#1
Conversation
…cies Co-authored-by: lislon <5708360+lislon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix package versions for backend and frontend examples
fix: use workspace:* for internal package dependencies in examples
Mar 5, 2026
Owner
|
@copilot build fails |
Co-authored-by: lislon <5708360+lislon@users.noreply.github.com>
Author
…ages in nx task graph Co-authored-by: lislon <5708360+lislon@users.noreply.github.com>
Copilot
AI
changed the title
fix: use workspace:* for internal package dependencies in examples
fix: workspace:* for example packages + nx prisma:generate ordering
Mar 5, 2026
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.
Example packages had hardcoded version strings for internal workspace packages, causing
ERR_PNPM_OUTDATED_LOCKFILEin CI on every version bump. Additionally,frontend-core:compilewas racily failing in parallel CI runs becausetsc --buildresolves@igstack/app-catalog-backend-coreto its TypeScript source (viamy-custom-condition) — which needs generated Prisma types — butbackend-core:prisma:generatehad no ordering guarantee relative tofrontend-core:compile.Changes
examples/*/package.json— replaced pinned versions withworkspace:*for all internal@igstack/dependenciespnpm-lock.yaml— regenerated to reflect the abovenx.json— two fixes:^prisma:generatetocompile.dependsOnso all upstreamprisma:generatetasks complete before anycompilerunsoutputs: ["{projectRoot}/src/generated"]toprisma:generateso nx cache correctly stores/restores generated Prisma client files"prisma:generate": { "cache": true, - "inputs": ["{projectRoot}/prisma/schema.prisma", "{workspaceRoot}/package.json"] + "inputs": ["{projectRoot}/prisma/schema.prisma", "{workspaceRoot}/package.json"], + "outputs": ["{projectRoot}/src/generated"] }, "compile": { "cache": true, - "dependsOn": ["prisma:generate"], + "dependsOn": ["prisma:generate", "^prisma:generate"],Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
checkpoint.prisma.io/opt/hostedtoolcache/node/24.14.0/x64/bin/node /opt/hostedtoolcache/node/24.14.0/x64/bin/node /home/REDACTED/work/app-catalog/app-catalog/node_modules/.pnpm/prisma@7.4.2_@types+react@19.2.7_react-dom@19.1.2_react@19.1.2__react@19.1.2_typescript@5.9.2/node_modules/prisma/build/child {"product":"prisma","version":"7.4.2","cli_install_type":"local","information":"","local_timestamp":"2026-03-05T19:17:53Z","project_hash":"2b52c108","cli_path":"/home/REDACTED/work/app-catalog/app-catalog/packages/backend-core/node_modules/prisma/build/inde(dns block)/opt/hostedtoolcache/node/24.14.0/x64/bin/node /opt/hostedtoolcache/node/24.14.0/x64/bin/node /home/REDACTED/work/app-catalog/app-catalog/node_modules/.pnpm/prisma@7.4.2_@types+react@19.2.7_react-dom@19.1.2_react@19.1.2__react@19.1.2_typescript@5.9.2/node_modules/prisma/build/child {"product":"prisma","version":"7.4.2","cli_install_type":"local","information":"","local_timestamp":"2026-03-05T19:23:37Z","project_hash":"2b52c108","cli_path":"/home/REDACTED/work/app-catalog/app-catalog/packages/backend-core/node_modules/prisma/build/inde(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.