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",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"main": "lib/index.js",
|
"type": "module",
|
||||||
"module": "lib/index.mjs",
|
|
||||||
"types": "lib/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
"require": "./lib/index.js",
|
|
||||||
"import": "./lib/index.mjs"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.26",
|
||||||
"@rollup/plugin-wasm": "^6.1.3",
|
"@rollup/plugin-wasm": "^6.1.3",
|
||||||
"@semantic-release/changelog": "^6.0.3",
|
"@semantic-release/changelog": "^6.0.3",
|
||||||
"@semantic-release/git": "^10.0.1",
|
"@semantic-release/git": "^10.0.1",
|
||||||
"binconv": "^0.2.0",
|
"binconv": "^0.2.0",
|
||||||
"presetter": "*",
|
"presetter": "*",
|
||||||
"presetter-preset-esm": "^4.0.1",
|
|
||||||
"presetter-preset-rollup": "^4.0.1",
|
|
||||||
"semantic-release": "^21.0.5"
|
"semantic-release": "^21.0.5"
|
||||||
},
|
},
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
|
@ -26,8 +19,8 @@
|
||||||
"clean:rollup": "shx rm -rf dist"
|
"clean:rollup": "shx rm -rf dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkmodule": "^0.1.0-develop.4",
|
"@lumeweb/libkernel": "0.1.0-develop.11",
|
||||||
"@lumeweb/libweb": "0.2.0-develop.9",
|
"@lumeweb/libweb": "0.2.0-develop.21",
|
||||||
"binconv": "^0.2.0"
|
"binconv": "^0.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,15 +5,13 @@ import { KERNEL_DISTRO, KERNEL_VERSION } from "./version.js";
|
||||||
import {
|
import {
|
||||||
addContextToErr,
|
addContextToErr,
|
||||||
bufToB64,
|
bufToB64,
|
||||||
deriveChildKey,
|
|
||||||
downloadObject,
|
|
||||||
encodeU64,
|
encodeU64,
|
||||||
Err,
|
Err,
|
||||||
objAsString,
|
objAsString,
|
||||||
Portal,
|
|
||||||
sha512,
|
sha512,
|
||||||
} from "@lumeweb/libweb";
|
} from "@lumeweb/libkernel";
|
||||||
import { moduleQuery, presentKeyData } from "@lumeweb/libkmodule";
|
import { deriveChildKey, downloadObject } from "@lumeweb/libweb";
|
||||||
|
import type { moduleQuery, presentKeyData } from "@lumeweb/libkernel/module";
|
||||||
import { readableStreamToUint8Array } from "binconv";
|
import { readableStreamToUint8Array } from "binconv";
|
||||||
|
|
||||||
// WorkerLaunchFn is the type signature of the function that launches the
|
// WorkerLaunchFn is the type signature of the function that launches the
|
||||||
|
|
Loading…
Reference in New Issue