Repository navigation
Sync the manifest schemas: the server package key is nodeModules - #5
Open
adrianstevens wants to merge 1 commit into
Open
adrianstevens wants to merge 1 commit into
adrianstevens wants to merge 1 commit into
Conversation
The checked-in copies declared the key as node_modules and marked it required. Every real manifest uses nodeModules, including all 62 inside this repo, and node_modules only ever appears as a path value. Docs.Developer's content/manifest-schemas already had it right, so these are the sync output catching the DevKit's stale copies up rather than a fix in their own right. Anyone validating a working manifest against the published schema was being told, confidently, that it was invalid.
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.
Mechanical sync, safe to merge on its own.
The checked-in schemas declared the server package key as
node_modulesand marked it required. It isnodeModules.node_modulesonly ever appears as a path value. The key isnodeModulesin every real manifest — all 12 first-party apps, the third-party fleet, and all 62 manifests inside this repo.Why this is a sync, not a fix
Docs.Developer's
content/manifest-schemas/manifest.app.schema.jsonalready hasnodeModules.packages/devkit-sync/build.tsgeneratesschemas/root-manifest.{app,bot}.schema.jsonfrom it, so these two files had simply drifted stale against their own source. Running the sync produces exactly this diff. No upstream change is needed.Worth knowing for anything else in this directory:
devkit-syncwrites onlytemplates/andschemas/. Edits made directly to files in those two paths get reverted by the next sync — they have to be made in Docs.Developer. Everything else in the repo,recipes/included, is authored here and safe.Impact
Anyone validating a working manifest against the published schema was being told, confidently and in detail, that it was invalid — and an agent generating a manifest from the schema would have produced a broken one, since the key was also listed as required.