Compare commits
4 Commits
v0.0.2-dev
...
v0.0.2-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | b7f7235fe0 | |
Derrick Hammer | 8008bfe98d | |
Derrick Hammer | 10170bd673 | |
Derrick Hammer | cb3421b662 |
|
@ -3,7 +3,12 @@
|
|||
"@lumeweb/presetter-kernel-module-preset"
|
||||
],
|
||||
"config": {
|
||||
"official": true,
|
||||
"browser": true
|
||||
"vite": {
|
||||
"resolve": {
|
||||
"alias": {
|
||||
"sodium-universal": "@screamingvoid/sodium-universal"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* need to patch our own sdk for bundling so we don't need to put the hack in directly ([10170bd](https://git.lumeweb.com/LumeWeb/kernel-swarm/commit/10170bd673ccd4070c2ab9e0b444cba81080311d))
|
||||
|
||||
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-05)
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -10,14 +10,14 @@
|
|||
},
|
||||
"scripts": {
|
||||
"prepare": "presetter bootstrap",
|
||||
"build": "shx touch nop.js; run build",
|
||||
"build": "run build",
|
||||
"semantic-release": "semantic-release",
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@lumeweb/hyperswarm-web": "0.0.2-develop.7",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.13",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.14",
|
||||
"@lumeweb/rpc": "0.0.2-develop.1",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@peculiar/webcrypto": "^1.4.3",
|
||||
|
@ -31,13 +31,13 @@
|
|||
"protomux": "^3.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.29",
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.38",
|
||||
"@rollup/plugin-alias": "^5.0.0",
|
||||
"@types/b4a": "^1.6.0",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"patch-package": "^7.0.0",
|
||||
"presetter": "*"
|
||||
},
|
||||
"version": "0.0.2-develop.5",
|
||||
"version": "0.0.2-develop.6",
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/node_modules/@lumeweb/libportal/lib/wasm.mjs b/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
index 32726cf..6fdc525 100644
|
||||
--- a/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
+++ b/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
@@ -6,7 +6,7 @@ export default async function (imports) {
|
||||
const wasm = await fs.readFile(wasmPath);
|
||||
return (await WebAssembly.instantiate(wasm, imports)).instance;
|
||||
}
|
||||
- let wasm = await import("./wasm/bao.wasm");
|
||||
+ let wasm = await import("./wasm/bao.wasm?init");
|
||||
wasm = wasm.default || wasm;
|
||||
return (await wasm(imports)).instance;
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
// @ts-nocheck
|
||||
import * as import0 from "@rollup/plugin-json";
|
||||
import * as import1 from "@rollup/plugin-node-resolve";
|
||||
import * as import2 from "@rollup/plugin-commonjs";
|
||||
import * as import3 from "@rollup/plugin-graphql";
|
||||
import * as import4 from "@rollup/plugin-image";
|
||||
import * as import5 from "@rollup/plugin-yaml";
|
||||
import * as import6 from "rollup-plugin-postcss";
|
||||
import * as import7 from "rollup-plugin-visualizer";
|
||||
import * as import8 from "@rollup/plugin-wasm";
|
||||
import * as import9 from "@rollup/plugin-alias";
|
||||
|
||||
const customResolver = import1.default({
|
||||
extensions: [".js"],
|
||||
browser: true,
|
||||
});
|
||||
export default {
|
||||
input: "build/index.js",
|
||||
output: [
|
||||
{
|
||||
file: "lib/index.js",
|
||||
format: "cjs",
|
||||
sourcemap: false,
|
||||
inlineDynamicImports: true,
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
import0.default(...([] as const)),
|
||||
import9.default({
|
||||
entries: {
|
||||
"crypto": "crypto-browserify",
|
||||
"sodium-universal": "@screamingvoid/sodium-universal",
|
||||
},
|
||||
customResolver,
|
||||
}),
|
||||
import9.default({
|
||||
entries: {
|
||||
"node-fetch": "./nop.js",
|
||||
"stream": "./nop.js",
|
||||
"formdata-polyfill/formdata-to-blob.js": "./nop.js",
|
||||
},
|
||||
}),
|
||||
import1.default(
|
||||
...([
|
||||
{
|
||||
browser: true,
|
||||
preferBuiltins: false,
|
||||
dedupe: [
|
||||
"@lumeweb/libkernel",
|
||||
"@lumeweb/libweb",
|
||||
"@lumeweb/libportal",
|
||||
],
|
||||
},
|
||||
] as const),
|
||||
),
|
||||
import2.default(
|
||||
...([{ extensions: [".js", ".jsx", ".ts", ".tsx"] }] as const),
|
||||
),
|
||||
import3.default(...([] as const)),
|
||||
import4.default(...([] as const)),
|
||||
import5.default(...([] as const)),
|
||||
import6.default(...([{ inject: { insertAt: "top" } }] as const)),
|
||||
import7.visualizer(...([] as const)),
|
||||
import8.default(...([{ targetEnv: "auto-inline" }] as const)),
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue