Commit Graph

397 Commits

Author SHA1 Message Date
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]
170ca32916
chore(examples) Update Gatsby Examples (#385)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 01:09:47 -06:00
renovate[bot]
7bf87448b7
chore(examples) Update Svelte Examples (#392)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-05 22:53:51 -06:00
renovate[bot]
ae497ff5af
chore(examples) Update CRA Examples (#384)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-05 22:53:41 -06:00
renovate[bot]
30b30cd4ea
chore(examples) Update Vue Examples (#393)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-05 22:53:32 -06:00
renovate[bot]
5e66139785
chore(examples) Update Rust crate serde_json to 1.0.46 (#391)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 19:00:22 -05:00
renovate[bot]
23f26f638c
chore(examples) Update Rust crate serde_json to 1.0.46 (#390)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 19:00:14 -05:00
renovate[bot]
def79c5af1
chore(examples) Update Rust crate serde_json to 1.0.46 (#389)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 19:00:01 -05:00
renovate[bot]
c938c5d30d
chore(examples) Update Rust crate serde_json to 1.0.46 (#388)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 18:59:52 -05:00
renovate[bot]
a64add5354
chore(examples) Update Rust crate serde_json to 1.0.46 (#387)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 18:59:31 -05:00
renovate[bot]
92f3cbb99a
chore(examples) Update Rust crate serde_json to 1.0.46 (#386)
* chore(examples) Update Rust crate serde_json to 1.0.46

* Update Cargo.toml

* Update Cargo.toml

* Update Cargo.toml

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-05 18:59:12 -05:00
nothingismagick
29e2f16520
feat(builder): enable OSX sidecar from finder (#379) 2020-02-04 01:38:43 +01:00
renovate[bot]
156c51bfef
chore(examples) Update dependency quasar to v1.8.3 (#373)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 20:42:01 -06:00
renovate[bot]
4107a47929
chore(examples) Update Gatsby Examples (#374)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 20:41:48 -06:00
renovate[bot]
f6f9957b6d
chore(examples) Update dependency @testing-library/user-event to v8.1.0 (#375)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 20:41:35 -06:00
renovate[bot]
fecd16834c
chore(examples) Update Rust crate serde_json to 1.0.45 (#365)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 18:00:48 -06:00
renovate[bot]
c9c59f32eb
chore(examples) Pin dependencies (#361)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:56 -06:00
renovate[bot]
0e8142298c
chore(examples) Update Rust crate serde_json to 1.0.45 (#369)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:37 -06:00
renovate[bot]
096db9c976
chore(examples) Update Rust crate serde_json to 1.0.45 (#368)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:29 -06:00
renovate[bot]
7517dc6eb9
chore(examples) Update Rust crate serde_json to 1.0.45 (#366)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:21 -06:00
renovate[bot]
ba5747f982
chore(examples) Update Rust crate serde_json to 1.0.45 (#364)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:12 -06:00
renovate[bot]
9bdd52d9af
chore(examples) Update Rust crate serde_json to 1.0.45 (#363)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 14:33:01 -06:00
renovate[bot]
c66a3691cc
chore(examples) Update dependency next to v9.2.1 (#372)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 05:55:12 -06:00
renovate[bot]
970d98fa76
chore(examples) Update dependency @testing-library/user-event to v8.0.7 (#371)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 05:54:39 -06:00
renovate[bot]
d2e72788a5
chore(examples) Update Svelte Examples (#370)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 05:53:29 -06:00
renovate[bot]
410b6fbfa3
chore(examples) Update Gatsby Examples (#362)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-29 05:52:39 -06: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]
92d87137cc chore(examples) Update Gatsby Examples (#343)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:42:12 +01:00
renovate[bot]
af1fda87d1 chore(examples) Update Svelte Examples (#344)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:20:39 +01:00
renovate[bot]
122c16196d chore(examples) Update Vue Examples (#345)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:20:04 +01:00
renovate[bot]
3b135ffeb5 chore(examples) Update dependency @testing-library/jest-dom to v5 (#346)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 10:38:45 +01: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]
d2ae9c51db chore(examples) Update dependency next to v9.2.0 (#330)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 17:53:11 +01:00
renovate[bot]
4d500d4ba4 chore(examples) Update Gatsby Examples to v1.5.4 (#328)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 16:16:28 +01:00
renovate[bot]
34220d60cf chore(examples) Update dependency quasar to v1.7.3 (#327)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 14:19:53 +01:00
renovate[bot]
2fb297a6bf chore(examples) Update Vue Examples (#325)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 13:00:17 +01:00
renovate[bot]
2960ef70b1 chore(examples) Update dependency @quasar/extras to v1.4.1 (#324)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 12:31:34 +01:00
renovate[bot]
1e3c8f36d7 chore(examples) Update Vue Examples (#315)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 11:26:47 +01:00
renovate[bot]
3295762b64 chore(examples) Update Vue Examples (#322)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:25:12 +01:00
renovate[bot]
15b62f25bb chore(examples) Pin dependencies (#319)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:21:57 +01:00
renovate[bot]
669cbe0a5b chore(examples) Update Gatsby Examples (#320)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:21:14 +01:00
renovate[bot]
d8cb440369 chore(examples) Update Svelte Examples (#321)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:20:32 +01:00
renovate[bot]
af98ed349b chore(examples) Update Gatsby Examples (#293)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-10 22:45:37 -06: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
Tensor-Programming
584d01a268
Chore(examples) update cargo.toml with appropriate dependencies. (#303)
* update .gitignore

* remove cargo.lock

* update cargo.toml

* fix binary name.
2020-01-09 16:20:08 -05:00
tensor-programming
627e351165
update main.rs 2020-01-09 16:00:59 -05:00
renovate[bot]
378e649925 chore(examples) Update dependency @rollup/plugin-node-resolve to v7 (#298)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-09 09:11:54 -06:00
renovate[bot]
db1a4ca0b8 chore(examples) Update dependency quasar to v1.6.1 (#296)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-08 11:42:18 -06:00
renovate[bot]
f528e4d537 chore(examples) Update dependency rollup to v1.29.0 (#299)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-08 11:31:06 -06:00
Jacob Bolda
c6d197bcd6
fix(examples): fix breaking change upstream (#300)
* fix(examples): fix breaking change upstream

It now requires a siteURL to function (as there isn't a great way to make it optional).

* fix(gatsby-example): use https for site

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-08 10:07:53 -06:00
Noah Klayman
5c5e2674c0 feat(examples): add vue cli app example (#260) 2020-01-08 13:57:23 +01:00
renovate[bot]
e3d21dae5f chore(examples) Update dependency rollup to v1.28.0 (#297)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-08 03:54:31 -06:00
renovate[bot]
0e49c27c21 chore(examples) Update dependency next to v9.1.7 (#295)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-08 03:54:09 -06:00
renovate[bot]
852877322f chore(examples) Update CRA Examples (#291)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-08 03:53:41 -06:00
Jacob Bolda
809bcc9690 fix(example): gatsby theme update and breaking change fix (#276)
* update theme deps

* first article titles

* engagements is required

this was an accidental breaking change, we intended to keep this optional, oops!
2020-01-03 14:44:03 +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
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
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
nothingismagick
ed266b48c1 chore(templates): remove updater.rs, add build.rs (#251) 2019-12-30 08:04:12 -03: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
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
Lucas Nogueira
8b17300162
chore(examples) delete Tauri-Phaser git submodule 2019-12-28 17:01:35 -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 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
Rajiv Shah
612d616112 feat(examples): Add Svelte app example (#218)
* feat(examples): Add Svelte app example

Created with `npx degit sveltejs/template svelte-app`

* feat(examples): Copy scripts to Svelte example

* chore(examples): Remove unnecessary dependency

* feature(examples): Run tauri init and copy tauri config

* feature(examples): Copy Readme from examples

* fix(examples): Move svelte to dependencies

* Revert "chore(examples): Remove unnecessary dependency"

This reverts commit 2465e753b2.

* chore(examples): Update Svelte example's Tauri config

* chore(examples): Enable Svelte app smoke tests
2019-12-25 00:13:21 +01:00
BenoitRanque
75f032ae52 Make yarn build consistent across examples (#215)
Document changes made in #200
2019-12-24 15:23:16 -06:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates (#192)
* 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 #160 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
BenoitRanque
cd85d681b7 Corrected example: Changed next build to next export (#200)
* Changed next build to next export

Propper comand to export a static site is next export. See [here](https://nextjs.org/docs#usage)

* Corrected build command per suggestion

Both next build && next export are needed

Co-Authored-By: Jacob Bolda <me@jacobbolda.com>

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2019-12-22 11:24:27 +01:00
BenoitRanque
e4fd3bb0d7 Created .gitignore to ignore WixTools (#199)
Compiling on windows downloads WixTools to src-tauri/WixTools folder.
We don't want that polluting our repo
2019-12-22 11:19:06 +01:00
Jacob Bolda
c496ec6b33 add empty build command to monolith (#201)
* add empty build command to monolith

* rerun init and add empty workspaces

seems if we don't add the empty workspaces the toml, it gets picked up as part of the root cargo package

* fix(cargo): match latest signature

* fix(updater): purge for now

* fix(config): whitelist:true and autoStart:false

Co-authored-by: nothingismagick <denjell@sfosc.org>
2019-12-22 10:57:32 +01:00
Jacob Bolda
4f9d2e2ba7 enable new examples in smoke tests (#194)
* rename smoke tests

* split into prod and source runs

* rename test job names for clarity

* snake case gatsby site

* remove airtable api key

* add new examples

* add new examples to renovate

* add scripts to package.json

* finish off vanillajs example
2019-12-21 10:47:33 +01:00
Jacob Bolda
8df78e29b6
slim down gatsby example, update deps (#193)
* shift example and slim config

removed gatsby-source-airtable and gatsby-theme-recipes to make things more simple, less fragile and speed up the build

* update action to point at new location

* update links

* add test articles

* add theme

* slim config, move to homepage folder

* update renovate path, enable automerge on examples

* turn off rebases, but keep on for examples
2019-12-21 00:34:36 -06:00
Dale Inverarity
adaef1a3d7 Added next.js example (#191) 2019-12-20 23:28:11 +01:00
Dale Inverarity
0298a78726 Fixed missing public folder for CRA example (#189) 2019-12-20 14:24:43 -06:00
renovate[bot]
9b6d99e751 chore(examples) Update Vue Examples (#180) 2019-12-20 13:22:32 +01:00
renovate[bot]
bce81f3a00 chore(deps): pin dependencies (#184) 2019-12-20 13:17:55 +01:00
Rajiv Shah
8f2333078e fix(examples): Fix gatsby themed-site build errors (#187) 2019-12-20 11:21:04 +01:00
Dale Inverarity
70afee5df3 Added MVP for integration with create-react-app (#186) 2019-12-19 21:45:35 +01:00
nothingismagick
acdb73febf Chore/updates new (#183)
* 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 (#171) 2019-12-18 11:42:44 +01: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
nothingismagick
435ed1ab8f
chore/updates (#150)
* chore(deps:examples): update

* chore(update:tauri): serde_json
Closes #146
2019-12-10 20:10:45 +01:00
nothingismagick
4ef4109bc0
fix(workflow): quasar example (#141) 2019-12-09 15:08:00 +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
a6800fe473
fix(examples): fix quasar sample 2019-12-01 23:30:58 +01:00
nothingismagick
c48d0efd84 feat(examples): init quasar example (#124) 2019-12-01 18:27:45 -03:00
nothingismagick
6dcccf5a8e feature/env (#80)
* 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 #99.

* 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
39ce652329 chore(monorepo): cleanup (#73)
* 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