-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support v text (#16) * feat: support v-text * chore: update default color * chore: update * feat: support v-text color props (#17) * feat: v text support maxWidth (#18) * feat: support v-text width height * chore: add log marco helps debug * fix: text alpha pixel overlap * chore: update * chore: maxWidth * feat: fmt all soft-skia code * feat: Update vue playground dependence * feat: cargo fmt soft-skia-wasm * Update ci.yml for node setup * Update playground_use_latest.yml * 0.0.7 --------- Co-authored-by: faga <[email protected]>
- Loading branch information
1 parent
215a9bb
commit ac1fc00
Showing
21 changed files
with
463 additions
and
103 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 |
---|---|---|
|
@@ -11,6 +11,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 16.x | ||
# File containing the ve | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
@@ -28,21 +32,22 @@ jobs: | |
|
||
- name: soft-skia-wasm | ||
run: | | ||
cd soft-skia-wasm | ||
cargo install wasm-pack | ||
wasm-pack build --release --target web | ||
pnpm run build:wasm | ||
- name: vue-skia-framework | ||
run: | | ||
cd vue-skia-framework | ||
pnpm i | ||
pnpm build | ||
cd .. | ||
pnpm run build:vue | ||
- name: vue-playground | ||
run: | | ||
cd vue-playground | ||
pnpm i | ||
pnpm build | ||
cd .. | ||
pnpm --filter vue-playground build | ||
- name: Archive vue-skia-framework artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -62,4 +67,4 @@ jobs: | |
with: | ||
name: soft-skia-wasm | ||
path: | | ||
soft-skia-wasm/pkg | ||
soft-skia-wasm/pkg |
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 |
---|---|---|
|
@@ -15,6 +15,9 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 16.x | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,10 @@ | |
"version": "0.1.0", | ||
"private": "true", | ||
"scripts": { | ||
"serve": "pnpm -C vue-playground serve" | ||
"serve": "pnpm --filter vue-playground serve", | ||
"build": "pnpm build:wasm && pnpm build:vue", | ||
"build:vue": "pnpm --filter vue-skia build", | ||
"build:wasm": "cd soft-skia-wasm && wasm-pack build" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "soft-skia-wasm" | ||
version = "0.6.0" | ||
version = "0.7.0" | ||
authors = ["meloalright <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
Oops, something went wrong.