Commit Graph

3508 Commits

Author SHA1 Message Date
renovate[bot]
0cbd712fe9 chore(deps): update dependency webpack to v4.41.5 (#269)
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 (#267)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:06:17 +01:00
renovate[bot]
7e9e409f3b chore(deps): update dependency tauri to v0.3.1 (#268)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:05:39 +01:00
renovate[bot]
eac0dfecab chore(examples) Update dependency eslint-plugin-vue to v6.1.2 (#272)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:04:45 +01:00
Jacob Bolda
a04715baf9 fix wildcard on renovate folder groups (#275) 2020-01-03 12:02:54 +01:00
renovate[bot]
8747ef8e73 chore(deps): update dependency eslint-plugin-node to v11 (#271)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:02:15 +01:00
renovate[bot]
3786a749e0 chore(examples) Update dependency eslint-plugin-node to v11 (#273)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:01:35 +01:00
nothingismagick
0f5d21a564
chore(readme): rename rust cli to bundler (#278)
This should resolve some challenges with understanding the parts of tauri, especially why there are multiple CLIs. Until we have a rust-only CLI, or naming convention should probably refer to the bundler everywhere.
2020-01-03 11:59:17 +01:00
tensor-programming
9311f0ef1c Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2020-01-02 15:45:20 -05:00
nothingismagick
0602449d8b
chore(readme): minor changes to website, logo 2020-01-02 16:48:52 +01:00
tensor-programming
2c1570b56f Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2020-01-01 16:21:33 -05:00
Tensor-Programming
968cc9c94c
Feat(Errors) add error handling (#274)
* update .gitignore

* remove cargo.lock

* minor cleanup.
2020-01-01 16:21:06 -05:00
tensor-programming
f19734e2e4 Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2020-01-01 15:10:54 -05:00
Tensor-Programming
aa149370a4 Refactor(runner.rs) Clean up code to make it more composable and… (#259)
* update .gitignore

* remove cargo.lock

* add clone to config

* create functions

* finish merge and fix conflict.

* cleanup

* continue refactor cleanup

* fix logic for embedded server

* bringing back the polymorphisms!

* cleaning it all up...

* add imports

* add basic documentation.

* add a TauriResult type

* cleanup spawn_updater func

* cleanup imports and errors.

* fix error and proliferate it

* cleanup ?s
2020-01-01 07:30:17 -03:00
tensor-programming
e7ef0a81ca Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-31 18:35:39 -05:00
Lucas Nogueira
7ae7c9dfc2
chore(versions) bump to 0.3.1 2019-12-31 19:24:07 -03:00
Lucas Fernandes Nogueira
ddd0e2c3eb
fix(tauri) race condition on onTauriInit and no-server mode (#257) 2019-12-31 19:21:06 -03:00
Lucas Fernandes Nogueira
e17c5f84b1
feat(tauri) read config overriden by the node CLI (#258)
* feat(tauri) read config overriden by the node CLI

* chore(tauri) use option_env macro
2019-12-31 19:20:54 -03:00
tensor-programming
ebbca5a74a Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-31 14:31:29 -05:00
Lucas Fernandes Nogueira
4416cdbb30 chore(examples) update CSP and tauri-webpack to 0.2.0 (#256)
* chore(examples) update CSP and tauri-webpack to 0.2.0

* chore(updater) update tauri-api to 0.3.0
2019-12-31 20:09:34 +01:00
Lucas Nogueira
91afd43126
chore(versions) bump tauri.js to 0.3.0 2019-12-31 15:05:18 -03:00
Lucas Nogueira
a56cee76bf
chore(versions) bump tauri and tauri-api crates to 0.3.0 2019-12-31 15:03:01 -03:00
Lucas Fernandes Nogueira
8a8fe2cca4
fix(tauri.js) default CSP with the blob modifier (#255) 2019-12-31 14:52:39 -03:00
Jacob Bolda
7ecaee38f0
chore(actions): change cache to hash on .toml (#253)
* source smoke tests to use .toml hash in cache

* prod smoke tests to use .toml hash in cache
2019-12-30 17:07:26 -06:00
nothingismagick
46360cdaec
refactor(.scripts): cleanup sh (#252)
- proper escaping
- use `!#/usr/bin/env sh` for broader compliance
2019-12-30 23:26:14 +01:00
tensor-programming
8be520161b Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-30 13:59:56 -05:00
nothingismagick
ed266b48c1 chore(templates): remove updater.rs, add build.rs (#251) 2019-12-30 08:04:12 -03:00
Noah Klayman
fbfacb5e44 fix(tauri.js): eslint errors (#250) 2019-12-30 10:27:47 +01:00
tensor-programming
423a1c979f Merge branch 'dev' of https://github.com/tauri-apps/tauri into dev 2019-12-29 20:25:25 -05:00
Jacob Bolda
232af15a2e use minimal profile for installation (#247)
* use minimal profile for installation

I believe we don't need the full standard install just to run the build.

* set minimal in prod as well
2019-12-30 01:41:03 +01:00
Tensor-Programming
1b3037a519 Refactor(core) remove cargo lock (#249)
* update .gitignore

* remove cargo.lock
2019-12-29 20:41:34 -03:00
tensor-programming
fdd781ade3
remove cargo.lock 2019-12-29 18:35:20 -05:00
tensor-programming
50295300ad
update .gitignore 2019-12-29 18:34:46 -05:00
Tensor-Programming
1daa01e76c
Refactor-feat(core) Refactor the code and add proptesting to the core library (#242)
* fix updater doc test.

* add basic proptest to tauri-core

* add proptest data to gitignore

* add dummy func

* increased regex to all character types

* update vue spa listen/emit API to use Strings.

* add listeners_check_fn test

* fix mispelling.

* add on_event test

* add basic dummy test for spawn.
2019-12-29 18:13:08 -05:00
Lucas Fernandes Nogueira
7cea49a6a9
feat(tauri) whitelist event API, fix whitelist rejections (#248) 2019-12-29 20:01:54 -03:00
nothingismagick
ed946e0069
refactor(tauri.js): manually treeshake lodash (#246)
* 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 (#245) 2019-12-29 14:17:59 +01:00
renovate[bot]
a671f26b5f chore(examples) Pin dependencies (#219) 2019-12-29 14:02:54 +01:00
Lucas Fernandes Nogueira
3fbb297064
fix(tauri) run setup hook after init has been eval'd (#243)
* fix(tauri) run setup hook after init has been eval'd

* fix(endpoints) merge conflict
2019-12-29 09:21:11 -03:00
Lucas Fernandes Nogueira
548ab94810
feat(tauri.js) add API endpoint proxy, closes #197 (#241)
* 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 (#240) 2019-12-29 12:24:15 +01:00
Tensor-Programming
83b3fcb8c8
feat(Tauri-core) Add Quicktest to Tauri-API (#239)
* add simple bat and ps1 setup scripts

* add proptest for property testing

* add comments.

* add basic bash script (needs improvement)

* add basic quickcheck tests.

* add more comments.

* add simple is_dir test.

* add support for windows commands; remove returns

* remove print statement

* change prefixes to ch and add script

* fix prefixes.

* move qc script to .scripts folder.

* fix bash path.

* move scripts to root and add if checks.

* update bash script with more logic to check dirs.

* update bash script with more logic to check dirs.

* clean up and verify

* update gitignore for .vscode folder outside root

* add docs

* update docs

* format scripts
2019-12-29 00:45:13 -05:00
Lucas Nogueira
8b17300162
chore(examples) delete Tauri-Phaser git submodule 2019-12-28 17:01:35 -03:00
Lucas Fernandes Nogueira
3ce95d2760
feat(tauri.js) add tauri info command (#236)
* 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 (#235) 2019-12-27 20:34:24 -03:00
Rajiv Shah
4bce0df301 fix(tauri.js): Various fixes to tauricon.ts (#237)
* 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
Lucas Nogueira
5b15552ed5
chore(tauri) better error message for asset_response 2019-12-26 19:47:01 -03:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri (#234)
* 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 (#214)
* 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
8489a9a520 fix(examples): Ensure examples use tauri from source instead of crates.io (#232) 2019-12-26 11:35:24 +01:00