Commit Graph

143 Commits

Author SHA1 Message Date
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
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 50ef912721 chore(upgrade): bump deps (#110) 2019-11-30 08:24:13 -03:00
Rajiv Shah 2ce326e817 fix(ci): install webkit2gtk on ubuntu before building (#105) 2019-11-30 10:58:40 +01:00
kastenbutt ec2b9092ed Update bundler crates. Fix errors related to updated versions of images and uuid. (#72) (#106) 2019-11-30 10:04:42 +01:00
Jacob Bolda 6f9008a32e set timeout on `yarn test` (#104)
It has been hanging on MacOS builds. Although we would want to fix this hang long term. This is a temporary way to deal with it and prevent future occurrences of swamping the CI. It would be surprising if jest tests ran longer than 15 minutes.
2019-11-29 16:09:33 +01:00
kastenbutt 897f64e715 Cleanup path_utils.rs (#74) (#103) 2019-11-29 11:06:40 +01:00
Daniel Thompson-Yvetot 4510f638e8
fix(tauri.js): version mistake 2019-11-29 07:29:15 +01:00
Daniel Thompson-Yvetot d7b7b668a1
feat(tauri.js): repath template files 2019-11-29 07:27:26 +01:00
renovate[bot] 29ce255568 Configure Renovate (#71)
* chore(deps): add renovate.json

* manage cargo as well

* force cargo as enabled
2019-11-28 08:51:38 +01:00
Rajiv Shah 24a339ae75 fix(test): fix Jest tests (#77) 2019-11-28 08:41:47 +01:00
Rajiv Shah d1cd6d102e fix(bundler): add use declarations where necessary (#75) 2019-11-28 00:24:52 +01: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
nothingismagick c7a4553442
turn off workflows 2019-11-26 21:46:06 +01:00
Tensor-Programming 52e20d2544 feat(bundler) appimage (#37)
* add basic setup

* add basic download logic

* build test

* add yaml parser.

* finish appimage

* cleanup and comment

* add comment

* modify chmod

* fix line endings.

* remove "cat runtime"

* match desktop files

* add path utils

* add opts

* add fileopts and diropts

* create, create all and remove

* copy file function

* add copy logic and new error

* add target to gitignore

* refactor deb::bundle_project

* finish refactor
2019-11-26 21:16:21 +01:00
nothingismagick 70ccd1659d
Feat/bundler (#66)
* feat(updateWebview): and a couple npm ignores

* chore(update): version

* fix(bundler): remove deprecated items
closes #54.
2019-11-24 19:42:34 +01:00
nothingismagick a809cb759f
feat(updateWebview): and a couple npm ignores (#63) 2019-11-24 16:20:04 +01:00
nothingismagick dc06913def
Feature/webpack (#62)
* feat(webpack) chain with safe tap & load tauri config

* feat(config) add automaticStart option

* mergefix

* fix2
2019-11-24 16:11:06 +01:00
nothingismagick 098033a6c8
Delete tauri.conf.js 2019-11-24 16:10:33 +01:00
nothingismagick 19322a24e6
Feature/edge (#61)
* feat(lib) propagate edge feature to web-view crate

* feat(cli) add edge feature to config
2019-11-24 16:03:42 +01:00
nothingismagick fdbc556b8f
feat(icons): add correct icons to template (#59) 2019-11-24 09:39:25 +01:00
nothingismagick 5b418ebcb0
feat(funding): add opencollective to npm funding 2019-11-20 11:45:06 +01:00
nothingismagick 596f6218e6
feat(icons): add and test icon generation for tauri (#55) 2019-11-17 22:30:14 +01:00
Jacob Bolda 94ead187dc install Rust stable before build (#53)
This will fix MacOS build image not having Rust installed by default.
2019-11-16 21:24:23 +01:00
nothingismagick 5ec8e2f2a0
feat/web-view (#52)
* feat(web-view): revert to now well-maintained upstream web-view [WIP]

* feat(tests): add jest testing, first test

* feat(lint): install, config and fix
2019-11-16 19:51:46 +01:00
Jacob Bolda 1ee1933da5 test lib on PR (#1) (#49)
* test lib on PR

* add build command

* ls to see where we are at

* ls after

* cd in one step

* less matrixes

* Rename test-lib-on-pr.yml to test-on-pr.yml

* pull out strategy

* Update test-on-pr.yml

* more spaces

* jobs don't like spaces

* test bindings

* build templates

* build tools
2019-11-02 09:36:15 +01:00
Daniel Thompson-Yvetot 1f5178c120
chore(version): bump 2019-10-15 17:09:12 +02:00
nothingismagick 5968682536
Fix/cli (#47)
* fix(cli): watch tauri.conf.js

* fix(cli): use window.external

* fix(naming): purge cruft

* fix(watcher): use appDir not tauriDir
2019-10-15 17:07:48 +02:00
Daniel Thompson-Yvetot 95878fdf47
chore(version): bump 2019-10-15 14:56:41 +02:00