Skip to content

Commit

Permalink
0.0.7 (#21)
Browse files Browse the repository at this point in the history
* 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
meloalright and faga295 authored Sep 28, 2023
1 parent 215a9bb commit ac1fc00
Show file tree
Hide file tree
Showing 21 changed files with 463 additions and 103 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -62,4 +67,4 @@ jobs:
with:
name: soft-skia-wasm
path: |
soft-skia-wasm/pkg
soft-skia-wasm/pkg
3 changes: 3 additions & 0 deletions .github/workflows/playground_use_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
}
2 changes: 1 addition & 1 deletion soft-skia-wasm/Cargo.toml
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"

Expand Down
Loading

0 comments on commit ac1fc00

Please sign in to comment.