Skip to content

feat: add support for plugins#89

Open
raideno wants to merge 23 commits intomainfrom
feat/add-plugins
Open

feat: add support for plugins#89
raideno wants to merge 23 commits intomainfrom
feat/add-plugins

Conversation

@raideno
Copy link
Copy Markdown
Owner

@raideno raideno commented Mar 4, 2026

Based on issue #88.

@raideno raideno self-assigned this Mar 4, 2026
@raideno raideno added the enhancement New feature or request label Mar 4, 2026
@raideno raideno force-pushed the feat/add-plugins branch from e28ef6b to 007a87d Compare March 7, 2026 02:07
@raideno raideno force-pushed the feat/add-plugins branch 4 times, most recently from 6e54a42 to bf47b33 Compare March 7, 2026 11:57
@raideno raideno force-pushed the feat/add-plugins branch from bf47b33 to fa21ea5 Compare March 7, 2026 11:59
@raideno
Copy link
Copy Markdown
Owner Author

raideno commented Mar 9, 2026

Run cd awesome-src

> build
> NODE_OPTIONS='--import tsx' dotenv -e .env -- vite build

[plugins](loaded): 0 plugin(s) found.
[repository](source): /home/runner/work/awesome-ui/awesome-ui
[repository](public): /home/runner/work/awesome-ui/awesome-ui/awesome-src/packages/website/public/repository
[repository](bundled): 1 pattern(s) configured for inline bundling
[repository](ignore): .git, node_modules, .DS_Store
vite v6.4.1 building for production...
[repository](copy): copied 128 file(s) → /home/runner/work/awesome-ui/awesome-ui/awesome-src/packages/website/public/repository
[repository](copy): copied 128 file(s) → /home/runner/work/awesome-ui/awesome-ui/awesome-src/packages/website/public/repository
transforming...
[repository](load): bundled 1 file(s) from "/home/runner/work/awesome-ui/awesome-ui"
✓ 554 modules transformed.
rendering chunks...
computing gzip size...
dist/manifest.webmanifest                            0.36 kB
dist/index.html                                      0.62 kB │ gzip:   0.34 kB

Build is being successful but current issue is that the whole raideno/awesome repository is being copied into the public directory, so we need to first copy the repository's content into some directory inside awesome-src and give that path when building the website.

@raideno
Copy link
Copy Markdown
Owner Author

raideno commented Mar 9, 2026

Bug above is solved, action runs correctly but when site is uploaded, if we visit https://raideno.github.io/awesome-ui/repository/README.md for the first time, we see it and find it there, same thing for the list.yaml or resources.yaml, but if we refresh the page and visit it a second time, the list doesn't appear anymore and we just get the fallback html, the list it self.
This causes the website to not have access to the list as it can't load it and thus we always are faced with an empty website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant