Fix Lint
All checks were successful
Build / build (pull_request) Successful in 47s

This commit is contained in:
ny 2025-06-30 11:24:27 +08:00
parent fdb7b54333
commit e3d8c73592
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ class PluginGenerator {
// Create plugin files
this.createPluginManifest(pluginDir, name);
if (language === "ts") {
this.createTypeScriptPlugin(pluginDir, name);
} else {
@ -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];