1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-29 14:04:19 +03:00
Commit Graph

323 Commits

Author SHA1 Message Date
renovate[bot]
1281e27a46
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 15:05:41 +01:00
Lucas Fernandes Nogueira
12ed096bea
feat(bundler) add exception_domain option by nothingismagick () 2020-02-19 20:07:50 +01:00
Lucas Fernandes Nogueira
da5f654332
fix(open) open <a> on browser only if target=_blank ()
merging because CI is borked
2020-02-19 14:34:03 +01:00
Lucas Fernandes Nogueira
09680ed6de
fix(tauri.js) if the DOM is already loaded, listen for <a> clicks ()
code is fine, the CI is borked
2020-02-19 14:31:26 +01:00
nothingismagick
ed68676505
Feat/new logo ()
* feat(newlogo)

* chore(readmes): updates to Licenses and body

* chore(template): add new logo to templated iconset
2020-02-15 20:58:36 +01:00
tensor-programming
2fe764913a
use x86 and x64 for wix. 2020-02-12 16:55:10 -05:00
tensor-programming
dd40b44598
clippy/fmt 2020-02-12 16:53:07 -05:00
Tensor-Programming
76c8376e74
Bug(Bundler): fix target arch in wix ()
* fix target arch in wix

* update github action to .amd64.msi
2020-02-12 16:51:17 -05:00
github-actions[bot]
6aeb712833
chore(release:npm) version updates () ()
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-12 14:17:04 +01:00
nothingismagick
bb3a2f57f4
chore(release:npm) version updates () 2020-02-12 10:14:40 -03:00
Tensor-Programming
06a71242b0
add delimiter 2020-02-11 20:31:29 -05:00
github-actions[bot]
fb30b4b5be chore(release): version updates () ()
* chore(release): version updates

* updater too

* update template

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-09 17:03:42 +01:00
nothingismagick
a84656e037
chore(release): version updates ()
* chore(release): version updates

* updater too

* update template
2020-02-09 12:42:23 -03:00
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 ()
* remove extern crate and macro_use

* fix test file

* update CLI

* organize imports

* organize core

* update api

* update updater

* update create-react-app

* update gatsby example

* update next-js example

* update svelte example

* update vanilla-js example

* update nuxt example

* update quasar example

* update vue example

* update templates.

* update build.rs

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
7522d8ff8a
chore(bundler) rename tauri-cli crate to tauri-bundler () 2020-02-08 12:51:48 -03:00
Lucas Fernandes Nogueira
3e1ce404f5
feat(tauri) add splashscreen API ()
* feat(tauri) add splashscreen API

* fix(examples) quasar example building
2020-02-08 12:34:15 -03:00
renovate[bot]
63083be882
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-08 12:19:44 -03:00
Rajiv Shah
5906b5ca5d
refactor(tauri.js): Fix ESLint errors ()
* refactor(tauri.js): Fix ESLint errors

* fix(tauri.js): Disable space-before-function-paren

This conflicts with @typescript-eslint/space-before-function-paren. See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md#how-to-use

* refactor(tauri.js): Change requires to imports

* fix(tauri.js): Suppress security/detect-non-literal-fs-filename in src/api/info.ts

* fix(tauri.js): Suppress @typescript-eslint/restrict-template-expressions in some cases

* fix(tauri.js): Suppress ESLint warnings in src/template/index.ts

- Suppress security/detect-object-injection (false positives)
- Suppress @typescript-eslint/no-dynamic-delete
2020-02-08 12:17:27 -03:00
renovate[bot]
38858ab8d8
chore(deps) Update Tauri Bundler ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-08 12:10:30 -03:00
Tensor-Programming
335f71c36b
change serde versions to 1.0 () 2020-02-05 20:18:20 -05:00
nothingismagick
29e2f16520
feat(builder): enable OSX sidecar from finder () 2020-02-04 01:38:43 +01:00
renovate[bot]
aed07399d7
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 10:35:07 -03:00
renovate[bot]
793b002344
chore(deps) Update Rust crate handlebars to v3 ()
* chore(deps) Update Rust crate handlebars to v3

* fix handlebars 'static lifetime.

