refactor: build PPT runtime from source - #512
Open
yaojin3616 wants to merge 1 commit into
Open
yaojin3616 wants to merge 1 commit into
yaojin3616 wants to merge 1 commit into
Conversation
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.
Summary\n- replace committed self-built PPT tgz dependencies with clean-checkout local source package bootstraps\n- generate templates, previews, catalogs, and complete plugin directories under ignored .build staging\n- project the generated package pair transactionally for local execution and explicitly overlay it during Electron packaging\n- remove tracked generated templates, previews, archives, and integrity manifests\n- verify packaged adapter/core resolution, native sharp loading, entry imports, catalog references, and preview mappings\n\n## Build contract\n- npm ci no longer requires pre-existing PPT artifacts\n- dev, test, build, package, and release paths use the same ppt:build preparation pipeline\n- release CI rejects generation that modifies tracked PPT source inputs\n\n## Validation\n- clean rm -rf node_modules .build && npm ci\n- npm test (113 files, 961 tests)\n- npm run typecheck\n- npm run build\n- unsigned electron-builder --dir with afterPack runtime verification\n- repeat generation preserved the tracked-source diff hash\n- git diff --check\n\n## Platform note\n- macOS arm64 directory packaging was verified locally\n- Windows junction/native package behavior is covered by the existing native Windows release job; it was not run locally\n