angulardart_cli 1.7.2 copy "angulardart_cli: ^1.7.2" to clipboard
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.dart pour les fichiers sans contenu Angular
    • TextBinding : Utilise maintenant renderFactory.createText() au lieu de BrowserRenderNode.text()
    • Templates CLI : Utilisent platform_dom.dart avec imports conditionnels
  • 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.dart au lieu d'importer directement package:web/web.dart
    • projectMainDartSsr : import conditionnel via platform_dom.dart
    • projectMainServerDartFixed : import main.server.dart au lieu de main.server.template.dart
    • add_ssr_command : ne plus ajouter l'import direct package:web
    • Correction des tests associés

1.7.0 #

  • Add: --hybrid flag to ngdart 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-stubs auto-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-stubs creates web/main.template.dart stub and no longer conflicts with build_runner
  • Fix: Constrained package:web to <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-stubs creates web/main.template.dart stub and no longer conflicts with build_runner
  • Fix: Constrained package:web to <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.html generated 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}}.dart so 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.dart to build web in 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.dart to build web in usage instructions

1.2.1 #

  • Fix: web/main.server.dart now generated as a proper AngularDart entry point (exports appComponentFactory) instead of HTTP server code
  • Fix: bin/server.dart imports from ../web/main.template.dart and uses ng.appComponentFactory correctly
  • Fix: added package:web dependency to SSR project template for DOM access in main.dart
  • Fix: build_runner command corrected from build -d web/main.server.dart to build 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-stubs command to auto-generate .template.dart stubs 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:html to package:web for 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 --ssr flag (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 --ssr flag
  • Add: Hybrid rendering template generation
  • Docs: Documented ngdart new --seo and angulardart seo init commands, 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 new command
  • feat: add ngdart seo init command 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 camelCased getter crash on trailing separators
  • Changed pipe template to use implements instead of extends for PipeTransform

1.0.9 #

1.0.2 #

  • Added topics for better discoverability on pub.dev
  • Added issue_tracker URL
  • Added explicit platforms declaration 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 project
  • ngdart generate component <Name> - Generate a component
  • ngdart generate directive <Name> - Generate a directive
  • ngdart generate pipe <Name> - Generate a pipe
  • ngdart generate service <Name> - Generate a service
1
likes
0
points
240
downloads

Documentation

Documentation

Publisher

verified publisherqlapp.fr

Weekly Downloads

CLI scaffolding tool for AngularDart (Dart 3 compatible)

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #angular #scaffolding #code-generation

License

unknown (license)

Dependencies

args, mustache_template, path

More

Packages that depend on angulardart_cli