Comments (6)
I had some luck using deno's cdn
https://esm.sh/haunted
from haunted.
Unfortunately my best suggestion will be to redo the docs build altogether. I think there are two good options:
- Redo it with 11ty, replacing the rocket-specific plugins
- Redo it with rocket, which was rewritten to remove 11ty, rewriting the rocket plugins
either way, the plugins need to be removed or rewritten.
I've got some plans to port my rocket plugins to 11ty, but no timeline
from haunted.
Were you able to find a workaround?
from haunted.
The syntax error is in the haunted.js
file that is bundled with the 5.0.0 release on npm, which in turn is distributed by unpkg, CDNJS, etc.
Looks like @matthewp has been working on automating/upgrading the testing and release pipeline, so I'm guessing it's related to that. I also noticed that a bunch of compiled js
and d.ts
files for the npm release were committed by a bot to the top level repo, which is probably also unintentional, but hopefully easy to reverse.
@bennypowers might also be able to fix this. I'm a bit out of my depth here unfortunately.
from haunted.
Unfortunately my best suggestion will be to redo the docs build altogether. I think there are two good options:
- Redo it with 11ty, replacing the rocket-specific plugins
- Redo it with rocket, which was rewritten to remove 11ty, rewriting the rocket plugins
either way, the plugins need to be removed or rewritten.
I've got some plans to port my rocket plugins to 11ty, but no timeline
Thanks @bennypowers. I spent the morning playing around with both options and I'm currently leaning towards option 1 (just use 11ty) as Rocket appears to be evolving much more quickly and is much less widely used. As a sidenote, it's unfortunate that the name "Rocket" is already used by the Rust web framework as it makes searching difficult.
I took at stab at rewriting the docs in 11ty and soon realized that the layout files are not committed to this repo. Where is layout-home
defined? Is it built-in to an old version of Rocket? I couldn't find it in the Rocket repo either.
Appreciate your help with this. Hopefully it's something I can knock out in the coming week or so.
from haunted.
yeah it's likely an old-rocket thing
In old-rocket, a 'preset' was a bundle of eleventy plugin + templates + includes + data which could be then used throughout the app. AFAICT 11ty never provided an 'official' way to do this.
from haunted.
Related Issues (20)
- How to annotate return type of custom Haunted hook?
- Upgrading haunted to v2 of lit HOT 5
- Virtual Components can't be conditionally rendered in same part of template HOT 1
- LitHauntedElement: No re-render observed when incoming prop changed HOT 3
- question on potential Redux hooks
- Use Changesets HOT 1
- Consider replacing State and Hook classes with ReactiveController[Host]
- Problem with Haunted 4.8.3 and babel loader HOT 3
- styling example HOT 2
- Context without shadow root HOT 2
- Notify RootPart of disconnect when disconnecting component
- Create component without shadow dom HOT 3
- Haunted not clearing innerHTML before first render HOT 2
- Using useState with generic types
- Infinite loop if effect schedules an update and then throws
- OT: recaptcha haunted js component
- Adopting Stylesheets HOT 3
- Is this repository still active? HOT 5
- Virtual Components HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haunted.