Compare commits

..

No commits in common. "v0.1.0-develop.5" and "v0.1.0-develop.4" have entirely different histories.

4 changed files with 12 additions and 25 deletions

View File

@ -1,5 +1,3 @@
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-10-09)
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-10-09)

15
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.4",
"dependencies": {
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
"@lumeweb/libkernel": "0.1.0-develop.65",
@ -62,7 +62,6 @@
"uniqid": "^5.4.0",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vite-plugin-no-bundle": "^3.0.0",
"vite-plugin-node-polyfills": "^0.15.0",
"vite-plugin-optimizer": "^1.4.2",
"vite-plugin-scope-tailwind": "^1.1.3",
@ -28205,16 +28204,6 @@
}
}
},
"node_modules/vite-plugin-no-bundle": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/vite-plugin-no-bundle/-/vite-plugin-no-bundle-3.0.0.tgz",
"integrity": "sha512-B8O4ZmWHbA8MWhsCqjcxwCLW5Kk2Q1Ax7JhZBBB/ort+DNONkBA2HND0d9lQ5d0Q+JSOMYAQDDQ1qAS1nmThyA==",
"dev": true,
"dependencies": {
"fast-glob": "^3.2.12",
"micromatch": "^4.0.5"
}
},
"node_modules/vite-plugin-node-polyfills": {
"version": "0.15.0",
"resolved": "https://registry.npmjs.org/vite-plugin-node-polyfills/-/vite-plugin-node-polyfills-0.15.0.tgz",

View File

@ -1,8 +1,9 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.4",
"type": "module",
"main": "lib/index.js",
"main": "lib/lib.umd.js",
"module": "lib/lib.es.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
@ -73,7 +74,6 @@
"uniqid": "^5.4.0",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vite-plugin-no-bundle": "^3.0.0",
"vite-plugin-node-polyfills": "^0.15.0",
"vite-plugin-optimizer": "^1.4.2",
"vite-plugin-scope-tailwind": "^1.1.3",

View File

@ -4,8 +4,8 @@ import scopeTailwind from "vite-plugin-scope-tailwind";
import { resolve } from "path";
import svgr from "vite-plugin-svgr";
import dts from "vite-plugin-dts";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import optimizer from "vite-plugin-optimizer";
import noBundlePlugin from "vite-plugin-no-bundle";
// https://vitejs.dev/config/
export default defineConfig({
@ -20,7 +20,11 @@ export default defineConfig({
"node-fetch":
"const e = undefined; export default e;export {e as Response, e as FormData, e as Blob};",
}),
noBundlePlugin(),
nodePolyfills({
exclude: ["fs"],
globals: { Buffer: true, global: true, process: true },
}),
// css({ output: 'styles/globals.css' })
],
resolve: {
dedupe: ["@lumeweb/libportal", "@lumeweb/libweb", "@lumeweb/libkernel"],
@ -41,13 +45,9 @@ export default defineConfig({
lib: {
entry: resolve(__dirname, "src/index.ts"),
name: "sdk",
fileName: "index",
formats: ["es"],
fileName: (format) => `lib.${format}.js`,
},
rollupOptions: {
output: {
inlineDynamicImports: false,
},
external: ["react", "react-dom"],
},
},