Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Tauri & Integration Guide #1354

Closed
wants to merge 3 commits into from
Closed

Conversation

lorenzolewis
Copy link
Member

Notes to address before merging:

  • Remove rm -rf ./dist/node_modules from astro:build once node_modules in dist folder withastro/astro#7933 is fixed
  • Tauri Config: tauri.identifier change the default behaviour so that either a) it allows com.tauri.dev or b) derives something like com.example.project-name
  • tauri:init: Update beforeBuildCommand, beforeDevCommand, devPath, and distDir and include sensible defaults (such as detecting package manager), updated copy (with an example) and ghost text so you can type to replace what the prompt has or <enter> to accept what's there
  • Default tauri.conf.toml file: Clean it up to only include items that are configured to make it more approachable
  • Ask if mobile would like to be initialised as part of tauri init flow

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
@netlify
Copy link

netlify bot commented Aug 3, 2023

Deploy Preview for tauri-docs-starlight ready!

Name Link
🔨 Latest commit d83ba02
🔍 Latest deploy log https://app.netlify.com/sites/tauri-docs-starlight/deploys/64cc2ab99962a900083c8aea
😎 Deploy Preview https://deploy-preview-1354--tauri-docs-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@socket-security
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@tauri-apps/cli 2.0.0-alpha.10 environment +0 169 kB tauri-apps-ci-user

@lorenzolewis lorenzolewis changed the title Integration Guide Integrate Tauri & Integration Guide Aug 3, 2023
@lorenzolewis
Copy link
Member Author

@simonhyll this might be relevant to you if you're still playing around with combining Tauri and Astro together: withastro/astro#7933 Should be published when withastro/astro#8096 is merged.

For some reasons a node_modules folder slips into the dist folder and then Tauri will error out during build, thinking the user pointed to the wrong folder. This should resolve that and clean up the node_modules folder during build.

@lorenzolewis lorenzolewis deleted the feat/starlight-tauri branch August 27, 2023 12:41
@lorenzolewis
Copy link
Member Author

Going to de-prioritize this one until we get more guides written (and closer to beta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant