diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | examples/react/src/App.jsx | 3 | ||||
-rw-r--r-- | packages/bun-cli-darwin-x64/package.json | 2 | ||||
-rw-r--r-- | packages/bun-cli/package.json | 2 |
5 files changed, 9 insertions, 7 deletions
@@ -270,7 +270,7 @@ BUN_LLD_FLAGS = $(OBJ_FILES) \ src/deps/libcrypto.a \ src/deps/picohttpparser.o \ $(LIBICONV_PATH) \ - $(CLANG_FLAGS) \ + $(CLANG_FLAGS) ifeq ($(OS_NAME), linux) BUN_LLD_FLAGS += -lstdc++fs \ @@ -334,7 +334,10 @@ sign-macos-x64: sign-macos-aarch64: gon sign.macos-aarch64.json -release: all-js build-obj jsc-bindings-mac bun-link-lld-release +cls: + @echo "\n\n---\n\n" + +release: all-js build-obj jsc-bindings-mac cls bun-link-lld-release jsc-check: @ls $(JSC_BASE_DIR) >/dev/null 2>&1 || (echo "Failed to access WebKit build. Please compile the WebKit submodule using the Dockerfile at $(shell pwd)/src/javascript/WebKit/Dockerfile and then copy from /output in the Docker container to $(JSC_BASE_DIR). You can override the directory via JSC_BASE_DIR. \n\n DOCKER_BUILDKIT=1 docker build -t bun-webkit $(shell pwd)/src/javascript/jsc/WebKit -f $(shell pwd)/src/javascript/jsc/WebKit/Dockerfile --progress=plain\n\n docker container create bun-webkit\n\n # Get the container ID\n docker container ls\n\n docker cp DOCKER_CONTAINER_ID_YOU_JUST_FOUND:/output $(JSC_BASE_DIR)" && exit 1) @@ -417,7 +417,7 @@ If you're interested in adding a framework integration, please reach out. There' `bun create` is a fast way to create a new project from a template. -At the time of writing, `bun create react app` runs ~14x faster on my local computer than `yarn create react-app app`. `bun create` currently does no caching (though your npm client does) +At the time of writing, `bun create react app` runs ~11x faster on my local computer than `yarn create react-app app`. `bun create` currently does no caching (though your npm client does) #### Usage diff --git a/examples/react/src/App.jsx b/examples/react/src/App.jsx index a675d389d..f6cafff4c 100644 --- a/examples/react/src/App.jsx +++ b/examples/react/src/App.jsx @@ -3,12 +3,11 @@ import * as React from "react"; import "./App.css"; function App() { - const ms = Date.now() - parseInt(window.location.search.substring(1), 10); return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> - <h3>Loaded in {ms}ms.</h3> + <h3>Welcome to React!</h3> <a className="App-link" href="https://reactjs.org" diff --git a/packages/bun-cli-darwin-x64/package.json b/packages/bun-cli-darwin-x64/package.json index 2b74a6832..cd2458201 100644 --- a/packages/bun-cli-darwin-x64/package.json +++ b/packages/bun-cli-darwin-x64/package.json @@ -4,5 +4,5 @@ }, "name": "bun-cli-darwin-x64", "repository": "https://github.com/jarred-sumner/bun", - "version": "0.0.34" + "version": "0.0.35" } diff --git a/packages/bun-cli/package.json b/packages/bun-cli/package.json index 6541c95fe..8f08568ee 100644 --- a/packages/bun-cli/package.json +++ b/packages/bun-cli/package.json @@ -9,5 +9,5 @@ "postinstall": "node postinstall.js", "prepublishOnly": "rm -rf ./bin/bun; chmod +x ./reset-bin.js; cp ./reset-bin.js ./bin/bun" }, - "version": "0.0.34" + "version": "0.0.35" } |