-
Notifications
You must be signed in to change notification settings - Fork 5
docs(genui-sdk): update genui-sdk docs #86
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
Changes from all commits
65888c2
6933e58
8c54cdf
3f10b8d
c67ebc6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,8 @@ | |
| "author": "", | ||
| "license": "MIT", | ||
| "dependencies": { | ||
| "@opentiny/genui-sdk-vue": "1.0.0-beta.1" | ||
| "@opentiny/genui-sdk-angular": "workspace:*", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check pnpm-workspace.yaml for angular package inclusion
echo "=== pnpm-workspace.yaml ==="
cat pnpm-workspace.yaml 2>/dev/null || echo "File not found"
echo -e "\n=== Root package.json build scripts ==="
cat package.json | grep -A10 '"scripts"'Repository: opentiny/docs Length of output: 833 🏁 Script executed: #!/bin/bash
# Check the angular package.json to verify the package name
find . -path "*genui-sdk/packages/frameworks/angular/package.json" -type f | head -1 | xargs cat
echo -e "\n=== Check genui/package.json dependencies ==="
cat genui/package.json | grep -A5 -B5 "@opentiny/genui-sdk-angular"Repository: opentiny/docs Length of output: 371 🏁 Script executed: #!/bin/bash
# Find and display angular package.json
cat genui/genui-sdk/packages/frameworks/angular/package.json 2>/dev/null | head -20 || echo "File not found at expected path"
# Alternative: search for it
echo -e "\n=== Searching for angular package.json ==="
find . -name "package.json" -path "*/frameworks/angular/*" -type f -exec cat {} \; 2>/dev/null | head -20Repository: opentiny/docs Length of output: 100 🏁 Script executed: #!/bin/bash
# List the directory structure to understand the workspace layout
echo "=== Checking genui-sdk structure ==="
ls -la genui/genui-sdk/packages/frameworks/ 2>/dev/null || echo "Directory not found"
echo -e "\n=== List all files in genui-sdk ==="
find genui/genui-sdk -maxdepth 3 -type d | head -20
echo -e "\n=== Search for any angular package.json ==="
find . -name "package.json" | grep -i angularRepository: opentiny/docs Length of output: 211 🏁 Script executed: #!/bin/bash
# Check what's actually in genui directory
echo "=== Contents of genui directory ==="
ls -la genui/
echo -e "\n=== Contents of genui-sdk directory ==="
ls -la genui/genui-sdk/
echo -e "\n=== All package.json files in the repo ==="
find . -name "package.json" -type f | grep -v node_modules | sortRepository: opentiny/docs Length of output: 552 🏁 Script executed: #!/bin/bash
# Check if the packages declared in pnpm-workspace.yaml actually exist
echo "=== Verifying packages declared in pnpm-workspace.yaml ==="
pnpm_packages=(
"tiny-robot"
"genui"
"genui/genui-sdk/packages/frameworks/angular"
"genui/genui-sdk/packages/core"
"genui/genui-sdk/projects/tiny-schema-renderer-ng"
)
for pkg in "${pnpm_packages[@]}"; do
if [ -d "$pkg" ]; then
echo "✓ $pkg exists"
else
echo "✗ $pkg DOES NOT EXIST"
fi
done
echo -e "\n=== Check tiny-robot packages ==="
find tiny-robot -maxdepth 2 -type f -name "package.json" 2>/dev/null | head -10Repository: opentiny/docs Length of output: 359 🏁 Script executed: #!/bin/bash
# Check git status to see if packages are being ignored or missing
echo "=== Check git status ==="
git status 2>/dev/null | head -30
echo -e "\n=== Check .gitignore for genui-sdk ==="
cat .gitignore 2>/dev/null | grep -i genui
echo -e "\n=== Look for any `@opentiny` packages in node_modules (after install) ==="
find node_modules/@opentiny -maxdepth 2 -type d 2>/dev/null | grep -i angular | head -10Repository: opentiny/docs Length of output: 394 Fix workspace package paths in The
The 🤖 Prompt for AI Agents |
||
| "@opentiny/genui-sdk-vue": "1.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "vitepress": "^1.6.3", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| packages: | ||
| - tiny-robot/** | ||
| - genui | ||
| - genui/genui-sdk/packages/frameworks/angular | ||
| - genui/genui-sdk/packages/core | ||
| - genui/genui-sdk/projects/tiny-schema-renderer-ng |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same broken
base/linkpattern — Angular example links will misroute.Same issue as the Server 指引 section:
base: '/genui-sdk'with absolute links (leading/) means the base is ignored, resolving to/examples/angular/renderer/...instead of/genui-sdk/examples/angular/renderer/....🐛 Proposed fix — use trailing slash on base and relative links
{ text: 'Renderer 组件', - base: '/genui-sdk', + base: '/genui-sdk/examples/angular/renderer/', items: [ - { text: '自定义 Actions', link: '/examples/angular/renderer/custom-actions' }, + { text: '自定义 Actions', link: 'custom-actions' }, { text: '配置缓冲字段', - link: '/examples/angular/renderer/required-complete-field-selectors' + link: 'required-complete-field-selectors' }, - { text: '传递合并 State', link: '/examples/angular/renderer/state' } + { text: '传递合并 State', link: 'state' } ] }📝 Committable suggestion
🤖 Prompt for AI Agents