Commit Graph

228 Commits

Author SHA1 Message Date
Noah Klayman
0c691f40a3
feat(core): Use Wry custom protocol instead of embedded server (#1296)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-25 17:07:30 -08:00
Noah Klayman
1d66d00506
chore: improve contributor experience (#1264)
* chore: update install commands in setup scripts

* chore(examples/api): add `tauri` script

* chore(contributing.md): update to match new developments

* fix(scripts/setup): typo

* chore(examples): replace communication with helloworld

* remove deno submodule as it was added on accident

* fix(examples/helloword): add __tauri.js to .gitignore

* fix(examples): helloworld example with `cargo run`, change dev path

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-21 08:48:08 -08:00
Lucas Fernandes Nogueira
e0be59ea26
refactor(core): split allowlist configuration per module (#1263)
* refactor(core): split allowlist configuration per module

* fix: build with all features

* fix(cli): run fmt

* fix(core): run fmt
2021-02-20 14:09:18 -03:00
Lucas Fernandes Nogueira
84d7cdae63
refactor(core): remove no-server and its APIs (#1215) 2021-02-11 02:33:18 -03:00
Lucas Fernandes Nogueira
df32e18be3
feat(repo): add setup scripts (#1189) 2021-02-10 02:24:38 -03:00
Lucas Nogueira
c94b9b3696 chore: remove tauri bundler install 2021-02-06 11:31:26 -03:00
Noah Klayman
4c8634d974
docs(contributing): add instructions for developing Tauri (#1043) 2021-01-30 10:31:11 -08:00
Lucas Fernandes Nogueira
ba8fb00880
feat(ci): add unused dependencies check (#1168) 2021-01-30 13:50:26 -03:00
Lucas Fernandes Nogueira
3e8abe3764
feat(cli) rewrite the core CLI in Rust (#851) 2021-01-30 12:15:47 -03:00
Rajiv Shah
01f45a999d
fix(ci): Use env files instead of set-env (#1155) 2021-01-24 20:14:42 +01:00
Jacob Bolda
26c497979f
fix: webpack progress display options not valid (#1086)
* fix: webpack progress display options not valid

It seems something changed that the progress and display options we were using the hide the output are no longer valid. Remove them.

* add build-release as part of tests
2020-11-13 02:27:42 -06:00
Jacob Bolda
91c58ef393
chore: increase publish workflow timeout and bump node to v14 (#1080) 2020-11-10 08:46:23 -06:00
Jacob Bolda
f3ad80c822
chore: allow passes cargo audit options via secrets (#1079)
This let's us more easily ignore a security error that does not have a resolution.
2020-11-10 07:59:04 -06:00
Jacob Bolda
ea8adcfb06
chore: bump create-pr-action to resolve deprecation (#1077)
The set-env function in Github Actions has been deprecated which the previous version used. This update resolves the issue.
2020-11-10 00:53:57 -06:00
Noah Klayman
9e0b3d8b09
fix(contributing): update financial contribution details (#1044)
add github sponsors and make open collective a link
2020-10-29 10:33:48 -07:00
Jacob Bolda
6424b00ca7
feat: build tauri communication app on demand (#1001)
* feat: build tauri communication app on demand

* add run command

* manually set defaults, build tauri.js

* add script defaults and options

* run command doesn't need the `yarn` and `build`

* try just build?

* empty script

* just skip it for now

* try fix on fix/paths-expect-arrays branch

* add tauri as script

* use nested folders

* enable on pr again

* switch to preferGlobal

* skip install

* build without action

* flip global

* list

* add yarn bin to path

* now try with action

* extra spaces

* prepare for release

* don't run on pr
2020-09-02 11:57:28 -05:00
Jacob Bolda
6a21965ff3
chore: add prettier for js formatting (#937)
* chore: add prettier for js/ts formatting

* fix lint-staged to object

* test commit

* format all

* lock file bump

* eslint extends prettier

This will let us skip rules in eslint that prettier can control. Prettier for styles, eslint for code errors.

* add prettier config

* roll back to what we had with eslint settings

* skip mutation observer

* add prettier typescript eslint

* run prettier in lint workflow

* format:check script

* turn off space before function in eslint

it is fighting with prettier

* fix dir in workflow

* remove semis

* add api to eslint

* shift eslint ignore comment after prettier format

* ignore errors that currently exist

* build:typevalidators

* replace was broken on typevalidator build

* try pushing up error

* format

* try removing working dir from eslint workflow

* try node 12

* fix indent in action

* bump eslint

* fix supposeded error and try another

* try breaking eslint

* try building in action

* adjust action paths again

* need dot

* remove build

* fix(tauri.js/eslint): escape glob *

* fix(tauri.js): ignore lint error

* Create prettier-taurijs.md

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
2020-08-18 21:36:46 -05:00
Laegel
cc67680fca
fix: Updated target docs path (#908) 2020-07-29 23:53:30 +02:00
Jacob Bolda
e274ecb77b
fix: this allows proper running of the docs update button (#901)
* fix: this allows proper running of the docs update button

* single quotes
2020-07-27 20:48:28 -05:00
Jacob Bolda
44b1be56e4
fix: check for version mode, wrongly skipped PR (#887) 2020-07-22 21:00:28 -05:00
Jacob Bolda
daa89213de
chore: publish sequence finishing touches (#873) 2020-07-21 14:35:43 -03:00
Lucas Fernandes Nogueira
61fbf6837d
fix(workflow) add secret tokens to the covector run (#871) 2020-07-20 17:21:43 -03:00
Jacob Bolda
c0c27202c2
chore: tangle if doesn't need expression brackets (#869) 2020-07-20 00:48:45 -05:00
Jacob Bolda
f0559fad41
chore: properly skip tangle (#868)
Outputs are now one level up as we define them in the previous job.
2020-07-20 00:40:08 -05:00
Jacob Bolda
29624b004a
chore: remove publish workflow context dumps (#867) 2020-07-20 00:35:13 -05:00
Jacob Bolda
2684a835b5
chore: explicitly define publish output for tangle (#866)
* dump context on PR

* explicitly define outputs

* output change

* add job in needs

* housed under outputs?

* try explicit output definition
2020-07-20 00:19:35 -05:00
Jacob Bolda
d09180fd89
chore: covector tweaks for smoothness (#865)
* reorder packages that core is published last

* general ledger comment, not just npm

* we do want to create releases

* leading ! does not seem to negate

* dump a bunch of info to debug
2020-07-19 23:34:16 -05:00
Jacob Bolda
0e8cd1db34
fix: publish workflow name and parse error (#864) 2020-07-19 15:50:56 -05:00
Jacob Bolda
2d721324a0
chore: implement covector publish (#845)
* add covector to root

* add workflow to covector config

* bump covector

* add webkit install on publish

* create workflow to version and publish

* remove workflows no longer needed

* add repo info to root package.json

* add early exits based on new output

* switch to dry run version of publish commands

* latest branch is being removed in this PR

* add summary component around yarn audit
2020-07-19 15:33:12 -05:00
Jacob Bolda
71e277d127
chore: add audit button and yarn audit (#859)
* chore: add audit button and yarn audit

This is a new feature that should give us a button that we can click a button to see audit results rather than waiting for a cron or a run within our workflows.

* split audit into js and rust
2020-07-19 12:59:45 -05:00
Lucas Fernandes Nogueira
f0ce94fc8e
feat(tauri.js) print outdated deps information on tauri info (#841) 2020-07-15 20:39:28 -03:00
Lucas Fernandes Nogueira
17800571fe
fix(tauri.js) exit dev when running as admin, fixes #781 (#839) 2020-07-15 20:05:07 -03:00
Lucas Fernandes Nogueira
f1a8a65be2
perf(workflow) filter workflow with the paths option (#828)
* perf(workflow) run bundler test only when the bundler changes

* perf(workflow) split clippy/eslint/fmt checks

* chore(workflow) rerun if workflow file change

* chore(workflow) fix name

* fix(tests) bundler test on windows, removed since it's not used
2020-07-15 08:14:11 -03:00
Lucas Fernandes Nogueira
490b3a3323
feat(workflow) run clippy on the bundler (#826) 2020-07-14 12:46:13 -03:00
Jacob Bolda
0eddf6444f
chore: merge latest using Xours (#815)
* chore: merge latest using Xours

* try letting it resolve type of ff

* derp
2020-07-12 09:18:41 -05:00
Jacob Bolda
74b2cb20e6
feat: bump covector action to v0 2020-07-10 12:29:11 -05:00
Jacob Bolda
822f7008d7
fix: failing with unrelated histories, switch to full history fetch (#795)
version updates
2020-07-09 20:35:07 -05:00
Jacob Bolda
f436a245d2
fix: switch merge to latest as --no-ff (#789) 2020-07-09 09:07:02 -05:00
Lucas Fernandes Nogueira
c8f430297f
feat(workflow) improve clippy check, add fmt and audit checks (#754) 2020-07-05 22:13:50 -03:00
Jacob Bolda
92fc379921
feat: remove master branch, switch to git merge --ff-only (#744)
* feat: remove master branch, switch to git merge --ff-only

* rename pr-to-latest.yml
2020-07-05 18:00:49 -05:00
Jacob Bolda
95d9e24580
fix: update docs with PAT (#743) 2020-07-05 19:09:46 -03:00
Jacob Bolda
07b7d3179a
fix: update rust docs PR needs a path (#742)
It is being checked out in a subdir, so we need to give the PR a path to it.
2020-07-03 15:00:12 -05:00
Jacob Bolda
d109c066c2
chore: update rust docs on release (#739)
* chore: update rust docs on release

* update commit message

also working directory doesn't apply with `uses`
2020-07-03 14:13:39 -05:00
Jacob Bolda
e130c3ca56
chore: pin covector action (#737)
* Update change-status-on-PR.yml

* Update pr-version-updates.yml
2020-07-03 12:16:33 -05:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes #679 #435 (#703)
Co-authored-by: Quentin Goinaud <armaldio@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-27 12:20:00 -03:00
Jacob Bolda
c07afcf9d4
fix: covector action should ref main now (#720) 2020-06-26 07:51:58 -05:00
Jacob Bolda
947edb9b62
chore: generate the Cargo lockfile for audit to run (#692)
* chore: generate the Cargo lockfile for audit to run

* add audit path
2020-06-18 11:21:35 -05:00
Jacob Bolda
1f2ff7dc25
chore: fix version updates commit text (#693)
This fixes the commit so it includes "version updates" in the text. As it is a single commit, the default squash behavior uses the commit instead of the PR title for the commit that shows up in the dev branch (which wouldn't trigger the next workflow).
2020-06-18 01:21:31 -05:00
Jacob Bolda
00f311a42c
chore: rustbacktrace on [#663] (#687)
* enable backtrace on everything in test library

* enable on (disabled) smoke tests
2020-06-17 14:30:41 -05:00
Jacob Bolda
65e9c4fa40
feature: implement version change PR (#676)
* update readme with notes about character limits and designating bumps

* edit PR template to note addition of a change file

* add change file for #674

* add change file for #673

* add change file for #672

* add change file for #671

* add version action

* set version command in config

* add change file for #677

* add labels to PRs

* Update .changes/tauri-info-crash.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>

* Update .changes/HttpRequestBuilder-implementation.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>

* Update kill-beforeDevProcess-on-shutdown.md

* Update reflect-conf-changes.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-06-15 15:29:22 +02:00
Lucas Fernandes Nogueira
14a1ddfe18
feat(tauri) add app CLI interface config (#670) 2020-06-14 23:36:35 -03:00
Jacob Bolda
5efde04509
chore: turn off smoke tests (#669)
We are turning off the smoke tests for the time being as they are eating up our runners to much relative to the value we are currently getting from them. We will enable them in the future in a way that makes better use of our resources.
2020-06-12 11:02:00 -05:00
Jacob Bolda
d475767a14
feature: implement covector (#668)
* feature: implement covector

* Create change-status-on-PR.yml

* Create readme.md

* action is nested

* trailing comma in config
2020-06-12 09:23:54 -05:00
Jacob Bolda
c1aed1985b
chore: bump PR action version to v2.8.0 (#666) version updates
Hopefully this will fix our random permission failure :(
2020-06-11 21:11:16 -05:00
Rajiv Shah
b6797096e5
fix(workflow): Fail the build if publishing has nonzero exit code (#664) 2020-06-11 18:26:33 -03:00
Rajiv Shah
1fcc3dd3eb
fix(workflow): Change node and update gh-tangle-release to 0.6.2 (#662) 2020-06-11 17:36:47 -03:00
Rajiv Shah
94bd1517f3
fix(workflow): Use node that supports PoW for Tangle Release action (#647) 2020-06-10 14:00:12 +02:00
Tensor-Programming
d2ba2ffabd
fix vanilliajs folder 2020-05-28 04:36:41 -04:00
Tensor-Programming
9c3aec8499
fix paths 2020-05-28 04:36:02 -04:00
Jacob Bolda
342da74f78
chore: remove greeting workflow (#567) 2020-04-13 08:07:43 -05:00
Jacob Bolda
cb21b8fde9
chore: switched to forked create-pull-request (#565)
We can better manage the security by running from the forked version and selectively keeping in sync with upstream.
2020-04-12 08:53:41 -05:00
Jacob Bolda
d54c3b4ce5
chore(workflow): skip webkit2gtk install if not publishing (#558)
We reordered it in a previous PR, but forgot to add the `if` statement to also skip it.
2020-04-06 13:01:32 -05:00
Jacob Bolda
d202007656
chore(workflow): publish perf and prettying (#548)
* install webkit after we confirmed we will publish

this should speed up the publish sequence as we now only run one at a time

* new lines don't work, use empty echo
2020-04-02 21:54:08 -05:00
Jacob Bolda
cc7c26b245
chore(workflow): order cargo publish and limit to 1 (#535)
We were running into race conditions where one package depended on another being published. Limit to only allow one publish at a time, and sort based on dependencies to (hopefully) eliminate the race condition.
2020-03-29 13:57:00 -03:00
Jacob Bolda
2e67d2bc9f
chore(workflow): switch yarn audit in release to a collapsed section (#534) 2020-03-28 16:09:47 -05:00
Lucas Fernandes Nogueira
37afc5b0dc
fix(tauri.js) determine app path correctly (#493)
* fix(tauri.js) determine app path correctly

* fix(lint): replace backtick with single-quote

* fix(tests) mock app-paths

* fix(tauri.js) linting

* fix(test) use local tauri on empty fixture

* fix(tauri.js) linting

* fix(workflows) use local tauri-bundler test-tauri-js-cli

* fix(workflows) wrong cargo install command

* fix(tauri) comment webview-spawning test

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 21:27:54 -03:00
Lucas Fernandes Nogueira
d37efa5605
test(tauri.js) add template test, close #427 (#501)
* test(tauri.js) add template test

* fix(lint) ignore prefer-optional-chain because babel-jest wont accept it

* feat(webpack) raw-loader test for windows

* fix(workflow) install tauri-bundler

* fix(EOF)

* chore(test) try with done cb

* fix(test) cwd scope

* fix(test) transform regex for windows

* fix(test) windows regex on jest transform

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 17:57:27 -03:00
Lucas Fernandes Nogueira
abd5c698bd
feat(tests) add e2e test (#244)
* 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

* feat(tests) add project for initial e2e test

* chore(tauri) remove whitespaces on runner.rs

* chore(test): remove updater.rs

* feat(tests) move e2e test to tauri.js/test/jest

thanks to @laegel for the awesome work moving the test code to jest

* feat(tests) prepare build for modes tests

* fix(tests) properly run build tests

* feat(tests) add dev e2e test

* fix(tests) cleanup

* chore(tests) move e2e test from express to http.createServer

* chore(tauri.js) husky back to 4.0.10

* chore(tests) custom transformer to export with default

* chore(tests) use jest mapping instead of relative paths

* chore(tests) move dev e2e test to http.createServer

* chore(tests) move dev/build e2e test to tes.each instead of for loop

* chore(tauri.js) add comment to non-webpack-require.ts

* chore(tests) change test.each to it.each

* chore(tests) adjust it.each message signature

* fix(tests) adjust to properly run on initial build

* fix(tests) properly cleanup

* fix(tests) wait server.close to reject test

* fix(tests) wait server.close to resolve test

* fix(actions) install webkit2gtk-4.0 on test-tauri-js-cli

* fix(ci) install tauri-cli on test-tauri-js-cli

* fix(tauri.js) lint errors

Co-authored-by: Lucas Nogueira <lucas@quasar.dev>
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-07 13:40:24 -03:00
Jacob Bolda
83d6e052e6
chore(workflow): tauri-bundler path considering workspace (#477)
`tauri-bundler` is not in the main cargo workspace so the target directory is not in the top level. Update the publishPath to compensate.

Also removing a couple extraneous things that aren't needed either. We had an extra '/' and we don't need to bother showing the directory within the `cargo package` command.
2020-03-01 08:07:49 -06:00
Rajiv Shah
018b1d877d
feature(workflows): Add ESLint check to workflow (#456)
* feature(workflows): Add ESLint check to workflow

* Use setup-node v1.x.x instead of v1.0.0

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

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-24 12:31:14 -06:00
Jacob Bolda
92bdedce46
chore(workflow): build tauri.js after install (#450) 2020-02-23 21:58:46 -06:00
Jacob Bolda
7167db8fad
fix(workflow): runner has to be in steps (#444) [version updates]
just put it in everything for now
2020-02-21 08:48:28 -06:00
Jacob Bolda
056d2205fa
chore(workflow): update tangle release for more logging (#432) 2020-02-21 15:25:38 +01:00
Jacob Bolda
c1638e92a6
fix(tauri): make github action envs absolute for extra path level in runner.rs (#438)
* fix(tauri): extra path level in runner.rs

This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.

* Revert "fix(tauri): extra path level in runner.rs"

This reverts commit eb1034b4f3.

* make envs in GH Actions absolute for now

* runner is only available within steps
2020-02-19 09:02:19 -06:00
Ty Tracey
43f32edc01
Migrating examples to the example repo (#409)
* Migrating examples to the example repo

* update smoke test github action to example repo

* unclear what the path should be

* lock file moved

* remove ls

* x64?

darn conflicts

* missed cache path

* cargo build step isn't needed

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-16 15:28:37 -06:00
tensor-programming
2fe764913a
use x86 and x64 for wix. 2020-02-12 16:55:10 -05:00
Tensor-Programming
76c8376e74
Bug(Bundler): fix target arch in wix (#426)
* fix target arch in wix

* update github action to .amd64.msi
2020-02-12 16:51:17 -05:00
Jacob Bolda
3e7af3df4e
fix(publish): touch up npm/cargo publish workflow (#416) [version updates]
* skip yarn audit if current package is latest

* escape backticks

* escape backticks
2020-02-10 08:05:36 -06:00
Jacob Bolda
c4810ff195
add envs and publishPath, don't verify (#414) [version updates]
We were missing the envs so tauri-core didn't publish. It is fine if every package has these envs. We shouldn't need to verify as we have already built many times prior, and the verification gets very odd with packages all being bumped and being interdependent (inception verification).
2020-02-10 07:28:15 -06:00
Jacob Bolda
18009870fc
add missing $ (#412) [version updates] 2020-02-09 17:13:03 -06:00
Rajiv Shah
deeb28306b fix(publish): Use yarn audit instead of npm audit (#411) 2020-02-10 00:09:27 +01:00
Jacob Bolda
03eb578c3f
fix(publish): attempt two (#408) [version updates]
* need working dir on yarn install

* reorder cargo to login before publish
2020-02-09 16:54:10 -06:00
Jacob Bolda
4d1f61698d
fix(publish): login and build (#406) [version updates]
* yarn before pack

* login to cargo to publish

* skip install on same version

* workflow edits trigger too

* and this one too
2020-02-09 16:16:02 -06:00
Jacob Bolda
9eb9375959
testing clippy check on push (#403)
* Create check-on-push.yml

* push:

* try clippy with stable

* Create pid.rs

* remove pull request clippy check

* invalid mod?

* remove mod

* Delete pid.rs
2020-02-09 16:06:13 -03:00
Ty Tracey
b114fb8c38 Adding Clippy/Rust Fmt to the pr workflow #333 (#367)
* Added clippy configuration file, added github action to run clippy, and changed line endings for rust fmt

* fix(cippliy-check-action) install webkit2gtk

* fix(clippy_check) add env variables

* refactor(tauri) fix clippy checks

* chore(tauri) use tauri_includedir_codegen v0.5.2

* fix(tests) dir tests

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 14:18:09 -03:00
Jacob Bolda
2e8c65b4f2
feat(workflow): publishing pipeline (#399)
* Update and rename cargo-publish.yml to release-cargo.yml

* Update and rename npm-publish.yml to release-npm.yml

* Delete push-to-dev.yml

* Create pr-to-master.yml

* add newer packages to matrix

* check cargo published version

* skip cargo audit if versions match

* chore(release-cargo) tauri-cli renamed to tauri-bundler

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:09:12 -03:00
Lucas Fernandes Nogueira
7522d8ff8a
chore(bundler) rename tauri-cli crate to tauri-bundler (#401) 2020-02-08 12:51:48 -03:00
Tensor-Programming
e24a56f069
Chore: update Rust to 1.41.0 (#395)
* Update rust-toolchain

* update github actions for 1.41
2020-02-05 20:18:47 -05:00
Jacob Bolda
a1755cde9c
fix greeting message extra characters (#338) 2020-01-20 20:41:03 -06:00
nothingismagick
bed75c1099
feat(workflows): first-timer message (#326)
* feat(workflows): first-timer message

Just a little "hey there". For PRs remind them to sign commits.

* add explanation about why signed commits

* enhance pr-message

using the advice from @nklayman
2020-01-15 17:58:01 +01:00
Tensor-Programming
667d5905f6
Refact(api) Add error chain to Tauri_api. (#311)
* add error chain

* remove verson error

* update file error

* update dir

* fix file_system

* add command error type.

* fix minor inconsistency

* add command tests

* add other tests for cmd.

* add more testing for cmd

* add documentation.

* add walk_dir tests and documentation.

* add list_dir_contents test

* test for with_temp_dir

* add read_string tests and file error type.

* add test_binary and update tests.

* add check_read_binary_fail test

* add os codes for unix based systems.

* add core-tauri-test gh action

* update test-on-pr

* fix test to test all libs.

* fix unix/windows errors
2020-01-14 22:03:59 -05:00
BSKY
561677864c Bump actions/checkout from v1 to v2 (#308)
* Bump actions/checkout from v1 to v2

* Update smoke-test-prod.yml

* Update smoke-tests-source.yml

* Update test-on-pr.yml
2020-01-14 07:55:39 -06:00
Jacob Bolda
2ab604afd2
add global release changelog (#277)
This will create a draft release with all of the changes since the last tag. We can use it for the "marketing" changes / changelog, where each package can then still get its own changelog file. The bulk of the configuration sits in the tauri-pps/.github repo.
2020-01-05 08:41:42 -06:00
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
ed266b48c1 chore(templates): remove updater.rs, add build.rs (#251) 2019-12-30 08:04:12 -03: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
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
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
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
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
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
Rajiv Shah
1151181b36 fix(ci): Install webkit2gtk on ubuntu when building smoke tests via prod (#188) 2019-12-20 12:36:23 +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
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
nothingismagick
eb3ec78552
Update FUNDING.yml 2019-12-10 20:34:17 +01: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
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
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
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
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
Rajiv Shah
2ce326e817 fix(ci): install webkit2gtk on ubuntu before building (#105) 2019-11-30 10:58:40 +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
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
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
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
nothingismagick
60f015701b
fix/cli - updates (#46)
* fix(cli): watch tauri.conf.js

* fix(cli): use window.external

* fix(naming): purge cruft
2019-10-15 14:53:34 +02:00
nothingismagick
9aaf50588a
feat(issues): template bundle report 2019-08-28 15:06:39 +02:00
nothingismagick
70eeac4d80
feat(PR): update template 2019-08-28 15:05:25 +02:00
nothingismagick
ec0b7ac5fb
feat(cleanup) contributing 2019-08-28 15:03:13 +02:00
nothingismagick
232dc61a51
feat(sponsor) add open-collective 2019-08-28 13:33:35 +02:00
Lucas Fernandes Nogueira
01de6b51b6 chore(project) rename to tauri (#15) 2019-08-14 13:24:08 +02:00
Daniel Thompson-Yvetot
7bd6e0ddb1
feat(setup) .github and README
Signed-off-by: Daniel Thompson-Yvetot <denjell@quasar.dev>
2019-07-13 21:55:25 +02:00
nothingismagick
b3e582684a
feat(contributing) update 2019-07-13 20:39:27 +02:00
nothingismagick
77961611b6
feat(PR) add template 2019-07-13 19:36:23 +02:00
Razvan Stoenescu
b49c1aa6f0 chore: add github meta data 2019-07-13 20:26:16 +03:00