WIP: Implement a plugin system to allow users to execute private code #2357

Closed
nyaoouo wants to merge 4 commits from nyaoouo:Impl-Plugin-Manager into main
3 changed files with 4 additions and 4 deletions
Showing only changes of commit e3d8c73592 - Show all commits

View File

@ -198,7 +198,7 @@ export default ${name};
// Create package.json for ES module support
const packageJson = {
"type": "module"
type: "module"
};
const packagePath = path.join(pluginDir, "package.json");
fs.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2));

View File

@ -2,7 +2,7 @@
* JavaScript Plugin Generator Wrapper
*/
const { PluginGenerator } = require('./create-plugin-core');
const { PluginGenerator } = require("./create-plugin-core");
// Get plugin name from command line arguments
const pluginName = process.argv[2];

View File

@ -2,7 +2,7 @@
* TypeScript Plugin Generator Wrapper
*/
const { PluginGenerator } = require('./create-plugin-core');
const { PluginGenerator } = require("./create-plugin-core");
// Get plugin name from command line arguments
const pluginName = process.argv[2];