Merge branch 'main' into deep-link

This commit is contained in:
Nikita
2024-09-05 12:57:17 +03:00
2 changed files with 74 additions and 69 deletions

View File

@@ -1,38 +1,42 @@
{
"productName": "learn-anything",
"version": "0.1.0",
"identifier": "xyz.learn-anything",
"build": {
"frontendDist": "../out",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "bun dev",
"beforeBuildCommand": "bun web:build"
},
"app": {
"windows": [
{
"title": "Learn Anything",
"width": 800,
"height": 600,
"resizable": true,
"fullscreen": false,
"url": "http://localhost:3000"
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"]
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["learn-anything"]
}
}
}
"productName": "Learn Anything",
"version": "0.1.0",
"identifier": "xyz.learnanything.desktop",
"build": {
"frontendDist": "https://dev.learn-anything.xyz",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "bun dev"
},
"app": {
"windows": [
{
"title": "Learn Anything",
"width": 800,
"height": 600,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["learn-anything"]
}
}
}
}

View File

@@ -1,35 +1,36 @@
{
"name": "learn-anything",
"scripts": {
"dev": "bun web",
"web": "cd web && bun dev",
"web:build": "bun run --filter '*' build",
"cli": "bun run --watch cli/run.ts",
"seed": "bun --watch cli/seed.ts",
"tauri": "tauri"
},
"workspaces": [
"web"
],
"dependencies": {
"@tauri-apps/cli": "^2.0.0-rc.11",
"@tauri-apps/plugin-deep-link": "^2.0.0-rc.1",
"@tauri-apps/plugin-fs": "^2.0.0-rc.2",
"jazz-nodejs": "^0.7.34",
"react-icons": "^5.3.0"
},
"devDependencies": {
"bun-types": "^1.1.26"
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
],
"useTabs": true,
"semi": false,
"trailingComma": "none",
"printWidth": 120,
"arrowParens": "avoid"
},
"license": "MIT"
"name": "learn-anything",
"scripts": {
"dev": "bun web",
"web": "cd web && bun dev",
"web:build": "bun run --filter '*' build",
"cli": "bun run --watch cli/run.ts",
"seed": "bun --watch cli/seed.ts",
"tauri": "tauri",
"app:build": "bun tauri build -b dmg -v"
},
"workspaces": [
"web"
],
"dependencies": {
"@tauri-apps/cli": "^2.0.0-rc.6",
"@tauri-apps/plugin-fs": "^2.0.0-rc.2",
"jazz-nodejs": "^0.7.34",
"react-icons": "^5.3.0",
"@tauri-apps/plugin-deep-link": "^2.0.0-rc.1"
},
"devDependencies": {
"bun-types": "^1.1.26"
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
],
"useTabs": true,
"semi": false,
"trailingComma": "none",
"printWidth": 120,
"arrowParens": "avoid"
},
"license": "MIT"
}