Commit Graph

64 Commits

Author SHA1 Message Date
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