Commit Graph

389 Commits

Author SHA1 Message Date
Amr Bashir
a178f95d68
feat: config schema generator (#5193)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
Lucas Fernandes Nogueira
d23d6f60e8
feat(ci): check if generated files match source (#5422) 2022-10-17 12:09:23 -03:00
Lucas Fernandes Nogueira
7c0fa1f3f9
fix(bundler): clear env before calling wix, closes #4791 (#4819) 2022-10-03 14:43:34 -03:00
Lucas Nogueira
1377f8e13b
perf(ci): do not run Rust jobs when the tauri script changes 2022-09-30 14:34:20 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Amr Bashir
adba73a9ff
ci: migrate to the org-level token 2022-09-23 18:00:13 +02:00
Fabian-Lars
60c15750c1
ci: Don't trigger docs update when no packages were published (#5221) 2022-09-18 09:06:50 -03:00
Lucas Fernandes Nogueira
7950fcb9a8
fix(ci): add inputs to publish-cli-js (#5217) 2022-09-16 16:16:29 -03:00
Lucas Nogueira
0967da262e
fix(cli.js): revert jest update 2022-09-15 14:36:31 -03:00
Lucas Nogueira
e939e6d9e4
fix(ci): adjust publish-cli-js workflow to only install prod deps 2022-09-15 14:14:59 -03:00
Lucas Fernandes Nogueira
bc1622c5ab
feat(core): use native window dialogs on Android (#5137) 2022-09-05 16:16:59 -03:00
Lucas Nogueira
610aab7045
Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00
Lucas Nogueira
ef8ca7b363
fix(ci): actually use MSRV toolchain 2022-08-28 23:04:19 -03:00
Lucas Fernandes Nogueira
b36ccb7e99
feat(ci): test mobile targets (#5078) 2022-08-28 23:02:32 -03:00
Lucas Nogueira
65e7085d2f
fix(ci): checkout repo in udeps.yml 2022-08-28 17:57:36 -03:00
Lucas Nogueira
c4d323b70f
fix(ci): set target on test-core.yml 2022-08-28 17:57:31 -03:00
Lucas Nogueira
d88de30076
fix(ci): checkout repo in udeps.yml 2022-08-28 17:52:40 -03:00
Lucas Nogueira
1629c5ad27
fix(ci): set target on test-core.yml 2022-08-28 17:50:05 -03:00
Lucas Fernandes Nogueira
8a380fc4e3
feat(ci): test core on MSRV (#5077) 2022-08-28 16:26:32 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Nogueira
e4d5022077
perf(ci): adjust test-core.yml paths 2022-08-16 10:06:01 -03:00
Lucas Nogueira
e602432ef6
chore(ci): run udeps on push to dev 2022-08-09 14:00:57 -03:00
Lucas Fernandes Nogueira
698a31aa79
feat(ci): improve udeps check performance (#4900) 2022-08-09 14:00:12 -03:00
Amr Bashir
5813f08386
ci: publish cli.js *.node modules to the existing cli.js release (#4883) 2022-08-09 11:36:21 -03:00
Lucas Nogueira
1caf485fce
perf(ci): do not run artifacts-updater on PRs except on example update 2022-08-04 14:56:02 -03:00
Lucas Fernandes Nogueira
90d5929fea
feat(cli.rs): add support to cargo-binstall, closes #4651 (#4817) 2022-08-02 18:54:40 -03:00
Lucas Fernandes Nogueira
433dafa01a
feat: add docker images for cross (#4702) 2022-07-27 14:58:43 -03:00
Lucas Nogueira
60adaf4a97
Revert "feat(ci): readd integration tests on Windows"
This reverts commit 1316602346.
2022-06-30 18:12:03 -03:00
Lucas Nogueira
1316602346
feat(ci): readd integration tests on Windows 2022-06-29 16:29:08 -03:00
Lucas Nogueira
28c8171f47
Revert "chore(ci): disable integration tests temporarily"
This reverts commit 1a9b13330f.
2022-06-29 16:28:54 -03:00
Lucas Nogueira
1a9b13330f
chore(ci): disable integration tests temporarily 2022-06-29 15:22:39 -03:00
Lucas Fernandes Nogueira
5105b428c4
feat(cli): change app template to only set default menu on macOS (#4518) 2022-06-29 14:03:42 -03:00
renovate[bot]
be4831fdfb
chore(deps) Update Tauri API Definitions (#4512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-29 00:58:07 -03:00
Lucas Fernandes Nogueira
57039fb216
fix(core): add windows 7 notification support (#4491) 2022-06-28 09:59:13 -03:00
Lucas Fernandes Nogueira
b857a00679
perf(ci): run CLI tests only when template changes and on dev push (#4487) 2022-06-27 12:46:49 -03:00
Lucas Nogueira
23a049c593
chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Lucas Nogueira
f11dab4e96
fix(ci): remove windows from integration test platforms 2022-06-14 19:40:32 -03:00
Lucas Nogueira
aff6538a5c
fix(ci): change cache key 2022-06-14 19:29:52 -03:00
Lucas Fernandes Nogueira
d29971e22c
fix(ci): [CLI] do not rely on libappindicator-sys (#4335) 2022-06-14 02:06:39 -03:00
Lucas Nogueira
e7312ef11c
fix(ci): install deps 2022-06-13 18:02:43 -03:00
Lucas Fernandes Nogueira
3455244436
feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -03:00
Lucas Fernandes Nogueira
6216eb49e7
refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
Lucas Fernandes Nogueira
cfd81bdead
feat(ci): update publish-cli workflow (#4158) 2022-05-18 11:13:46 -03:00
Lucas Nogueira
6278fc9774
fix(ci): do not run ignored doctest 2022-04-29 21:33:33 -03:00
Lucas Fernandes Nogueira
ad1786178a
tests(e2e): add updater integration test (#3973) 2022-04-29 20:30:24 -03:00
Lucas Fernandes Nogueira
62cdb2b307
refactor(tauri): remove ayatana-tray from the default features (#3976) 2022-04-26 20:16:52 -03:00
Lucas Nogueira
146b588b2e
fix(ci): unique concurrency group names across workflows 2022-04-26 19:04:10 -03:00
Ashish Shekar
a649aad7ad
feat(cli): check and notify about updates on tauri dev, closes #3789 (#3960)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-25 11:31:25 -03:00
Lucas Fernandes Nogueira
1397d9121a
feat(core): add support to multipart/form-data requests, closes #2118 (#3929) 2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
76950e978e
feat(ci): cancel in progress (#3938) 2022-04-21 15:09:57 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5
refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) 2022-04-19 17:33:17 -03:00
Lucas Nogueira
b8c146a715
Revert "chore(ci): run covector publish"
This reverts commit d956ccda7d.
2022-03-30 21:13:24 -03:00
Lucas Nogueira
d956ccda7d
chore(ci): run covector publish 2022-03-30 20:55:42 -03:00
Lucas Fernandes Nogueira
a073f27d4a
fix(ci): cli.js publish workflow (#3795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-03-28 19:42:15 -03:00
Fabian-Lars
fb6744daa4
feat(cli.js): add 32bit cli for windows (#3540)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 10:05:13 -03:00
Jacob Bolda
53e4dd8c2d
remove create-tauri-app (#3493)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-17 18:20:56 -03:00
Lucas Fernandes Nogueira
e1b8fc739a
docs(core): add examples to the API module (#3450) 2022-02-14 02:00:56 -03:00
Lucas Fernandes Nogueira
49955ea1aa
feat(ci): simplify cache (#3448) 2022-02-13 20:27:21 -03:00
Lucas Fernandes Nogueira
8d0d4f290f
perf(ci): optimize caches and workflow runs (#3445) 2022-02-13 18:21:15 -03:00
Lucas Fernandes Nogueira
6d8073efff
fix(covector): asset configuration, update action (#3425) 2022-02-13 00:56:06 -03:00
Lucas Nogueira
cde6e3cf9d
fix(ci): covector configuration and usage
[skip ci]
2022-02-10 20:08:54 -03:00
Lucas Fernandes Nogueira
4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
Fabian-Lars
617b397a7f
feat(docs): Generate json AST for js api. Remove docs related workflows. (#3335)
* feat(docs): Generate json AST for js api

* generate api.json in docs folder

* remove doc workflows. add dispatch for tauri-docs

* move cli/config doc generation to tauri-docs
2022-02-09 00:02:51 +01:00
Lucas Nogueira
01f8fff34b
fix(ci): Rust workspace test with all features 2022-02-04 15:17:08 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
Lorenzo Lewis
75dea8bd39
Docs removal (#3263) 2022-01-23 16:48:42 -03:00
Lorenzo Lewis
b928a6edaf
tauri-studio JS doc generation (#3249)
* Add `generate-docs` command to JS tooling

* Stop generating Rust docs, update JS docs generation

* Change target folder for js copy

* Add recursive to copy

* Add in ARCHITECTURE.md copy

* Add in guides copy

* Change architecture output dir, fix guides destination

* Revert back to GitHub.workspace path

* Change cp to rsync to be able to exclude

* Fix source path

* Change to render title better

* Revert "Change to render title better"

This reverts commit 72b78f3901.

* Fix broken links
2022-01-20 22:32:57 +01:00
Lucas Fernandes Nogueira
6ad702920f
feat(core): allowlist tests [TRI-028] (#28) 2022-01-09 16:20:55 -03:00
Lucas Fernandes Nogueira
8000675366
feat(ci): fill CLI docs on covector version (#2886) 2021-11-13 19:49:48 -03:00
Oscar Dominguez
651fc01492
ci(workflow): add cache to workflows using actions/setup-node (#2740)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-22 11:33:02 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
facklambda
ff2c9fafa4
added ARCHITECTURE to update-docs workflow, fixes #2088 (#2773)
Co-authored-by: fack <fack>
2021-10-21 09:06:29 -03:00
Lucas Nogueira
28895ddc76
feat(ci): run tests on next branch for cache 2021-10-02 16:15:50 -03:00
Lucas Fernandes Nogueira
7c455b86b6
feat(ci): cache cli.js's template test (#2670) 2021-09-27 20:50:27 -03:00
Lucas Nogueira
d8fe9d6dc6
feat(ci): run benchmarks on next branch 2021-09-23 14:43:07 -03:00
David D
71ea86a443
feat(cta): add SolidJS recipe (#2619)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
david
ecf13f968f
fix: CI updater artifacts (#2517) 2021-08-24 12:27:12 -03:00
Lucas Fernandes Nogueira
397710b2c5
refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) 2021-08-15 17:09:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc
feat: remove menu feature flag (#2415)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
david
44f6ee4cfd
chore(ci): add step to detect code signing (#2245)
* chore(ci): add step to detect code signing

* fix variable name and add changefile
2021-08-08 18:19:45 -03:00
Jacob Bolda
c410e034f7
convert jest tests to child_process run script (#2308)
* convert jest tests to child_process run script

* remove vuecli (it freezes), add angular

* run cargo build in correct dir

* add in asserts on fs

* normalize assert for node14

* fix installing empty dependencies

* add messages to asserts

* use test dir to check if running local cli

* try running in parallel

* run in parallel and log output serially

* avoid parallel, skip yarn for now

* add change file

* disable running with npm6 due to vite fail

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Pauan
af3cc7d7f7
Adding in Dominator recipe (#1912)
* Adding in Dominator recipe

* Running prettifier

* add dominator to cta tests

* update postinit message

* add `src-tauri` as a worksapce member

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-01 23:47:31 -03:00
Amr Bashir
718d9513ce
refactor(cta): update vite recipe to use their new npm package (#2220) 2021-07-29 09:31:04 -03:00
david
59eb14e25b
fix(ci): code sign artifacts (#2217) 2021-07-15 08:48:27 -04:00
david
074caa3247
fix(ci): expose TAURI_PRIVATE_KEY for PR's (#2215) 2021-07-14 17:38:25 -04:00
Epsilon_02
489fad5524
Angular create tauri app [#1934] (#2203) 2021-07-14 16:36:46 -04:00
david
8237260f01
fix(ci): CTA cleanup (#2214) 2021-07-14 16:22:10 -04:00
david
6874cc6b7a
fix(cta): remove branch from workflow_dispatch (#2212) 2021-07-14 16:13:30 -04:00
david
456a94f663
fix(macOS): updater EXC_BAD_ACCESS (#2181)
* fix(ci): updater artifacts

* add temporary macos signature

* add entitlement and notarization credentials

* WIP macos fix

* build version 2.0.0 with macos signature

* [ci skip] revert version to `1.0.0`

* sandbox current app to a directory

* make clippy happy

* [ci skip] disable `Notarization` in CI tests

* [ci skip] add changefile

* remove unwanted `unwrap` and `expect`

* fmt
2021-07-12 12:03:27 -03:00
Laegel
bd038b5f5d
fix: Not SCPing the correct source 2021-06-26 23:37:45 +02:00
Laegel
710a4f95db Merge branch 'dev' of github.com:tauri-apps/tauri into dev 2021-06-26 19:54:22 +02:00
Laegel
b607ac37ad
fix: tauri-docs ref was wrong 2021-06-26 19:54:08 +02:00
Laegel
2a65ac1a77
Fix/update docs (#2070)
* fix: Adding SSH inspector

* debug: Update docs

* debug: With SSH

* fix: Wrong target path for typedocusaurus

* fix: Search bot is SCPed in a deeper directory
2021-06-26 17:14:54 +02:00
Lucas Fernandes Nogueira
dee71ad583
fix(workflows): update docs workflow syntax (#2054) 2021-06-23 15:24:23 -03:00
Laegel
96387591dd
Fix: docs (#1950)
* fix: Invalid YML

* fix: Workaroung for  +

* fix: Forgot double quotes

* fix: Adapting to definition limits

* fix: Resetting v1 for rustdocusaurus

* fix: Installing API deps

* fix: Installing API deps

* fix: Typedoc fails with TS > 4.2

* fix: Running on core-docs-sidebar branch for tauri-docs

* fix: Attempt with WORKSPAC env variable

Signed-off-by: Laegel <valentin.chouaf@laposte.net>

* fix: Var not evaluated

* fix: Alternate workspace variable

* fix: Applying workspace var to other steps

* fix: Using workspace variable

* fix: Copy folder content instead

* fix: typedocusaurus targetPath and added input version

* fix: Attempt to make create-dotenv work

* fix: Attempt to make create-dotenv work

* fix: Attempt to make create-dotenv work

* fix: Attempt to make search bot scp & start work

* fix: Added on release trigger
2021-06-15 10:40:43 +02:00
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
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