Skip to content

refactor: rewrite in rust - #90

Merged
amrbashir merged 232 commits into
devfrom
rewrite-in-rust
Aug 22, 2022
Merged

refactor: rewrite in rust#90
amrbashir merged 232 commits into
devfrom
rewrite-in-rust

Conversation

@amrbashir

@amrbashir amrbashir commented Jul 27, 2022

Copy link
Copy Markdown
Member

This PR has workflows setup to publish 2.0 alpha/beta releases to crates.io, npm, and github releaes with the aim to be able to test this rewrite and the new templates with real users. Once we are comfortable with the flow and the new templates we merge to dev and release stable 2.0

Different ways to try alpha/beta releases:

sh <(curl https://create.tauri.app/sh)
sh <(wget https://create.tauri.app/sh)
iwr https://creat.tauri.app/ps | iex
cargo install create-tauri-app --version 2.0.0-beta.1 && cargo create-tauri-app
npm create tauri-app@next
yarn global add create-tauri-app@next && create-tauri-app
pnpm create tauri-app@next

Before merging:

  1. modify the workflows for dev branch (I left some TODO comment for easier finding)
  2. make a round of review before merging

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
  • I have added a convincing reason for adding this feature, if necessary

Other information

closes #79
closes #77
closes #10
closes #53
closes #48
closes #44


TODO

  • cli arguments
    • positional - specify project name (which is used as directory name also)
    • -y, --yes - skip prompts and use defaults
    • -m, --manager - specify the package manager
    • -t, --template - specify the template
  • napi and publish to npm
  • conditional template files based on package manager
  • add yew template
  • update shell scripts tagName automatically
  • covector pre-release from this branch to crates.io, npm, and github releases
  • cloudflare worker to serve sh/ps1 scripts at https://create.tauri.app/{sh,ps}
  • upload sh,ps1 scripts to github release
  • create.tauri.app/v/{version_number}/{sh,ps} -> get specific version of scripts which in turn gets a specific version of the cli

@socket-security

socket-security Bot commented Jul 27, 2022

Copy link
Copy Markdown

Socket Security Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 New install scripts detected

A dependency change in this PR is introducing new install scripts to your install step.

Package Script field Location
esbuild@0.14.51 (added) postinstall packages/worker/package.json via wrangler@2.0.26
Socket.dev scan summary
Issue Status
Did you mean? ✅ no new possible package typos
Install scripts ⚠️ 1 new install script detected
Telemetry ✅ no new telemetry
Troll package ✅ no new troll packages
Malware ✅ no new malware
Native code ✅ no new native modules

Powered by socket.dev

amrbashir and others added 6 commits August 9, 2022 13:12
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
@amrbashir
amrbashir marked this pull request as ready for review August 21, 2022 12:10
@amrbashir
amrbashir merged commit 6c50fc3 into dev Aug 22, 2022
@amrbashir
amrbashir deleted the rewrite-in-rust branch August 22, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants