Commit Graph

949 Commits

Author SHA1 Message Date
github-actions[bot]
665ed9a1cc
Apply Version Updates From Current Changes (#1075)
* apply version updates

* scrub revert from changelog

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-11-10 08:04:39 -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
4913f9b74b
Revert "apply version updates (#1024)" (#1076)
This reverts commit 72996be1bd.
2020-11-10 00:34:26 -06:00
renovate[bot]
b4544b63f2
chore(deps) Update Tauri API (#1072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-11-07 10:45:27 -03: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
github-actions[bot]
72996be1bd
apply version updates (#1024)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-10-21 23:05:11 +02:00
renovate[bot]
94f073467d
chore(deps) Update Tauri JS CLI (#1046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-17 21:10:00 -03:00
Lucas Fernandes Nogueira
2c0f09c85c
fix(tauri) add missing API features, closes #1023 (#1052) 2020-10-17 21:02:48 -03:00
Lucas Fernandes Nogueira
c8b167adb3
fix(tauri.js) promisified API fails on Reflect.deleteProperty, fix #1038 (#1056) 2020-10-17 21:02:32 -03:00
Lucas Fernandes Nogueira
82cda98532
chore(tauri) dirs crate is unmaintained, use dirst-next instead (#1057) 2020-10-17 21:01:10 -03:00
Lucas Fernandes Nogueira
a3b724738e
test(tauri.js) update fixture app and fix build/dev e2e tests (#1058) 2020-10-17 20:53:24 -03:00
renovate[bot]
92908c7e91
chore(deps) Update Rust crate attohttpc to 0.16.0 (#1041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-17 20:00:48 -03:00
renovate[bot]
6d9528d0c6
chore(deps) Update Tauri JS CLI (major) (#1047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-17 20:00:21 -03:00
renovate[bot]
b5ade8c6b8
chore(deps) Update Rust crate serde_json to 1.0.59 (#1042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 19:01:35 -03:00
renovate[bot]
d13dcd9fd8
chore(deps) Update Tauri Bundler (#1045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-17 19:00:22 -03:00
renovate[bot]
087c0e8cc9
chore(deps) Update Tauri API (#1028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 16:52:46 -03:00
Sanket Chaudhari
6f5667bf72
fix: #1018 Force IPv4 on wget requests (#1019)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-10 16:52:11 -03:00
renovate[bot]
057408d0d9
chore(deps) Update Rust crate serde_json to 1.0.58 (#1031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 16:51:28 -03:00
renovate[bot]
6859b7b579
chore(deps) Update Rust crate image to 0.23.10 (#1027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 16:32:38 -03:00
renovate[bot]
bd69610c1a
chore(deps) Update Tauri Core (#1030)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 16:19:41 -03:00
renovate[bot]
d7b343e8c8
chore(deps) Update Tauri JS CLI (#1029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 16:19:10 -03:00
Lucas Nogueira
b7077bf4ba
chore(tauri.js) path as empty string instead of . 2020-09-23 23:49:24 -03:00
Amr Bashir
5cf3402735
fix: add working directory to wix's shortcut (#1021)
* fix: add working directory to wix's shortcut

* chore: add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-09-23 22:43:12 -03:00
renovate[bot]
1d9dc18567
chore(deps) Update Tauri JS CLI (major) (#979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-09-23 22:43:01 -03:00
renovate[bot]
be319c75d9
chore(deps) Update Tauri API (#1016)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-23 22:00:46 -03:00
renovate[bot]
81282675f4
chore(deps) Update Tauri Bundler (#1008)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-23 22:00:20 -03:00
renovate[bot]
e7980ba94e
chore(deps) Update Tauri JS CLI (#978)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-23 21:59:28 -03:00
Amr Bashir
771e4019b8
feat: Port path api to js (#1006)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-09-23 21:53:03 -03:00
Jacob Bolda
e760331fa1
chore: install cargo-audit with the fix feature as part of publish (#1010)
This should hopefully let CI finish and not exit with code 1.
2020-09-02 21:06:12 -05:00
Jacob Bolda
03b9cd1d58
chore: cargo audit as dry run to not fail publish (#1009)
If they're isn't a present fix, it doesn't make sense to fail a publish.
2020-09-02 12:40:00 -05:00
github-actions[bot]
b4c6142b39
apply version updates (#999)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-09-02 12:26:08 -05: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
PTrottier
0ede99da42
Make the dialog API comments more consistent (#1005) 2020-09-01 22:55:23 -05:00
Cass
7a788fdcee
fix: improve checking for Rez (fix #994) (#995)
* fix: improve checking for Rez (fix #994)

Check for Rez in Xcode.app and in command line tools, and error if neither is installed.

* Remove hardcoded paths in favor of xcode-select --print-path

This reverts commit 54784a027c.

I'm not sure that this string substition will work how I want it to.

* Finally...fix issue finding xcode-select tools

* Add tip asking to run xcode-select --install

* Trim tailing whitespace

* add changefile
2020-08-28 01:29:11 -05:00
ho-ho-ho
37bcf5fea1
fix(bundler) missing newline in deb desktop file generation (fix: #899, #925) (#998)
* fix missing newline in desktop file generation

* add change file for PR #998
2020-08-27 15:48:42 -05:00
Jacob Bolda
3005204a31
chore: stray comma somehows (#985) 2020-08-21 08:21:43 -05:00
Jacob Bolda
2a9ea029b6
chore: package .crate as part of publish step (#984)
It is very strict about checking that the deps version specified is published. That means we need to have inter-repo deps already published before we hit this step, and therefore cannot do it as part of the prepublish step.
2020-08-21 08:14:34 -05:00
github-actions[bot]
5de4c8655d
Apply Version Updates From Current Changes (#931)
* apply version updates

* fix changelog format dealing with bullet points

Co-authored-by: jbolda <me@jacobbolda.com>
2020-08-21 07:48:20 -05:00
Jacob Bolda
06dd75b68a
chore: bump all js/rust deps (#983)
* bump tauri.js deps

* bump tauri core deps

* bump tauri-api deps

* bump tauri-bundler deps

* change file
2020-08-20 16:03:46 -05:00
Zak Patterson
59e0de7650
Fix cli no prompt for app-name cli arg (#980)
* Fix cli no prompt for app-name cli arg

* Add change file
2020-08-19 14:37:46 -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
renovate[bot]
a949e711e4
chore(deps) Update Rust crate serde_json to 1.0.57 (#905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-18 16:57:54 -05:00
chip
20a6d73cee
mark helper scripts as executable (#935) 2020-08-18 16:30:44 -05:00
Toinane
06f5183646
documentation: fix typo (#940) 2020-08-18 08:29:12 -05:00
Zak Patterson
43a8c4d2bc
fix #920: Create recipes (#930)
* Create recipes

A recipe consists of:
	* Name
	* List of NPM dependencies required (dev and production)
	* Sub-commands needed
		For example, the react recipes run create-react-app to set
		up the UI. Future recipes can do anything, they could pull
		down a sample UI, clone a repository, download a static HTML
		file, initialize another environment that compiles to JS/wasm etc.

The devPath and dist folders nomally configured by the init command
are overridden by the recipe definition.

* Fix no recipe prompts

* Fix linter unsafe assignment error

* Add `beforeXCommand` settings to recipes

This is so good, it makes it possible to just run:

> yarn init
> yarn add tauri
> yarn tauri init # with recipe selected, adds app ui
> yarn tauri dev # starts app ui dev server and rust component

* Rename init to create

Also improve so it exports a function that can be passed
arguments, instead of just reading directly from command line

* Add new tauri init command aliased to create

* Update changes file

* Remove unneeded import

* Add customized splash page for react recipes

* Remove unneeded recipe buildconfig property

* Add no-browser setting to start react dev server

* Revert "Add no-browser setting to start react dev server"

This reverts commit 22bcf3ac5a.
2020-08-17 12:07:44 -05:00
Oleg Shilov
f98d4b9076
fix(tauri.js): fix return type for readBinaryFile api method (#927)
* fix(tauri.js): fix return type for `readBinaryFile` api method

* chore(tauri.js): add changelog
2020-08-07 19:56:29 -05:00
Oleg Shilov
0a5bac1dd6
fix(tauri.js): fix typings for open and save dialogs (#926)
* fix(tauri.js): fix typings for open and save dialogs

add JSDoc types;

* chore(tauri.js): add changelog
2020-08-07 19:54:17 -05:00
github-actions[bot]
2b3ef7bcfb
Apply Version Updates From Current Changes (#915)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-08-03 22:45:11 -03:00
Zak Patterson
e1fd626453
Fix typos referring to CLI args in init command (#921)
* Fix typo referring to dev path cli arg

The devPath config variable is set to a non-existent command line arg
`argv.p`, it should be `argv.P`

So if the devPath is set via a command line argument, it defaults
to the default value:

```
/home/projects/example2
⟩ yarn tauri init -P http://THISDOESNOTHING
yarn run v1.22.4
$ /home/projects/example2/node_modules/.bin/tauri init -P http://THISDOESNOTHING
[tauri]: running init
? What is your app name? example2
? What should the window title be? Tauri App
? Where are your web assets (HTML/CSS/JS) located, relative to the "<current dir>/src-tauri" folder that will be created? ../dist
 dependency:manager Installing missing dependencies... +0ms
 dependency:cargo-commands "tauri-bundler" is already installed +18ms
 app:spawn [sync] Running "cargo generate-lockfile" +2ms

    Updating crates.io index
 dependency:crates "tauri" is already installed +941ms
 dependency:npm-packages "tauri" is already installed +1s
Done in 6.35s.

/home/projects/example2
⟩ cat ./src-tauri/tauri.conf.json | grep THISDOESNOTHING

/home/projects/example2
```

* Fix similar typo affecting the window title param

* Add change file
2020-08-03 20:38:15 -05:00