Skip to content

Commit

Permalink
Merge pull request #20 from fullstackedorg/v0.2.1
Browse files Browse the repository at this point in the history
v0.2.1 Fixed running Demo on fresh install
  • Loading branch information
cplepage authored Mar 6, 2024
2 parents ac06584 + 7b4c47c commit 0352777
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions editor/api/projects/mingle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const mingleWebview = async (entryPoint: string) => {
const mergedContent = `${await fs.readFile(jsDirectory + "/webview.js", { absolutePath: true, encoding: "utf8" })}
import("${resolvePath(entryPoint)}");`;

mkCacheDir();
await mkCacheDir();
const tmpFile = `${cacheDirectory}/tmp-${Date.now()}.js`;
await fs.writeFile(tmpFile, mergedContent);
return tmpFile;
Expand All @@ -28,7 +28,7 @@ export const mingleAPI = async (entryPoint?: string) => {
mergedContent += `globalThis.userMethods = require("${resolvePath(entryPoint)}")?.default ?? {};`;
}

mkCacheDir();
await mkCacheDir();
const tmpFile = `${cacheDirectory}/tmp-${Date.now()}.js`;
await fs.writeFile(tmpFile, mergedContent);
return tmpFile;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fullstacked-editor",
"version": "0.2.0",
"version": "0.2.1",
"scripts": {
"build": "esbuild build.ts --bundle --outfile=.cache/build.js --platform=node --format=esm --packages=external && node .cache/build.js",
"start": "npm run build && npm start -w platform/node",
Expand Down
2 changes: 1 addition & 1 deletion platform/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "FullStacked",
"author": "FullStacked Org.",
"description": "Build and run full-stack JS web apps anywhere.",
"version": "0.2.0",
"version": "0.2.1",
"main": ".cache/index.js",
"license": "MIT",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions platform/ios/xcode/FullStacked.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.2.1;
PRODUCT_BUNDLE_IDENTIFIER = editor.FullStacked;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -372,7 +372,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.2.1;
PRODUCT_BUNDLE_IDENTIFIER = editor.FullStacked;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
3 changes: 2 additions & 1 deletion platform/node/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
src
*.ts
*.tgz
!dist
!dist
!Demo.zip
2 changes: 1 addition & 1 deletion platform/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@fullstacked/editor",
"description": "Build and run full-stack JS web apps on any platform.",
"author": "FullStacked Org.",
"version": "0.2.0",
"version": "0.2.1",
"main": "index.js",
"bin": {
"fullstacked": "index.js"
Expand Down

0 comments on commit 0352777

Please sign in to comment.