π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Switch Ensu Tauri package to npm
Manav Rathi79157e5f1e5a
diff --git a/.github/workflows/ensu-build.yml b/.github/workflows/ensu-build.ymlindex 603e8aa68c..956487eb88 100644--- a/.github/workflows/ensu-build.yml+++ b/.github/workflows/ensu-build.yml@@ -156,8 +156,7 @@ jobs:run: yarn build:wasm- name: Install Tauri dependencies- working-directory: rust/apps/ensu- run: yarn install --frozen-lockfile+ run: npm ci --prefix rust/apps/ensu- name: Check Tauri updater public keyif: vars.ENSU_TAURI_UPDATER_PUBKEY == ''diff --git a/rust/apps/ensu/README.md b/rust/apps/ensu/README.mdindex eeaad9526f..e892aca399 100644--- a/rust/apps/ensu/README.md+++ b/rust/apps/ensu/README.md@@ -9,14 +9,14 @@ Requires cmake (e.g. `brew install cmake`).```shcd rust/apps/ensu# runs the Ensu web dev server and launches Tauri (default port 3010)-yarn dev+npm run dev```To change the dev port:```shcd rust/apps/ensu-ENSU_TAURI_PORT=3020 yarn dev+ENSU_TAURI_PORT=3020 npm run dev```## Build@@ -24,7 +24,7 @@ ENSU_TAURI_PORT=3020 yarn dev```shcd rust/apps/ensu# builds the Ensu web app and exports a static build for Tauri-yarn build+npm run build```## Notesdiff --git a/rust/apps/ensu/package-lock.json b/rust/apps/ensu/package-lock.jsonnew file mode 100644index 0000000000..a68c13f852--- /dev/null+++ b/rust/apps/ensu/package-lock.json@@ -0,0 +1,260 @@+{+ "name": "ensu-desktop",+ "version": "0.1.17-beta",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "ensu-desktop",+ "version": "0.1.17-beta",+ "dependencies": {+ "@tauri-apps/api": "1.6.0"+ },+ "devDependencies": {+ "@tauri-apps/cli": "1.6.3"+ }+ },+ "node_modules/@tauri-apps/api": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.6.0.tgz",+ "integrity": "sha512-rqI++FWClU5I2UBp4HXFvl+sBWkdigBkxnpJDQUWttNyG7IZP4FwQGhTNL5EOw0vI8i6eSAJ5frLqO7n7jbJdg==",+ "license": "Apache-2.0 OR MIT",+ "engines": {+ "node": ">= 14.6.0",+ "npm": ">= 6.6.0",+ "yarn": ">= 1.19.1"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/tauri"+ }+ },+ "node_modules/@tauri-apps/cli": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.6.3.tgz",+ "integrity": "sha512-q46umd6QLRKDd4Gg6WyZBGa2fWvk0pbeUA5vFomm4uOs1/17LIciHv2iQ4UD+2Yv5H7AO8YiE1t50V0POiEGEw==",+ "dev": true,+ "license": "Apache-2.0 OR MIT",+ "dependencies": {+ "semver": ">=7.5.2"+ },+ "bin": {+ "tauri": "tauri.js"+ },+ "engines": {+ "node": ">= 10"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/tauri"+ },+ "optionalDependencies": {+ "@tauri-apps/cli-darwin-arm64": "1.6.3",+ "@tauri-apps/cli-darwin-x64": "1.6.3",+ "@tauri-apps/cli-linux-arm-gnueabihf": "1.6.3",+ "@tauri-apps/cli-linux-arm64-gnu": "1.6.3",+ "@tauri-apps/cli-linux-arm64-musl": "1.6.3",+ "@tauri-apps/cli-linux-x64-gnu": "1.6.3",+ "@tauri-apps/cli-linux-x64-musl": "1.6.3",+ "@tauri-apps/cli-win32-arm64-msvc": "1.6.3",+ "@tauri-apps/cli-win32-ia32-msvc": "1.6.3",+ "@tauri-apps/cli-win32-x64-msvc": "1.6.3"+ }+ },+ "node_modules/@tauri-apps/cli-darwin-arm64": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.6.3.tgz",+ "integrity": "sha512-fQN6IYSL8bG4NvkdKE4sAGF4dF/QqqQq4hOAU+t8ksOzHJr0hUlJYfncFeJYutr/MMkdF7hYKadSb0j5EE9r0A==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-darwin-x64": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.6.3.tgz",+ "integrity": "sha512-1yTXZzLajKAYINJOJhZfmMhCzweHSgKQ3bEgJSn6t+1vFkOgY8Yx4oFgWcybrrWI5J1ZLZAl47+LPOY81dLcyA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.6.3.tgz",+ "integrity": "sha512-CjTEr9r9xgjcvos09AQw8QMRPuH152B1jvlZt4PfAsyJNPFigzuwed5/SF7XAd8bFikA7zArP4UT12RdBxrx7w==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-linux-arm64-gnu": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.6.3.tgz",+ "integrity": "sha512-G9EUUS4M8M/Jz1UKZqvJmQQCKOzgTb8/0jZKvfBuGfh5AjFBu8LHvlFpwkKVm1l4951Xg4ulUp6P9Q7WRJ9XSA==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-linux-arm64-musl": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.6.3.tgz",+ "integrity": "sha512-MuBTHJyNpZRbPVG8IZBN8+Zs7aKqwD22tkWVBcL1yOGL4zNNTJlkfL+zs5qxRnHlUsn6YAlbW/5HKocfpxVwBw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "musl"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-linux-x64-gnu": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.6.3.tgz",+ "integrity": "sha512-Uvi7M+NK3tAjCZEY1WGel+dFlzJmqcvu3KND+nqa22762NFmOuBIZ4KJR/IQHfpEYqKFNUhJfCGnpUDfiC3Oxg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-linux-x64-musl": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.6.3.tgz",+ "integrity": "sha512-rc6B342C0ra8VezB/OJom9j/N+9oW4VRA4qMxS2f4bHY2B/z3J9NPOe6GOILeg4v/CV62ojkLsC3/K/CeF3fqQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "libc": [+ "musl"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-win32-arm64-msvc": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-1.6.3.tgz",+ "integrity": "sha512-cSH2qOBYuYC4UVIFtrc1YsGfc5tfYrotoHrpTvRjUGu0VywvmyNk82+ZsHEnWZ2UHmu3l3lXIGRqSWveLln0xg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-win32-ia32-msvc": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.6.3.tgz",+ "integrity": "sha512-T8V6SJQqE4PSWmYBl0ChQVmS6AR2hXFHURH2DwAhgSGSQ6uBXgwlYFcfIeQpBQA727K2Eq8X2hGfvmoySyHMRw==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tauri-apps/cli-win32-x64-msvc": {+ "version": "1.6.3",+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.6.3.tgz",+ "integrity": "sha512-HUkWZ+lYHI/Gjkh2QjHD/OBDpqLVmvjZGpLK9losur1Eg974Jip6k+vsoTUxQBCBDfj30eDBct9E1FvXOspWeg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/semver": {+ "version": "7.7.3",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",+ "dev": true,+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ }+ }+}diff --git a/rust/apps/ensu/package.json b/rust/apps/ensu/package.jsonindex 86eda5dfac..004e45e3ac 100644--- a/rust/apps/ensu/package.json+++ b/rust/apps/ensu/package.json@@ -1,15 +1,17 @@{- "name": "ensu-desktop",- "version": "0.1.17-beta",- "private": true,- "scripts": {- "dev": "node scripts/tauri-dev.mjs",- "build": "tauri build"- },- "dependencies": {- "@tauri-apps/api": "^1.5.0"- },- "devDependencies": {- "@tauri-apps/cli": "^1.5.0"- }+ "name": "ensu-desktop",+ "version": "0.1.17-beta",+ "private": true,+ "scripts": {+ "build": "tauri build",+ "dev": "node scripts/tauri-dev.mjs",+ "tauri": "tauri"+ },+ "dependencies": {+ "@tauri-apps/api": "1.6.0"+ },+ "devDependencies": {+ "@tauri-apps/cli": "1.6.3"+ },+ "packageManager": "[email protected]"}diff --git a/rust/apps/ensu/yarn.lock b/rust/apps/ensu/yarn.lockdeleted file mode 100644index b80fd1efea..0000000000--- a/rust/apps/ensu/yarn.lock+++ /dev/null@@ -1,81 +0,0 @@-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.-# yarn lockfile v1---"@tauri-apps/api@^1.5.0":- version "1.6.0"- resolved "https://registry.npmjs.org/@tauri-apps/api/-/api-1.6.0.tgz"- integrity sha512-rqI++FWClU5I2UBp4HXFvl+sBWkdigBkxnpJDQUWttNyG7IZP4FwQGhTNL5EOw0vI8i6eSAJ5frLqO7n7jbJdg==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.6.3.tgz"- integrity sha512-fQN6IYSL8bG4NvkdKE4sAGF4dF/QqqQq4hOAU+t8ksOzHJr0hUlJYfncFeJYutr/MMkdF7hYKadSb0j5EE9r0A==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.6.3.tgz#2486f54c0b3beddf9f007b76d0b31d4da7b80e5d"- integrity sha512-1yTXZzLajKAYINJOJhZfmMhCzweHSgKQ3bEgJSn6t+1vFkOgY8Yx4oFgWcybrrWI5J1ZLZAl47+LPOY81dLcyA==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.6.3.tgz#53066f4e8292f33c1967ab5732ec9c53a0fe8531"- integrity sha512-CjTEr9r9xgjcvos09AQw8QMRPuH152B1jvlZt4PfAsyJNPFigzuwed5/SF7XAd8bFikA7zArP4UT12RdBxrx7w==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.6.3.tgz#e204925e9f229d36cf8af17df59545ca88becfeb"- integrity sha512-G9EUUS4M8M/Jz1UKZqvJmQQCKOzgTb8/0jZKvfBuGfh5AjFBu8LHvlFpwkKVm1l4951Xg4ulUp6P9Q7WRJ9XSA==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.6.3.tgz#a3753b2fa8d3c68bd8ebdd4af08d4b9a83bbf127"- integrity sha512-MuBTHJyNpZRbPVG8IZBN8+Zs7aKqwD22tkWVBcL1yOGL4zNNTJlkfL+zs5qxRnHlUsn6YAlbW/5HKocfpxVwBw==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.6.3.tgz#9a22f12f310ed2af9ff46cc6251203f6d2b81aee"- integrity sha512-Uvi7M+NK3tAjCZEY1WGel+dFlzJmqcvu3KND+nqa22762NFmOuBIZ4KJR/IQHfpEYqKFNUhJfCGnpUDfiC3Oxg==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.6.3.tgz#c5b022f26c869b4877898589baf8dabf87a79096"- integrity sha512-rc6B342C0ra8VezB/OJom9j/N+9oW4VRA4qMxS2f4bHY2B/z3J9NPOe6GOILeg4v/CV62ojkLsC3/K/CeF3fqQ==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-1.6.3.tgz#5a871f96a7d58da5adacae07c848e5a0f3e82286"- integrity sha512-cSH2qOBYuYC4UVIFtrc1YsGfc5tfYrotoHrpTvRjUGu0VywvmyNk82+ZsHEnWZ2UHmu3l3lXIGRqSWveLln0xg==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.6.3.tgz#cbec8e197a1cf0a63d329661ee45dcd7a31d05eb"- integrity sha512-T8V6SJQqE4PSWmYBl0ChQVmS6AR2hXFHURH2DwAhgSGSQ6uBXgwlYFcfIeQpBQA727K2Eq8X2hGfvmoySyHMRw==--"@tauri-apps/[email protected]":- version "1.6.3"- resolved "https://registry.yarnpkg.com/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.6.3.tgz#a78f5ccabbaca1d7ac3ce2acab2b1bd0276b53c4"- integrity sha512-HUkWZ+lYHI/Gjkh2QjHD/OBDpqLVmvjZGpLK9losur1Eg974Jip6k+vsoTUxQBCBDfj30eDBct9E1FvXOspWeg==--"@tauri-apps/cli@^1.5.0":- version "1.6.3"- resolved "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.6.3.tgz"- integrity sha512-q46umd6QLRKDd4Gg6WyZBGa2fWvk0pbeUA5vFomm4uOs1/17LIciHv2iQ4UD+2Yv5H7AO8YiE1t50V0POiEGEw==- dependencies:- semver ">=7.5.2"- optionalDependencies:- "@tauri-apps/cli-darwin-arm64" "1.6.3"- "@tauri-apps/cli-darwin-x64" "1.6.3"- "@tauri-apps/cli-linux-arm-gnueabihf" "1.6.3"- "@tauri-apps/cli-linux-arm64-gnu" "1.6.3"- "@tauri-apps/cli-linux-arm64-musl" "1.6.3"- "@tauri-apps/cli-linux-x64-gnu" "1.6.3"- "@tauri-apps/cli-linux-x64-musl" "1.6.3"- "@tauri-apps/cli-win32-arm64-msvc" "1.6.3"- "@tauri-apps/cli-win32-ia32-msvc" "1.6.3"- "@tauri-apps/cli-win32-x64-msvc" "1.6.3"--semver@>=7.5.2:- version "7.7.3"- resolved "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz"- integrity sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==