Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutterjsdev/flutterjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c48bcdf
Choose a base ref
...
head repository: flutterjsdev/flutterjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8687781
Choose a head ref
  • 7 commits
  • 196 files changed
  • 2 contributors

Commits on Feb 8, 2026

  1. Split parsing and generation; add dep symbol table

    Refactor package compiler to accept dependencyPaths and build a global symbol table from dependencies' exports.json (prefers explicit URIs, falls back to inferred package: URIs). Split file processing into _parseFile and _generateJS phases, populate local exports into the global table, and run JS generation with an updated importRewriter that preserves package: URIs (converts .dart -> .js). Add verbose/debug logging and diagnostics for symbol resolution and package scanning. Fix declaration extraction: propagate extension-type metadata, log debug info, and record generic typedefs. Also include many generated JS artifacts, source maps and package metadata updates (exports.json / package.json) across flutterjs_dart, foundation, services, widgets, engine, gen, runtime, tools and other packages.
    jaypal1046 committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    57e881b View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. Configuration menu
    Copy the full SHA
    d63bae9 View commit details
    Browse the repository at this point in the history
  2. feat: Scaffold initial FlutterJS project structure including analyzer…

    …, runtime, engine, and build artifacts.
    jaypal1046 committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    45d99e7 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. feat(node): auto-link flutterjs packages and filter web-only for node…

    … target
    
    - run_command.dart: add _ensureNodeModulesForNodeTarget() — creates
      node_modules/flutterjs_X junctions before launching node server so
      `import 'flutterjs_server'` resolves without requiring `flutterjs get`
    - code_pipleiline.dart: skip web-only @flutterjs packages (material,
      widgets, vdom, seo, etc.) from PackageRegistry when target is node,
      preventing symbol table pollution with browser-only widget names
    - runtime_package_manager.dart: when linking @flutterjs/X SDK packages
      also link under the Dart name (flutterjs_X) in root node_modules
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    jaypal1046 and claude committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    8af1fad View commit details
    Browse the repository at this point in the history
  2. feat: Node.js server target, enum codegen, import tracking, and packa…

    …ge improvements
    
    Core compiler:
    - Add ImportExportTracker and ImportExportModel for accurate cross-file import analysis
    - Add EnumDecl IR node and EnumCodeGenerator for proper enum → JS object translation
    - Fix CascadeExpressionIR scanning in ImportAnalyzer and FileCodeGen
    - Fix null comparison semantics (== null uses loose equality to catch undefined)
    - Fix Map cast to use typeof check instead of instanceof Map
    - Remove hardcoded identifier hacks in ExpressionCodeGenerator
    
    Node.js server target:
    - Add flutterjs_server package (Dart API + JS runtime with HTTP server, router, middleware)
    - Add dart_api example: full REST API demo compiled from Dart to Node.js
    - PackageRegistry: filter web-only @flutterjs packages for node target builds
    - RuntimePackageManager: also link @flutterjs/X as flutterjs_X in root node_modules
    - RunCommand: auto-link node_modules before starting node server (_ensureNodeModulesForNodeTarget)
    
    Import generation:
    - GlobalSymbolTable wired to ModelToJSPipeline after package manifests load
    - PackageRegistry.buildGlobalSymbolTable() maps symbols to full package: URIs
    - Fix hardcoded material imports registered in symbolToPath to prevent duplicates
    
    Package updates:
    - flutterjs_foundation, flutterjs_gestures, flutterjs_material, flutterjs_services,
      flutterjs_widgets: updated exports.json, build.js, src/index.js
    - flutterjs_dart: add ui_web dist, pubspec.yaml
    - flutter_web_plugins: add JS package
    - Add tool/ scripts for build, check, fix-imports, reset
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    jaypal1046 and claude committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    7df339b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    020041a View commit details
    Browse the repository at this point in the history
  4. Prepare flutterjs_server for pub.dev publication

    - Add CHANGELOG.md with v1.0.0 release notes
    - Add BSD-3-Clause LICENSE file
    - Add .gitignore for build artifacts
    - Update pubspec.yaml: remove publish_to restriction, fix SDK constraint
    - Remove duplicate README copy.md from example
    - Allow dist/ files to be published (required for npm runtime)
    jaypal1046 committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    8687781 View commit details
    Browse the repository at this point in the history
Loading