@effindomv2/create-fui-as-app 0.1.2 → 0.1.3
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/src/templates.js +3 -1
- package/package.json +1 -1
package/dist/src/templates.js
CHANGED
|
@@ -5,7 +5,7 @@ function formatJson(value) {
|
|
|
5
5
|
function renderPackageJson(context) {
|
|
6
6
|
return formatJson({
|
|
7
7
|
name: context.packageName,
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.3",
|
|
9
9
|
private: true,
|
|
10
10
|
type: "module",
|
|
11
11
|
scripts: {
|
|
@@ -199,6 +199,7 @@ rmSync(outputDir, { recursive: true, force: true });
|
|
|
199
199
|
mkdirSync(\`\${outputDir}/runtime\`, { recursive: true });
|
|
200
200
|
|
|
201
201
|
cpSync("node_modules/@effindomv2/runtime/dist", \`\${outputDir}/runtime/dist\`, { recursive: true });
|
|
202
|
+
cpSync("node_modules/@effindomv2/runtime/dist/fonts", \`\${outputDir}/runtime/fonts\`, { recursive: true });
|
|
202
203
|
copyFileSync("index.html", \`\${outputDir}/index.html\`);
|
|
203
204
|
`;
|
|
204
205
|
const smokeMjs = `import { accessSync } from "node:fs";
|
|
@@ -209,6 +210,7 @@ const expectedFiles = [
|
|
|
209
210
|
"public/app.wasm",
|
|
210
211
|
"public/runtime/dist/bridge.js",
|
|
211
212
|
"public/runtime/dist/effindom.v2.manifest.json",
|
|
213
|
+
"public/runtime/fonts/NotoSans-Regular.ttf",
|
|
212
214
|
];
|
|
213
215
|
|
|
214
216
|
for (const filePath of expectedFiles) {
|