Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/migration-from-2x.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,15 @@ honest](guide.md#keeping-packagejson-honest) has the test. Run it now: a
migration that renamed a section or fixed a default is exactly when the two
drift.

`npx vscode-ext-kit plan ./dist/extension.js --check` is the same idea one level
up — preflight, from the command line, against the built entry.
The same comparison is available without writing the test:
`npx vscode-ext-kit manifest ./dist/extension.js` reports every disagreement
between the built entry's plan and `package.json`, and `--apply` adds the
commands and settings the manifest is missing, with placeholder titles and
descriptions for a person to replace. A section the extension only reads —
`editor`, say — is declared with `contributed: false`, so neither check asks the
manifest for it. `npx vscode-ext-kit plan ./dist/extension.js --check` is the
same idea one level up: preflight, from the command line, against the built
entry.

## 9. Add an Extension Host lane

Expand Down