#186 init electron ci build

This commit is contained in:
neil 2023-02-02 11:01:12 +08:00
parent bc0e317cf2
commit bf48a16a31
14 changed files with 99 additions and 241 deletions

View file

@ -125,7 +125,8 @@ jobs:
key: ${{matrix.platform.name}}-pnpm-cargo
path: |
./pnpm
- name: build desktop installer
run: tea -ES xc build
build_tauri:
needs: changes
if: false

1
.npmrc Normal file
View file

@ -0,0 +1 @@
node-linker=hoisted

View file

@ -26,18 +26,24 @@ pnpm install
### build
```sh
pnpm install
pnpm build:gui
pnpm build:desktop
```
### dev
```sh
pnpm install
pnpm dev
```
## Development
To develop the GUI within Tauri Webview
To develop the GUI within electron view
```
$ pnpm dev:gui
$ pnpm dev:desktop
```
To develop the GUI within your local browser at localhost:8080
```
$ pnpm web:gui
$ pnpm web:desktop
```
# Creating a release

View file

@ -6,4 +6,5 @@ node_modules
.env
.env.*
!.env.example
coverage/*
coverage/*
dist/*

View file

@ -1,5 +1,7 @@
{
"asar": false,
"appId": "xyz.tea.gui",
"productName": "gui",
"asar": true,
"directories": { "output": "dist" },
"files": ["src/electron.cjs", { "from": "build", "to": "" }]
}

View file

@ -2,12 +2,15 @@
"name": "@tea/desktop",
"version": "0.0.0",
"private": true,
"description": "tea gui app",
"author": "tea.xyz",
"main": "src/electron.cjs",
"scripts": {
"package": "pnpm build && electron-builder --config electron-builder.config.json",
"dev:package": "pnpm build && electron-builder --config electron-builder.config.json --dir",
"electron": "concurrently --kill-others \"vite dev\" \"electron src/electron.cjs\"",
"dev": "vite dev --port 8080",
"build": "vite build && cp build/app.html build/index.html",
"build": "vite build",
"preview": "vite preview",
"unit:test": "vitest",
"coverage": "vitest run --coverage",
@ -18,20 +21,12 @@
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@sveltejs/adapter-node": "^1.0.0-next.101",
"@sveltejs/adapter-static": "^1.0.0-next.48",
"@sveltejs/kit": "^1.0.0-next.562",
"concurrently": "^6.5.1",
"electron": "^22.1.0",
"electron-builder": "^23.6.0",
"electron-reloader": "^1.2.3",
"sass": "^1.56.1",
"svelte": "^3.55.1",
"svelte-preprocess": "^5.0.1",
"vite": "^4.0.4",
"@playwright/experimental-ct-svelte": "^1.29.2",
"@playwright/test": "1.25.0",
"@sveltejs/adapter-auto": "^1.0.0",
"@sveltejs/adapter-node": "^1.0.0-next.101",
"@sveltejs/adapter-static": "^1.0.0-next.48",
"@sveltejs/kit": "^1.0.0-next.562",
"@tea/ui": "workspace:*",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",
@ -39,6 +34,10 @@
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"autoprefixer": "^10.4.13",
"concurrently": "^6.5.1",
"electron": "^22.1.0",
"electron-builder": "^23.6.0",
"electron-reloader": "^1.2.3",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^4.0.0",
@ -47,23 +46,27 @@
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"prettier-plugin-tailwindcss": "^0.2.0",
"svelte": "^3.55.1",
"svelte-check": "^2.8.0",
"svelte-preprocess": "^5.0.1",
"svelte2tsx": "^0.5.20",
"tailwindcss": "^3.2.4",
"tslib": "^2.3.1",
"typescript": "^4.7.4",
"vite": "^4.0.0",
"vitest": "^0.27.1"
},
"type": "module",
"dependencies": {
"electron-log": "^4.4.8",
"electron-serve": "^1.1.0",
"electron-window-state": "^5.0.3",
"@electron/asar": "^3.2.3",
"@types/bcryptjs": "^2.4.2",
"@types/url-join": "^4.0.1",
"@vitest/coverage-c8": "^0.27.1",
"bcryptjs": "^2.4.3",
"buffer": "^6.0.3",
"electron-log": "^4.4.8",
"electron-serve": "^1.1.0",
"electron-window-state": "^5.0.3",
"fuse.js": "^6.6.2",
"lodash": "^4.17.21",
"lorem-ipsum": "^2.0.8",
@ -75,5 +78,10 @@
"onlyBuiltDependencies": [
"@tea/ui"
]
}
},
"build": {
"appId": "xyz.tea.gui"
},
"homepage": "https://tea.xyz",
"repository": "https://github.com/teaxyz/gui.git"
}

View file

@ -1,18 +1,16 @@
$primary: #ff3e00;
:root {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
'Open Sans', 'Helvetica Neue', sans-serif;
}
.text-primary {
color: $primary;
color: #ff3e00;
}
.button {
padding: 10px 10px;
display: inline-block;
background-color: $primary;
background-color: #ff3e00;
color: white;
text-decoration: none;
border: none;
@ -26,7 +24,7 @@ $primary: #ff3e00;
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: $primary;
background-color: #ff3e00;
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 20px;
}

View file

@ -1,6 +1,6 @@
<!-- Based on: https://www.w3schools.com/howto/howto_css_fixed_sidebar.asp -->
<script>
import '../app.scss';
import '../app.css';
</script>
<div class="sidenav">

View file

@ -1,5 +1,5 @@
<script>
import '../app.scss';
import '../app.css';
import SideBar from '$lib/SideBar.svelte';
</script>

View file

@ -15,7 +15,7 @@
</p>
</main>
<style lang="scss">
<style lang="css">
main {
text-align: center;
padding: 1em;

View file

@ -3,14 +3,19 @@
"author": "neil molina <neil@tea.xyz>",
"private": true,
"scripts": {
"dev": "pnpm --filter desktop exec pnpm electron",
"release": "sh ./.github/update-latest-binary.sh",
"build:gui": "pnpm --filter gui exec tauri build --verbose",
"dev:gui": "pnpm --filter gui exec tauri dev",
"web:gui": "BUILD_FOR=preview pnpm --filter gui dev"
"build:desktop": "pnpm --filter desktop exec pnpm package",
"web:desktop": "BUILD_FOR=preview pnpm --filter desktop dev"
},
"workspaces": {
"packages": [
"modules/*"
]
}
},
"homepage": "https://tea.xyz",
"repository": {
"type": "git",
"url": "https://github.com/teaxyz/gui.git"
}
}

View file

@ -7,6 +7,7 @@ importers:
modules/desktop:
specifiers:
'@electron/asar': ^3.2.3
'@playwright/experimental-ct-svelte': ^1.29.2
'@playwright/test': 1.25.0
'@sveltejs/adapter-auto': ^1.0.0
@ -43,7 +44,6 @@ importers:
prettier: ^2.7.1
prettier-plugin-svelte: ^2.7.0
prettier-plugin-tailwindcss: ^0.2.0
sass: ^1.56.1
svelte: ^3.55.1
svelte-check: ^2.8.0
svelte-markdown: ^0.2.3
@ -54,12 +54,13 @@ importers:
tslib: ^2.3.1
typescript: ^4.7.4
url-join: ^5.0.0
vite: ^4.0.4
vite: ^4.0.0
vitest: ^0.27.1
dependencies:
'@electron/asar': 3.2.3
'@types/bcryptjs': 2.4.2
'@types/url-join': 4.0.1
'@vitest/coverage-c8': 0.27.1_jsdom@21.0.0+sass@1.58.0
'@vitest/coverage-c8': 0.27.1_jsdom@21.0.0
bcryptjs: 2.4.3
buffer: 6.0.3
electron-log: 4.4.8
@ -72,7 +73,7 @@ importers:
svelte-watch-resize: 1.0.3
url-join: 5.0.0
devDependencies:
'@playwright/experimental-ct-svelte': 1.29.2_sass@1.58.0+svelte@3.55.1
'@playwright/experimental-ct-svelte': 1.29.2_svelte@3.55.1
'@playwright/test': 1.25.0
'@sveltejs/adapter-auto': 1.0.0_@sveltejs+kit@1.0.1
'@sveltejs/adapter-node': 1.1.4_@sveltejs+kit@1.0.1
@ -97,16 +98,15 @@ importers:
prettier: 2.7.1
prettier-plugin-svelte: 2.8.0_oaijcowt4gpvlnkwmhxna5iywq
prettier-plugin-tailwindcss: 0.2.0_prettier@2.7.1
sass: 1.58.0
svelte: 3.55.1
svelte-check: 2.9.2_cpwo3r7rcdxw4uwjtlh64a263e
svelte-preprocess: 5.0.1_rdtxxdwr6sh5bsxyraqc7miz64
svelte-check: 2.9.2_lynlo5uwugq3maqcrwjqqa3a7i
svelte-preprocess: 5.0.1_mrbor4kvr3aowebwpu24szizh4
svelte2tsx: 0.5.20_j5bcdx5pmfpjvg6lf23nbxpbme
tailwindcss: 3.2.4_postcss@8.4.20
tslib: 2.4.1
typescript: 4.9.3
vite: 4.0.4_sass@1.58.0
vitest: 0.27.1_jsdom@21.0.0+sass@1.58.0
vite: 4.0.4
vitest: 0.27.1_jsdom@21.0.0
modules/gui:
specifiers:
@ -1691,6 +1691,19 @@ packages:
engines: {node: '>=10.0.0'}
dev: true
/@electron/asar/3.2.3:
resolution: {integrity: sha512-wmOfE6szYyqZhRIiLH+eyZEp+bGcJI0OD/SCvSUrfBE0jvauyGYO2ZhpWxmNCcDojKu5DYrsVqT5BOCZZ01XIg==}
engines: {node: '>=10.12.0'}
hasBin: true
dependencies:
chromium-pickle-js: 0.2.0
commander: 5.1.0
glob: 7.2.3
minimatch: 3.1.2
optionalDependencies:
'@types/glob': 7.2.0
dev: false
/@electron/get/2.0.2:
resolution: {integrity: sha512-eFZVFoRXb3GFGd7Ak7W4+6jBl9wBtiZ4AaYOse97ej6mKj5tkyO0dUnUChs1IhJZtx1BENo4/p4WUTXpi6vT+g==}
engines: {node: '>=12'}
@ -2195,13 +2208,13 @@ packages:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.13.0
/@playwright/experimental-ct-svelte/1.29.2_sass@1.58.0+svelte@3.55.1:
/@playwright/experimental-ct-svelte/1.29.2_svelte@3.55.0:
resolution: {integrity: sha512-EAZ0kTHLQ9cRKn5iXAnOeMaX+qzyNBElMRcbZrCo7JK7lSm9r17vPzy0T731rkhCNvZSzoEe024QeI8XEgoGCw==}
engines: {node: '>=14'}
dependencies:
'@playwright/test': 1.29.2
'@sveltejs/vite-plugin-svelte': 1.2.0_svelte@3.55.1+vite@3.2.4
vite: 3.2.4_sass@1.58.0
'@sveltejs/vite-plugin-svelte': 1.2.0_svelte@3.55.0+vite@3.2.4
vite: 3.2.4
transitivePeerDependencies:
- '@types/node'
- diff-match-patch
@ -2214,12 +2227,12 @@ packages:
- terser
dev: true
/@playwright/experimental-ct-svelte/1.29.2_svelte@3.55.0:
/@playwright/experimental-ct-svelte/1.29.2_svelte@3.55.1:
resolution: {integrity: sha512-EAZ0kTHLQ9cRKn5iXAnOeMaX+qzyNBElMRcbZrCo7JK7lSm9r17vPzy0T731rkhCNvZSzoEe024QeI8XEgoGCw==}
engines: {node: '>=14'}
dependencies:
'@playwright/test': 1.29.2
'@sveltejs/vite-plugin-svelte': 1.2.0_svelte@3.55.0+vite@3.2.4
'@sveltejs/vite-plugin-svelte': 1.2.0_svelte@3.55.1+vite@3.2.4
vite: 3.2.4
transitivePeerDependencies:
- '@types/node'
@ -3817,7 +3830,7 @@ packages:
svelte: 3.55.1
tiny-glob: 0.2.9
undici: 5.14.0
vite: 4.0.4_sass@1.58.0
vite: 4.0.4
transitivePeerDependencies:
- supports-color
dev: true
@ -3878,7 +3891,7 @@ packages:
magic-string: 0.26.7
svelte: 3.55.1
svelte-hmr: 0.15.1_svelte@3.55.1
vite: 3.2.4_sass@1.58.0
vite: 3.2.4
vitefu: 0.2.4_vite@3.2.4
transitivePeerDependencies:
- supports-color
@ -3916,7 +3929,7 @@ packages:
magic-string: 0.27.0
svelte: 3.55.1
svelte-hmr: 0.15.1_svelte@3.55.1
vite: 4.0.4_sass@1.58.0
vite: 4.0.4
vitefu: 0.2.4_vite@4.0.4
transitivePeerDependencies:
- supports-color
@ -4234,7 +4247,6 @@ packages:
dependencies:
'@types/minimatch': 5.1.2
'@types/node': 18.11.9
dev: true
/@types/graceful-fs/4.1.5:
resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==}
@ -4316,7 +4328,6 @@ packages:
/@types/minimatch/5.1.2:
resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==}
dev: true
/@types/ms/0.7.31:
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
@ -4645,25 +4656,6 @@ packages:
- terser
dev: false
/@vitest/coverage-c8/0.27.1_jsdom@21.0.0+sass@1.58.0:
resolution: {integrity: sha512-/9VTGDIAp4hv8PBawfyijxhkiyucfOxFRRP+7kzy3Dj0wONy1Mc2MBoPmiH4aZVc0LViQqecrQLs8JVGt42keA==}
dependencies:
c8: 7.12.0
vitest: 0.27.1_jsdom@21.0.0+sass@1.58.0
transitivePeerDependencies:
- '@edge-runtime/vm'
- '@vitest/browser'
- '@vitest/ui'
- happy-dom
- jsdom
- less
- sass
- stylus
- sugarss
- supports-color
- terser
dev: false
/@yarnpkg/esbuild-plugin-pnp/3.0.0-rc.15_esbuild@0.14.54:
resolution: {integrity: sha512-kYzDJO5CA9sy+on/s2aIW0411AklfCi8Ck/4QDivOqsMKpStZA2SsR+X27VTggGwpStWaLrjJcDcdDMowtG8MA==}
engines: {node: '>=14.15.0'}
@ -5542,7 +5534,6 @@ packages:
/chromium-pickle-js/0.2.0:
resolution: {integrity: sha512-1R5Fho+jBq0DDydt+/vHWj5KJNJCKdARKOCwZUen84I5BreWoLqRLANH1U87eJy1tiASPtMnGqJJq0ZsLoRPOw==}
dev: true
/ci-info/3.6.1:
resolution: {integrity: sha512-up5ggbaDqOqJ4UqLKZ2naVkyqSJQgJi5lwD6b6mM748ysrghDBX0bx/qJTUHzw7zu6Mq4gycviSF5hJnwceD8w==}
@ -5684,7 +5675,6 @@ packages:
/commander/5.1.0:
resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
engines: {node: '>= 6'}
dev: true
/commander/6.2.1:
resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}
@ -8158,9 +8148,6 @@ packages:
engines: {node: '>= 4'}
dev: true
/immutable/4.2.2:
resolution: {integrity: sha512-fTMKDwtbvO5tldky9QZ2fMX7slR0mYpY5nbnFWYp0fOzDhHqhgIw9KoYgxLWsoNTS9ZHGauHj18DTyEw6BK3Og==}
/import-fresh/3.3.0:
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'}
@ -10958,15 +10945,6 @@ packages:
truncate-utf8-bytes: 1.0.2
dev: true
/sass/1.58.0:
resolution: {integrity: sha512-PiMJcP33DdKtZ/1jSjjqVIKihoDc6yWmYr9K/4r3fVVIEDAluD0q7XZiRKrNJcPK3qkLRF/79DND1H5q1LBjgg==}
engines: {node: '>=12.0.0'}
hasBin: true
dependencies:
chokidar: 3.5.3
immutable: 4.2.2
source-map-js: 1.0.2
/sax/1.2.4:
resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==}
dev: true
@ -11489,7 +11467,7 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
/svelte-check/2.9.2_cpwo3r7rcdxw4uwjtlh64a263e:
/svelte-check/2.9.2_lynlo5uwugq3maqcrwjqqa3a7i:
resolution: {integrity: sha512-DRi8HhnCiqiGR2YF9ervPGvtoYrheE09cXieCTEqeTPOTJzfoa54Py8rovIBv4bH4n5HgZYIyTQ3DDLHQLl2uQ==}
hasBin: true
peerDependencies:
@ -11502,7 +11480,7 @@ packages:
picocolors: 1.0.0
sade: 1.8.1
svelte: 3.55.1
svelte-preprocess: 4.10.7_rdtxxdwr6sh5bsxyraqc7miz64
svelte-preprocess: 4.10.7_mrbor4kvr3aowebwpu24szizh4
typescript: 4.9.3
transitivePeerDependencies:
- '@babel/core'
@ -11583,7 +11561,7 @@ packages:
svelte: 3.55.1
dev: false
/svelte-preprocess/4.10.7_rdtxxdwr6sh5bsxyraqc7miz64:
/svelte-preprocess/4.10.7_mrbor4kvr3aowebwpu24szizh4:
resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==}
engines: {node: '>= 9.11.2'}
requiresBuild: true
@ -11629,7 +11607,6 @@ packages:
detect-indent: 6.1.0
magic-string: 0.25.9
postcss: 8.4.20
sass: 1.58.0
sorcery: 0.10.0
strip-indent: 3.0.0
svelte: 3.55.1
@ -11737,7 +11714,7 @@ packages:
typescript: 4.9.3
dev: true
/svelte-preprocess/5.0.1_rdtxxdwr6sh5bsxyraqc7miz64:
/svelte-preprocess/5.0.1_mrbor4kvr3aowebwpu24szizh4:
resolution: {integrity: sha512-0HXyhCoc9rsW4zGOgtInylC6qj259E1hpFnJMJWTf+aIfeqh4O/QHT31KT2hvPEqQfdjmqBR/kO2JDkkciBLrQ==}
engines: {node: '>= 14.10.0'}
requiresBuild: true
@ -11780,7 +11757,6 @@ packages:
detect-indent: 6.1.0
magic-string: 0.27.0
postcss: 8.4.20
sass: 1.58.0
sorcery: 0.11.0
strip-indent: 3.0.0
svelte: 3.55.1
@ -12509,28 +12485,6 @@ packages:
- supports-color
- terser
/vite-node/0.27.1_oiad64weblk27kl23ch2354pyi:
resolution: {integrity: sha512-d6+ue/3NzsfndWaPbYh/bFkHbmAWfDXI4B874zRx+WREnG6CUHUbBC8lKaRYZjeR6gCPN5m1aVNNRXBYICA9XA==}
engines: {node: '>=v14.16.0'}
hasBin: true
dependencies:
cac: 6.7.14
debug: 4.3.4
mlly: 1.1.0
pathe: 0.2.0
picocolors: 1.0.0
source-map: 0.6.1
source-map-support: 0.5.21
vite: 4.0.4_oiad64weblk27kl23ch2354pyi
transitivePeerDependencies:
- '@types/node'
- less
- sass
- stylus
- sugarss
- supports-color
- terser
/vite/3.2.4:
resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}
engines: {node: ^14.18.0 || >=16.0.0}
@ -12564,8 +12518,8 @@ packages:
fsevents: 2.3.2
dev: true
/vite/3.2.4_sass@1.58.0:
resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}
/vite/4.0.2:
resolution: {integrity: sha512-QJaY3R+tFlTagH0exVqbgkkw45B+/bXVBzF2ZD1KB5Z8RiAoiKo60vSUf6/r4c2Vh9jfGBKM4oBI9b4/1ZJYng==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
@ -12589,17 +12543,16 @@ packages:
terser:
optional: true
dependencies:
esbuild: 0.15.14
esbuild: 0.16.10
postcss: 8.4.20
resolve: 1.22.1
rollup: 2.79.1
sass: 1.58.0
rollup: 3.7.5
optionalDependencies:
fsevents: 2.3.2
dev: true
/vite/4.0.2:
resolution: {integrity: sha512-QJaY3R+tFlTagH0exVqbgkkw45B+/bXVBzF2ZD1KB5Z8RiAoiKo60vSUf6/r4c2Vh9jfGBKM4oBI9b4/1ZJYng==}
/vite/4.0.4:
resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
@ -12664,74 +12617,6 @@ packages:
optionalDependencies:
fsevents: 2.3.2
/vite/4.0.4_oiad64weblk27kl23ch2354pyi:
resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
'@types/node': '>= 14'
less: '*'
sass: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
dependencies:
'@types/node': 18.11.9
esbuild: 0.16.10
postcss: 8.4.20
resolve: 1.22.1
rollup: 3.7.5
sass: 1.58.0
optionalDependencies:
fsevents: 2.3.2
/vite/4.0.4_sass@1.58.0:
resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
'@types/node': '>= 14'
less: '*'
sass: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
dependencies:
esbuild: 0.16.10
postcss: 8.4.20
resolve: 1.22.1
rollup: 3.7.5
sass: 1.58.0
optionalDependencies:
fsevents: 2.3.2
dev: true
/vitefu/0.2.4_vite@3.2.4:
resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==}
peerDependencies:
@ -12740,7 +12625,7 @@ packages:
vite:
optional: true
dependencies:
vite: 3.2.4_sass@1.58.0
vite: 3.2.4
dev: true
/vitefu/0.2.4_vite@4.0.2:
@ -12762,7 +12647,7 @@ packages:
vite:
optional: true
dependencies:
vite: 4.0.4_sass@1.58.0
vite: 4.0.4
dev: true
/vitest/0.27.1_jsdom@21.0.0:
@ -12814,55 +12699,6 @@ packages:
- supports-color
- terser
/vitest/0.27.1_jsdom@21.0.0+sass@1.58.0:
resolution: {integrity: sha512-1sIpQ1DVFTEn7c1ici1XHcVfdU4nKiBmPtPAtGKJJJLuJjojTv/OHGgcf69P57alM4ty8V4NMv+7Yoi5Cxqx9g==}
engines: {node: '>=v14.16.0'}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@vitest/browser': '*'
'@vitest/ui': '*'
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
'@vitest/browser':
optional: true
'@vitest/ui':
optional: true
happy-dom:
optional: true
jsdom:
optional: true
dependencies:
'@types/chai': 4.3.4
'@types/chai-subset': 1.3.3
'@types/node': 18.11.9
acorn: 8.8.1
acorn-walk: 8.2.0
cac: 6.7.14
chai: 4.3.7
debug: 4.3.4
jsdom: 21.0.0
local-pkg: 0.4.2
picocolors: 1.0.0
source-map: 0.6.1
strip-literal: 1.0.0
tinybench: 2.3.1
tinypool: 0.3.0
tinyspy: 1.0.2
vite: 4.0.4_oiad64weblk27kl23ch2354pyi
vite-node: 0.27.1_oiad64weblk27kl23ch2354pyi
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less
- sass
- stylus
- sugarss
- supports-color
- terser
/w3c-xmlserializer/4.0.0:
resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==}
engines: {node: '>=14'}