@aigne/cli 1.0.0-7 → 1.0.0-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ export function createCreateCommand() {
52
52
  },
53
53
  ]);
54
54
  mkdirSync(absolutePath, { recursive: true });
55
- const templatePath = join(__dirname, "../../templates", template);
55
+ const templatePath = join(import.meta.dirname, "../../templates", template);
56
56
  if (!existsSync(templatePath))
57
57
  throw new Error(`Template "${template}" not found.`);
58
58
  const files = readdirSync(templatePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.0.0-7",
3
+ "version": "1.0.0-9",
4
4
  "description": "cli for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"