Commit Graph

35 Commits

Author SHA1 Message Date
David D
71ea86a443
feat(cta): add SolidJS recipe (#2619)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
cybai
f2865fad13
fix: recommended run dev command in create-tauri-app (#2555)
`--dev` is not a valid option for `tauri` cli; instead, we should use
`-- dev` or just `dev`. Also, we can just use `tauri dev` for all
package managers so we don't need to do the npm checking.
2021-08-30 17:31:38 +02:00
Kris Scott
e706df7d03
Fix svelte recipe packageManager ternary (#2534)
* refactor: custom protocol (#2503)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Fix packageManager ternary

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03:00
edgex004
97edb3ac49
Fix: #2508. Update dominator recipe description. (#2514)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-24 11:58:08 -03:00
Alve Larsson
7057c0f7b8
New brand (#2445)
* Update readme

* Update splash.svg

* New logo

* change to image

* Update splash.png

* Update README.md

* Mac Tray icon fix
2021-08-16 22:00:40 +08:00
Jacob Bolda
c410e034f7
convert jest tests to child_process run script (#2308)
* convert jest tests to child_process run script

* remove vuecli (it freezes), add angular

* run cargo build in correct dir

* add in asserts on fs

* normalize assert for node14

* fix installing empty dependencies

* add messages to asserts

* use test dir to check if running local cli

* try running in parallel

* run in parallel and log output serially

* avoid parallel, skip yarn for now

* add change file

* disable running with npm6 due to vite fail

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Amr Bashir
235e0f6785
feat(CTA): add official support for pnpm package manager (#2348)
* feat(CTA): add official support for `pnpm` package manager

* adjust post-message formatting [skip ci]

* optimize package managers checks
2021-08-06 23:35:39 +08:00
Pauan
af3cc7d7f7
Adding in Dominator recipe (#1912)
* Adding in Dominator recipe

* Running prettifier

* add dominator to cta tests

* update postinit message

* add `src-tauri` as a worksapce member

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-01 23:47:31 -03:00
ilukinov
4678144e22
fix(create-tauri-app): Change script name in App.tsx from 'App.js' to 'App.tsx' (#2333) 2021-08-01 23:44:11 -03:00
Amr Bashir
c0f42ad0e3
feat(cta): prompt users to install @tauri-apps/api package (#2251) 2021-07-29 09:34:29 -03:00
Amr Bashir
718d9513ce
refactor(cta): update vite recipe to use their new npm package (#2220) 2021-07-29 09:31:04 -03:00
Kris Scott
151c3157be
Add svelte recipe to create-tauri-app (#2276) (#2279) 2021-07-22 15:26:57 -04:00
Epsilon_02
489fad5524
Angular create tauri app [#1934] (#2203) 2021-07-14 16:36:46 -04:00
Amr Bashir
3c21ddc73c
fix(cta): use correct beforeDevCommand for vite recipe (#1931)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-31 19:37:16 -03:00
Jacob Bolda
8a164d0a1f
fix: CTA cache and vite build (#1806)
* use file as version for local links

this also makes it closer to the production version and less likely to accidentally introudce an issue

* always install latest without asking

* work around issues with esbuild installing properly

* test shouldn't run build-release on the cli

* build cli.js and api outside of the test

* try test on windows

* change file

* switch back to linux test

* -y prompt not available on npm@6, remove

* pipe
2021-05-12 14:25:44 -05:00
renovate[bot]
2067e20ee3
chore(deps) Update create-tauri-app (#1787)
* chore(deps) Update create-tauri-app

* fix: fmt [skip ci]

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:59:25 -03:00
Jacob Bolda
ea28d01691
create-tauri-app welcome prompt and recipes links (#1748)
* CTA welcome prompt and recipes links

* fix tests for new recipe names

* check that package file exists before build

* change file

* turn off vuecli tests until we can get them to pass
2021-05-09 09:31:01 -05:00
Ali Furkan
d208039f58
fix(CTA): fix adding options (#1728) 2021-05-07 22:35:37 -05:00
nothingismagick
45aff87e65
chore(deps): js updates (#1739) 2021-05-07 19:52:20 -03:00
Amr Bashir
cea3ba9f97
feat(cta): add support for all vite templates (#1670)
* feat(cta): add support for all vite templates

* vite template dir removed, ignore template step for now

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-05-07 00:29:55 -05:00
Jacob Bolda
397b7af395
chore: CTA defaults in CI mode (#1671)
* better defaults in CI mode

* chalk should be a dep since it needs to be installed by user

* always install webkit2gtk

* avoid installing `cli.js` from npm in `--dev` mode

* use correct path for `api` linking in tests

* update `tauri.conf.json` after init

* remove `beforeBuild/DevCommand` from vanilla recipe

* explicitly install `vite` deps

* change file

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-05-05 07:25:17 -05:00
Amr Bashir
9fadbf3350
refactor(cta): add questions hook for recipes (#1658)
* refactor(cta): add questions hook for recipes

* fix lint

* fix tests

* fix vue-cli

* one more time

* adjust vuecli to packagemanager

* revert bundle.js changes

* refacotr: extract `Recipe` type to its own file

* colorful step logging

* pin chalk dependency

* Restore bundle.js

* fix typo

* more styling
2021-04-30 20:48:21 -05:00
Jacob Bolda
c3acbd68ec
chore: shift CTA from bin to .ts (#1651)
* chore: shift CTA from bin to .ts

* add change file

* fix rollup build
2021-04-29 08:55:09 -05:00
Lucas Fernandes Nogueira
07f5cd21be
chore(cta): add linting and formatting, closes #1520 (#1596) 2021-04-23 01:34:54 -03:00
Amr Bashir
94d541d1c9
refactor(api): use a js script to copy necesary files to dist (#1593) 2021-04-22 23:16:53 -03:00
Amr Bashir
f708ff824e
fix(CTA): #1569, manually set tauri script for compatability with older npm (#1572) 2021-04-21 21:26:49 -03:00
SneakyFish5
edab7a6686
chore(deps): remove lodash from create-tauri-app (#1532) 2021-04-18 21:30:06 +02:00
Amr Bashir
3998046489
fix(cta): remove tauri dep from vanilla recipe (#1502) 2021-04-14 22:05:16 -03:00
Jacob Bolda
fa99fda0cf
chore: CTA license headers and externals (#1485)
* add common node libs as externals, hides warning

* add license header to vue-cli file
2021-04-14 13:05:04 -05:00
Noah Klayman
1b2bb6adb8
feat(cta): add preset for vue-cli (#1473) 2021-04-13 21:53:40 -03:00
Amr Bashir
6ec0971e78
refactor(cta): use npx and add react-ts template (#1472) 2021-04-13 21:52:07 -03:00
Amr Bashir
80b7bd7de8
feat(CTA): add initial vite support with vue and vue-ts (#1467) 2021-04-13 10:56:21 -03:00
Jacob Bolda
6e0598c807
feat: derive package manager from env var 2021-04-12 15:50:57 -05:00
nothingismagick
953289ca7f
chore/licenses (#1461) 2021-04-12 09:55:00 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder (#1457) 2021-04-12 01:59:25 -03:00