Commit Graph

1207 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
5cc4b11f5d feat(cli.rs): add context to errors (#1674) 2021-05-01 22:02:45 -03:00
Amr Bashir
9fadbf3350 refactor(cta): add questions hook for recipes (#1658)
* refactor(cta): add questions hook for recipes

* fix lint

* fix tests

* fix vue-cli

* one more time

* adjust vuecli to packagemanager

* revert bundle.js changes

* refacotr: extract `Recipe` type to its own file

* colorful step logging

* pin chalk dependency

* Restore bundle.js

* fix typo

* more styling
2021-04-30 20:48:21 -05:00
Lucas Fernandes Nogueira
b0bb796a42 refactor: rename command mod to process, move restart_application (#1667)
* refactor: rename `command` mod to `process`, move restart_application

* refactor(api): move `exit`, `relaunch` APIs to `process` module
2021-04-30 22:43:47 -03:00
Lucas Fernandes Nogueira
5c1fe52c2b feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) 2021-04-30 15:16:14 -03:00
Lucas Fernandes Nogueira
894643cdcd feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663) 2021-04-30 12:32:07 -03:00
Lucas Fernandes Nogueira
fcee4c25fc refactor(bundler): finish initial documentation, reorganize modules (#1662) 2021-04-30 11:39:50 -03:00
Lucas Fernandes Nogueira
4f1e87f87b refactor(core): change drag element detection to data attr, fixes #1656 (#1659) 2021-04-29 20:38:19 -03:00
Lucas Fernandes Nogueira
df8bdcf063 feat(cli.rs): add support to string and table dependency, closes #1653 (#1654) 2021-04-29 12:17:46 -03:00
Jacob Bolda
c3acbd68ec chore: shift CTA from bin to .ts (#1651)
* chore: shift CTA from bin to .ts

* add change file

* fix rollup build
2021-04-29 08:55:09 -05:00
renovate[bot]
252014cae2 chore(deps) Update Rust crate notify-rust to 4.4.0 (#1648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 22:27:26 -03:00
Lucas Fernandes Nogueira
c31f0978c5 refactor: update to wry 0.9 (#1630) 2021-04-28 19:56:05 -03:00
renovate[bot]
929ebc22ae chore(deps) Update dependency webpack to v5.36.1 (#1646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:54:13 -03:00
renovate[bot]
048771599a chore(deps) Update Tauri API Definitions (#1647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:50:54 -03:00
Lucas Fernandes Nogueira
721e98f175 feat(core): add env, cwd to the command API, closes #1634 (#1635)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-28 18:25:44 -03:00
renovate[bot]
f867e1396d chore(deps) Pin dependencies (#1636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:25:22 -03:00
renovate[bot]
2613e75664 chore(deps) Update Tauri API Definitions (#1638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:31 -03:00
renovate[bot]
ba49160005 chore(deps) Update Tauri CLI (#1639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:18 -03:00
renovate[bot]
cc14b97c8a chore(deps) Update Tauri JS CLI (#1640)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:03 -03:00
renovate[bot]
9ada793f7a chore(deps) Update dependency eslint-plugin-promise to v5 (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:22:16 -03:00
chip
a755d23e1b refactor(core): more bounds for better errors from #1623 (#1632) 2021-04-27 20:14:51 -03:00
Lucas Fernandes Nogueira
181e132aee refactor(core): simplify usage of app event and window label types (#1623)
Co-authored-by: chip reed <chip@chip.sh>
2021-04-27 11:52:12 -03: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
Amr Bashir
ddcd9233bd fix(api): export commonjs chunks with .cjs extension, fix #1625 (#1627) 2021-04-26 14:12:00 -03:00
github-actions[bot]
0f86bc4071 Apply Version Updates From Current Changes (#1620)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
cli.js-v1.0.0-beta-rc.4 tauri-macros-v1.0.0-beta-rc.1 tauri-codegen-v1.0.0-beta-rc.1 tauri-utils-v1.0.0-beta-rc.1 cli.rs-v1.0.0-beta-rc.4 tauri-v1.0.0-beta-rc.4 tauri-build-v1.0.0-beta-rc.1
2021-04-25 17:54:41 -03:00
Lucas Fernandes Nogueira
f575aaad71 fix: change files not referencing core packages (#1619) 2021-04-25 17:42:38 -03:00
Lucas Fernandes Nogueira
cbb6960104 fix(ci): update-docs workflow (#1618) 2021-04-25 17:38:43 -03:00
github-actions[bot]
cad5192e31 Apply Version Updates From Current Changes (#1561)
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
cli.js-v1.0.0-beta-rc.3 cli.rs-v1.0.0-beta-rc.3 tauri-bundler-v1.0.0-beta-rc.1 tauri-v1.0.0-beta-rc.3 create-tauri-app-v1.0.0-beta-rc.4
2021-04-25 16:07:22 -03:00
nothingismagick
39c269155f chore(readme): update to beta (#1616)
* chore(readme): update to beta

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

* PR comments

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

* fix(readme): coming soons etc.

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

* apply suggestion

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

* Update README.md

* Update README.md

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2021-04-25 18:15:05 +02:00
Lucas Fernandes Nogueira
a868cb7176 refactor(core): clear uri_scheme_protocol registration function names (#1617)
* refactor(core): clear `custom_protocol` registration function names

* fix

* fix clippy

* improve docs

* clippy

* renames
2021-04-25 13:00:03 -03:00
Lucas Fernandes Nogueira
d623d95fcb fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492 (#1610)
* fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492

* fix tests

* change file

* fix: tests & fmt

* chore: add fork note

* fix: windows deps

* chore(licensing): add note for console & dialoguer

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

Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-25 11:34:33 -03:00
Lucas Fernandes Nogueira
9e87fe6a69 feat(bundler): allow including custom files on debian package, fix #1428 (#1613) 2021-04-25 01:46:04 -03:00
Lucas Nogueira
11dc184e01 perf(husky): do not run checks if folder wasn't changed 2021-04-24 20:39:27 -03:00
Lucas Fernandes Nogueira
d13afec204 feat(bundler): add option to skip webview2 runtime installation, closes #1606 (#1612) 2021-04-24 19:01:50 -03:00
Lucas Nogueira
73a08abba8 fix: renovate config, add CTA 2021-04-24 18:37:04 -03:00
Downtime
ebe755ac5c feat: #1528 wix supports custom templates (#1529)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-24 18:32:28 -03:00
SneakyFish5
f35330c414 refactor(cli.js): rework yarn check (#1611)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-24 17:31:36 -03:00
renovate[bot]
95d6fd059f chore(deps) Update Tauri Utils (#1476)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 12:54:21 -03:00
Amr Bashir
ba208b7e9b fix(api): correctly merge pkg exports in after-build.js script (#1609) 2021-04-24 09:43:29 -03:00
fossabot
10e5996bfa Add license scan report and status (#1545)
Signed off by: fossabot <badges@fossa.com>
2021-04-23 17:34:10 -03:00
Lucas Fernandes Nogueira
9eccb2af28 chore(cli.js): propagate all commands to cli.rs except icon and deps (#1604) 2021-04-23 16:28:15 -03:00
Lucas Nogueira
4d42548381 fix(ci): branch name 2021-04-23 15:34:38 -03:00
Lucas Fernandes Nogueira
941585c0c5 fix(cli.js): skip installing deps when --ci is passed on tauri init (#1603) 2021-04-23 15:31:45 -03:00
Lucas Fernandes Nogueira
69ea51ec93 feat(bundler): implement wix fragments, closes #1528 (#1601) 2021-04-23 15:30:44 -03:00
Lucas Fernandes Nogueira
7471e347d3 feat(core): add error message on error::CreateWebview (#1602) 2021-04-23 15:30:02 -03:00
Lucas Fernandes Nogueira
1e0b41e155 refactor(cli.js): tauri icon with positional arg for icon path (#1600) 2021-04-23 11:10:49 -03:00
Lucas Fernandes Nogueira
cfa74ebf68 feat(core): validate dialog default_path (it must exist) (#1599) 2021-04-23 03:17:29 -03:00
Lucas Fernandes Nogueira
aa7e2738cc feat: use rfd::FileDialog#set_file_name if default_path is a file (#1598) 2021-04-23 03:04:47 -03:00
Lucas Fernandes Nogueira
9490b257d2 fix(cli.rs): enable the updater feature on cli (#1597) 2021-04-23 01:41:51 -03:00
Lucas Fernandes Nogueira
82ef8f6a92 fix(core): clippy warnings, closes #1490 (#1595)
* fix(core): clippy warnings, closes #1490

* fix: cli.rs build
2021-04-23 01:40:43 -03:00
Lucas Fernandes Nogueira
07f5cd21be chore(cta): add linting and formatting, closes #1520 (#1596) 2021-04-23 01:34:54 -03:00