Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@divlook
Copy link
Owner

@divlook divlook commented Nov 16, 2024

This pull request includes several updates to the project, focusing on upgrading dependencies, improving the Chrome extension, and refactoring the codebase for better maintainability. The most important changes include updating GitHub Actions, upgrading Node.js and dependencies, refactoring the Chrome extension to use Manifest V3, and removing deprecated custom code functionality.

Dependency and Configuration Updates:

  • Updated GitHub Actions to use the latest versions of actions/checkout and actions/setup-node, and switched to using .nvmrc for Node.js version management (.github/workflows/auto-release.yml). [1] [2]
  • Upgraded Node.js version to 18 in the .nvmrc file.
  • Updated various dependencies in package.json, including webpack, html-webpack-plugin, and @types/chrome. [1] [2]

Chrome Extension Refactoring:

  • Migrated the Chrome extension from Manifest V2 to Manifest V3, including changes to background.js, content-script.js, and manifest.json. [1] [2] [3] [4]
  • Removed the inject.js script and integrated its functionality into content-script.js. [1] [2]

Feature and Functionality Changes:

  • Removed support for custom code execution due to security policy issues, updated relevant documentation and code. [1] [2] [3] [4] [5]
  • Added a new method updatePreviewCode in App component to handle ticketing type changes and update the code preview accordingly.

Codebase Simplification:

  • Refactored webpack.config.js to remove unnecessary configurations and added support for ejs-loader. [1] [2] [3] [4]
  • Removed the createCode function from src/utils/index.js as it is no longer needed.

@divlook divlook self-assigned this Nov 16, 2024
@divlook divlook changed the base branch from main to develop November 16, 2024 13:20
@divlook divlook merged commit b80fbc8 into develop Nov 16, 2024
@divlook divlook deleted the feature/CU-86eqrk65p_shadow-dom branch November 16, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants