From 1b99010d6fc720ac382dfb9c139fb70f54cb9d9d Mon Sep 17 00:00:00 2001 From: luckyadam Date: Wed, 25 Dec 2024 11:20:04 +0800 Subject: [PATCH] chore(release): publish 1.1.1 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++ README.md | 3 ++- index.d.ts | 1 + npm/android-arm-eabi/package.json | 2 +- npm/android-arm64/package.json | 2 +- npm/darwin-arm64/package.json | 2 +- npm/darwin-universal/package.json | 2 +- npm/darwin-x64/package.json | 2 +- npm/linux-arm-gnueabihf/package.json | 2 +- npm/linux-arm64-gnu/package.json | 2 +- npm/linux-arm64-musl/package.json | 2 +- npm/linux-x64-gnu/package.json | 2 +- npm/linux-x64-musl/package.json | 2 +- npm/win32-x64-msvc/package.json | 2 +- package.json | 2 +- 15 files changed, 49 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 426588d..8d0f53b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## [1.1.1](https://github.com/NervJS/parse-css-to-stylesheet/compare/v1.1.0...v1.1.1) (2024-12-25) + + +### Features + +* 生成样式中增加 design_width 设计稿宽度 ([82a7308](https://github.com/NervJS/parse-css-to-stylesheet/commit/82a73085414921cb288a0acae5430fa6e2b2e955)) + + + +## [1.1.1](https://github.com/NervJS/parse-css-to-stylesheet/compare/v1.0.20...v1.1.1) (2024-12-25) + + +### Bug Fixes + +* 生成二进制暂时不处理 fonts/media/keyframes ([6f4a2d9](https://github.com/NervJS/parse-css-to-stylesheet/commit/6f4a2d94234349db2162d7bd2a0e14182e7ad2b6)) +* 完善样式编译成二进制处理 ([f0c467e](https://github.com/NervJS/parse-css-to-stylesheet/commit/f0c467edb3db331509661a69133a7fa94c186d7c)) +* update ci workflow ([c0a87a6](https://github.com/NervJS/parse-css-to-stylesheet/commit/c0a87a695cc000131282cd850b96036e9e7a98aa)) + + +### Features + +* 更新 typings ([098e3d2](https://github.com/NervJS/parse-css-to-stylesheet/commit/098e3d23aba86b69ac277b655bd42bdc62d05e50)) +* 生成样式中增加 design_width 设计稿宽度 ([f9d6227](https://github.com/NervJS/parse-css-to-stylesheet/commit/f9d6227d338075667ac1a72cd283411f3207e314)) +* 添加pointer_events的解析 ([24f9746](https://github.com/NervJS/parse-css-to-stylesheet/commit/24f9746b475caa07c9baceab5ec525852ec7fbc4)) +* 支持将样式编译成二进制文件 ([8d53ada](https://github.com/NervJS/parse-css-to-stylesheet/commit/8d53adabd75a9e37033cfcffa2a6c0bc4df3d52c)) +* add registry ([f4b8ce7](https://github.com/NervJS/parse-css-to-stylesheet/commit/f4b8ce76a15f22442105fa8a2b5fd2718722170b)) +* rm node 16 ([ec7dbfc](https://github.com/NervJS/parse-css-to-stylesheet/commit/ec7dbfcb6d4edd96b9f16fdc1dbd2511ff103702)) +* use checkout v4 ([859aa90](https://github.com/NervJS/parse-css-to-stylesheet/commit/859aa90b673a3ac254be38b9bdfcde0c12824e9f)) +* use npm test ([8b72c6b](https://github.com/NervJS/parse-css-to-stylesheet/commit/8b72c6b69444f9a4c4055cb0238803b666d69711)) +* use pnpm ([1365797](https://github.com/NervJS/parse-css-to-stylesheet/commit/136579758f344b1a34af19f8e58bf7382064ddf6)) +* use pnpm ci ([66f1f9e](https://github.com/NervJS/parse-css-to-stylesheet/commit/66f1f9e05768d59104dbc1e7e0ddc4f1ea049697)) + + + # [1.1.0](https://github.com/NervJS/parse-css-to-stylesheet/compare/v1.0.20...v1.1.0) (2024-12-03) diff --git a/README.md b/README.md index 01e5ef6..e3cc38a 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,9 @@ import { parse } from '@tarojs/parse-css-to-stylesheet' // Harmony -const { code } = parse(jsxCode, [cssCode1, cssCode2, ...], { +const { code } = parse([cssCode1, cssCode2, ...], { platformString: 'Harmony', + designWidth: 750 }) // code: CSS 代码 string ``` diff --git a/index.d.ts b/index.d.ts index b0865d3..298fd5e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -8,6 +8,7 @@ export interface OutputOptions { } export interface ParseOptions { platformString: string + designWidth?: number output?: OutputOptions } export interface ParseResult { diff --git a/npm/android-arm-eabi/package.json b/npm/android-arm-eabi/package.json index 2b5d87f..7aadcba 100644 --- a/npm/android-arm-eabi/package.json +++ b/npm/android-arm-eabi/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-android-arm-eabi", - "version": "1.1.0", + "version": "1.1.1", "os": [ "android" ], diff --git a/npm/android-arm64/package.json b/npm/android-arm64/package.json index e3b676e..9a1d285 100644 --- a/npm/android-arm64/package.json +++ b/npm/android-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-android-arm64", - "version": "1.1.0", + "version": "1.1.1", "os": [ "android" ], diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index 437744b..f3d1b0d 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-darwin-arm64", - "version": "1.1.0", + "version": "1.1.1", "os": [ "darwin" ], diff --git a/npm/darwin-universal/package.json b/npm/darwin-universal/package.json index 7d326fe..6982756 100644 --- a/npm/darwin-universal/package.json +++ b/npm/darwin-universal/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-darwin-universal", - "version": "1.1.0", + "version": "1.1.1", "os": [ "darwin" ], diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index 31cfd61..bd334d7 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-darwin-x64", - "version": "1.1.0", + "version": "1.1.1", "os": [ "darwin" ], diff --git a/npm/linux-arm-gnueabihf/package.json b/npm/linux-arm-gnueabihf/package.json index 008746b..12d2378 100644 --- a/npm/linux-arm-gnueabihf/package.json +++ b/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf", - "version": "1.1.0", + "version": "1.1.1", "os": [ "linux" ], diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index a10a000..3459852 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu", - "version": "1.1.0", + "version": "1.1.1", "os": [ "linux" ], diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json index ce47e0b..a5c72da 100644 --- a/npm/linux-arm64-musl/package.json +++ b/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-linux-arm64-musl", - "version": "1.1.0", + "version": "1.1.1", "os": [ "linux" ], diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index ce11edb..a297c8e 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-linux-x64-gnu", - "version": "1.1.0", + "version": "1.1.1", "os": [ "linux" ], diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json index f2c40e5..b8a00e3 100644 --- a/npm/linux-x64-musl/package.json +++ b/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-linux-x64-musl", - "version": "1.1.0", + "version": "1.1.1", "os": [ "linux" ], diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index 98f1c03..e7378de 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet-win32-x64-msvc", - "version": "1.1.0", + "version": "1.1.1", "os": [ "win32" ], diff --git a/package.json b/package.json index 1fe9504..30cf8b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/parse-css-to-stylesheet", - "version": "1.1.0", + "version": "1.1.1", "main": "index.js", "types": "index.d.ts", "napi": {