The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.
Rust electron-alternativegame-engineglobal-illuminationgraphicsjavascript-runtimemetalpath-tracingray-tracingreal-time-renderingrenderingrustthreejstypescriptvoxelvulkanwebgpuwgpu
npm packages 0.1.1: the first release published by the npm workflow (#48)
Evan (Yifeng) Wang83725dbad6ab
diff --git a/package-lock.json b/package-lock.jsonindex 9cd2f85..7907960 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "threert",- "version": "0.1.0",+ "version": "0.1.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "threert",- "version": "0.1.0",+ "version": "0.1.1","license": "MIT","workspaces": ["packages/*"diff --git a/package.json b/package.jsonindex 24e9e4c..e1d5007 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "threert",- "version": "0.1.0",+ "version": "0.1.1","private": true,"license": "MIT","type": "module",diff --git a/tools/npm-pack.ts b/tools/npm-pack.tsindex 3d43632..2536b8b 100644--- a/tools/npm-pack.ts+++ b/tools/npm-pack.ts@@ -1,6 +1,7 @@// The npm packages: @threert/scene, @threert/gameplay and @threert/voxel as they are published, in out/npm/<name>/.// node tools/npm-pack.ts build and check all three-// node tools/npm-pack.ts --publish [--tag t] then publish the ones whose version npm does not have yet+// node tools/npm-pack.ts --publish [--tag t] then publish the ones whose version npm does not have yet (the npm+// workflow does; from a terminal npm asks for the account's second factor)// node tools/npm-pack.ts --version x.y.z another version than the root package.json's (a trial; not written back)//// In this repository the packages are their sources: `exports` names src/index.ts, and the tools, the tests and the@@ -163,7 +164,7 @@ if (args.includes("--publish")) {let published = "";try { published = run("npm", ["view", `${name}@${version}`, "version"], dir, "pipe").trim(); } catch { /* E404: not there yet */ }if (published === version) { console.log(`${name}@${version}: already on npm`); continue; }- run("npm", ["publish", "--access", "public", "--tag", tag], dir);+ step(`${name}: npm publish`, "npm", ["publish", "--access", "public", "--tag", tag], dir);console.log(`${name}@${version}: published (${tag})`);}} else console.log(`out/npm/{${NAMES.join(",")}}: built and checked; --publish sends them`);