codeplay-common 4.11.8 → 4.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Invalidate the cached source-file inventory after removing replaced plugin folders or versioned files, so post-update validation scans the installed sources instead of deleted theme paths.
5
6
  - Automatically migrate versioned save-file imports to `@saveGallery`, scan the script section of Framework7 pages, and add or refresh the Vite alias for the newest installed platform helper before and after plugin updates.
6
7
  - Check installed package versions before conditional plugin installation; a missing optional Firebase web SDK no longer reinstalls native Analytics. Preserve disabled-feature removal and required Samsung IAP upgrades.
7
8
  - Propagate loading errors from installed build helpers instead of attempting to reinstall them.
package/RELEASE_NOTES.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Prevent builds from failing on deleted theme paths immediately after automatic plugin updates.
5
6
  - Repair old save-file imports automatically, including imports in Framework7 pages, and keep the Vite alias aligned with the latest installed Android or iOS helper.
6
7
  - Avoid repeated Analytics and conditional-plugin installs when the required packages are already installed. Native Analytics does not require installing the optional Firebase web SDK.
7
8
  - Report installed build-helper loading errors without unnecessary reinstall attempts.
@@ -2471,6 +2471,7 @@ if (pluginDef.isFolder) {
2471
2471
  updateImports(pluginInfo.name, `${baseName}-${latestVersion}`);
2472
2472
 
2473
2473
  fs.rmSync(oldPath, { recursive: true, force: true });
2474
+ sourceFileInventory = null; // updateImports cached files from the removed folder.
2474
2475
  // ✅ ADD THIS
2475
2476
  writeUpdateLine(`${pluginInfo.name} -> ${baseName}-${latestVersion}`);
2476
2477
 
@@ -2546,6 +2547,7 @@ existingFiles.forEach(file => {
2546
2547
  const oldPath = path.join(pluginDir, file);
2547
2548
 
2548
2549
  fs.unlinkSync(oldPath);
2550
+ sourceFileInventory = null;
2549
2551
 
2550
2552
  console.log(`🗑 Removed old file → ${file}`);
2551
2553
  //writeUpdateLine(`Removed old file: ${file}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeplay-common",
3
- "version": "4.11.8",
3
+ "version": "4.11.9",
4
4
  "description": "Common build scripts and files",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/sync-files.js",