- Renamed the PrismJS plugin to 'prismjs-esm-fix' for clarity.
- Modified the code transformation to use ESM import for 'prism-core', enhancing compatibility with modern module systems.
- Introduced a new plugin to ensure PrismJS is correctly referenced in components, preventing issues with global scope.
- The plugin modifies the code for PrismJS components to use the appropriate global context, enhancing compatibility.
- Disabled the 'no-useless-assignment' rule in ESLint to accommodate <script setup> syntax in Vue components.
- Updated build and typecheck scripts in package.json for improved development workflow.
- Upgraded various dependencies, including ESLint, TypeScript, and Vue-related packages, to their latest versions for better performance and compatibility.
- Adjusted tsconfig settings for module resolution and removed unused options to streamline configuration.
- Changed PWA registration type to 'autoUpdate' for immediate updates upon new version availability.
- Removed obsolete busuanzi elements and replaced the data fetching method with a new API call for site statistics.
- Simplified the UpdateToast component to trigger immediate updates without countdown, enhancing user experience.
- Added vite-plugin-pwa for enhanced PWA capabilities, including automatic service worker registration and caching strategies.
- Updated manifest configuration directly in vite.config.ts, removing the need for a separate manifest.json file.
- Removed legacy service worker and associated versioning plugin, streamlining the PWA setup.
- Adjusted UI components to reflect the new update handling mechanism for service workers.
- Replaced snd-lib with Web Audio API for sound effects, enhancing performance and reducing external dependencies.
- Updated sound management functions to create and control audio contexts directly, improving sound playback reliability.
- Removed unused sound effect configurations and streamlined sound effect functions for better maintainability.
- Adjusted related components to ensure compatibility with the new sound management approach.
- Eliminated the use of anime.js in favor of simpler CSS transitions and effects.
- Updated SearchResults.vue to implement virtual scrolling for better performance with large result sets.
- Refactored SettingsModal.vue to enhance button interactions and remove unnecessary animation directives.
- Improved overall styling and structure for a more cohesive user experience across components.