-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Changed devcontainer dev stack to match Admin + Portal default #29106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
9larsons
wants to merge
10
commits into
main
Choose a base branch
from
slars/devcontainer-ghost-portal-default
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+128
−50
Draft
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8053480
Changed devcontainer dev stack to match Admin + Portal default
9larsons f49dfd3
Removed dead public-app dev-server proxy targets from gateway
9larsons ab7fbdb
Fixed docker:up self-recreating its own devcontainer
9larsons c755ca9
Removed duplicate pnpm install from devcontainer postCreate.sh
9larsons 18a2a92
Changed devcontainer to use the prebuilt ghost-dev image + cached pnp…
9larsons e71426f
Fixed docker:build also running unnecessarily inside the devcontainer
9larsons 4f5aaf7
Fixed Codespaces admin login loop from Ghost url/origin mismatch
9larsons c1f4ef1
Added sshd feature to devcontainer for direct diagnosis
9larsons f6eaee1
Fixed ember-cli pegging CPU and MySQL's tight memory ceiling
9larsons f70d9b5
Fixed Admin Vite crash from Ghost's own protocol-redirect middleware
9larsons File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: TryGhost/Ghost
Length of output: 13418
🌐 Web query:
pnpm 11.8.0 environment variable config prefixes npm_config_store_dir pnpm_config_store_dir store-dir docs💡 Result:
In pnpm 11.8.0, configuration is managed through environment variables prefixed with pnpm_config_ or PNPM_CONFIG_ [1][2]. The documentation explicitly states that pnpm no longer reads npm_config_* environment variables [2]. Users are advised to transition to using the pnpm_config_ prefix for all configuration settings [2]. For setting the package store directory, you should use the store-dir configuration setting [3]. You can configure this using the pnpm_config_store_dir environment variable [1][2]. Summary of Key Points: - Environment Variable Prefix: Use pnpm_config_ (e.g., pnpm_config_store_dir) [1][2]. The legacy npm_config_ prefix is no longer supported for pnpm configuration [2]. - Configuration Setting: The setting for the package store directory is store-dir [3]. - Setting via CLI: You can also set this configuration persistently using the command: pnpm config set store-dir /path/to/.pnpm-store [3]. - Behavior: If no store-dir is configured, pnpm will automatically create a store on the same drive and filesystem where the installation is taking place [3][4]. For optimal performance and to enable hard linking, the store must reside on the same drive as the project [4][5]. If the store is on a different drive, pnpm will copy files instead of linking them [4][5].
Citations:
Use
pnpm_config_store_dirfor the devcontainer store pathpackageManagerpinspnpm@11.8.0, which readspnpm_config_*/PNPM_CONFIG_*only.npm_config_store_dirwill be ignored, so the cache volume won’t take effect. Switch it topnpm_config_store_dir: /pnpm-store.🤖 Prompt for AI Agents