* fix static lifetime for mac and linux.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-30 05:47:00 -06:00
renovate[bot]
ee0204c8b7
chore(deps) Update Rust crate attohttpc to 0.11.1 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 02:21:06 -05:00
Lucas Fernandes Nogueira
78f1e03495
feat(tauri.js) inject MutationObserver to lazy load JS/CSS on no… ()
* feat(tauri.js) inject MutationObserver to lazy load scripts on no-server

* feat(tauri.js) add disable inliner config

* fix(tauri.js) add types

* feat(tauri.js&tauri) lazy load CSS files on mutation observer
2020-01-27 10:03:27 -03:00
Lucas Fernandes Nogueira
0bac7d69aa
chore(examples) add nuxt example ()
* chore(examples) add nuxt example

* fix(examples) add tauri middleware to nuxt example
2020-01-27 09:53:39 -03:00
Lucas Fernandes Nogueira
b7a6bc0f42 feat(bundler&tauri) add wix resource bundling and utils to get the path to the platform resource dir ()
* feat(bundler) copy resources to the out dir

* feat(utils) add resource_dir fn

* feat(examples) spawn node with resource JS instead of pkg bin

* feat(bundler) WIP on windows resource bundler

* feat(utils) add windows, macos resource_dir logic

* fix(bundler) resource folder iteration on wix

* chore(bundler) add comments to generate_resource_data fn

* chore(bundler) add comments to the get_wix_data fn

* change minor items.

* run `cargo fmt`

* run `rust fmt` and `clippy` and add fmt.toml

* remove unnessecary rustfmt.toml files.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-26 19:57:09 -05:00
renovate[bot]
7fb6dbbdd4 chore(deps) Update Rust crate toml to 0.5.6 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:41:13 +01:00
Ty Tracey
fcbc261dff Changing web link references from tauri-apps.org to tauri.studio and the wiki, when appropriate () 2020-01-23 11:16:59 +01:00
nothingismagick
65c1987a04
chore(deps): update outside of renovate () 2020-01-23 11:15:17 +01:00
renovate[bot]
d147e0f815 chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 10:49:24 +01:00
nothingismagick
2f343ec07d fix(template): relax versioning for tauri () 2020-01-22 08:25:06 -03:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate ()
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
b9f3d9a92c
refactor(Bundler, API) clean up external binary logic ()
* refactor external binary logic

* update regex and error.

* refactor bundle_settings external bin

* fix bug

* cleanup api

* cleanup windows deps.

* add windows macro
2020-01-16 22:19:21 -05:00
Lucas Fernandes Nogueira
6225e5d30a feat(bundler) add option to bundle external binaries ()
* feat(tauri-cli) add option to bundle external binaries

* feat(tauri-cli) bundle external binaries for OSX

* fix(cargo.toml) external bin path

* feat(bundler) bundle external binaries on MSI/WiX

* feat(tauri) append target triple to external binary name

* call cargo fmt.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 19:39:34 +01:00
renovate[bot]
c059bf101b chore(deps) Update dependency husky to v4.0.10 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 16:16:54 +01:00
renovate[bot]
07b31c8f87 chore(deps) Update Tauri Bundler ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:53:44 +01:00
renovate[bot]
0b7e3f39c6 chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:47:58 +01:00
renovate[bot]
425dd2d99d chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:24:31 +01:00
Tensor-Programming
ee2d714b67
Feat(CLI) Icon Check fix: ()
* add icon check for windows.

* fix spelling

* add basic icon logic

* make error more prolific
2020-01-12 20:27:35 -05:00
Lucas Fernandes Nogueira
dc5947ea08 chore(tauri.js) default config with all API enabled and distDir fixed () 2020-01-10 23:32:10 +01:00
Lucas Fernandes Nogueira
e2cafb7efa
fix(tauri.js) do not inline assets on the embedded-server mode () 2020-01-09 18:22:32 -03:00
Rajiv Shah
2b28b52097 fix(bundler): Fix DMG script ()
- Fix sips command
- Copy seticon from templates folder
- Only cp bg.png if it exists
2020-01-08 11:52:23 +01:00
renovate[bot]
769dcf2d3f fix(deps): update rust crate attohttpc to 0.8.0 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:59:01 -05:00
renovate[bot]
ff0cacf749 chore(deps): update typescript-eslint monorepo to v2.14.0 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:44:45 +01:00
renovate[bot]
0cbd712fe9 chore(deps): update dependency webpack to v4.41.5 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:07:20 +01:00
renovate[bot]
231fb96f28 fix(deps): update dependency isbinaryfile to v4.0.3 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:06:17 +01:00
renovate[bot]
8747ef8e73 chore(deps): update dependency eslint-plugin-node to v11 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:02:15 +01:00
Lucas Nogueira
7ae7c9dfc2
chore(versions) bump to 0.3.1 2019-12-31 19:24:07 -03:00
Lucas Fernandes Nogueira
e17c5f84b1
feat(tauri) read config overriden by the node CLI ()
* feat(tauri) read config overriden by the node CLI

