package.json already contains stone age old obsolete wp-env configuration #58877
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Tool] Env
/packages/env
[Type] Bug
An existing feature does not function as intended
Description
the monorepo package.json already contains obsolete wp-env configuration
git blame told me that these snippet is from 2019. I could not find anymore references to "docker-template" nor "welcome-build-command" in the @wordpress/env command. Seems these config was simply forgotten to be removed. Even the referenced wp-env template file (https://github.com/WordPress/gutenberg/blob/trunk/bin/docker-compose.override.yml.template) is no more in use.
The actual used wp-env configuration is located in file .wp-env.json.
So the wp-env configuration snippet in root package.json can be removed.
Step-by-step reproduction instructions
removed the wp-env configuration snippet in root package.json
deleted the wp-env configuration template file
bin/docker-compose.override.yml.template
referenced in the wp-env configuration snippet in root package.jsonDid a
npm ci
,npm run build
and finallynpm run env start
.WordPress including Gutenberg worked like a charm.
So this code can safely be removed from my opinion.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: