Commit Graph

343 Commits

Author SHA1 Message Date
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
Noah Klayman
da6580ff7d
feat(tauri.js/init): set appName in api instead of bin (#897) 2020-07-28 10:05:49 -03:00
github-actions[bot]
22b085ecfd
Apply Version Updates From Current Changes (#877)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-26 15:13:04 -03:00
Noah Klayman
78add1e79e
feat(bundler): hide output from shell scripts unless --verbose is passed (fixes #888) (#893)
* feat(bundler): hide output from bundle_appimage.sh

* fix(bundler/appimage): log file name instead of full path
to match behavior of .deb build

* feat(bundler): hide shell script output unless --verbose is passed

* feat(bundler): add notice about --verbose on error

* fix(bundler): windows fails to compile

* fix(bundler) do not warn about verbosity if verbose is set

* chore(changes) add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-26 13:56:10 -03:00
Lucas Fernandes Nogueira
63b9c64572
fix(bundler) properly detect the target directory (#895) 2020-07-25 17:04:45 -03:00
Lucas Fernandes Nogueira
a00ac023ee
fix(bundler) webview dll not being bundled, fixes #875 (#889) 2020-07-24 08:51:12 -03:00
Lucas Fernandes Nogueira
4abd12c2a4
fix(tauri) webview initialization on windows, fixes #879 (#885) 2020-07-23 08:38:40 -03:00
renovate[bot]
91f1c88009
chore(deps) Update Tauri JS CLI (#882)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:08:33 -03:00
renovate[bot]
4fb16d103f
chore(deps) Update dependency @types/inquirer to v7 (#883)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:08:07 -03:00
renovate[bot]
d81c2b9066
chore(deps) Update Rust crate handlebars to 3.3 (#880)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:07:32 -03:00
github-actions[bot]
19af83c7e9
Apply Version Updates From Current Changes (#821)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-20 16:39:42 -03:00
Lucas Nogueira
16f1338fe5
chore(tauri.js) use --agressive on cargo update 2020-07-19 23:47:14 -03:00
Lucas Fernandes Nogueira
0f00384152
perf(tauri.js) build API typedefs on the API compilation process (#861) 2020-07-19 16:51:00 -03:00
Rajiv Shah
e52afd94d0
chore(tauri.js): Update yarn.lock (#860) 2020-07-19 15:24:48 -03:00
Lucas Fernandes Nogueira
a6bb3b5905
refactor(tauri) rename whitelist to allowlist, ref #645 (#858)
* refactor(tauri) rename `whitelist` to `allowlist`, ref #645

* chore(changes) add changefile
2020-07-19 10:05:23 -03:00
Lucas Fernandes Nogueira
cbd14c3077
fix(tauri.js) writeFile and writeBinaryFile API (#857) 2020-07-19 09:57:40 -03:00
Lucas Fernandes Nogueira
da99f632f0
fix(tauri.js) app name as kebab case (#856)
* fix(tauri.js) init regression, app name as kebab case

* chore(changes) update changefile
2020-07-19 09:57:28 -03:00
Lucas Fernandes Nogueira
45d3de6d97
fix(tauri.js) do not require a package.json (#855) 2020-07-19 09:57:09 -03:00
Lucas Fernandes Nogueira
0245833bb5
feat(tauri) make window.alert and window.confirm available, fix #848 (#854) 2020-07-18 18:13:57 -03:00
Lucas Fernandes Nogueira
42a8bb0e09
fix(api) promisified not cleaning up transformed callbacks, fixes #852 (#853) 2020-07-18 17:05:32 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd5b401707
feature: import official webview rust binding (#846)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-18 08:04:22 -03:00
Lucas Fernandes Nogueira
dac1db3983
fix(tauri) notification body optional, requestPermission() regression, closes #793 (#844)
* fix(tauri) notification body optional, title required

* fix(tauri) regression on requestPermission()
2020-07-16 19:17:41 -03:00
Lucas Fernandes Nogueira
0591f1f945
feat(tauri.js) run deps install after tauri init (#842)
* feat(tauri.js) run `deps install` after `tauri init`

* fix(tauri.js) await on installDependencies (tauri init)
2020-07-15 21:56:31 -03:00
Lucas Fernandes Nogueira
f0ce94fc8e
feat(tauri.js) print outdated deps information on tauri info (#841) 2020-07-15 20:39:28 -03:00
renovate[bot]
97e34d7d6f
chore(deps) Update Tauri JS CLI (#834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-15 20:09:22 -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
renovate[bot]
4a622155ec
chore(deps) Pin dependencies (#840)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 19:55:22 -03:00
Lucas Fernandes Nogueira
77282c1e51
feat(tauri.js) add dependency manager command (#829) 2020-07-15 18:01:37 -03:00
renovate[bot]
3788afbda8
chore(deps) Update Rust crate image to 0.23.7 (#832)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 08:22:16 -03:00
renovate[bot]
f42b3f7170
chore(deps) Pin dependencies (#831)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 08:21:09 -03:00
renovate[bot]
8a4cbb2b1e
chore(deps) Update dependency @rollup/plugin-commonjs to v14 (#835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 08:15:45 -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
Lucas Fernandes Nogueira
9fc1430212
fix(bundler) windows output name & artifacts arch (#827) 2020-07-14 11:15:00 -03:00
Lucas Fernandes Nogueira
9130f1b1a4
refactor(bundler) standard output names and path (#823) 2020-07-13 18:41:22 -03:00
Lucas Fernandes Nogueira
56f819d2ef
feat(tauri) allow plugin config on tauri.conf.json (#824) 2020-07-13 18:18:06 -03:00
Oded Arbel
3337677109
"support" bundling AppImage when building in a container (#822) 2020-07-13 12:48:15 -03:00
chip
660a2d87d6
feat(tauri.js) move exported api types into api modules (fix #807) (#809) 2020-07-12 19:34:44 -03:00
github-actions[bot]
3417bf5fbe
Apply Version Updates From Current Changes (#811)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-12 10:15:48 -03:00
Lucas Fernandes Nogueira
0d6235e427
feat(tauri.js) add microsoft edge version to the info output (#810) 2020-07-12 09:41:20 -03:00
Lucas Fernandes Nogueira
fedee835e3
fix(tauri.js) windows Edge blank screen on tauri dev (#808) 2020-07-11 07:52:34 -03:00
jbolda
c628e60c2c
apply version updates
Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md
2020-07-10 13:10:10 -05:00
Noah Klayman
ee8724b90a
feat(tauri.js/init): prompt for default values (fix #422/#162) (#472)
* feat(tauri.js/init): prompt for default values

* fix(tauri.js/init): update help wording

* feat(tauri.js) prompt for appName on init

* feat(tauri.js) add --ci option

* chore(changes) add changefile

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-10 13:19:41 -03:00
Lucas Fernandes Nogueira
f208a68e40
fix(tauri.js) do not swallow init errors, fix conf inject (#802)
* fix(tauri.js) do not swallow init errors, fix conf inject

* fix(tauri.js) tests
2020-07-10 11:41:31 -03:00
Lucas Fernandes Nogueira
a26cffc575
fix(tauri.js) beforeDevCommand race condition (#801)
* fix(tauri.js) beforeDevCommand race condition

* chore(tauri.js) fix lint, change dev wait time to 30s
2020-07-10 16:17:47 +02:00
chip
e7b495133f
fix(tauri.js) revert nullish coalesce addition (#799) 2020-07-10 08:27:03 -03:00
liusong1111
02cdfdf646
fix: check CheckNetIsolation LoopbackExempt -s output should ignore utf8 chars instead of panic (#798) 2020-07-10 08:03:12 -03:00
github-actions[bot]
70fdc6f699
Apply Version Updates From Current Changes (#792)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-09 22:12:46 -03:00