* chore(tauri) use option_env macro
2019-12-31 19:20:54 -03:00
Lucas Nogueira
91afd43126
chore(versions) bump tauri.js to 0.3.0 2019-12-31 15:05:18 -03:00
Lucas Fernandes Nogueira
8a8fe2cca4
fix(tauri.js) default CSP with the blob modifier () 2019-12-31 14:52:39 -03:00
nothingismagick
ed266b48c1 chore(templates): remove updater.rs, add build.rs () 2019-12-30 08:04:12 -03:00
Noah Klayman
fbfacb5e44 fix(tauri.js): eslint errors () 2019-12-30 10:27:47 +01:00
Lucas Fernandes Nogueira
7cea49a6a9
feat(tauri) whitelist event API, fix whitelist rejections () 2019-12-29 20:01:54 -03:00
nothingismagick
ed946e0069
refactor(tauri.js): manually treeshake lodash ()
* refactor(tauri.js): manually treeshake lodash

* Update entry.ts

* Update copy-templates.ts

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-29 16:38:27 +01:00
nothingismagick
8f66a085c6
chore(deps): manual renovation () 2019-12-29 14:17:59 +01:00
renovate[bot]
a671f26b5f chore(examples) Pin dependencies () 2019-12-29 14:02:54 +01:00
Lucas Fernandes Nogueira
548ab94810
feat(tauri.js) add API endpoint proxy, closes ()
* 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
2019-12-29 09:14:49 -03:00
Rajiv Shah
36aca61572 fix(tauri.js): Fix file paths in tauricon () 2019-12-29 12:24:15 +01:00
Lucas Fernandes Nogueira
3ce95d2760
feat(tauri.js) add tauri info command ()
* feat(tauri.js) add `tauri info` command

* fix(bug-report): add command information
- thanks @nklayman for the reminder

* fix(tauri-info): add cargo version

* feat(tauri.js) add cargo.toml and tauri.conf.json info

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 20:37:21 -03:00
Lucas Fernandes Nogueira
7845ec0e7a
refactor(tauri.js) keep folder structure on /dist () 2019-12-27 20:34:24 -03:00
Rajiv Shah
4bce0df301 fix(tauri.js): Various fixes to tauricon.ts ()
* fix(tauri.js): Various fixes to tauricon.ts

- Remove unnecessary awaits
- Fix png2icons import
- Avoid swallowing errors in icon generation

* fix(test): test for correct error message

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 12:06:54 +01:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri ()
* remove unwraps from tauri code

* refactor bundler and remove unwraps

* remove errors

* cleaup and add distinctions

* reword panic
2019-12-26 16:09:04 -05:00
Lucas Fernandes Nogueira
a4e229ca10 feat(tauri) use config as JSON ()
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* feat(tauri.js): use tauri.conf.json instead of .js

* feat(tauri) read config using tauri.conf.json

* fix(tauri) read devPath index.html from distDir

* chore(examples) move to conf.json

* chore(tauri.js) remove todo

* fix(ci) TAURI_DIR env variable

* fix(examples) move svelte-app config to tauri.conf.json

* fix(examples): line endings tauri.conf.json

* addition to previous commit

* fix(test): EOF in tauri.conf.json

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-26 15:24:36 +01:00
Rajiv Shah
65f1bf96ef fix(bundler): Return nonzero exit code when errors occur ()
* fix(bundler): Return nonzero exit code when errors occur

* fix(bundler): Always exit with exit code 1 when calling print_error
2019-12-26 11:32:48 +01:00
Rajiv Shah
afb6386204 chore(tauri.js): Add prepare script () 2019-12-24 18:32:44 -03:00
Tensor-Programming
078ae1dfda
[Feature/Bug()] add icon to windows Exe and MSI ()
* add icon to msi

