Commit Graph

191 Commits

Author SHA1 Message Date
Laegel
37db639a65
feat(docs): Added version-bound docs (#1676) 2021-06-02 08:55:07 -03:00
Jacob Bolda
a5d821efd5
fix cta workflow to use platform (instead of branch) (#1929) 2021-05-31 10:53:27 -05:00
david
977b3a8a08
feat(benches): Basic bench implementation (#1871) 2021-05-21 16:50:40 -03:00
Laegel
2572dfbb9f
update-docs workflow was using an old rustdocusaurus version (#1821) 2021-05-13 10:06:49 -03:00
Jacob Bolda
8a164d0a1f
fix: CTA cache and vite build (#1806)
* use file as version for local links

this also makes it closer to the production version and less likely to accidentally introudce an issue

* always install latest without asking

* work around issues with esbuild installing properly

* test shouldn't run build-release on the cli

* build cli.js and api outside of the test

* try test on windows

* change file

* switch back to linux test

* -y prompt not available on npm@6, remove

* pipe
2021-05-12 14:25:44 -05:00
Jacob Bolda
ea28d01691
create-tauri-app welcome prompt and recipes links (#1748)
* CTA welcome prompt and recipes links

* fix tests for new recipe names

* check that package file exists before build

* change file

* turn off vuecli tests until we can get them to pass
2021-05-09 09:31:01 -05:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()works on macOS (#1738) 2021-05-07 10:58:44 -03:00
Lucas Fernandes Nogueira
f1aa12075f
fix(bundler): update create-dmg, fixes #1571 (#1729) 2021-05-06 12:57:08 -03:00
Jacob Bolda
397b7af395
chore: CTA defaults in CI mode (#1671)
* better defaults in CI mode

* chalk should be a dep since it needs to be installed by user

* always install webkit2gtk

* avoid installing `cli.js` from npm in `--dev` mode

* use correct path for `api` linking in tests

* update `tauri.conf.json` after init

* remove `beforeBuild/DevCommand` from vanilla recipe

* explicitly install `vite` deps

* change file

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-05-05 07:25:17 -05:00
Jacob Bolda
af6411d5f8
feat: setup testing for CTA (#1615)
* feat: setup testing for CTA

* install with yarn

* build before test

* add yarn to npm runs for install / test start

* add dev mode to link cli.js and api locally

* remove fixtures

* run tests serially

* cli.js build-release avoids webpack error

* assert on package.json contents as first check

* run tauri build and split out custom asserts

* add changefile

* shorten workflow name

* too short

* exclude npm@6 on node@16

* increase timeout, tauri build takes a bit of time

* only assert that the tauri script exists
2021-04-27 09:14:24 -05:00
Lucas Fernandes Nogueira
cbb6960104
fix(ci): update-docs workflow (#1618) 2021-04-25 17:38:43 -03:00
Lucas Nogueira
4d42548381
fix(ci): branch name 2021-04-23 15:34:38 -03:00
Lucas Fernandes Nogueira
07f5cd21be
chore(cta): add linting and formatting, closes #1520 (#1596) 2021-04-23 01:34:54 -03:00
Lucas Fernandes Nogueira
ef474e5635
feat(ci): cache (#1585) 2021-04-22 17:34:46 -03:00
Lucas Fernandes Nogueira
be65f04db7
fix(core): make window.__TAURI__.invoke context free, fixes #1547 (#1565) 2021-04-21 15:42:52 -03:00
Amr Bashir
c2e43ac66a
fix: remove tauri_utils from update-docs worflow (#1566) 2021-04-21 13:20:12 -03:00
Amr Bashir
77bde68327
fix: use correct action path in update-docs workflow (#1537) 2021-04-19 12:53:38 -05:00
Jacob Bolda
03a1c95d7e
chore: enable covector prerelease beta (#1518) 2021-04-16 19:55:00 -03:00
Amr Bashir
6a423ac116
fix: update update-docs job in covector workflow (#1510) 2021-04-16 19:52:58 -03:00
Amr Bashir
284a703f78
fix: use correct path in update-docs workflow (#1495) 2021-04-15 01:10:49 +02:00
Jacob Bolda
dea9cd3d92
chore: remove IOTA publish action (#1453)
Co-authored-by: nothingismagick <denjell@mailscript.com>
2021-04-12 13:47:19 +02:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder (#1457) 2021-04-12 01:59:25 -03:00
chip
a6def7066e
Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-12 01:09:41 -03:00
Laegel
2a262e3731
Added Typedoc & updated workflow (#1328)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-11 15:00:24 -03:00
nothingismagick
bf82136466
feat(license): SPDX Headers (#1449)
* chore(licenses): api

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(licenses): scripts

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/core

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/tauri-bundler

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): workflows

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): require license_template in rust

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-api

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-build

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-codegen

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-macros

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-updater

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-utils

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): examples

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/tauri.js

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): changefile

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): place both licenses in root

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): package.json SPDX

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): SPDX everywhere

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* fix(tauri.js): tests more time for ubuntu

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): commons conservancy language

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): add spdx file

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* fix(license): clippy

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): language

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-11 00:09:09 +02:00
Lucas Fernandes Nogueira
8b36fe0c5d
refactor: move tauri crates to /core folder (#1444) 2021-04-08 13:22:20 -03:00
david
6d70c8e1e2
feat(updater): Alpha version (#643)
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: Laegel <valentin.chouaf@laposte.net>
2021-04-05 14:51:17 -03:00
Lucas Fernandes Nogueira
080f6391ba
refactor(bundler): specific settings on dedicated structs, update README (#1380) 2021-03-25 01:56:00 -03:00
Noah Klayman
4c9d419eec
fix(examples): build error (#1354)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 23:49:55 -03:00
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
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
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