Module manager is a tool to manage modules in a project. It can be used to delete or recover some pages.
$ pnpm module-managerOR
pnpm module-manager -d popup$ pnpm startOR
pnpm start -d popupNote
For complete info about CLI support run:
pnpm module-manager --help
Important
If you want to remove all tests, and something else with one command, you need to set tests as first argument like:
pnpm module-manager -d tests popup ...
? Choose a tool (Use arrow keys)
❯ Delete Feature
Recover Feature
When you select an unused module, Module Manager compresses the contents of that folder, takes a snapshot of it, and removes it.
It also automatically removes anything that needs to be cleared from the manifest.
When you select a module that has been deleted, The Module Manager will recover that module from the snapshot and add it back to the manifest.
Important
SAVE ALL FILES FROM /ARCHIVE, WITHOUT THESE FILES' RECOVERING PROCESS WON'T WORK
Important
IF YOU DECIDE TO REMOVE ONE OF CONTENT SCRIPTs AFTER EDIT, E.G YOU REMOVE OR ADD ANY MATCHES, REMEMBER TO EDIT ALSO MODULE_CONFIG TO BE ABLE TO RECOVER IT EASILY IN THE FUTURE.