Compare commits

...

3 Commits

5 changed files with 1251 additions and 1716 deletions

View File

@ -3,7 +3,10 @@
"@lumeweb/presetter-kernel-module-preset" "@lumeweb/presetter-kernel-module-preset"
], ],
"config": { "config": {
"official": true, "vite": {
"browser": true "optimize": {
"@achingbrain/nat-port-mapper": "export default {}; export const upnpNat = {};"
}
}
} }
} }

View File

@ -1 +1,3 @@
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-ipfs/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-08)
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-ipfs/compare/v0.0.1...v0.0.2-develop.1) (2023-07-06) ## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-ipfs/compare/v0.0.1...v0.0.2-develop.1) (2023-07-06)

2874
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/kernel-ipfs", "name": "@lumeweb/kernel-ipfs",
"version": "0.0.2-develop.1", "version": "0.0.2-develop.2",
"type": "module", "type": "module",
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"repository": { "repository": {
@ -22,10 +22,10 @@
"@libp2p/delegated-content-routing": "^4.0.6", "@libp2p/delegated-content-routing": "^4.0.6",
"@libp2p/delegated-peer-routing": "^4.0.9", "@libp2p/delegated-peer-routing": "^4.0.9",
"@libp2p/peer-id": "^2.0.4", "@libp2p/peer-id": "^2.0.4",
"@lumeweb/kernel-swarm-client": "^0.0.2-develop.6", "@lumeweb/kernel-swarm-client": "^0.0.2-develop.8",
"@lumeweb/libhyperproxy": "^0.0.2-develop.1", "@lumeweb/libhyperproxy": "^0.0.2-develop.1",
"@lumeweb/libkernel": "0.1.0-develop.14", "@lumeweb/libkernel": "0.1.0-develop.15",
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.30", "@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.39",
"blockstore-idb": "^1.1.1", "blockstore-idb": "^1.1.1",
"datastore-idb": "^2.1.2", "datastore-idb": "^2.1.2",
"helia": "^1.3.5", "helia": "^1.3.5",

View File

@ -1,76 +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";
import * as import10 from "rollup-plugin-ignore-import";
export default {
input: "build/index.js",
output: [
{
file: "lib/index.js",
format: "cjs",
sourcemap: true,
inlineDynamicImports: true,
},
],
plugins: [
import0.default(...([] as const)),
import10.default({
include: [
"**/multiSocket/tcpSocket.js",
"**/node-fetch/**",
"**/@libp2p/tcp/dist/src/listener.js",
],
exclude: [],
}),
import10.default({
include: ["**/@achingbrain/nat-port-mapper/**"],
exclude: [],
body: "export default {}; export const upnpNat = {};",
}),
import10.default({
include: ["**/@libp2p/tcp/dist/src/listener.js"],
exclude: [],
body: "export default {}; export const TCPListener = {};",
}),
import9.default({
entries: {
"node-fetch": "./nop.js",
"stream": "./nop.js",
"path": "path-browserify",
"timers": "timers-browserify",
"os": "os-browserify",
"net": "./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)),
],
};