* remove print

* make attohttpc windows only

* make attohttpc error windows only

* copy icon files to resource folder in output.

* add ico to template

* remove print

* remove duplicate

* add uninstaller to wix

* fix typos

* fix program flow

* add windows icon logic to template.

* update serde, phf and change includedir to tauri

* update next.js with new tauri setup

* update monolith

* remove unnessecary deps

* remove updater.rs and deps

* update react examples

* update vue example

* Revert "update vue example"

This reverts commit a5d58f55b4.

* Revert "update react examples"

This reverts commit cce215f97e.

* Revert "remove updater.rs and deps"

This reverts commit 8d422294f4.

* Revert "remove unnessecary deps"

This reverts commit 30e023f383.

* Revert "update monolith"

This reverts commit fac097f51a.

* Revert "update next.js with new tauri setup"

This reverts commit caf5f198ea.

* revert smoke-test changes

* revert smoke-test changes

* fix conflicts

* fix conflicts
2019-12-24 14:33:41 -05:00
Lucas Fernandes Gonçalves Nogueira
7dc2036095 test(tauri.js) add tests for --version option 2019-12-24 09:54:04 -03:00
Lucas Fernandes Gonçalves Nogueira
c2b3ac4b05 feat(tauri.js) add --version option 2019-12-24 09:47:15 -03:00
Noah Klayman
fab788b4bd [needs review] Convert tauri.js to typescript ()
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* chore(tauri.js) lint-fix

* fix(tauri.js) build tauricon.ts

* chore(tauri.js) remove unused code

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-24 09:40:03 -03:00
Tensor-Programming
95808a5d53
add cfg_attr for windows cmd closed on prod () 2019-12-23 14:52:17 -05:00
nothingismagick
92b71cc173 Update Cargo.toml to allow tests to build () 2019-12-23 16:30:21 -03:00
Lucas Nogueira
4db6171c37 fix(entry) emit event without payload 2019-12-22 23:31:12 -03:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates ()
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll  into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00
renovate[bot]
f96249489a chore(deps): update dependency lockfile-lint to v3.0.4 () 2019-12-20 13:20:47 +01:00
Noah Klayman
cb37da454e feat(runner/build): add error message for missing dist ()
If distDir/index.html cannot be found, print a helpful error message
Previously, a TypeError woud occur
2019-12-19 15:08:36 -03:00
Daniel Thompson-Yvetot
48b79534da
chore(tauri.js:version): bump 2019-12-19 00:19:46 +01:00
nothingismagick
acdb73febf Chore/updates new ()
* chore(deps): update and test

* fix(template): fix tauri.js init for mac
2019-12-18 20:19:09 -03:00
renovate[bot]
87bceb0a81 chore(examples) Pin dependencies () 2019-12-18 11:42:44 +01:00
Lucas
bf3c5b0587 chore(js-cli) remove test code from tauri.js template 2019-12-17 22:42:37 -03:00
Lucas Fernandes Nogueira
0f12f5f6df feat(js-cli) inject CSP from tauri.config.js () 2019-12-18 02:00:49 +01:00
Lucas
153e77d631 chore(js-cli) bump version to 0.2.0 2019-12-17 21:38:00 -03:00
Lucas
da1a72a144 chore(js-cli) use tauri-inliner 2019-12-17 21:13:01 -03:00
Lucas Fernandes Nogueira
1951fc88c9 feat(tauri) lazy loading for the no-server mode ()
* feat(tauri) WIP on iframe wrapper

* fix(tauri) iframe communication working

* refactor(tauri) iframe injection on all modes

* feat(event): update tauri.js injection

* fix(tauri) rework on iframe/devServer

* feat(tauri.js) use load event to notify tauri ready

* fix(cargo.lock): remove erroneous lockfile

* WIP

* remove iframe

* feat(tauri) inline assets, inject tauri.js

* fix(example) tauri init

* fix(api) load bundled asset

* chore(api) remove println

* chore(template) remove deprecated event listener

* chore(example) gitignore tauri.js

* chore(package.json) update email

* fix(tauri) embedded-server's server_url definition

* chore(api) use salt on event listener again

* chore(webpack) add eslint

* remove forward slash

