mktcms 0.2.1 → 0.2.2

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mktcms",
3
3
  "configKey": "mktcms",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -27,7 +27,9 @@ export default defineEventHandler(async (event) => {
27
27
  const content = buildContent(frontmatter, markdown);
28
28
  const storage = useStorage("content");
29
29
  await storage.setItem(decodedPath, content);
30
- const git = simpleGit();
30
+ const git = simpleGit({
31
+ config: ["user.name=Kunde", "user.email=admin@mktcode.de"]
32
+ });
31
33
  await git.add(".");
32
34
  await git.commit(commitMessage || `\xC4nderung durch Kunden`);
33
35
  return { success: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mktcms",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Simple CMS module for Nuxt",
5
5
  "repository": "mktcode/mktcms",
6
6
  "license": "MIT",