* add tspostfix and tsprefix flags + organise under struct
* postifx -> suffix
* tsPrefix options on bindings struct
* pass prefix and suffix to the executable
* add support for CLI flags for generating module
* method to set TSpref/suff to bindings
* use passed ts prefix for typescriptify
* add brief Readme udpate to include new flags
* create reusable common flags
* use common flags instead of hardcoded text
* support tsprefix & suffix for dev
* add tsPrefix & tsSuffix for build cmd
* take pref & suff in account when gen d.ts
* export colorsful log functions into utils for reuse
* detect and warn the user about usage of reserved keyword
* fmt
* add TrimSpace on fn input
* refactor utils -> logutils
* add bindings -> ts_generation options to wailsjson parse
* use wailsjson for ts generation
* update warning message + extract to func
* remove suff/pref info from readme
* update json schema
* add tests for prefix and suffix case
* rename suffix method
* Update v2/internal/typescriptify/typescriptify.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* update changelog
* Minor tweaks
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* [webview2loader] Add full featured go implementation
The new go loader can be activated with the exp_gowebview2loader build tag.
* [build] Add information for using the new webvie2loader
* Support parsing embed directives from package
* Validate `embed` directives on build
* `.gitkeep` -> `gitkeep`
* Make step silent. Fix for `wails dev`
* [v2, dev] Improve logging of dev watcher command during stop
* [v2, dev] Build frontend only before starting the dev watcher command
Breaking Change: Ignore flags take precedence over Force flag.
* Override platform with GOOS and GOARCH
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Only use GOOS and GOARCH env vars for default target
* Update docs. Add dryrun flag for testing
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Fix scenario where no arch specified
* Fixed banner
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* [v2] Add support for post build hooks
Currently only supports build-level hooks
* [v2] Improve build assets handling and use single source for manifest generation
The manifest asset files are now a go template and data will be
resolved before they are included into the build output.
Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.
* [v2, windows] NSIS installer generation