refactor: update to new libraries/tooling
This commit is contained in:
parent
b287cc3aff
commit
7d6a7bda47
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
"preset": [
|
||||
"presetter-preset-rollup",
|
||||
"presetter-preset-esm"
|
||||
],
|
||||
"config": {
|
||||
"tsconfig": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"ES2021",
|
||||
"dom"
|
||||
]
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": false
|
||||
},
|
||||
"rollup": {
|
||||
"output": [
|
||||
{
|
||||
"file": "dist/index.js",
|
||||
"format": "cjs",
|
||||
"sourcemap": "inline",
|
||||
"inlineDynamicImports": true
|
||||
}
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"@apply @rollup/plugin-node-resolve[default]",
|
||||
{
|
||||
"browser": true
|
||||
}
|
||||
],
|
||||
[
|
||||
"@apply @rollup/plugin-wasm[default]",
|
||||
{
|
||||
"targetEnv": "auto-inline"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@apply @rollup/plugin-node-resolve[default]",
|
||||
{
|
||||
"preferBuiltins": false
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"variable": {
|
||||
"source": "src"
|
||||
}
|
||||
}
|
21
.releaserc
21
.releaserc
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
[
|
||||
"@semantic-release/changelog"
|
||||
],
|
||||
"@semantic-release/git",
|
||||
],
|
||||
"branches": [
|
||||
"master",
|
||||
{
|
||||
name: "develop",
|
||||
prerelease: true
|
||||
},
|
||||
{
|
||||
name: "develop-*",
|
||||
prerelease: true
|
||||
},
|
||||
]
|
||||
}
|
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
|
@ -1,21 +1,14 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel",
|
||||
"version": "0.1.0",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.mjs",
|
||||
"types": "lib/index.d.ts",
|
||||
"exports": {
|
||||
"require": "./lib/index.js",
|
||||
"import": "./lib/index.mjs"
|
||||
},
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.26",
|
||||
"@rollup/plugin-wasm": "^6.1.3",
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"binconv": "^0.2.0",
|
||||
"presetter": "*",
|
||||
"presetter-preset-esm": "^4.0.1",
|
||||
"presetter-preset-rollup": "^4.0.1",
|
||||
"semantic-release": "^21.0.5"
|
||||
},
|
||||
"readme": "ERROR: No README data found!",
|
||||
|
@ -26,8 +19,8 @@
|
|||
"clean:rollup": "shx rm -rf dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lumeweb/libkmodule": "^0.1.0-develop.4",
|
||||
"@lumeweb/libweb": "0.2.0-develop.9",
|
||||
"@lumeweb/libkernel": "0.1.0-develop.11",
|
||||
"@lumeweb/libweb": "0.2.0-develop.21",
|
||||
"binconv": "^0.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,15 +5,13 @@ import { KERNEL_DISTRO, KERNEL_VERSION } from "./version.js";
|
|||
import {
|
||||
addContextToErr,
|
||||
bufToB64,
|
||||
deriveChildKey,
|
||||
downloadObject,
|
||||
encodeU64,
|
||||
Err,
|
||||
objAsString,
|
||||
Portal,
|
||||
sha512,
|
||||
} from "@lumeweb/libweb";
|
||||
import { moduleQuery, presentKeyData } from "@lumeweb/libkmodule";
|
||||
} from "@lumeweb/libkernel";
|
||||
import { deriveChildKey, downloadObject } from "@lumeweb/libweb";
|
||||
import type { moduleQuery, presentKeyData } from "@lumeweb/libkernel/module";
|
||||
import { readableStreamToUint8Array } from "binconv";
|
||||
|
||||
// WorkerLaunchFn is the type signature of the function that launches the
|
||||
|
|
Loading…
Reference in New Issue