Compare commits
10 Commits
v0.0.2-dev
...
v0.0.2-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 53dfa81a9e | |
Derrick Hammer | 72bfcfa13d | |
Derrick Hammer | 922d837713 | |
Derrick Hammer | 8fe25e9cc1 | |
Derrick Hammer | 2df8ee620e | |
Derrick Hammer | c97ce30c2e | |
Derrick Hammer | 4669a13c49 | |
Derrick Hammer | 0e310e4746 | |
Derrick Hammer | 4b36dcf891 | |
Derrick Hammer | bf865c2c42 |
|
@ -3,7 +3,13 @@
|
|||
"@lumeweb/presetter-kernel-module-preset"
|
||||
],
|
||||
"config": {
|
||||
"official": true,
|
||||
"browser": true
|
||||
"vite": {
|
||||
"resolve": {
|
||||
"alias": {
|
||||
"tls": "./build/net.js",
|
||||
"net": "./build/net.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-discovery-irc/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-12)
|
||||
|
||||
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-discovery-irc/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-04)
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-discovery-irc",
|
||||
"version": "0.0.2-develop.2",
|
||||
"version": "0.0.2-develop.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"prepare": "presetter bootstrap",
|
||||
|
@ -8,16 +8,15 @@
|
|||
"semantic-release": "semantic-release"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.30",
|
||||
"@rollup/plugin-alias": "^5.0.0",
|
||||
"@rollup/plugin-inject": "^5.0.3",
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.43",
|
||||
"presetter": "*"
|
||||
},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"dependencies": {
|
||||
"@lumeweb/kernel-peer-discovery-client": "^0.0.2-develop.9",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.14",
|
||||
"@lumeweb/peer-discovery-irc": "^0.0.2-develop.3"
|
||||
"@lumeweb/chardet": "^1.6.1",
|
||||
"@lumeweb/kernel-peer-discovery-client": "^0.0.2-develop.10",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.16",
|
||||
"@lumeweb/peer-discovery-irc": "^0.0.2-develop.6"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,63 +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-inject";
|
||||
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: [
|
||||
{
|
||||
find: "net",
|
||||
replacement: "./build/net.js",
|
||||
},
|
||||
{
|
||||
find: "tls",
|
||||
replacement: "./build/net.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),
|
||||
),
|
||||
import10.default({
|
||||
Buffer: ["buffer", "Buffer"],
|
||||
}),
|
||||
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)),
|
||||
],
|
||||
};
|
|
@ -0,0 +1,34 @@
|
|||
import { defineConfig } from "vite";
|
||||
import optimizer from "vite-plugin-optimizer";
|
||||
import inject from "@rollup/plugin-inject";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
outDir: "lib",
|
||||
lib: {
|
||||
entry: "build/index.js",
|
||||
name: "main",
|
||||
formats: ["cjs"],
|
||||
fileName: "index",
|
||||
},
|
||||
minify: false,
|
||||
rollupOptions: { output: { inlineDynamicImports: true } },
|
||||
},
|
||||
resolve: {
|
||||
dedupe: ["@lumeweb/libportal", "@lumeweb/libweb", "@lumeweb/libkernel"],
|
||||
alias: {
|
||||
tls: "./build/net.js",
|
||||
net: "./build/net.js",
|
||||
chardet: "@lumeweb/chardet",
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
optimizer({
|
||||
"node-fetch":
|
||||
"const e = undefined; export default e;export {e as Response, e as FormData, e as Blob};",
|
||||
}),
|
||||
inject({
|
||||
Buffer: ["buffer", "Buffer"],
|
||||
}),
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue