refactor: move to new sdks and build system
This commit is contained in:
parent
2c2fe874be
commit
bb6bf3128e
File diff suppressed because it is too large
Load Diff
75
package.json
75
package.json
|
@ -4,67 +4,30 @@
|
||||||
"description": "Lume Web is your decentralized gateway into the web3 internet, the web owned and controlled by its users",
|
"description": "Lume Web is your decentralized gateway into the web3 internet, the web owned and controlled by its users",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"readme": "ERROR: No README data found!",
|
||||||
|
"_id": "@lumeweb/extension@0.3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deps": "npm install libskynet@latest",
|
"prepare": "presetter bootstrap",
|
||||||
"prettier": "prettier --write .",
|
"build": "run build",
|
||||||
"eslint": "eslint src --fix",
|
"semantic-release": "semantic-release"
|
||||||
"lint": "npm run deps && npm run prettier && npm run eslint",
|
|
||||||
"compile": "node build.js",
|
|
||||||
"build": "rimraf node_modules/@lumeweb/kernel-dns-client/node_modules node_modules/@lumeweb/kernel-dht-client/node_modules node_modules/@lumeweb/kernel-ipfs-client/node_modules && npm run compile && cpy \"assets/*\" dist"
|
|
||||||
},
|
},
|
||||||
"author": "David Vorick",
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@helia/unixfs": "^1.2.1",
|
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.43",
|
||||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
||||||
"@types/ejs": "^3.1.2",
|
"autoprefixer": "^10.4.14",
|
||||||
"@types/read": "^0.0.29",
|
"sass": "^1.63.6",
|
||||||
"@types/webextension-polyfill": "^0.9.2",
|
"tailwindcss": "^3.3.3"
|
||||||
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
||||||
"browserify-fs": "^1.0.0",
|
|
||||||
"cpy-cli": "^4.2.0",
|
|
||||||
"esbuild": "^0.14.54",
|
|
||||||
"eslint": "^8.38.0",
|
|
||||||
"events": "^3.3.0",
|
|
||||||
"path-browserify": "^1.0.1",
|
|
||||||
"prettier": "^2.8.7",
|
|
||||||
"process": "^0.11.10",
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"rollup": "^2.79.1",
|
|
||||||
"stream": "^0.0.2",
|
|
||||||
"typescript": "^4.9.5",
|
|
||||||
"util": "^0.12.5",
|
|
||||||
"webextension-polyfill": "^0.9.0"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/kernel-dns-client": "git+https://git.lumeweb.com/LumeWeb/kernel-dns-client.git",
|
"@helia/unixfs": "^1.4.0",
|
||||||
"@lumeweb/kernel-ipfs-client": "git+https://git.lumeweb.com/LumeWeb/kernel-ipfs-client.git",
|
"@lumeweb/kernel-ipfs-client": "^0.0.2-develop.1",
|
||||||
"@lumeweb/kernel-peer-discovery-client": "git+https://git.lumeweb.com/LumeWeb/kernel-peer-discovery-client.git",
|
"@lumeweb/libkernel": "^0.1.0-develop.16",
|
||||||
"@lumeweb/kernel-swarm-client": "git+https://git.lumeweb.com/LumeWeb/kernel-swarm-client.git",
|
"@lumeweb/libresolver": "^0.1.0-develop.1",
|
||||||
"@lumeweb/libresolver": "git+https://git.lumeweb.com/LumeWeb/libresolver.git",
|
"@lumeweb/libweb": "^0.2.0-develop.22",
|
||||||
"@lumeweb/tld-enum": "git+https://git.lumeweb.com/LumeWeb/list-of-top-level-domains.git",
|
"@lumeweb/tld-enum": "^0.1.0-develop.1",
|
||||||
"@lumeweb/webextension-polyfill": "git+https://git.lumeweb.com/LumeWeb/webextension-polyfill.git",
|
"@scure/bip39": "^1.2.1",
|
||||||
"@peculiar/webcrypto": "^1.4.3",
|
"file-type": "^18.5.0",
|
||||||
"@siaweb/libweb": "git+https://git.lumeweb.com/LumeWeb/libsiaweb.git",
|
"is-ipfs": "^8.0.1",
|
||||||
"buffer": "^6.0.3",
|
|
||||||
"file-type": "^18.2.1",
|
|
||||||
"is-ipfs": "^6.0.2",
|
|
||||||
"libkernel": "github:LumeWeb/libextension",
|
|
||||||
"libskynet": "^0.0.62",
|
|
||||||
"multiformats": "^11.0.2",
|
|
||||||
"node-cache": "^5.1.2",
|
|
||||||
"p-defer": "^4.0.0"
|
"p-defer": "^4.0.0"
|
||||||
},
|
|
||||||
"browser": {
|
|
||||||
"crypto": "crypto-browserify",
|
|
||||||
"fs": "browserify-fs",
|
|
||||||
"libkmodule": false,
|
|
||||||
"path": "path-browserify",
|
|
||||||
"node:buffer": "buffer"
|
|
||||||
},
|
|
||||||
"pnpm": {
|
|
||||||
"overrides": {
|
|
||||||
"libkernel": "github:LumeWeb/libextension"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
export const process = require("process");
|
|
||||||
export const Buffer = require("buffer").Buffer;
|
|
|
@ -2,7 +2,7 @@ import tldEnum from "@lumeweb/tld-enum";
|
||||||
import WebEngine from "../webEngine.js";
|
import WebEngine from "../webEngine.js";
|
||||||
import InternalProvider from "../contentProviders/internalProvider.js";
|
import InternalProvider from "../contentProviders/internalProvider.js";
|
||||||
import ServerProvider from "../contentProviders/serverProvider.js";
|
import ServerProvider from "../contentProviders/serverProvider.js";
|
||||||
import { init, kernelLoaded } from "libkernel";
|
import { init } from "@lumeweb/libkernel/kernel";
|
||||||
import IpfsProvider from "../contentProviders/ipfsProvider.js";
|
import IpfsProvider from "../contentProviders/ipfsProvider.js";
|
||||||
import {
|
import {
|
||||||
addQuery,
|
addQuery,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { DataFn, KernelAuthStatus } from "libskynet";
|
import type { DataFn, KernelAuthStatus } from "@lumeweb/libweb";
|
||||||
import defer, { DeferredPromise } from "p-defer";
|
import defer, { DeferredPromise } from "p-defer";
|
||||||
|
|
||||||
export let queriesNonce = 1;
|
export let queriesNonce = 1;
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "esnext",
|
|
||||||
"target": "esnext",
|
|
||||||
"declaration": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"outDir": "./build",
|
|
||||||
"strict": true,
|
|
||||||
"allowSyntheticDefaultImports": true
|
|
||||||
},
|
|
||||||
"include": ["src"],
|
|
||||||
"exclude": ["node_modules", "**/__tests__/*"]
|
|
||||||
}
|
|
Reference in New Issue