ssr_cli 0.1.8 copy "ssr_cli: ^0.1.8" to clipboard
ssr_cli: ^0.1.8 copied to clipboard

Command-line interface for SSR Framework - Create projects, generate code, build and serve

Changelog #

All notable changes to SSR Framework will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.8 - 2025-07-31 #

Fixed #

  • Fix server.dart imports to use correct relative paths (../lib/pages/...)
  • Server can now start without import errors

0.1.7 - 2025-07-31 #

Fixed #

  • Update angulardart dependency to ^8.0.8 (includes missing model.g.dart)
  • Build now succeeds without errors

0.1.6 - 2025-07-31 #

Fixed #

  • Update ssr_client dependency to ^0.1.3
  • Simplify dependency injection (no more Client injection)
  • Fix AngularDart build issues with http package

0.1.5 - 2025-07-31 #

Added #

  • Generate app_component.dart in new projects
  • AngularDart root component with SSR services injection

Fixed #

  • Update ssr_client dependency to ^0.1.2
  • Fix build_runner issues with AngularDart template generation

0.1.4 - 2025-07-31 #

Fixed #

  • Replace relative path dependencies with published versions from pub.dev
  • Use angulardart ^8.0.6 and angulardart_test ^5.0.2 from pub.dev
  • Use ssr_core ^0.1.0, ssr_server ^0.1.0, ssr_client ^0.1.1 from pub.dev
  • Downgrade lints to ^4.0.0 for compatibility with angulardart_test

0.1.3 - 2025-07-31 #

Fixed #

  • Normalize project names to use underscores (Dart identifier requirement)
  • Convert hyphens to underscores in project name, directory, and pubspec

0.1.2 - 2025-07-31 #

Fixed #

  • Wire up command options in main parser (--template, --force, --release, --port)
  • Fix argument parsing for all subcommands

0.1.1 - 2025-07-31 #

Fixed #

  • Escape $ in regex replacement string in template_utils.dart
  • Fix Dart 3 catch syntax in ssr_cli.dart
  • Fix nested triple-quoted strings in generate.dart component template
  • Remove unused imports in create.dart and generate.dart
  • Remove unused targetDir variable in build.dart

0.1.0 - 2024-01-26 #

Added #

  • Initial release

  • ssr_core: Core interfaces and types

    • SsrApp, SsrPage, SsrConfig
    • SsrRouter, SsrRoute
    • SsrState for state management
  • ssr_server: Server-side rendering engine

    • HTTP server with Alfred
    • Template engine with Jinja
    • Static file serving
    • SEO routes (sitemap.xml, robots.txt)
    • PWA support (manifest.json)
  • ssr_client: Client-side hydration

    • HydrationService for data transfer
    • NavigationService for client-side routing
    • ApiService for HTTP requests
    • MetaService for dynamic meta tags
  • ssr_router: File-based routing

    • Automatic route discovery
    • Dynamic routes with parameters
    • Route registry
  • ssr_hydration: Automatic hydration

    • Server-to-client data transfer
    • JSON serialization/deserialization
  • ssr_seo: SEO utilities

    • Sitemap generation
    • Robots.txt generation
    • Meta tags management
  • ssr_pwa: PWA utilities

    • Manifest generation
    • Service worker generation
    • Offline support
  • ssr_cli: Command-line interface

    • ssr create - Create new projects
    • ssr generate - Generate pages, components, services
    • ssr build - Build for production
    • ssr serve - Start development server
  • ssr_example: Example application

    • Home page
    • Profile page
    • About page
    • Full SSR + hydration demo

Features #

  • Server-Side Rendering (SSR)
  • Automatic hydration
  • File-based routing
  • Code splitting with deferred imports
  • Prefetching with IntersectionObserver
  • Optimistic updates
  • Error boundaries
  • Loading states
  • Page transitions
  • SEO optimization (meta tags, sitemap, robots)
  • PWA support (service worker, manifest, offline)
  • SQLite database integration
  • State management (Redux-like)
  • API client
  • Dynamic meta tags

Documentation #

  • Quick start guide
  • Installation guide
  • Deployment guide
  • Configuration guide
  • Best practices
  • Troubleshooting
  • FAQ
  • API reference for all packages
  • Example applications (blog, portfolio)
0
likes
150
points
217
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Command-line interface for SSR Framework - Create projects, generate code, build and serve

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

args, io, path

More

Packages that depend on ssr_cli