-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update templates.mdx #3930
Update templates.mdx #3930
Conversation
add a svelte templage
WalkthroughThe pull request introduces a new entry in the documentation for community-supported templates, specifically for Svelte. It adds a link to the Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)website/versioned_docs/version-v2.9.0/community/templates.mdx (2)
The new template entry follows the consistent format and is correctly placed in the Svelte section.
Let's verify that the template repository exists and contains the necessary Wails template structure. ✅ Verification successfulLet me gather more information about the template structure to ensure it has the necessary Wails template components. Let me check the package.json from the frontend directory since it's using a template structure. Template repository structure verified and valid The template repository contains all essential components for a Wails project with Svelte:
The absence of wails.json is not critical as it's typically generated during project initialization with 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the template repository existence and structure
# Check if the repository exists and is accessible
gh repo view xijaja/wails-template-shadcn-svelte
# Check for essential template files
curl -s https://api.github.com/repos/xijaja/wails-template-shadcn-svelte/contents | jq -r '.[].name' | grep -E 'wails.json|package.json|README.md'
Length of output: 1428 Script: #!/bin/bash
# Check for essential Wails template directories and files
curl -s https://api.github.com/repos/xijaja/wails-template-shadcn-svelte/git/trees/main?recursive=1 | \
jq -r '.tree[].path' | \
grep -E 'wails\.json|app\.go|main\.go|frontend/|src/|vite\.config\.|svelte\.config\.'
# Check package.json content for required dependencies
curl -s https://raw.githubusercontent.com/xijaja/wails-template-shadcn-svelte/main/package.json | \
jq -r '.dependencies, .devDependencies'
Length of output: 7214 Script: #!/bin/bash
# Check frontend package.json template and main.go template
curl -s https://raw.githubusercontent.com/xijaja/wails-template-shadcn-svelte/main/frontend/package.tmpl.json | jq '.'
# Check main.go template content
curl -s https://raw.githubusercontent.com/xijaja/wails-template-shadcn-svelte/main/main.go.tmpl
# Check if wails.json exists in root or frontend
curl -s https://raw.githubusercontent.com/xijaja/wails-template-shadcn-svelte/main/wails.json
curl -s https://raw.githubusercontent.com/xijaja/wails-template-shadcn-svelte/main/frontend/wails.json
Length of output: 3949 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
add a svelte templage
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please select the option that is relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.If you checked Linux, please specify the distro and version.
Test Configuration
Please paste the output of
wails doctor
. If you are unable to run this command, please describe your environment in as much detail as possible.Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit