diff --git a/README.md b/README.md index e438815b..e67b5222 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# Sygma Widget UI \ No newline at end of file +# Sygma Widget UI + +test signing commit \ No newline at end of file diff --git a/packages/wallet-manager/src/WalletManagerContext.ts b/packages/wallet-manager/src/WalletManagerContext.ts index 9fd0ad2c..61ec8791 100644 --- a/packages/wallet-manager/src/WalletManagerContext.ts +++ b/packages/wallet-manager/src/WalletManagerContext.ts @@ -65,6 +65,6 @@ export class WalletManagerContextProvider extends LitElement { } render() { - return html` `; + return html``; } } diff --git a/packages/widget/index.html b/packages/widget/index.html new file mode 100644 index 00000000..148cb903 --- /dev/null +++ b/packages/widget/index.html @@ -0,0 +1,17 @@ + + + + + + + + Vite + Lit-Element App + + + + + + + + + \ No newline at end of file diff --git a/packages/widget/package.json b/packages/widget/package.json index 22dc87ab..0b22242d 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -7,16 +7,26 @@ "license": "LGPL-3.0-or-later", "type": "module", "scripts": { - "build": "tsc --build --clean && tsc --build ./tsconfig.json", - "dev": "tsc --build --clean && tsc --build ./tsconfig.json --watch", + "start": "npm run dev", + "dev": "vite", + "build": "tsc && vite build", + "serve": "tsc && vite preview", "clean": "rm -rf ./build", "lint": "eslint 'src/**/*.ts'", "lint:fix": "yarn run lint --fix" }, "author": "Sygmaprotocol Product Team", "dependencies": { - "@buildwithsygma/sygma-sdk-core": "^2.2.0", - "ethers": "5.7.2", - "lit": "^2.8.0" + "@builtwithsygma/sygmaprotocol-wallet-manager": "1.0.0", + "@lit/context": "1.0.0", + "@lit/reactive-element": "2.0.0", + "ethers": "5.7", + "lit": "^3.0.0", + "lit-html": "^3.0.0" + }, + "devDependencies": { + "@types/node": "20.8.4", + "typescript": "5.2.2", + "vite": "4.4.11" } } diff --git a/packages/widget/src/ConnectDialog.ts b/packages/widget/src/ConnectDialog.ts new file mode 100644 index 00000000..4b92db9a --- /dev/null +++ b/packages/widget/src/ConnectDialog.ts @@ -0,0 +1,24 @@ +import { consume } from '@lit/context'; +import { LitElement, html } from 'lit'; +import { customElement, property } from 'lit/decorators.js'; +import { + WalletManagerContext, + WalletManagerController +} from 'packages/wallet-manager/build'; + + +@customElement('connect-dialog') +class ConnectDialog extends LitElement { + @consume({ context: WalletManagerContext, subscribe: true }) + @property({ attribute: false }) + walletManager?: WalletManagerController; + + render() { + if (this.walletManager?.account) { + return html` + + `; + + } + } +} diff --git a/packages/widget/src/connect.ts b/packages/widget/src/connect.ts new file mode 100644 index 00000000..7c43b9fa --- /dev/null +++ b/packages/widget/src/connect.ts @@ -0,0 +1,26 @@ +import { consume } from '@lit/context'; +import { LitElement, html } from 'lit'; +import { customElement, property } from 'lit/decorators.js'; +import { + WalletManagerContext, + WalletManagerController +} from 'packages/wallet-manager/build'; + +@customElement('connect-dialog') +class ConnectDialog extends LitElement { + @consume({ context: WalletManagerContext, subscribe: true }) + @property({ attribute: false }) + walletManager?: WalletManagerController; + + render() { + if (!this.walletManager || !this.walletManager.account) { + return html` `; + } else { + return html`

EVM Account: ${this.walletManager.evmWallet?.address}

`; + } + } +} + +export { ConnectDialog }; diff --git a/packages/widget/src/index.ts b/packages/widget/src/index.ts index e69de29b..b03533a9 100644 --- a/packages/widget/src/index.ts +++ b/packages/widget/src/index.ts @@ -0,0 +1 @@ +export { WidgetRoot } from './widget-root'; diff --git a/packages/widget/src/widget-root.ts b/packages/widget/src/widget-root.ts new file mode 100644 index 00000000..f9619a72 --- /dev/null +++ b/packages/widget/src/widget-root.ts @@ -0,0 +1,14 @@ +import { LitElement, html } from 'lit'; +import { customElement } from 'lit/decorators.js'; +import { WalletManagerContextProvider } from '@builtwithsygma/sygmaprotocol-wallet-manager' + +@customElement('widget-root') +class WidgetRoot extends LitElement { + render() { + return html` + + `; + } +} + +export { WidgetRoot }; diff --git a/packages/widget/vite.config.ts b/packages/widget/vite.config.ts new file mode 100644 index 00000000..27977be7 --- /dev/null +++ b/packages/widget/vite.config.ts @@ -0,0 +1,20 @@ +import { defineConfig } from 'vite'; +import { resolve } from 'path'; + +// https://vitejs.dev/config/ +export default defineConfig({ + base: '/', + build: { + outDir: 'build', + lib: { + entry: 'src/index.ts', + formats: ['es'] + }, + manifest: true, + rollupOptions: { + input: { + main: resolve(__dirname, 'index.html') + } + } + } +}); diff --git a/yarn.lock b/yarn.lock index fee0c24e..9ca88e6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -372,7 +372,7 @@ __metadata: languageName: unknown linkType: soft -"@builtwithsygma/sygmaprotocol-wallet-manager@workspace:packages/wallet-manager": +"@builtwithsygma/sygmaprotocol-wallet-manager@1.0.0, @builtwithsygma/sygmaprotocol-wallet-manager@workspace:packages/wallet-manager": version: 0.0.0-use.local resolution: "@builtwithsygma/sygmaprotocol-wallet-manager@workspace:packages/wallet-manager" dependencies: @@ -393,12 +393,25 @@ __metadata: version: 0.0.0-use.local resolution: "@builtwithsygma/sygmaprotocol-widget@workspace:packages/widget" dependencies: - "@buildwithsygma/sygma-sdk-core": ^2.2.0 - ethers: 5.7.2 - lit: ^2.8.0 + "@builtwithsygma/sygmaprotocol-wallet-manager": 1.0.0 + "@lit/context": 1.0.0 + "@lit/reactive-element": 2.0.0 + "@types/node": 20.8.4 + ethers: 5.7 + lit: ^3.0.0 + lit-html: ^3.0.0 + typescript: 5.2.2 + vite: 4.4.11 languageName: unknown linkType: soft +"@esbuild/android-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm64@npm:0.18.20" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/android-arm64@npm:0.19.4" @@ -406,6 +419,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm@npm:0.18.20" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/android-arm@npm:0.19.4" @@ -413,6 +433,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-x64@npm:0.18.20" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/android-x64@npm:0.19.4" @@ -420,6 +447,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-arm64@npm:0.18.20" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/darwin-arm64@npm:0.19.4" @@ -427,6 +461,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-x64@npm:0.18.20" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/darwin-x64@npm:0.19.4" @@ -434,6 +475,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-arm64@npm:0.18.20" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/freebsd-arm64@npm:0.19.4" @@ -441,6 +489,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-x64@npm:0.18.20" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/freebsd-x64@npm:0.19.4" @@ -448,6 +503,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm64@npm:0.18.20" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-arm64@npm:0.19.4" @@ -455,6 +517,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm@npm:0.18.20" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-arm@npm:0.19.4" @@ -462,6 +531,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ia32@npm:0.18.20" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-ia32@npm:0.19.4" @@ -469,6 +545,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-loong64@npm:0.18.20" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-loong64@npm:0.19.4" @@ -476,6 +559,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-mips64el@npm:0.18.20" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-mips64el@npm:0.19.4" @@ -483,6 +573,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ppc64@npm:0.18.20" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-ppc64@npm:0.19.4" @@ -490,6 +587,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-riscv64@npm:0.18.20" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-riscv64@npm:0.19.4" @@ -497,6 +601,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-s390x@npm:0.18.20" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-s390x@npm:0.19.4" @@ -504,6 +615,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-x64@npm:0.18.20" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/linux-x64@npm:0.19.4" @@ -511,6 +629,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/netbsd-x64@npm:0.18.20" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/netbsd-x64@npm:0.19.4" @@ -518,6 +643,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/openbsd-x64@npm:0.18.20" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/openbsd-x64@npm:0.19.4" @@ -525,6 +657,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/sunos-x64@npm:0.18.20" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/sunos-x64@npm:0.19.4" @@ -532,6 +671,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-arm64@npm:0.18.20" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/win32-arm64@npm:0.19.4" @@ -539,6 +685,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-ia32@npm:0.18.20" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/win32-ia32@npm:0.19.4" @@ -546,6 +699,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-x64@npm:0.18.20" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.19.4": version: 0.19.4 resolution: "@esbuild/win32-x64@npm:0.19.4" @@ -1536,7 +1696,7 @@ __metadata: languageName: node linkType: hard -"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0, @lit-labs/ssr-dom-shim@npm:^1.1.2-pre.0": +"@lit-labs/ssr-dom-shim@npm:^1.1.2-pre.0": version: 1.1.2 resolution: "@lit-labs/ssr-dom-shim@npm:1.1.2" checksum: e51c7c156317ac95cac8d534d8608ac2a9dda7441f14f73e9e66a995d277851a90315324fe74690d1169a66dce645ed9674a8f5a9a467d183156de1c87549b23 @@ -1553,16 +1713,7 @@ __metadata: languageName: node linkType: hard -"@lit/reactive-element@npm:^1.3.0, @lit/reactive-element@npm:^1.6.0": - version: 1.6.3 - resolution: "@lit/reactive-element@npm:1.6.3" - dependencies: - "@lit-labs/ssr-dom-shim": ^1.0.0 - checksum: 10f1d25e24e32feb21c4c6f9e11d062901241602e12c4ecf746b3138f87fed4d8394194645514d5c1bfd5f33f3fd56ee8ef41344e2cb4413c40fe4961ec9d419 - languageName: node - linkType: hard - -"@lit/reactive-element@npm:^1.6.2 || ^2.0.0, @lit/reactive-element@npm:^2.0.0": +"@lit/reactive-element@npm:2.0.0, @lit/reactive-element@npm:^1.6.2 || ^2.0.0, @lit/reactive-element@npm:^2.0.0": version: 2.0.0 resolution: "@lit/reactive-element@npm:2.0.0" dependencies: @@ -2727,7 +2878,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": +"@types/node@npm:*, @types/node@npm:20.8.4": version: 20.8.4 resolution: "@types/node@npm:20.8.4" dependencies: @@ -4621,6 +4772,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.18.10": + version: 0.18.20 + resolution: "esbuild@npm:0.18.20" + dependencies: + "@esbuild/android-arm": 0.18.20 + "@esbuild/android-arm64": 0.18.20 + "@esbuild/android-x64": 0.18.20 + "@esbuild/darwin-arm64": 0.18.20 + "@esbuild/darwin-x64": 0.18.20 + "@esbuild/freebsd-arm64": 0.18.20 + "@esbuild/freebsd-x64": 0.18.20 + "@esbuild/linux-arm": 0.18.20 + "@esbuild/linux-arm64": 0.18.20 + "@esbuild/linux-ia32": 0.18.20 + "@esbuild/linux-loong64": 0.18.20 + "@esbuild/linux-mips64el": 0.18.20 + "@esbuild/linux-ppc64": 0.18.20 + "@esbuild/linux-riscv64": 0.18.20 + "@esbuild/linux-s390x": 0.18.20 + "@esbuild/linux-x64": 0.18.20 + "@esbuild/netbsd-x64": 0.18.20 + "@esbuild/openbsd-x64": 0.18.20 + "@esbuild/sunos-x64": 0.18.20 + "@esbuild/win32-arm64": 0.18.20 + "@esbuild/win32-ia32": 0.18.20 + "@esbuild/win32-x64": 0.18.20 + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 473b1d92842f50a303cf948a11ebd5f69581cd254d599dd9d62f9989858e0533f64e83b723b5e1398a5b488c0f5fd088795b4235f65ecaf4f007d4b79f04bc88 + languageName: node + linkType: hard + "esbuild@npm:^0.19.3": version: 0.19.4 resolution: "esbuild@npm:0.19.4" @@ -5326,7 +5554,7 @@ __metadata: languageName: node linkType: hard -"ethers@npm:5.7.2": +"ethers@npm:5.7, ethers@npm:5.7.2": version: 5.7.2 resolution: "ethers@npm:5.7.2" dependencies: @@ -7090,17 +7318,6 @@ __metadata: languageName: node linkType: hard -"lit-element@npm:^3.3.0": - version: 3.3.3 - resolution: "lit-element@npm:3.3.3" - dependencies: - "@lit-labs/ssr-dom-shim": ^1.1.0 - "@lit/reactive-element": ^1.3.0 - lit-html: ^2.8.0 - checksum: f44c12fa3423a4e9ca5b84651410687e14646bb270ac258325e6905affac64a575f041f8440377e7ebaefa3910b6f0d6b8b1e902cb1aa5d0849b3fdfbf4fb3b6 - languageName: node - linkType: hard - "lit-element@npm:^4.0.0": version: 4.0.0 resolution: "lit-element@npm:4.0.0" @@ -7112,15 +7329,6 @@ __metadata: languageName: node linkType: hard -"lit-html@npm:^2.8.0": - version: 2.8.0 - resolution: "lit-html@npm:2.8.0" - dependencies: - "@types/trusted-types": ^2.0.2 - checksum: 90057dee050803823ac884c1355b0213ab8c05fbe2ec63943c694b61aade5d36272068f3925f45a312835e504f9c9784738ef797009f0a756a750351eafb52d5 - languageName: node - linkType: hard - "lit-html@npm:^3.0.0": version: 3.0.0 resolution: "lit-html@npm:3.0.0" @@ -7130,7 +7338,7 @@ __metadata: languageName: node linkType: hard -"lit@npm:3.0.0, lit@npm:^2.7.5 || ^3.0.0": +"lit@npm:3.0.0, lit@npm:^2.7.5 || ^3.0.0, lit@npm:^3.0.0": version: 3.0.0 resolution: "lit@npm:3.0.0" dependencies: @@ -7141,17 +7349,6 @@ __metadata: languageName: node linkType: hard -"lit@npm:^2.8.0": - version: 2.8.0 - resolution: "lit@npm:2.8.0" - dependencies: - "@lit/reactive-element": ^1.6.0 - lit-element: ^3.3.0 - lit-html: ^2.8.0 - checksum: bf33c26b1937ee204aed1adbfa4b3d43a284e85aad8ea9763c7865365917426eded4e5888158b4136095ea42054812561fe272862b61775f1198fad3588b071f - languageName: node - linkType: hard - "local-pkg@npm:^0.4.3": version: 0.4.3 resolution: "local-pkg@npm:0.4.3" @@ -8291,7 +8488,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.31": +"postcss@npm:^8.4.27, postcss@npm:^8.4.31": version: 8.4.31 resolution: "postcss@npm:8.4.31" dependencies: @@ -8741,7 +8938,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.29.2": +"rollup@npm:^3.27.1, rollup@npm:^3.29.2": version: 3.29.4 resolution: "rollup@npm:3.29.4" dependencies: @@ -9691,7 +9888,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.2.2": +"typescript@npm:5.2.2, typescript@npm:^5.2.2": version: 5.2.2 resolution: "typescript@npm:5.2.2" bin: @@ -9701,7 +9898,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^5.2.2#~builtin": +"typescript@patch:typescript@5.2.2#~builtin, typescript@patch:typescript@^5.2.2#~builtin": version: 5.2.2 resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=f3b441" bin: @@ -9933,6 +10130,46 @@ __metadata: languageName: node linkType: hard +"vite@npm:4.4.11": + version: 4.4.11 + resolution: "vite@npm:4.4.11" + dependencies: + esbuild: ^0.18.10 + fsevents: ~2.3.2 + postcss: ^8.4.27 + rollup: ^3.27.1 + peerDependencies: + "@types/node": ">= 14" + less: "*" + lightningcss: ^1.21.0 + sass: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 550af0f67b600f603d0c129b74ac18dfa674d19e2b7dba28f4214d5edeba217a91fb7b8f4f47037aa0297f142d22360780a0a4533b27dbaacd2894030f61e5f4 + languageName: node + linkType: hard + "vite@npm:^3.0.0 || ^4.0.0 || ^5.0.0-0, vite@npm:^3.1.0 || ^4.0.0 || ^5.0.0-0": version: 5.0.0-beta.6 resolution: "vite@npm:5.0.0-beta.6"