Conversation
|
@balazsrm It is working fine, and the plugin size has not increased. Just one thing: could we automate the deletion of the files by running a command? Like, in the Rank Math plugin, we created a file that removes the doc comments added to the .pot file, which runs with the I'm not sure if we can do something like this to delete the files. We will probably need to create a list of folders and files that need to be deleted. |
|
@pratikrm I've added gulp tasks to automate the process but I couldn't properly test it yet because of issues on my local dev environment. |
|
@balazsrm I couldn't build the files on my setup either. When I run Are you able to install the node_modules on your setup? |
|
@pratikrm I was able to fix the npm install issue by modernizing all the outdated and deprecated libraries. It required lots of changes in the gulp file as well. But now everything seems to work correctly, we can update all the libraries while also being able to run them independently, without any conflict with other plugins that use the same libraries. |
|
Hi @pratikrm with my latest changes that I just pushed it is working correctly for me, but only with latest version of Node and Composer, and PHP at version 8.2 on my local environment. To test it, you can delete these files and folders: Then run |
vendor-prefixed, generated a new version for all the dependency classes with PHP-Scoper, prefixed with the namespaceRank_Math_Instant_Indexing, for exampleRank_Math_Instant_Indexing\Google\Service\Indexingvendorfolder and added it to.gitignoreThis should solve our conflict issues, while we also update the dependencies.