Skip to content

Commit

Permalink
patch broken resoc dep
Browse files Browse the repository at this point in the history
  • Loading branch information
raygesualdo committed Dec 27, 2023
1 parent 915776a commit 6e5770b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
8 changes: 7 additions & 1 deletion package.json
Expand Up @@ -25,5 +25,11 @@
"slugify": "^1.6.6",
"strip-markdown": "^6.0.0",
"tailwindcss": "^3.4.0"
},
"packageManager": "pnpm@8.12.1",
"pnpm": {
"patchedDependencies": {
"@resoc/create-img@0.9.1": "patches/@resoc__create-img@0.9.1.patch"
}
}
}
}
11 changes: 11 additions & 0 deletions patches/@resoc__create-img@0.9.1.patch
@@ -0,0 +1,11 @@
diff --git a/build/index.es.js b/build/index.es.js
index e94b67e69b51941483f3d490c6df8818460bee41..7b49adf29c023caa108e68dc48e6e237fe3e7cec 100644
--- a/build/index.es.js
+++ b/build/index.es.js
@@ -1,5 +1,5 @@
import puppeteer from 'puppeteer';
-import createImgCore from '@resoc/create-img-core';
+import * as createImgCore from '@resoc/create-img-core';
export { cachedImageName, fileExists, loadLocalTemplate, parseParameters, renderLocalTemplate } from '@resoc/create-img-core';

/*! *****************************************************************************
10 changes: 8 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e5770b

Please sign in to comment.