feature/env (#80)

* fix(js-cli) resolve correct paths on `tauri init`

* feat(js-cli) inject src-tauri/ as lodash template

* fix(js-cli) entry paths

* feat(js-cli) rename APP_URL to devPath and allow .html values

* feat(js-cli) reload config when `tauri.conf.js` change detected

* feat(node): update to testing

* feat(template): fix phf, remove updater

* feat(samples): add vanillajs

* fix(templates): objectify tauri
Closes #99.

* fix(examples): update cargo.toml
 - to match signature

* chore(tauri): version update

* feat(workflows): fix dirs, add tokens

* fix(config): more robust env checking

* feat(fixture): start a testing fixture for tauri

* fix(workflow): use fixture for ENV

* fix(examples:vanilla): remove updater

* addition to previous commit re. fixture

* fix(config.rs): fix the unfix

* feat(js-cli) use the new cargo-tauri-cli

* chore(template) cleanup src-tauri/Cargo.toml

* chore(js-cli) toml features cleanup

* chore(js-cli) move edge to config > tauri

* fix(js-cli) appPaths resolve() instead of join()
This commit is contained in:
nothingismagick
2019-11-30 12:48:39 +01:00
committed by Lucas Fernandes Nogueira
parent 50ef912721
commit 6dcccf5a8e
69 changed files with 4964 additions and 2851 deletions

View File

@@ -10,19 +10,14 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Login to Crates.IO
run: cargo login ${{ secrets.CratesIO }}
- name: Publish macros
run: cargo login ${{ secrets.crate_token }}
- name: Publish CLI
run: |
cd src/cmd_wrk_macros
cd cli/tauri-cli
echo "We will publish this directory."
ls # cargo publish
- name: Publish parser
- name: Publish TAURI
run: |
cd src/cmd_wrk_parser
cd tauri
echo "We will publish this directory."
ls # cargo publish
- name: Publish root
run: |
cd src/cmd_wrk
echo "We will publish this directory."
ls # cargo publish
ls # TAURI_DIST_DIR=../../test/fixture/dist cargo publish

View File

@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Login to NPM
run: npm login ${{ secrets.CratesIO }}
run: npm login ${{ secrets.npm_token }}
- name: Publish package
run: |
cd packages/tauri-js