A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(scaffold): a new project's gitignore keeps its plugins and platform profiles versioned, and ignores only what the editor generates
yhhb3cad174d15b
diff --git a/pipeline/src/project/scaffold.ts b/pipeline/src/project/scaffold.tsindex dd38b2f77..42ac7cc88 100644--- a/pipeline/src/project/scaffold.ts+++ b/pipeline/src/project/scaffold.ts@@ -41,8 +41,13 @@ dist/dist-*/# Editor-managed staging: the SDK types mirror, the play-realm build and the-# workspace are regenerated every time the editor opens the project.-.esengine/+# workspace are regenerated every time the editor opens the project. What the+# project itself keeps there (its plugins and packaging profiles) is versioned+# with it, so only the generated parts are left out.+.esengine/*+!.esengine/plugins/+.esengine/plugins/.types/+!.esengine/platforms/.vscode/.idea/diff --git a/tools/check-workspace-continuity.mjs b/tools/check-workspace-continuity.mjsindex 6f2fef8a0..63f8b0b16 100644--- a/tools/check-workspace-continuity.mjs+++ b/tools/check-workspace-continuity.mjs@@ -105,8 +105,10 @@ if (reads(SCAFFOLD)) {const scaffold = read(SCAFFOLD);const ignore = /export const PROJECT_GITIGNORE = `([\s\S]*?)`;/.exec(scaffold);if (!ignore) say(SCAFFOLD, 'no PROJECT_GITIGNORE — a new project would commit its workspace');- else if (!/^\.esengine\/$/m.test(ignore[1])) {+ else if (!/^\.esengine\/(\*)?$/m.test(ignore[1])) {say(SCAFFOLD, 'PROJECT_GITIGNORE no longer ignores .esengine/ — the session would be committed');+ } else if (/^\.esengine\/\*$/m.test(ignore[1]) && !/^!\.esengine\/plugins\/$/m.test(ignore[1])) {+ say(SCAFFOLD, 'PROJECT_GITIGNORE ignores everything in .esengine/, so a project\'s own plugins would not be versioned with it');}}diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 057238af0..5ff855321 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -2888,6 +2888,10 @@ export const NOTED = {{"internal":"Test fixtures follow the component layout."},"feat(tools): the arena server check takes a project of any width, a terrain provider and a TypeScript extension":{"internal":"A check script, not a creator-facing change."},+ "feat(editor): a project plugin may import the engine subpaths the editor is built on, so a game's generated ground shows in the viewport":+ {"note":"A game's generated ground shows in the editor."},+ "fix(scaffold): a new project's gitignore keeps its plugins and platform profiles versioned, and ignores only what the editor generates":+ {"note":"A game's generated ground shows in the editor."},"feat(water): two tiled, scrolling detail normal maps give the surface its sparkle":{"note":"Sparkle on the water."},"fix(lod): a LODGroup with only a cull size is no longer ignored":