The preinstall hook tries to run generate-sdks.ts which doesn't
exist in the turbo-pruned output. Setting as ENV ensures it persists
across all RUN steps, not just the install command.
Also adds cache mount to backend Dockerfile install step for
consistency with server and local-emulator Dockerfiles.
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
The preinstall hook uses pnpx only-allow which needs the pnpm store.
The store is only available during RUN commands with the cache mount.
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
The preinstall hook is needed during turbo docker-build. With
STACK_SKIP_TEMPLATE_GENERATION=true the heavy generate-sdks.ts is
skipped. The PATH fix (/bin) resolves the only-allow
module resolution issue that originally prompted --ignore-scripts.
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
- Add $PNPM_HOME/bin to PATH (pnpm v11 global bin dir changed)
- Remove @types/react and @types/react-dom overrides that were
downgrading React 19 type declarations in hosted-components/internal-tool
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
- Move overrides, packageExtensions, patchedDependencies from package.json
to pnpm-workspace.yaml (pnpm v11 no longer reads the pnpm field)
- Upgrade Dockerfiles from pnpm@10.23.0 to pnpm@11.5.0
- Use --ignore-scripts in Docker installs to avoid pnpx only-allow failure
in Docker cache-mounted store, then run postinstall manually
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Introduces a new Model Context Protocol server with OpenAPI
integration, updates build configurations, and adds necessary files for
initial release.
>
> - **New MCP Server**:
> - Implements MCP server in `src/index.ts` using
`@modelcontextprotocol/sdk`.
> - Handles tool requests with `ListToolsRequestSchema` and
`CallToolRequestSchema`.
> - Supports 40 endpoints, defined in `operationIDs`.
> - **OpenAPI Integration**:
> - Generates OpenAPI schema in `generate-openapi.ts` and writes to
`mcp-server/openapi`.
> - Converts OpenAPI parameters to JSON schema in
`openapi-to-jsonschema.ts`.
> - **Configuration and Build**:
> - Adds `package.json` for MCP server with dependencies and scripts.
> - Configures ESLint in `.eslintrc.cjs`.
> - Updates `Dockerfile` and `turbo.json` to include MCP server in build
process.
> - **Miscellaneous**:
> - Adds `.gitignore` for OpenAPI JSON files.
> - Initial release noted in `CHANGELOG.md`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for d0970c4059. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>