* feat(tauri.js) improve api module with type defs for each API function
* chore(tauri) move endpoint specific modules
* refactor(tauri) move tcp mod to tauri_api
* feat(tauri) improve readDir signature, API features as kebab-case names
* fix(tauri) make event's payload optional
* feat(tauri) if invoke_handler fails, console.error the error message
* chore(api) improve JSDoc
* chore(tauri.js) update template
* chore(tauri) delete empty mod
* fix(tauri) tests and example with latest API signature
* test(tauri.js) add template test
* fix(lint) ignore prefer-optional-chain because babel-jest wont accept it
* feat(webpack) raw-loader test for windows
* fix(workflow) install tauri-bundler
* fix(EOF)
* chore(test) try with done cb
* fix(test) cwd scope
* fix(test) transform regex for windows
* fix(test) windows regex on jest transform
Co-authored-by: nothingismagick <denjell@sfosc.org>
* feat(tauri.js) add API endpoint proxy
* feat(tauri.js) always resolve/reject proxy promise
* chore(proxy) wait for onTauriInit to start direct proxy to window.tauri
* feat(tests) add project for initial e2e test
* chore(tauri) remove whitespaces on runner.rs
* chore(test): remove updater.rs
* feat(tests) move e2e test to tauri.js/test/jest
thanks to @laegel for the awesome work moving the test code to jest
* feat(tests) prepare build for modes tests
* fix(tests) properly run build tests
* feat(tests) add dev e2e test
* fix(tests) cleanup
* chore(tests) move e2e test from express to http.createServer
* chore(tauri.js) husky back to 4.0.10
* chore(tests) custom transformer to export with default
* chore(tests) use jest mapping instead of relative paths
* chore(tests) move dev e2e test to http.createServer
* chore(tests) move dev/build e2e test to tes.each instead of for loop
* chore(tauri.js) add comment to non-webpack-require.ts
* chore(tests) change test.each to it.each
* chore(tests) adjust it.each message signature
* fix(tests) adjust to properly run on initial build
* fix(tests) properly cleanup
* fix(tests) wait server.close to reject test
* fix(tests) wait server.close to resolve test
* fix(actions) install webkit2gtk-4.0 on test-tauri-js-cli
* fix(ci) install tauri-cli on test-tauri-js-cli
* fix(tauri.js) lint errors
Co-authored-by: Lucas Nogueira <lucas@quasar.dev>
Co-authored-by: nothingismagick <denjell@sfosc.org>
`tauri-bundler` is not in the main cargo workspace so the target directory is not in the top level. Update the publishPath to compensate.
Also removing a couple extraneous things that aren't needed either. We had an extra '/' and we don't need to bother showing the directory within the `cargo package` command.
* use var_os instead of var
* combine both var calls
* Add logic to remove cmd windows.
* fix build.rs
* modify for clippy.
* expose handle and refactor commands.
* add author name
* revert command changes
* little refactor
* add loopback to wix template
* fix custom command
* feature(workflows): Add ESLint check to workflow
* Use setup-node v1.x.x instead of v1.0.0
Co-Authored-By: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
As noted in the comment that was deleted, we should commit the Cargo.lock when creating an executable. This is the template that is copied into the consumer so I think we can safely assume that they will be creating an executable.
Also adding `WixTools` which is created on Windows builds, similar to the `/target/` dir
* fix error file name 'tauri.conf.js' to 'tauri.conf.json'
* fix(tauri.js) if the DOM is already loaded, listen for <a> clicks (#436)
code is fine, the CI is borked
* fix(open) open <a> on browser only if target=_blank (#437)
merging because CI is borked
* fix(tauri): make github action envs absolute for extra path level in runner.rs (#438)
* fix(tauri): extra path level in runner.rs
This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.
* Revert "fix(tauri): extra path level in runner.rs"
This reverts commit eb1034b4f3.
* make envs in GH Actions absolute for now
* runner is only available within steps
* feat(bundler) add exception_domain option by nothingismagick (#439)
* chore(deps) Update Tauri JS CLI (#421)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
* feat(bunder) bootstrapps zshrc and bashrc too
* feat(bundle) add bootstrapper to deb
* fix(linux): find linux path in bootstrapper
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
* fix(tauri): extra path level in runner.rs
This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.
* Revert "fix(tauri): extra path level in runner.rs"
This reverts commit eb1034b4f3.
* make envs in GH Actions absolute for now
* runner is only available within steps