* perf(tauri) do not bundle inlined assets

* chore(tauri) macros and platform only when using the updater feature

* fix(tauri) proper feature check for the loadAsset API

* chore(tauri) add "forked from" reference

* chore(example) use @tauri-apps/tauri-webpack

* fix(tauri) dev-server mode fixes

* chore(example) use tauri-webpack 0.1.3

* feat(webpack) rewrite lazy loading only on the no-server mode

* fix(no-server) lazy load images

* chore(tauri) use forked includedir_codegen

* fix deps

* fix(tauri) use the right version for includedir deps

* chore(tauri) println rerun-if-changed on dev
2019-12-17 22:39:34 +01:00
Lucas
8892a1359c chore(js-cli) bump @tauri-apps/toml version 2019-12-15 17:20:18 -03:00
Tensor-Programming
f524d72ca5
remove reqwest () 2019-12-12 15:21:02 -05:00
Noah Klayman
de68a86c8c Refactor tauri.js to move command code outside of bin files ()
* refactor(tauri.js): move command code into helpers

* reafactor(tauri.js): move command helpers to api dir

* fix(tauri.js/tests): import tauricon from proper dir

* fix(tauri.js/tests): add api dir to moduleNameMapper
2019-12-10 21:44:49 +01:00
nothingismagick
435ed1ab8f
chore/updates ()
* chore(deps:examples): update

* chore(update:tauri): serde_json
Closes 
2019-12-10 20:10:45 +01:00
renovate[bot]
511e51d12a chore(deps): update dependency lockfile-lint to v3 () 2019-12-10 10:43:35 +01:00
renovate[bot]
67ea1ed54b chore(deps): update dependency lockfile-lint to v2.2.0 () 2019-12-10 10:37:23 +01:00
renovate[bot]
c07d5faa5a chore(deps): update dependency eslint-plugin-import to v2.19.1 () 2019-12-10 10:35:55 +01:00
renovate[bot]
dcf893750b fix(deps): update dependency sharp to v0.23.4 () 2019-12-10 10:30:00 +01:00
Noah Klayman
b076dd4d23 feat(tauri.js/tauri-config): throw error if req'd files don't ex… ()
* feat(tauri.js/tauri-config): throw error if req'd files don't exist
Checks that package.json and tauri.conf.js exist before requiring
If they don't, throw an error and exit w/ code 1

* fix(tauri.js/tauri-config): use logger
2019-12-06 08:44:29 -03:00
Lucas
ae51d9573e fix(js-cli) regression on template's default tauri version 2019-12-05 18:37:12 -03:00
Lucas Fernandes Gonçalves Nogueira
0b30d8d618 fix(js-cli) npmignore wrong on windows 2019-12-05 08:17:50 -03:00
Lucas
621b86ece4 feat(js-cli) eslint work by nothingismagick 2019-12-04 19:35:39 -03:00
Lucas
7d1b2c7c06 chore(versions) bump tauri.js 2019-12-04 17:51:19 -03:00
Lucas Fernandes Nogueira
38b8da497c
fix(js-cli) tauri init broken when not using the local version #… () 2019-12-04 17:49:14 -03:00
Lucas
0d6b8b34a0 chore(versions) bump tauri.js 2019-12-04 17:49:08 -03:00
Daniel Thompson-Yvetot
0c0ac4e1fd
feat(npm): add needed items for npq 2019-12-03 20:06:59 +01:00
nothingismagick
22b07fc44a event API testing ()
* feat(examples): quasar + API [wip]

* fix(tauri) event system on quasar example

* feat(template): esm & js versions of tauri.js

* feat(tauri:event): change FnOnce to FnMut

* feat(tauri:api): rename to Listen

* chore(version:tauri): bump

* feat(Cargo.lock): update

* feat(eslint): add lodash-template

* chore(version:tauri.js): bump

* feat(examples:quasar): new Rust signature

* feat(tauri:event): don't remove the listener

* feat(examples:quasar): version and tauri signature

* Update tauri.conf.js

