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
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
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
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
Rajiv Shah
65f1bf96ef
fix(bundler): Return nonzero exit code when errors occur ( #233 )
...
* fix(bundler): Return nonzero exit code when errors occur
* fix(bundler): Always exit with exit code 1 when calling print_error
2019-12-26 11:32:48 +01:00
BenoitRanque
f800daaf44
Fix : #228 invalid JSON ( #229 )
2019-12-25 18:24:24 +01:00
Jacob Bolda
ea26b0a1ec
chore(examples) add Svelte renovate group ( #227 )
2019-12-25 09:21:04 -06:00
Rajiv Shah
5cc031830f
chore(tauri): Update Cargo.lock ( #216 )
2019-12-25 01:02:07 +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
Rajiv Shah
afb6386204
chore(tauri.js): Add prepare script ( #217 )
2019-12-24 18:32:44 -03: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
078ae1dfda
[Feature/Bug( #133 )] add icon to windows Exe and MSI ( #211 )
...
* add icon to msi
* remove print
* make attohttpc windows only
* make attohttpc error windows only
* copy icon files to resource folder in output.
* add ico to template
* remove print
* remove duplicate
* add uninstaller to wix
* fix typos
* fix program flow
* add windows icon logic to template.
* update serde, phf and change includedir to tauri
* update next.js with new tauri setup
* update monolith
* remove unnessecary deps
* remove updater.rs and deps
* update react examples
* update vue example
* Revert "update vue example"
This reverts commit a5d58f55b4
.
* Revert "update react examples"
This reverts commit cce215f97e
.
* Revert "remove updater.rs and deps"
This reverts commit 8d422294f4
.
* Revert "remove unnessecary deps"
This reverts commit 30e023f383
.
* Revert "update monolith"
This reverts commit fac097f51a
.
* Revert "update next.js with new tauri setup"
This reverts commit caf5f198ea
.
* revert smoke-test changes
* revert smoke-test changes
* fix conflicts
* fix conflicts
2019-12-24 14:33:41 -05:00
Lucas Fernandes Gonçalves Nogueira
7dc2036095
test(tauri.js) add tests for --version option
2019-12-24 09:54:04 -03:00
Lucas Fernandes Gonçalves Nogueira
c2b3ac4b05
feat(tauri.js) add --version option
2019-12-24 09:47:15 -03:00
Noah Klayman
fab788b4bd
[needs review] Convert tauri.js to typescript ( #203 )
...
* 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
* chore(tauri.js) lint-fix
* fix(tauri.js) build tauricon.ts
* chore(tauri.js) remove unused code
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-24 09:40:03 -03:00
Tensor-Programming
95808a5d53
add cfg_attr for windows cmd closed on prod ( #210 )
2019-12-23 14:52:17 -05:00
nothingismagick
92b71cc173
Update Cargo.toml to allow tests to build ( #208 )
2019-12-23 16:30:21 -03:00
Lucas Nogueira
d04b15fc90
fix(tauri) salt race condition
2019-12-22 23:31:38 -03:00
Lucas Nogueira
4db6171c37
fix(entry) emit event without payload
2019-12-22 23:31:12 -03: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
Jacob Bolda
7bd0c2f06d
Create CODEOWNERS ( #195 )
...
* Create CODEOWNERS
* refactor(folders): keep lockstep with refactor/crates
added new folder codeowners
* refactor(names)
From the perspective of semantics, Shakespeare was wrong. Even if it smells as sweet, linguistic context helps you to know what to expect to smell before you smell the thing you want to smell.
# 👃
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-22 16:15:09 +01: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]
f96249489a
chore(deps): update dependency lockfile-lint to v3.0.4 ( #182 )
2019-12-20 13:20:47 +01:00
renovate[bot]
bce81f3a00
chore(deps): pin dependencies ( #184 )
2019-12-20 13:17:55 +01:00