Skip to content

Commit ac1fc00

Browse files
meloalrightfaga295
andauthored
0.0.7 (#21)
* 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]>
1 parent 215a9bb commit ac1fc00

File tree

21 files changed

+463
-103
lines changed

21 files changed

+463
-103
lines changed

.github/workflows/ci.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14+
- uses: actions/[email protected]
15+
with:
16+
node-version: 16.x
17+
# File containing the ve
1418
- uses: actions-rs/toolchain@v1
1519
with:
1620
toolchain: stable
@@ -28,21 +32,22 @@ jobs:
2832

2933
- name: soft-skia-wasm
3034
run: |
31-
cd soft-skia-wasm
3235
cargo install wasm-pack
33-
wasm-pack build --release --target web
36+
pnpm run build:wasm
3437
3538
- name: vue-skia-framework
3639
run: |
3740
cd vue-skia-framework
3841
pnpm i
39-
pnpm build
42+
cd ..
43+
pnpm run build:vue
4044
4145
- name: vue-playground
4246
run: |
4347
cd vue-playground
4448
pnpm i
45-
pnpm build
49+
cd ..
50+
pnpm --filter vue-playground build
4651
4752
- name: Archive vue-skia-framework artifacts
4853
uses: actions/upload-artifact@v3
@@ -62,4 +67,4 @@ jobs:
6267
with:
6368
name: soft-skia-wasm
6469
path: |
65-
soft-skia-wasm/pkg
70+
soft-skia-wasm/pkg

.github/workflows/playground_use_latest.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18+
- uses: actions/[email protected]
19+
with:
20+
node-version: 16.x
1821
- uses: actions-rs/toolchain@v1
1922
with:
2023
toolchain: stable

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "0.1.0",
44
"private": "true",
55
"scripts": {
6-
"serve": "pnpm -C vue-playground serve"
6+
"serve": "pnpm --filter vue-playground serve",
7+
"build": "pnpm build:wasm && pnpm build:vue",
8+
"build:vue": "pnpm --filter vue-skia build",
9+
"build:wasm": "cd soft-skia-wasm && wasm-pack build"
710
},
811
"packageManager": "[email protected]"
912
}

soft-skia-wasm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "soft-skia-wasm"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
authors = ["meloalright <[email protected]>"]
55
edition = "2018"
66

0 commit comments

Comments
 (0)