Commit Graph

663 Commits

Author SHA1 Message Date
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
github-actions[bot]
b9c0118c0e
[version updates]: tauri.js bad postinstall (#446) (#447)
* fix(tauri.js): remove postinstall script

* chore(tauri.js/package): bump version

Co-authored-by: denjell
2020-02-21 19:53:47 +01: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
github-actions[bot]
0d6c383216
fix(workflow): runner has to be in steps (#444) [version updates] (#445)
just put it in everything for now

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-21 08:50:48 -06:00
Jacob Bolda
7167db8fad
fix(workflow): runner has to be in steps (#444) [version updates]
just put it in everything for now
2020-02-21 08:48:28 -06:00
github-actions[bot]
39dd3a82bf
chore(updates) version updates (#442) (#443)
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-02-21 15:42:37 +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
Jacob Bolda
056d2205fa
chore(workflow): update tangle release for more logging (#432) 2020-02-21 15:25:38 +01:00
Lucas Fernandes Nogueira
9fd15a8bd4
fix(bundler) expose environment variables to GUI apps on linux and mac (#441)
* feat(bunder) bootstrapps zshrc and bashrc too

* feat(bundle) add bootstrapper to deb

* fix(linux): find linux path in bootstrapper

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-02-21 15:22:13 +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
12ed096bea
feat(bundler) add exception_domain option by nothingismagick (#439) 2020-02-19 20:07:50 +01:00
Jacob Bolda
c1638e92a6
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
2020-02-19 09:02:19 -06: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
Ty Tracey
43f32edc01
Migrating examples to the example repo (#409)
* Migrating examples to the example repo

* update smoke test github action to example repo

* unclear what the path should be

* lock file moved

* remove ls

* x64?

darn conflicts

* missed cache path

* cargo build step isn't needed

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-16 15:28:37 -06:00
Lucas Nogueira
7c786d2fee
chore(tauri) expose WebView and Handle types 2020-02-16 17:49:39 -03:00
Lucas Nogueira
b31f5d0546
feat(splashscreen) inject tauri.js 2020-02-16 17:49:16 -03: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
tensor-programming
2fe764913a
use x86 and x64 for wix. 2020-02-12 16:55:10 -05:00
tensor-programming
dd40b44598
clippy/fmt 2020-02-12 16:53:07 -05:00
Tensor-Programming
76c8376e74
Bug(Bundler): fix target arch in wix (#426)
* fix target arch in wix

* update github action to .amd64.msi
2020-02-12 16:51:17 -05:00
github-actions[bot]
6aeb712833
chore(release:npm) version updates (#423) (#424)
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-12 14:17:04 +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
Jacob Bolda
51c647c87e
chore(renovate): remove example upgrading (#418)
The examples will eventually be moved out, remove updating in this repo.
2020-02-10 15:25:48 -06:00
github-actions[bot]
f33e4d1f8b
fix(publish): touch up npm/cargo publish workflow (#416) [version updates] (#417)
* skip yarn audit if current package is latest

* escape backticks

* escape backticks

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-10 15:15:16 +01:00
Jacob Bolda
3e7af3df4e
fix(publish): touch up npm/cargo publish workflow (#416) [version updates]
* skip yarn audit if current package is latest

* escape backticks

* escape backticks
2020-02-10 08:05:36 -06:00
github-actions[bot]
a87f5a05a4
add envs and publishPath, don't verify (#414) [version updates] (#415)
We were missing the envs so tauri-core didn't publish. It is fine if every package has these envs. We shouldn't need to verify as we have already built many times prior, and the verification gets very odd with packages all being bumped and being interdependent (inception verification).

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-10 14:31:49 +01:00
Jacob Bolda
c4810ff195
add envs and publishPath, don't verify (#414) [version updates]
We were missing the envs so tauri-core didn't publish. It is fine if every package has these envs. We shouldn't need to verify as we have already built many times prior, and the verification gets very odd with packages all being bumped and being interdependent (inception verification).
2020-02-10 07:28:15 -06:00
github-actions[bot]
f729f65537
add missing $ (#412) [version updates] (#413)
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-10 00:32:40 +01:00
Jacob Bolda
18009870fc
add missing $ (#412) [version updates] 2020-02-09 17:13:03 -06:00
Rajiv Shah
deeb28306b fix(publish): Use yarn audit instead of npm audit (#411) 2020-02-10 00:09:27 +01:00
github-actions[bot]
1f5a299719 fix(publish): attempt two (#408) [version updates] (#410)
* need working dir on yarn install

* reorder cargo to login before publish

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-09 17:01:20 -06:00
Jacob Bolda
03eb578c3f
fix(publish): attempt two (#408) [version updates]
* need working dir on yarn install

* reorder cargo to login before publish
2020-02-09 16:54:10 -06:00
github-actions[bot]
6caed9c773
fix(publish): login and build (#406) [version updates] (#407)
* yarn before pack

* login to cargo to publish

* skip install on same version

* workflow edits trigger too

* and this one too

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-09 16:35:23 -06:00
Jacob Bolda
4d1f61698d
fix(publish): login and build (#406) [version updates]
* yarn before pack

* login to cargo to publish

* skip install on same version

* workflow edits trigger too

* and this one too
2020-02-09 16:16:02 -06:00
Jacob Bolda
9eb9375959
testing clippy check on push (#403)
* Create check-on-push.yml

* push:

* try clippy with stable

* Create pid.rs

* remove pull request clippy check

* invalid mod?

* remove mod

* Delete pid.rs
2020-02-09 16:06:13 -03:00
github-actions[bot]
fb30b4b5be chore(release): version updates (#404) (#405)
* chore(release): version updates

* updater too

* update template

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-09 17:03:42 +01:00
nothingismagick
a84656e037
chore(release): version updates (#404)
* chore(release): version updates

* updater too

* update template
2020-02-09 12:42:23 -03:00
Ty Tracey
b114fb8c38 Adding Clippy/Rust Fmt to the pr workflow #333 (#367)
* Added clippy configuration file, added github action to run clippy, and changed line endings for rust fmt

* fix(cippliy-check-action) install webkit2gtk

* fix(clippy_check) add env variables

* refactor(tauri) fix clippy checks

* chore(tauri) use tauri_includedir_codegen v0.5.2

* fix(tests) dir tests

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 14:18:09 -03:00
Jacob Bolda
2e8c65b4f2
feat(workflow): publishing pipeline (#399)
* Update and rename cargo-publish.yml to release-cargo.yml

* Update and rename npm-publish.yml to release-npm.yml

* Delete push-to-dev.yml

* Create pr-to-master.yml

* add newer packages to matrix

* check cargo published version

* skip cargo audit if versions match

* chore(release-cargo) tauri-cli renamed to tauri-bundler

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:09:12 -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
Lucas Fernandes Nogueira
a572fb3dc7
feat(tauri&tauri.js) allow inliner/loadAsset to be used with pub… (#354)
* feat(tauri&tauri.js) allow inliner/loadAsset to be used with publicPath

* fix minor error

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-08 12:30:54 -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