@lemonppt/cli 1.0.1 → 1.0.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/index.js +1 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -125,6 +125,7 @@ export async function renderGoalToDir(goal, options = {}) {
|
|
|
125
125
|
// 内嵌 EditorData,让 editor.js 在静态模式下无需请求 API
|
|
126
126
|
const embeddedData = `<script>
|
|
127
127
|
window.__lemonPPT_assetsBase = './assets/';
|
|
128
|
+
window.__lemonPPT_goal = ${JSON.stringify(goal)};
|
|
128
129
|
window.__lemonPPT_editorData = ${JSON.stringify(data)};
|
|
129
130
|
</script>`;
|
|
130
131
|
editorHtml = editorHtml.replace('</head>', `${embeddedData}\n</head>`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemonppt/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/lemonforme/lemonPPT#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@lemonppt/agent-prompts": "1.0.
|
|
35
|
-
"@lemonppt/core": "1.0.
|
|
36
|
-
"@lemonppt/
|
|
37
|
-
"@lemonppt/
|
|
34
|
+
"@lemonppt/agent-prompts": "1.0.2",
|
|
35
|
+
"@lemonppt/core": "1.0.2",
|
|
36
|
+
"@lemonppt/renderer": "1.0.2",
|
|
37
|
+
"@lemonppt/themes": "1.0.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^20.0.0",
|