unknown
9949420639
add template.JSEscapeString to ensure ExecJs normal execution
2021-10-05 09:45:36 +08:00
Lea Anthony
9e347bf71f
[v2] Generate ipcdev.js
and runtimedev.js
2021-10-04 19:58:46 +11:00
Lea Anthony
829fd8616b
[v2] Make ipc.js
cross-platform
2021-10-04 19:42:22 +11:00
Lea Anthony
ae980d48fd
[v2] Fix connection delay for websockets
2021-10-04 17:10:46 +11:00
Lea Anthony
ba9e64f53a
Merge pull request #848 from codydbentley/refactor-dev-command
...
Refactored `wails dev` command:
2021-10-04 17:10:26 +11:00
Lea Anthony
b15d98b555
[v2] Rename noautoinjectbindings -> noautoinjectipc
2021-10-04 16:53:27 +11:00
Cody Bentley
bdda454f69
Refactored wails dev
command:
...
- added `devFlags` data structure for managing flags
- created `defaultDevFlags()` for generating default `devFlags` struct
- created `loadAndMergeProjectConfig()` to consolidate wails.json interaction
- re-arranged some variable creation and logic to put related pieces together
- consolidated `frontend:dev` handling to `runFrontendDevCommand()`
- added `generateBuildOptions()` for readability
- removed unused `passthruArgs` slice
- consolidated `restartApp()` call signature, removed unused `firstRun` argument
- fixed browser open option still using hard-coded default value, switched to recently added const `defaultDevServerURL`
- removed unnecessary `projectDir` variable (it's identical to `cwd` variable)
- consolidated watcher init to `initialiseWatcher()` which returns a deferable closer
- moved the main watch loop to `doWatcherLoop()`
- moved new deBounce flag handling to `loadAndMergeProjectConfig()`
2021-10-03 23:01:42 -06:00
Lea Anthony
a59d01ddb9
[v2] Fix killing dev command on Windows
2021-10-03 22:19:40 +11:00
Lea Anthony
27f8df2b31
[v2] Support "frontend:dev" command
2021-10-03 21:29:59 +11:00
Lea Anthony
1b28f69236
[v2] Fix -devserverurl flag
2021-10-03 16:44:37 +11:00
Lea Anthony
7572b64bec
[v2] Add -devserverurl flag
2021-10-03 15:07:10 +11:00
Lea Anthony
f6b83b0933
[v2] New -debounce flag to configure debounce time of dev server
2021-10-03 14:04:05 +11:00
Lea Anthony
a51ab25e2c
Merge pull request #845 from codydbentley/add-new-templates
...
Added two new Vue3 TS templates to website
2021-10-03 13:33:57 +11:00
Lea Anthony
aeaaccb942
Merge pull request #846 from codydbentley/fix-template-generator
...
Fixed base NEXTSTEPS and README in v2 template generator
2021-10-03 12:36:20 +11:00
Cody Bentley
4bf3eb303b
Fixed base NEXTSTEPS and README in v2 template generator
2021-10-02 17:29:43 -06:00
Cody Bentley
b5437ed1b5
Added two new Vue3 TS templates to website
2021-10-02 17:27:07 -06:00
Lea Anthony
e2e752dd06
[v2] Fix timing bug
2021-10-02 19:55:49 +10:00
Lea Anthony
9dc2caecf0
[website] Rename heading
2021-10-02 14:27:06 +10:00
Lea Anthony
b0da974a7d
[v2] v2.0.0-beta.4
2021-10-02 14:16:40 +10:00
Lea Anthony
b4dc8c252a
[v2] update now uses go install
2021-10-02 14:14:07 +10:00
Lea Anthony
afb1d12c3b
[v2] Add meta tag to control script injection behaviour
2021-10-02 14:04:59 +10:00
Lea Anthony
7a0cb428f2
Merge pull request #840 from codydbentley/fix-missing-comma-in-bindings
...
Fixed missing comma that breaks bindings with more than one package
2021-09-30 19:28:56 +10:00
Cody Bentley
e6a89790e3
Fixed missing comma that would break bindings when more than one package exists
2021-09-29 22:04:28 -06:00
Lea Anthony
daede02c16
Merge pull request #776 from wailsapp/dependabot/npm_and_yarn/runtime/js/runtime/path-parse-1.0.7
...
Bump path-parse from 1.0.6 to 1.0.7 in /runtime/js/runtime
2021-09-30 08:40:10 +10:00
Lea Anthony
417895f40b
Merge pull request #826 from wailsapp/dependabot/npm_and_yarn/website/prismjs-1.25.0
...
Bump prismjs from 1.24.1 to 1.25.0 in /website
2021-09-30 08:39:41 +10:00
Lea Anthony
6bc26aa669
[v2] Add .gitignore to templates
2021-09-30 08:20:32 +10:00
Lea Anthony
a641deb388
[v2] Devserver listen to localhost
2021-09-30 08:00:50 +10:00
Lea Anthony
e013ce14a1
[v2] fix tags in dev mode
2021-09-30 07:11:49 +10:00
Lea Anthony
9930ee10da
Revert "Corrected obsolete 'text/javascript' mime to 'application/javascript'"
...
This reverts commit 23c1ebfac9
.
2021-09-30 07:07:13 +10:00
Lea Anthony
de6c57771e
[website] update sponsors
2021-09-30 07:01:30 +10:00
Lea Anthony
c8359b0743
[v2] sync go.sum
2021-09-30 07:01:12 +10:00
Lea Anthony
12b7cf09e6
[v2] Support Goland IDE
2021-09-30 07:00:46 +10:00
Lea Anthony
28af34f978
[website] update installation instructions to v2.0.0-beta.3
2021-09-29 20:39:58 +10:00
Lea Anthony
49b1acc147
[v2] v2.0.0-beta.3
2021-09-29 20:24:56 +10:00
Lea Anthony
0ee3015c7d
[website] update IDE flag
2021-09-29 20:19:14 +10:00
Lea Anthony
4aa1464b48
[v2] fix module version in templates. Refactor ide flag
2021-09-29 20:15:26 +10:00
Lea Anthony
7b52995c86
Merge pull request #833 from codydbentley/add-js-to-mimecache
...
Added JS case to mimecache
2021-09-29 18:06:47 +10:00
Cody Bentley
23c1ebfac9
Corrected obsolete 'text/javascript' mime to 'application/javascript'
2021-09-29 01:06:28 -06:00
Cody Bentley
3de31613a1
Added JS case to mimecache
2021-09-29 00:50:49 -06:00
Lea Anthony
9a54f289c4
[v2] v2.0.0-beta.2
2021-09-29 07:25:02 +10:00
Lea Anthony
4a740e6186
[v2] Fix: Remove random C imports
2021-09-28 20:00:42 +10:00
Lea Anthony
34e622455f
[v2] Fix: empty content responses
2021-09-28 19:56:08 +10:00
Lea Anthony
b13d8ef9fa
[mac] Guard browser.go
2021-09-28 19:44:12 +10:00
Lea Anthony
4898bfdf9c
Update release.yml
2021-09-28 06:40:17 +10:00
Lea Anthony
28ff364faa
Update pr.yml
2021-09-28 06:39:39 +10:00
Lea Anthony
f254cb086a
Update latest-pre.yml
2021-09-28 06:32:05 +10:00
Lea Anthony
15615eb450
Merge pull request #830 from LanguageAgnostic/master
...
Fix browser.go - minimum version
2021-09-28 05:55:39 +10:00
Soheib El-Harrache
37987b3827
Fix browser.go
...
Fixed minimum version variable
2021-09-27 15:12:37 -04:00
Lea Anthony
48cf60ac7c
[docs] Fix showcase
2021-09-27 23:59:43 +10:00
Lea Anthony
368195e5bd
[v2] Fix stats page
2021-09-27 22:05:18 +10:00