* Update event.rs
2019-12-03 13:08:07 -03:00
Daniel Thompson-Yvetot
5a34e3db93
chore(version): bump 2019-12-01 23:31:00 +01:00
Daniel Thompson-Yvetot
55c101d9e6
fix(tauri.js:init): default to CWD 2019-12-01 23:30:59 +01:00
Lucas
57eaf95b69 chore(versions) bump tauri-cli 2019-12-01 18:31:16 -03:00
Lucas Fernandes Nogueira
85674d4fe6 fix(cli) improve workspace detection () 2019-12-01 22:28:54 +01:00
Lucas
0ffdce3e8c chore(versions): bump tauri-cli 2019-12-01 14:07:21 -03:00
Lucas
c8de099a59 fix(js-cli) check if devPath is an URL 2019-12-01 13:53:18 -03:00
Daniel Thompson-Yvetot
c4ff10d2b1
chore(versions): bump tauri.js & tauri 2019-12-01 17:31:38 +01:00
renovate[bot]
9bda6ae908 Update dependency fast-glob to v3.1.1 () 2019-12-01 13:27:37 +01:00
nothingismagick
e58110afd6 chore/upgrades node ()
* chore(checkin): cargo.lock

* feat(upgrades): update and try to fix node tests

* fix(@iarna): replace with @tauri-apps

* chore(deps): upgrade sharp

* feat(env): add env var that works on mac

* feat(deps): upgrade, cleanup and update code

* fix(workflow): env vars

* chore(deps): upgrades

* fix(.gitignore)
2019-11-30 15:39:13 -03:00
renovate[bot]
21bd7a3370 Pin dependencies () 2019-11-30 14:19:55 +01:00
Lucas
b0e43f2e85 fix(js-cli) safeTap call 2019-11-30 09:01:50 -03:00
Lucas
5976fced38 fix(js-cli) move automaticStart to the correct place on tauri.conf.js 2019-11-30 09:00:06 -03:00
nothingismagick
6dcccf5a8e feature/env ()
* fix(js-cli) resolve correct paths on `tauri init`

* feat(js-cli) inject src-tauri/ as lodash template

* fix(js-cli) entry paths

* feat(js-cli) rename APP_URL to devPath and allow .html values

* feat(js-cli) reload config when `tauri.conf.js` change detected

* feat(node): update to testing

* feat(template): fix phf, remove updater

* feat(samples): add vanillajs

* fix(templates): objectify tauri
Closes .

* fix(examples): update cargo.toml
 - to match signature

* chore(tauri): version update

* feat(workflows): fix dirs, add tokens

* fix(config): more robust env checking

* feat(fixture): start a testing fixture for tauri

* fix(workflow): use fixture for ENV

* fix(examples:vanilla): remove updater

* addition to previous commit re. fixture

* fix(config.rs): fix the unfix

* feat(js-cli) use the new cargo-tauri-cli

* chore(template) cleanup src-tauri/Cargo.toml

* chore(js-cli) toml features cleanup

* chore(js-cli) move edge to config > tauri

* fix(js-cli) appPaths resolve() instead of join()
2019-11-30 08:48:39 -03:00
nothingismagick
50ef912721 chore(upgrade): bump deps () 2019-11-30 08:24:13 -03:00
kastenbutt
ec2b9092ed Update bundler crates. Fix errors related to updated versions of images and uuid. () () 2019-11-30 10:04:42 +01:00
kastenbutt
897f64e715 Cleanup path_utils.rs () () 2019-11-29 11:06:40 +01:00
Daniel Thompson-Yvetot
4510f638e8
fix(tauri.js): version mistake 2019-11-29 07:29:15 +01:00
Daniel Thompson-Yvetot
d7b7b668a1
feat(tauri.js): repath template files 2019-11-29 07:27:26 +01:00
Rajiv Shah
24a339ae75 fix(test): fix Jest tests () 2019-11-28 08:41:47 +01:00
Rajiv Shah
d1cd6d102e fix(bundler): add use declarations where necessary () 2019-11-28 00:24:52 +01:00
nothingismagick
39ce652329 chore(monorepo): cleanup ()
* chore(monorepo): cleanup

* fix(tauri-cli): build errors

* fix(tauri:build.rs): dont' panic if env missing

* fix(finalize): setup for crates

* npm publish on release

actual publish currently disabled

* cargo publish on release

actual publish currently disabled

* update PR tests for new folder structure

* doesn't like the period on job name?

* fail on cargo warnings

otherwise we would assume green arrow is all good

* green on warnings for now
2019-11-27 19:26:24 -03:00