Commit 6c50fc3
refactor: rewrite in rust (#90)
* initial poc
* update to vite@3 and add vite browser list, closes #84
* add shell installers
* setup covector and ci
* update readme
* fix publish-binaries workflow
* fix path in audit workflow
* run on push to rewrite-in-rust branch
* fix publish-binaries workflow
* again
* one more
* list files
* build instead of test u dumbass
* build in release mod
* fix uploading artifacts
* rename files artifacts after download
* fix multi-line command
* try with command wrapped in single quote
* try with shell: bash
* remove a stray single quote
* delete empty directories
* re-add upload to github release
* changefile
* add cli args
* napi
* fix napi job
* list files
* try defaults
* explicitly specify the lock file
* lockfile
* I hate yaml and github actions
* list files
* --no-frozen-lockfile
* fix deps path
* fix upload path
* install with frozen-lockfile
* cd in docker before build
* list dockerfile
* fix non-docker builds
* update urls
* update base fragment
* update vanilla template
* update vue template
* update svelte template
* update react template
* update solid template
* render conditional files
* remove .icns file (it is huge)
* format fragments and add fmt check
* Add yew template
* move template logic to `Template::render`
* fmt
* update tag name version in cta.{sh, ps1} with covector's bump
* move scripts to repo root
* don't execute regex twice
* add usage and contributing instructions
* update script url in readme.md
* make it a cargo subcommand
* fix typ in publish workflow
* allow unused for napi function
* setup covector for alpha release
* fix npm bump
* fix changelog
* adjust napi publish job
* fix publish.yml indentation
* revert covector bump for now
* update sync-tagname,js regex
* use workflow_dispatch and PR changes to rewrite-in-rust
* fix sync-tagname.js major to premajor bump
* run tests in rewrite-in-rust branch
* chore
* ignore fragments directory from socket-security bot
* Updated splash
* update token in covector workflow
* setup pnpm in covector workflow
* disable running some workflows twice for this PR
* covector: don't run audit from root
* lockfile
* try to update lock file in covector version PR
* Revert "try to update lock file in covector version PR"
This reverts commit 075af0e.
* run `cargo check` postversion
* fix sync-tagname.js path
* run sync-tagname.js post the rust cli instead
* use command array in postversion instead of &&
* fix include in Cargo.toml
* manually bump to 2.0.0-alpha.0
* create draft releaes instead
* disable git-checks for pnpm publish for now
* set NPM_TOKEN
* set registry url
* use next tag for npm publish
* fix covector workflow
* surrond publish logs in <details>
* use tag next when checking version
* split publish workflow
* fix create-tauri-app js in covector config
* handle `prerelease` bump in sync-tagname.js script
* apply version updates (alpha) (#96)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* fix napi publish workflow
* alpha.2
* fix publish workflows input typo
* apply version updates (alpha) (#97)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* run audit workflow using pnpm
* wrap in quotes
* alpha.3
* apply version updates (alpha) (#98)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* fix publish binariews workflow
* setup pnpm in publish napi workflow
* alpha.4
* apply version updates (alpha) (#99)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* list binaries before upload
* fix finding binaries
* download artifacts to the correct directory
* alpha.5
* apply version updates (alpha) (#100)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* don't publish js cli using covector, napi will take care of it
* use the correct releaseId from covector
* alpha.6
* apply version updates (alpha) (#101)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* upload packaged crate to the release assets
* napi: publish to next tag
* alpha.7
* apply version updates (alpha) (#102)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* fix download url in scripts
* update scripts colors
* Use dimmed white instead of black
* run fmt check on all repo
* deploy scripts to cloudflare worker
* add worker lock file
* fix worker vunlerable packages
* deploy worker on push only
* use account id when deploying
* add missing changefile
* update readme
* apply version updates (alpha) (#104)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* use `/ps` instead of `/ps1`
* add missing shebang
* restructure repo
* run audit on push on dev only
* crgo fmt
* fix sync-tagname.js path in covector config
* fix scripts import in worker
* run audit on PRs that modify lock files
* run workflows when necessary files are changed
* use clippy-check action
* install dependencies in before audting js
* don't cache pnpm in covector-version-or-publish workflow
* fix cargo fmt workflow
* use unix tree to generate files index for worker
* fmt
* fix readme paths
* apply version updates (alpha) (#107)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* fix pnpm install in publishing napi
* alpha.10
* revert covector to version or publish
* apply version updates (alpha) (#108)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* fetch binary inside the worker then serve it
* fmt
* upadate readme
* update napi cli and use --gh-release-id
* alpha.11
* apply version updates (alpha) (#109)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* [worker] hard code the index file
* move scripts back to root repo & upload them to github release
* [worker] allow to use a specific version of scripts
* fix tagname to correct version and fix sync-tagname script
* pin worker scripts to latest released version
* upadte sh scripts invokation
* update templates server port
* server port changefile
* fmt
* update templates port in tauri.conf.json
* tauri_cli -> tauri-cli
* update css
* remove `.`,`\`,`/` when making a valid pkg name
* move preqs note to the top
* fmt
* Update base rust sentence
* Extract base style
* Update Svelte template
* Remove unused class from svelte
* Refactor svelte-ts CSS
* Move svelte logo
* Add svelte logo to svelte-ts
* Update logo hover colors
* Fix svelte-ts css reference
* Add header to svelte, svelte-ts
* Add fade transition to logo
* Fix input layout
* Add container, fix layout color
* Use container in svelte
* Update react
* Solid is now updated
* Update vue
* Update Vanilla and Yew
* Fix Yew to use class instead of id
* Add yew hover color
* Add closing CSS bracket
* fix vanilla template
* Add bold to index
* Prettier updates
* Add bold to yew
* Fix button and input style
* avoid modifying unnecessary files when rendering template
* [css] add margin and fix colors
* modify yew template
* [templates] move tauri logo to the middle
* fmt
* Add macOS Icon
* Revert "Add macOS Icon"
This reverts commit e282b9f.
* prepare for beta
* fmt
* fix covector bump
* apply version updates (beta) (#111)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* reduce cargo publish noise in github release
* fix vue-ts template
* apply version updates (beta) (#112)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
* prepare for stable and merge to dev
* fmt
* fix js audit
* fmt
* clippy
* change react-ts fragment port to 1420
* add en empty line before starting prompts
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>1 parent c7d94ae commit 6c50fc3
275 files changed
Lines changed: 9626 additions & 5202 deletions
File tree
- .changes
- .github
- ISSUE_TEMPLATE
- workflows
- .scripts
- bin
- packages
- cli
- fragments
- fragment-base
- src-tauri
- icons
- src
- src
- fragment-react-ts
- .vscode
- public
- src-tauri
- src
- assets
- fragment-react
- .vscode
- public
- src-tauri
- src
- assets
- fragment-solid-ts
- .vscode
- public
- src-tauri
- src
- assets
- fragment-solid
- public
- src-tauri
- src
- assets
- fragment-svelte-ts
- .vscode
- public
- src-tauri
- src
- lib
- fragment-svelte
- .vscode
- public
- src-tauri
- src
- lib
- fragment-vanilla
- .vscode
- src-tauri
- src
- assets
- fragment-vue-ts
- .vscode
- public
- src-tauri
- src
- assets
- components
- fragment-vue
- .vscode
- public
- src-tauri
- src
- assets
- components
- fragment-yew
- .vscode
- public
- src-tauri
- src
- node
- .cargo
- npm
- darwin-arm64
- darwin-x64
- linux-arm-gnueabihf
- linux-arm64-gnu
- linux-arm64-musl
- linux-x64-gnu
- linux-x64-musl
- win32-ia32-msvc
- win32-x64-msvc
- src
- src
- worker
- scripts
- src
- helpers
- recipes
- templates
- dominator
- dist
- src
- vanilla
- dist
- types
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 31 | | |
60 | 32 | | |
61 | 33 | | |
| |||
67 | 39 | | |
68 | 40 | | |
69 | 41 | | |
70 | | - | |
71 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
72 | 64 | | |
73 | 65 | | |
74 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
77 | 52 | | |
78 | | - | |
| 53 | + | |
79 | 54 | | |
80 | 55 | | |
81 | | - | |
| 56 | + | |
82 | 57 | | |
83 | 58 | | |
84 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
85 | 64 | | |
86 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
87 | 68 | | |
88 | 69 | | |
89 | 70 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
14 | 30 | | |
15 | | - | |
| 31 | + | |
16 | 32 | | |
17 | 33 | | |
18 | 34 | | |
19 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
20 | 39 | | |
21 | | - | |
| 40 | + | |
22 | 41 | | |
23 | 42 | | |
24 | 43 | | |
25 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments