extension_enabler 1.1.0
extension_enabler: ^1.1.0 copied to clipboard
A command line tool that enables flutter web app as chromium based extension with simple commands.
1.1.0 #
- Dart 3 support: SDK constraint widened to
>=3.0.0 <4.0.0. - Upgraded dependencies:
args^2.7.0,html^0.15.6,path^1.9.1,lints^5.0.0. - Fixed the
buildcommand for modern Flutter: it now runsflutter build web --csp --no-web-resources-cdn. The old--web-renderer htmlflag was removed in Flutter 3.29, so it is gone; CanvasKit is now bundled locally instead of loaded from a CDN, which keeps it within the extension CSP. - The generated manifest CSP now allows
'wasm-unsafe-eval'so the CanvasKit/Skwasm renderer can run under Manifest V3. - The
buildcommand now waits forflutter buildto finish, streams its output live, and exits non-zero when the build fails (previously it returned immediately and swallowed errors). enableandupdateaccept--name,--description,--version,--width, and--heightflags. Supplying all of them runs the command with no prompts, which makes it usable in scripts and CI. On invalid input the command now exits non-zero.- Fix:
updatenow keeps the current window height/width when you press enter, instead of silently resetting them to 200px. - Fix: window dimensions read back by
updatenow retain theirpxunit, so the written CSS stays valid. - Fix: writing the manifest no longer mutates the shared default config (it used a live reference and encoded the wrong map).
- Added a test suite (
dart test) and a GitHub Actions CI workflow (format, analyze, test, publish dry-run). - Added dartdoc comments across the public API and turned on the
always_declare_return_typesandtype_annotate_public_apislints, giving every public method an explicit return type. The package now scores 160/160 on pub.dev. - Added
repositoryandissue_trackerto pubspec.
1.0.5 #
- bug fixes and minor doc updates