5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 23:20:51 +08:00
wails/v2/internal
Oleg Gulevskyy ca8a1fab36
Ability to define prefix / suffix for TS module (#2101)
* 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>
2022-11-24 21:33:58 +11:00
..
app Ability to define prefix / suffix for TS module (#2101) 2022-11-24 21:33:58 +11:00
binding Ability to define prefix / suffix for TS module (#2101) 2022-11-24 21:33:58 +11:00
colour feature/turn off color terminal output of dev command (#1947) 2022-10-20 21:11:20 +11:00
frontend Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js (#2128) 2022-11-24 06:08:15 +11:00
fs Modularize wails (#2009) 2022-11-03 21:21:40 +11:00
github v2.0.0-rc.1 (#1846) 2022-09-13 11:47:13 +10:00
go-common-file-dialog Move go-common-file-dialog into project. Fix Title bug. 2022-06-01 21:00:52 +10:00
gomod Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
goversion [cli] Add check for minimum required go version (#1853) 2022-09-15 07:28:28 +10:00
logger [windows-x] Huge updates to devmode, runtime, build command. 2021-08-22 23:05:22 +10:00
menumanager Add BackgroundColour and deprecate RGBA (#1475) 2022-06-21 19:47:05 +10:00
process [v2] Fix killing dev command on Windows 2021-10-03 22:19:40 +11:00
project Ability to define prefix / suffix for TS module (#2101) 2022-11-24 21:33:58 +11:00
s Update Svelte to Vite 3 (#1643) 2022-07-24 20:20:02 +10:00
shell Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 2020-09-15 19:52:54 -05:00
signal Better signal handling (#1488) 2022-06-25 09:26:17 +10:00
staticanalysis [assetserver] Introduce middleware and extract options (#2016) 2022-10-29 23:15:15 +02:00
system [darwin] Show Xcode version in wails doctor (#2089) 2022-11-14 20:11:07 +11:00
typescriptify Ability to define prefix / suffix for TS module (#2101) 2022-11-24 21:33:58 +11:00
webview2runtime [v2] NSIS installer support for Windows (#1184) 2022-03-02 19:44:31 +11:00
wv2installer [webview2loader] Add full featured go implementation (#1974) 2022-10-22 00:29:16 +11:00