Commit Graph

110 Commits

Author SHA1 Message Date
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 (#397)
* 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 (#401) 2020-02-08 12:51:48 -03:00
Lucas Fernandes Nogueira
3e1ce404f5
feat(tauri) add splashscreen API (#400)
* 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 (#383)
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 (#398)
* 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 (#382)
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 (#396) 2020-02-05 20:18:20 -05:00
nothingismagick
29e2f16520
feat(builder): enable OSX sidecar from finder (#379) 2020-02-04 01:38:43 +01:00
renovate[bot]
aed07399d7
chore(deps) Update Tauri JS CLI (#359)
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 (#360)
* 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 (#357)
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… (#355)
* 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 (#306)
* 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 (#352)
* 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 (#348)
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 (#349) 2020-01-23 11:16:59 +01:00
nothingismagick
65c1987a04
chore(deps): update outside of renovate (#350) 2020-01-23 11:15:17 +01:00
renovate[bot]
d147e0f815 chore(deps) Update Tauri JS CLI (#342)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 10:49:24 +01:00
nothingismagick
2f343ec07d fix(template): relax versioning for tauri (#347) 2020-01-22 08:25:06 -03:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate (#335)
* 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 (#332)
* 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 (#312)
* 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 (#329)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 16:16:54 +01:00
renovate[bot]
07b31c8f87 chore(deps) Update Tauri Bundler (#316)
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 (#318)
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 (#317)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:24:31 +01:00
Tensor-Programming
ee2d714b67
Feat(CLI) Icon Check fix: #309 (#310)
* 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 (#307) 2020-01-10 23:32:10 +01:00
Lucas Fernandes Nogueira
e2cafb7efa
fix(tauri.js) do not inline assets on the embedded-server mode (#304) 2020-01-09 18:22:32 -03:00
Rajiv Shah
2b28b52097 fix(bundler): Fix DMG script (#283)
- 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 (#261)
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 (#270)
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 (#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]
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
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 (#258)
* 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 (#255) 2019-12-31 14:52:39 -03: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
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
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
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