* remove pr-flow, run all the tests when asked
* make tests that were never run pass
* run tests cargo make properly
* use wasm-pack-base test for running wasm tests
* cargo make config should be good
* update CI
* detach destructures now
* add failing keyed-list issue
* crude port to the new bundle infrastructure
* port over the infrastructure
the new bcomp is especially nice and lost a few unwraps owed to not having
to reserve space for a scope before rendering.
Note also that bsuspense has been slimmed a bit, storing the suspended flag
implicitly in the state.
some naming is not perfect yet and has to be adjusted still.
* mass rename: apply -> reconcile
* get rid of move_before in favor of shift
* generate id directly when creating a new scope
* bundle for text nodes
* work on naming: ancestor -> bundle
* slightly optimize list reconciler, add doccomments
* address review
* add internal documentation
* address review comments
rename fields in bsuspense
convert to gloo::events
* move even more stuff into dom_bundle to scope exports
- app_handle and layout_tests are now in there
- items are publically re-exported in crate::dom_bundle
- dom_bundle itself is private
- btag and bcomp get their own submodules
- bcomp now contains the lifecycle and scope impls
* move replace into Reconcilable
* move lifecycle and scope back into html as per review
* move back Value and InputFields into html
* actually only type-check format args in production
* fix documentation link
* move btag_impl up into containing module
* shift comps immediately
shifting the rendered Nodes does not tie into the lifecycle,
as such it can happen immediately
* use list-bundle in tag-bundle
* fix cargo make tests
* improve 05_swap benchmark
* fix a blunder where I swapped operands
* fix naming of BNode variants
* fix docs.rs logo url
* fix formatting
* bump docusaurus to beta14
* bring back the semicolon
* cache npm for build-website workflow
* Add prebuilt cargo-sweep binary
* Optimize website CI
* per-job caching, stale cache invalidation
* extract fmt job as workflow
move website test as a prerequisite for publish
* fix typo in cargo-sweep executable path
* chmod +x
* rename to main-checks.yml
* --exclude has to be used with --workspace
* revert accidental revert
* Switch from cargo-sweep to rust-cache
* link to this related issue of extra brackets
* remove blanks
* exclude website-test in main tests
* rename suffixes from .mdx to .md
* replace actions-rs/install with wasm-pack-action
fixes#2351
* shouldn't ignore .md because website snippet tests depends on .md files and there can be
#[doc(include("../some.md"))] in the code
* restore accidentally deleted mdx files
* include tools/website-test (for real this time)
* Add doc-test to test website code snippets
Heavily inspired by tokio-rs/website repo.
* Fix code snippets to pass doc tests
Some code snippets are explicitly ignored and some are not run
to avoid having to include dependencies for one liners.
* Add website code snippet tests to CI
* Fix CI
* Remove doc-test from workspace
* Exclude doc-test from workspace
* Refactor code snippets and tests
Code snippets can import types from doc_test crate i.e.:
```rust
use doc_test::agents::EventBus;
```
This allows for moving some boilerplate away from the example and still
checks that the code compiles correctly.
Also some slight changes to some of the examples and the information
about `ComponentLink` which is deprecated.
* Move doc-test to packages
* Rename doc-test crate to website-test
The new name makes it more clear the purpose of this crate.
* fix ci
* time for more hygiene
* update corresponding tests
* while I'm at it
* now let's fix the actual issue
* fix the publish examples CI while I'm at it
* resolve clippy warnings
* format and cleanup
* remove bash scripts
* update pr template
* ignore router examples
* add pr-flow task
* I really don't know what I'm doing
* add wasm_bench feature
* well that explains one of my issues
also, that Geckodriver issue seems to be resolved
* run macro tests on 1.45.2
* update the documentation
* test flags no longer necessary
* remove benchmark instructions
* finishing touch
* Migrate run_stable_checks shell script to cargo-make
* simplify makefile
* More improvements based on new cargo-make features in development
* initial work on migrating run_tests to cargo-make
* do not test examples
* Enforce cargo-make minimal version 0.32.2
* Start/stop httpbin docker container
* Update Makefile.toml
Co-authored-by: Simon <simon@siku2.io>
* Update Makefile.toml
Co-authored-by: Simon <simon@siku2.io>
* use new cleanup task feature to ensure we cleanup docker container
* bump min cargo-make version
* Use configurable or default port number and also validate docker is installed
* spelling mistake fix
* fixing env set
* ensure min cargo-make version
Co-authored-by: Simon <simon@siku2.io>