-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(cta): use `commander` instead of `minimst` * fix default * pin deps * update lock file * rearrange options * style changes * colorful help message * add missing `dev` option * style * use local api for tests * concise checks for vite and solid * update lock file * fix api formatting * improvements to updating json files * hopefully the last commit in this PR * fix eslint Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
- Loading branch information
1 parent
2d39f12
commit f5e77ff
Showing
17 changed files
with
472 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"create-tauri-app": patch | ||
--- | ||
|
||
`create-tauri-app` should now be fully compatiable with CI environments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export function pkgManagerFromUserAgent(userAgent: string | undefined): | ||
| { | ||
name: string | ||
version: string | ||
} | ||
| undefined { | ||
if (!userAgent) return undefined | ||
const pkgSpec = userAgent.split(' ')[0] | ||
const pkgSpecArr = pkgSpec.split('/') | ||
return { | ||
name: pkgSpecArr[0], | ||
version: pkgSpecArr[1] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.