Commit Graph

3272 Commits

Author SHA1 Message Date
Lucas
153e77d631 chore(js-cli) bump version to 0.2.0 2019-12-17 21:38:00 -03:00
Lucas
d68a3d8c4b chore(tauri) bump lib's crate version to 0.2.0 2019-12-17 21:37:54 -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 (#161)
* 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
aeb133f5fd Updater feature flag (#154)
* add updater feature to remove reqwest

* fix(EOF): add newline character
2019-12-13 18:58:15 -03:00
Jacob Bolda
33932b2606 [WIP] Renovate to Update Examples (#153)
* Update renovate.json

* don't ignore examples and group PRs

* missing comma

* fix comments

* scrap comments
2019-12-12 22:19:52 +01:00
Tensor-Programming
f524d72ca5
remove reqwest (#139) 2019-12-12 15:21:02 -05:00
Daniel Thompson-Yvetot
6f42cc1ded
hotfix(cargo.lock): remove erroneous lockfile 2019-12-11 11:30:28 +01:00
Jacob Bolda
f7d1c5dc5e check cache hits before install (#149)
* check cache hits before install

* force install in case cache check doesn't work correctly
2019-12-11 08:33:32 +01:00
Noah Klayman
de68a86c8c Refactor tauri.js to move command code outside of bin files (#140)
* 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
eb3ec78552
Update FUNDING.yml 2019-12-10 20:34:17 +01:00
nothingismagick
435ed1ab8f
chore/updates (#150)
* chore(deps:examples): update

* chore(update:tauri): serde_json
Closes #146
2019-12-10 20:10:45 +01:00
renovate[bot]
f4211c0b45 fix(deps): update rust crate sysinfo to 0.10 (#147) 2019-12-10 10:58:38 +01:00
renovate[bot]
511e51d12a chore(deps): update dependency lockfile-lint to v3 (#148) 2019-12-10 10:43:35 +01:00
renovate[bot]
67ea1ed54b chore(deps): update dependency lockfile-lint to v2.2.0 (#144) 2019-12-10 10:37:23 +01:00
renovate[bot]
c07d5faa5a chore(deps): update dependency eslint-plugin-import to v2.19.1 (#143) 2019-12-10 10:35:55 +01:00
renovate[bot]
dcf893750b fix(deps): update dependency sharp to v0.23.4 (#145) 2019-12-10 10:30:00 +01:00
nothingismagick
4ef4109bc0
fix(workflow): quasar example (#141) 2019-12-09 15:08:00 +01:00
Noah Klayman
b076dd4d23 feat(tauri.js/tauri-config): throw error if req'd files don't ex… (#137)
* 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 #… (#136) 2019-12-04 17:49:14 -03:00
Lucas
0d6b8b34a0 chore(versions) bump tauri.js 2019-12-04 17:49:08 -03:00
Jacob Bolda
ca614e87ea [WIP] github actions rust cache (#131)
* add cache ext

* shorten artifact name

* cache rust cargo home

see https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci

* star artifact, relative rust cache

* forgot to relative prod rust cache

* seriously need one step per cache dir?

* forgot to fix artifact name

* likely need different key for each cache

* globs don't yet work, hardcode for now

* add releaseFolder option

MacOS has deeper folder structure than the others

* missed closing quote

* fix ubuntu artifact path

* use cargo home for cache dir

* set cargo home env

* try relative path?

* scrap env, use matrix

* wish it wasn't so verbose

* tilde

* cache rust based on hashed cargo.lock
2019-12-04 20:24:27 +01:00
Daniel Thompson-Yvetot
6d6179ff67
fix(readme) 2019-12-03 20:12:12 +01: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 (#132)
* 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
Jacob Bolda
218a9f29c8 build all smoke tests and artifact fixes (#128)
* build quasar and try artifact fix

* fix(examples:quasar): add build command

* cache example deps

* try concat strings?

* global join function

* try format

* don't need relative file ref

* fix cache path

* fix(examples:quasar): add missing yarn command

* via-source uses object, add property ref

* fix(examples:quasar): canonical yarns

* fix(examples:gatsby): typos package.json scripts

* fix(examples:quasar): typo

* fix(examples:quasar): put the build command back.

doh

* fix(examples:quasar): add local tauri as devDep
2019-12-02 23:48:43 +01:00
Jacob Bolda
6eb1837181 [WIP] example / gatsby / themed-site (#120)
* add themed gatsby site as example and test target

* add specific example ignores to gitignore

* update api key reference

* theme needs the alpha version currently

* update and pin deps

* remove lock file, we want a fresh build to test every time

* add recipe theme for cheap way to add to ton of site pages

* add tauri as dev dep

* build gatsby as a smoke test

* cd on each step

* pass api key

* chore(package.json): update

* schedule renovate to tone down noisiness (#122)

Also, there is a running theory that Tuesday is a good day for upgrades.

* combine jobs and add step with conditional (#121)

* combine jobs and add step with conditional

* too many equals

* Update dependency fast-glob to v3.1.1 (#113)

* chore(yarn.lock): update

* chore(versions): bump tauri.js & tauri

* feat(gatsby): include tauri resources

* feat(build): tauri build works

* tauri prod and source scripts

* add build from source and artifact upload to action

* don't need to init, examples are already

* point to direct executable with matrix

* ignore WixTools from build

* config app name

* build and install source deps before build project on source

* odd things when tauri is defined in a script, remove

* set gatsby config to what is believed will be ~es5

* babel plugin is actually neeeded

* run subscripts with yarn

* lower timeout limit to 30 minutes, easy to swamp CI with this

* shorten job names

* install tauri-cli (rust)

* make API key optional (sort of hacky)

* install rust for prod for cargo command following

* artifact name cannot have / within it

* windows is running a tad slow
2019-12-02 15:20:20 +01: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
Daniel Thompson-Yvetot
a6800fe473
fix(examples): fix quasar sample 2019-12-01 23:30:58 +01:00
nothingismagick
7c84125418
Feature/readme (#126)
* feat(badges): add badges

* feat(whois): tauri for?
2019-12-01 22:57:10 +01:00
Lucas
19756be683 chore(versions) update workspace's Cargo.lock 2019-12-01 18:35:37 -03: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 #67 (#125) 2019-12-01 22:28:54 +01:00
nothingismagick
c48d0efd84 feat(examples): init quasar example (#124) 2019-12-01 18:27:45 -03: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 (#113) 2019-12-01 13:27:37 +01:00
Jacob Bolda
ebc736070f combine jobs and add step with conditional (#121)
* combine jobs and add step with conditional

* too many equals
2019-12-01 13:26:28 +01:00
Jacob Bolda
d0ac6c7a45 schedule renovate to tone down noisiness (#122)
Also, there is a running theory that Tuesday is a good day for upgrades.
2019-12-01 13:25:40 +01:00
nothingismagick
e58110afd6 chore/upgrades node (#115)
* 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 (#78) 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