angulardart_cli 1.7.2
angulardart_cli: ^1.7.2 copied to clipboard
CLI scaffolding tool for AngularDart (Dart 3 compatible)
1.7.2 #
Corrections #
- SSR : Correction complète du pipeline SSR pour la VM
- Compilateur : Ne génère plus d'imports vers
platform_dom_browser.template.dartpour les fichiers sans contenu Angular - TextBinding : Utilise maintenant
renderFactory.createText()au lieu deBrowserRenderNode.text() - Templates CLI : Utilisent
platform_dom.dartavec imports conditionnels
- Compilateur : Ne génère plus d'imports vers
- E2E : Correction du bug dans
e2e_integration_test.dart(build web/main.server.dart → build web)
1.7.1 #
Corrections #
- SSR : Correction des templates pour utiliser
platform_dom.dartau lieu d'importer directementpackage:web/web.dartprojectMainDartSsr: import conditionnel viaplatform_dom.dartprojectMainServerDartFixed: importmain.server.dartau lieu demain.server.template.dartadd_ssr_command: ne plus ajouter l'import directpackage:web- Correction des tests associés
1.7.0 #
- Add:
--hybridflag tongdart new(mutually exclusive with --ssr and --seo) - Add:
ngdart add ssr— adds SSR to an existing project (idempotent) - Add:
ngdart add hybrid— adds hybrid SSR + routing + RenderMode (idempotent) - Add: 13 new hybrid templates (pubspec, index.html, main.dart, server entry, 4 components, data service, readme)
- Add: platform_dom*.dart templates for conditional browser/VM imports
- Add:
_generateHybridComponents()writes components with RenderMode in lib/ - Fix:
ngdart generate-stubsauto-copies templates from lib/ AND web/ + creates hybrid component stubs
1.6.1 #
- Fix: SSR template now works end-to-end — component inline in web/main.dart, HTML in web/app_component.html, templates copied from build output
- Fix:
ngdart generate-stubscreates web/main.template.dart stub and no longer conflicts with build_runner - Fix: Constrained
package:webto<1.0.0(1.x uses incompatible JS interop)
1.6.0 #
- Fix: SSR template now works end-to-end — component inline in web/main.dart, HTML in web/app_component.html, templates copied from build output
- Fix:
ngdart generate-stubscreates web/main.template.dart stub and no longer conflicts with build_runner - Fix: Constrained
package:webto<1.0.0(1.x uses incompatible JS interop)
1.5.0 #
- Fix: SSR template now uses correct structure — component inline in web/main.dart with HTML in web/app_component.html (matches hello_world_ssr example exactly)
- Add:
web/app_component.htmlgenerated for SSR projects instead of lib/ files
1.4.3 #
- Fix: SSR template puts component inline in main.dart (matches hello_world_ssr example, avoids build system recursion bugs)
1.4.2 #
- Fix: SSR template uses relative import
../lib/{{component.targetName}}.dartso the angulardart builder can find and generate NgFactory
1.4.1 #
- Fix: SSR template now includes the component inline in main.dart so the angulardart builder can find and generate NgFactory (matches hello_world_ssr example pattern)
1.4.0 #
- Fix: SSR template now uses package import instead of relative path so the builder can find and generate AppComponentNgFactory
1.3.0 #
- Fix: SSR template now requires angulardart_server >=1.2.0 (fixes missing textContent/id DOM properties)
- Fix: build_runner command corrected from
build web/main.server.darttobuild webin usage instructions
1.2.2 #
- Fix: SSR template now requires angulardart_server >=1.2.0 (fixes missing textContent/id DOM properties)
- Fix: build_runner command corrected from
build web/main.server.darttobuild webin usage instructions
1.2.1 #
- Fix:
web/main.server.dartnow generated as a proper AngularDart entry point (exportsappComponentFactory) instead of HTTP server code - Fix:
bin/server.dartimports from../web/main.template.dartand usesng.appComponentFactorycorrectly - Fix: added
package:webdependency to SSR project template for DOM access inmain.dart - Fix: build_runner command corrected from
build -d web/main.server.darttobuild web/main.server.dart - Fix: escaped single quotes and UTF-8 characters properly in generated Dart string literals
- Fix: corrected broken French accents in SSR README (côté, reçoit, réutilise, accède)
1.2.0 #
- Add:
ngdart generate-stubscommand to auto-generate.template.dartstubs for AOT compilation - Fix: _findRepoRoot() now works from any directory in the monorepo (no longer depends on .dart_tool/)
1.1.3 #
- Fix: package:web constraint updated to <1.2.0
1.1.2 #
- Migrate from
dart:htmltopackage:webfor DOM types - Add: SSR rendering support with conditional platform imports (browser_dom_apis.dart, native_dom_apis.dart)
- Fix: Zero errors/warnings/infos in dart analyze --fatal-infos
1.1.1 #
- Fix: removed invalid empty abbreviation on
--ssrflag (fixes crash on startup) - Fix: use wide version notation for all dependencies per project conventions
1.1.0 #
- Add: SSR project scaffolding with
ngdart new --ssrflag - Add: Hybrid rendering template generation
- Docs: Documented
ngdart new --seoandangulardart seo initcommands, added SEO/prerender to Related Packages
1.0.15 #
- Fix: Use wide version notation for all dev_dependencies (lints, test)
1.0.14 #
- Fix: Updated dependency constraints for compatibility with angulardart 9.x ecosystem
1.0.13 #
- Add community-maintained disclaimer to README
1.0.12 #
- feat: add --seo flag to
ngdart newcommand - feat: add
ngdart seo initcommand for existing projects - fix: remove unused imports in SEO templates
1.0.11 #
- fix: release.sh now looks for commits touching the package directory
- chore: add release.sh scripts to all packages
1.0.10 #
- Updated generated project dependencies to latest versions
- Fixed
camelCasedgetter crash on trailing separators - Changed pipe template to use
implementsinstead ofextendsforPipeTransform
1.0.9 #
- Updated documentation links to point to angulardartreborn.com
- Updated homepage to https://angulardartreborn.com
1.0.2 #
- Added
topicsfor better discoverability on pub.dev - Added
issue_trackerURL - Added explicit
platformsdeclaration for Linux, macOS, and Windows
1.0.1 #
- Removed unused imports (cleaner code)
1.0.0 #
- Initial version
ngdart new <project>- Create a new AngularDart projectngdart generate component <Name>- Generate a componentngdart generate directive <Name>- Generate a directivengdart generate pipe <Name>- Generate a pipengdart generate service <Name>- Generate a service