Skip to content

Commit c31592e

Browse files
committed
0.0.63
1 parent a13cc6c commit c31592e

File tree

19 files changed

+66
-80
lines changed

19 files changed

+66
-80
lines changed

.github/workflows/CI.yml

Lines changed: 35 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ jobs:
3434
build: |
3535
yarn build --target x86_64-apple-darwin
3636
strip -x *.node
37-
- host: windows-latest
38-
build: yarn build
39-
target: x86_64-pc-windows-msvc
40-
- host: windows-latest
41-
build: |
42-
yarn build --target i686-pc-windows-msvc
43-
yarn test
44-
target: i686-pc-windows-msvc
4537
- host: ubuntu-latest
4638
target: x86_64-unknown-linux-gnu
4739
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
@@ -91,9 +83,6 @@ jobs:
9183
rustup target add aarch64-unknown-linux-musl &&
9284
yarn build --target aarch64-unknown-linux-musl &&
9385
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
94-
- host: windows-latest
95-
target: aarch64-pc-windows-msvc
96-
build: yarn build --target aarch64-pc-windows-msvc
9786
name: stable - ${{ matrix.settings.target }} - node@18
9887
runs-on: ${{ matrix.settings.host }}
9988
steps:
@@ -129,20 +118,8 @@ jobs:
129118
run: ${{ matrix.settings.setup }}
130119
if: ${{ matrix.settings.setup }}
131120
shell: bash
132-
- name: Setup node x86
133-
if: matrix.settings.target == 'i686-pc-windows-msvc'
134-
run: yarn config set supportedArchitectures.cpu "ia32"
135-
shell: bash
136121
- name: Install dependencies
137122
run: yarn install
138-
- name: Setup node x86
139-
uses: actions/setup-node@v3
140-
if: matrix.settings.target == 'i686-pc-windows-msvc'
141-
with:
142-
node-version: 18
143-
check-latest: true
144-
cache: yarn
145-
architecture: x86
146123
- name: Build in docker
147124
uses: addnab/docker-run-action@v3
148125
if: ${{ matrix.settings.docker }}
@@ -160,42 +137,40 @@ jobs:
160137
name: bindings-${{ matrix.settings.target }}
161138
path: ${{ env.APP_NAME }}.*.node
162139
if-no-files-found: error
163-
test-macOS-windows-binding:
164-
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
165-
needs:
166-
- build
167-
strategy:
168-
fail-fast: false
169-
matrix:
170-
settings:
171-
- host: macos-latest
172-
target: x86_64-apple-darwin
173-
- host: windows-latest
174-
target: x86_64-pc-windows-msvc
175-
node:
176-
- '16'
177-
- '18'
178-
runs-on: ${{ matrix.settings.host }}
179-
steps:
180-
- uses: actions/checkout@v3
181-
- name: Setup node
182-
uses: actions/setup-node@v3
183-
with:
184-
node-version: ${{ matrix.node }}
185-
check-latest: true
186-
cache: yarn
187-
- name: Install dependencies
188-
run: yarn install
189-
- name: Download artifacts
190-
uses: actions/download-artifact@v3
191-
with:
192-
name: bindings-${{ matrix.settings.target }}
193-
path: .
194-
- name: List packages
195-
run: ls -R .
196-
shell: bash
197-
- name: Test bindings
198-
run: yarn test
140+
# test-macOS-windows-binding:
141+
# name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
142+
# needs:
143+
# - build
144+
# strategy:
145+
# fail-fast: false
146+
# matrix:
147+
# settings:
148+
# - host: macos-latest
149+
# target: x86_64-apple-darwin
150+
# node:
151+
# - '16'
152+
# - '18'
153+
# runs-on: ${{ matrix.settings.host }}
154+
# steps:
155+
# - uses: actions/checkout@v3
156+
# - name: Setup node
157+
# uses: actions/setup-node@v3
158+
# with:
159+
# node-version: ${{ matrix.node }}
160+
# check-latest: true
161+
# cache: yarn
162+
# - name: Install dependencies
163+
# run: yarn install
164+
# - name: Download artifacts
165+
# uses: actions/download-artifact@v3
166+
# with:
167+
# name: bindings-${{ matrix.settings.target }}
168+
# path: .
169+
# - name: List packages
170+
# run: ls -R .
171+
# shell: bash
172+
# - name: Test bindings
173+
# run: yarn test
199174
test-linux-x64-gnu-binding:
200175
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
201176
needs:
@@ -409,7 +384,7 @@ jobs:
409384
name: Publish
410385
runs-on: ubuntu-latest
411386
needs:
412-
- test-macOS-windows-binding
387+
# - test-macOS-windows-binding
413388
- test-linux-x64-gnu-binding
414389
- test-linux-x64-musl-binding
415390
- test-linux-aarch64-gnu-binding

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.0.63](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.62...v0.0.63) (2024-04-28)
2+
3+
4+
15
## [0.0.62](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.60...v0.0.62) (2024-04-28)
26

37

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export function parse(
145145
- `transform` 不允许连续出现 2 个同类型如:transform: translate(20px 20px) translate3d(10px, 30px, 30px)
146146
- `radial-linear`
147147
- \<radial-extent>不支持, 如(closest-side、closest-corner、farthest-side、farthest-corner)
148-
- `display` 不支持**行内**
148+
- `display` 不支持 **行内**
149149
- 定位不支持 **bottom****right**
150150

151151
### 文本样式

__test__/fixure/pesudo.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import React from 'react'
33
import './pesudo.scss'
44

55
export default function Pesudo() {
6-
return React.createElement('Text', _object_spread_porops(_object_spread({}, rest), {
7-
className: 'dasdsa'
8-
}))
6+
return <View>
7+
<View className='a' compileMode></View>
8+
<View className='a'></View>
9+
</View>
910
}

__test__/fixure/pesudo.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
.container {
2-
height: env(safe-area-inset-bottom, 30px);
1+
.a {max-width: 100%;
2+
box-sizing: border-box;
3+
display: flex;
4+
margin-right: 5px;
5+
align-items: center;
6+
padding: 0 4px;
7+
background: rgba(255, 145, 27, 0.1);
8+
border-radius: 4px;
39
}

npm/android-arm-eabi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm-eabi",
3-
"version": "0.0.62",
3+
"version": "0.0.63",
44
"os": [
55
"android"
66
],

npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm64",
3-
"version": "0.0.62",
3+
"version": "0.0.63",
44
"os": [
55
"android"
66
],

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-arm64",
3-
"version": "0.0.62",
3+
"version": "0.0.63",
44
"os": [
55
"darwin"
66
],

npm/darwin-universal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-universal",
3-
"version": "0.0.62",
3+
"version": "0.0.63",
44
"os": [
55
"darwin"
66
],

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-x64",
3-
"version": "0.0.62",
3+
"version": "0.0.63",
44
"os": [
55
"darwin"
66
],

0 commit comments

Comments
 (0)