adminforth 2.38.0-next.3 → 2.38.0-next.4

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.
@@ -100,7 +100,12 @@ export async function injectResourceIntoIndex({
100
100
  },
101
101
  });
102
102
 
103
- const newCode = recast.print(ast).code;
103
+ const newCode = recast.print(ast, {
104
+ tabWidth: 2,
105
+ useTabs: false,
106
+ trailingComma: true,
107
+ wrapColumn: 1
108
+ }).code;
104
109
  await fs.writeFile(indexFilePath, newCode, "utf-8");
105
110
  console.log(`✅ Injected resource "${resourceId}" into index`);
106
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.38.0-next.3",
3
+ "version": "2.38.0-next.4",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",