Commit Graph

153 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira 22676df57a
refactor(core): `menu` and `system-tray` feature flags (#1765) 2021-05-10 13:27:42 -03: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
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