Commit Graph

114 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
20b70ce38f
feat(tauri.js) add beforeDevCommand and beforeBuildCommand configs (#500) 2020-03-08 23:34:50 -03:00
Lucas Fernandes Nogueira
a084ccf756
feat(tauri.js) keep running on failures & watch tauri lib on con… (#497) 2020-03-08 13:39:29 -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
renovate[bot]
6ef2b16796
chore(deps) Update Tauri JS CLI (#485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-07 09:54:37 +01:00
Lucas Fernandes Nogueira
ba2f4b55fd
feat(tauri.js) expose target arg to tauri build (#490) 2020-03-06 12:22:38 -03:00
Jacob Bolda
0d47bff39b
chore(release): remaining windows fixes [version updates] (#481)
* bump tauri.js

* bump tauri-core

* bump tauri-bundler
2020-03-01 09:47:11 -06:00
Lucas Fernandes Nogueira
c8d9726a09
fix(tauri) do not use template literals and fix entry for IE (#474)
* fix(tauri) do not use template literals

* fix(entry) make it work on IE
2020-03-01 08:11:35 -06:00
Lucas Fernandes Nogueira
4741394b18
fix(template) incorrect package > authors field on Cargo.toml (#479) 2020-03-01 08:08:32 -06:00
renovate[bot]
0303756a81
chore(deps) Update Tauri JS CLI (#461)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-01 12:22:45 +01:00
Lucas Fernandes Nogueira
21e710e1b0
feature(bundle) merge BundleSettings with config from tauri.conf… (#471)
* feat(bundler) read tauri config WIP

* feat(bundler) merge BundleSettings with tauri.conf.json"

* chore(lint) strings must use single quotes

* chore(bundler) platform-specific config on separated object on tauri cfg

* fix(eslint) unexpected trailing comma
2020-02-29 16:49:45 -03:00
Tensor-Programming
90497751a4
[version updates] Merge Windows Related Changes (#462)
* update tauri module versions

* update bundler

* update node cli
2020-02-26 18:42:44 -05:00
Rajiv Shah
f05f6993bd
fix(tauri.js): Remove redundant "git add" from lint-staged script (#457) 2020-02-24 07:12:05 -06:00
Rajiv Shah
5dbf0638a9
refactor(tauri.js): Fix ESLint errors in src/api/tauricon.ts (#455) 2020-02-24 07:09:11 -06:00
Tensor-Programming
7b8edd29ea
Fix(All) - Add Edge support to GUIJS (#452)
* fix edge api to use window.external.invoke

* remove tauri-examples

* remove if statement

* add more cases.

* add batch_to_exe script
2020-02-23 18:15:57 -05:00
Jacob Bolda
7c0482f9a8
fix(tauri.js/template): don't ignore lock file, add WixTools (#451)
As noted in the comment that was deleted, we should commit the Cargo.lock when creating an executable. This is the template that is copied into the consumer so I think we can safely assume that they will be creating an executable.

Also adding `WixTools` which is created on Windows builds, similar to the `/target/` dir
2020-02-22 13:51:13 -03:00
Noah Klayman
a306a503c3
[version updates]: tauri.js bad postinstall (#446)
* fix(tauri.js): remove postinstall script

* chore(tauri.js/package): bump version
2020-02-21 19:50:47 +01:00
nothingismagick
43c2f710e4
chore(updates) version updates (#442) 2020-02-21 15:40:42 +01:00
Shihpin Tseng
c15a6d5649
fix error file name 'tauri.conf.js' to 'tauri.conf.json' (#434)
* fix error file name 'tauri.conf.js' to 'tauri.conf.json'

* fix(tauri.js) if the DOM is already loaded, listen for <a> clicks (#436)

code is fine, the CI is borked

* fix(open) open <a> on browser only if target=_blank (#437)

merging because CI is borked

* 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

* feat(bundler) add exception_domain option by nothingismagick (#439)

* chore(deps) Update Tauri JS CLI (#421)

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-02-21 15:31:05 +01:00
Jacob Bolda
a2da82e8f2
chore(workflows): split up prepare into postinstall and prepublishOnly (#428)
This will let CI runs of the publish command reduce verbosity. We use the output from the command in our release notes.
2020-02-21 15:26:07 +01:00
renovate[bot]
0b5b33bfaf
chore(deps) Update Tauri JS CLI (#420)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 15:09:13 +01:00
renovate[bot]
1281e27a46
chore(deps) Update Tauri JS CLI (#421)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 15:05:41 +01:00
Lucas Fernandes Nogueira
da5f654332
fix(open) open <a> on browser only if target=_blank (#437)
merging because CI is borked
2020-02-19 14:34:03 +01:00
Lucas Fernandes Nogueira
09680ed6de
fix(tauri.js) if the DOM is already loaded, listen for <a> clicks (#436)
code is fine, the CI is borked
2020-02-19 14:31:26 +01:00
nothingismagick
ed68676505
Feat/new logo (#429)
* feat(newlogo)

* chore(readmes): updates to Licenses and body

* chore(template): add new logo to templated iconset
2020-02-15 20:58:36 +01:00
nothingismagick
bb3a2f57f4
chore(release:npm) version updates (#423) 2020-02-12 10:14:40 -03:00
Tensor-Programming
06a71242b0
add delimiter 2020-02-11 20:31:29 -05:00
nothingismagick
a84656e037
chore(release): version updates (#404)
* chore(release): version updates

* updater too

* update template
2020-02-09 12:42:23 -03:00
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 (#397)
* remove extern crate and macro_use

* fix test file

* update CLI

* organize imports

* organize core

* update api

* update updater

* update create-react-app

* update gatsby example

* update next-js example

* update svelte example

* update vanilla-js example

* update nuxt example

* update quasar example

* update vue example

* update templates.

* update build.rs

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
7522d8ff8a
chore(bundler) rename tauri-cli crate to tauri-bundler (#401) 2020-02-08 12:51:48 -03:00
Lucas Fernandes Nogueira
3e1ce404f5
feat(tauri) add splashscreen API (#400)
* feat(tauri) add splashscreen API

* fix(examples) quasar example building
2020-02-08 12:34:15 -03:00
renovate[bot]
63083be882
chore(deps) Update Tauri JS CLI (#383)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-08 12:19:44 -03:00
Rajiv Shah
5906b5ca5d
refactor(tauri.js): Fix ESLint errors (#398)
* refactor(tauri.js): Fix ESLint errors

* fix(tauri.js): Disable space-before-function-paren

This conflicts with @typescript-eslint/space-before-function-paren. See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md#how-to-use

* refactor(tauri.js): Change requires to imports

* fix(tauri.js): Suppress security/detect-non-literal-fs-filename in src/api/info.ts

* fix(tauri.js): Suppress @typescript-eslint/restrict-template-expressions in some cases

* fix(tauri.js): Suppress ESLint warnings in src/template/index.ts

- Suppress security/detect-object-injection (false positives)
- Suppress @typescript-eslint/no-dynamic-delete
2020-02-08 12:17:27 -03:00
Tensor-Programming
335f71c36b
change serde versions to 1.0 (#396) 2020-02-05 20:18:20 -05:00
renovate[bot]
aed07399d7
chore(deps) Update Tauri JS CLI (#359)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 10:35:07 -03:00
Lucas Fernandes Nogueira
78f1e03495
feat(tauri.js) inject MutationObserver to lazy load JS/CSS on no… (#355)
* feat(tauri.js) inject MutationObserver to lazy load scripts on no-server

* feat(tauri.js) add disable inliner config

* fix(tauri.js) add types

* feat(tauri.js&tauri) lazy load CSS files on mutation observer
2020-01-27 10:03:27 -03:00
Lucas Fernandes Nogueira
0bac7d69aa
chore(examples) add nuxt example (#306)
* chore(examples) add nuxt example

* fix(examples) add tauri middleware to nuxt example
2020-01-27 09:53:39 -03:00
Ty Tracey
fcbc261dff Changing web link references from tauri-apps.org to tauri.studio and the wiki, when appropriate (#349) 2020-01-23 11:16:59 +01:00
nothingismagick
65c1987a04
chore(deps): update outside of renovate (#350) 2020-01-23 11:15:17 +01:00
renovate[bot]
d147e0f815 chore(deps) Update Tauri JS CLI (#342)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 10:49:24 +01:00
nothingismagick
2f343ec07d fix(template): relax versioning for tauri (#347) 2020-01-22 08:25:06 -03:00
renovate[bot]
c059bf101b chore(deps) Update dependency husky to v4.0.10 (#329)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 16:16:54 +01:00
renovate[bot]
0b7e3f39c6 chore(deps) Update Tauri JS CLI (#318)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:47:58 +01:00
renovate[bot]
425dd2d99d chore(deps) Update Tauri JS CLI (#317)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:24:31 +01:00
Tensor-Programming
ee2d714b67
Feat(CLI) Icon Check fix: #309 (#310)
* add icon check for windows.

* fix spelling

* add basic icon logic

* make error more prolific
2020-01-12 20:27:35 -05:00
Lucas Fernandes Nogueira
dc5947ea08 chore(tauri.js) default config with all API enabled and distDir fixed (#307) 2020-01-10 23:32:10 +01:00
Lucas Fernandes Nogueira
e2cafb7efa
fix(tauri.js) do not inline assets on the embedded-server mode (#304) 2020-01-09 18:22:32 -03:00
renovate[bot]
ff0cacf749 chore(deps): update typescript-eslint monorepo to v2.14.0 (#270)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:44:45 +01:00
renovate[bot]
0cbd712fe9 chore(deps): update dependency webpack to v4.41.5 (#269)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:07:20 +01:00
renovate[bot]
231fb96f28 fix(deps): update dependency isbinaryfile to v4.0.3 (#267)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:06:17 +01:00
renovate[bot]
8747ef8e73 chore(deps): update dependency eslint-plugin-node to v11 (#271)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:02:15 +01:00