@weapp-tailwindcss/native-darwin-arm64 0.0.0-stage → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ice breaker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
- # Temporary Holding Version
1
+ # @weapp-tailwindcss/native-darwin-arm64
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ > English | [简体中文](./README.zh-CN.md)
4
+
5
+ Prebuilt Node-API Rust compiler for `darwin-arm64`. Installed automatically as an optional dependency of `weapp-tailwindcss`; no install scripts, compiler, or download step is required.
6
+
7
+ Requires Node.js `^20.19.0 || >=22.12.0`. The main package supports Tailwind CSS v4 only and owns the public API.
@@ -0,0 +1,7 @@
1
+ # @weapp-tailwindcss/native-darwin-arm64
2
+
3
+ > [English](./README.md) | 简体中文
4
+
5
+ `darwin-arm64` 平台的 Node-API Rust 编译内核,由 `weapp-tailwindcss` 作为可选依赖自动安装。安装不执行脚本,不要求 Rust,也不会额外下载二进制。
6
+
7
+ 要求 Node.js `^20.19.0 || >=22.12.0`。主包仅支持 Tailwind CSS v4,并拥有公开 API。
@@ -0,0 +1,51 @@
1
+ The Rust value parser preserves the token and whitespace behavior of
2
+ postcss-value-parser (https://github.com/TrySound/postcss-value-parser).
3
+
4
+ Copyright (c) Bogdan Chadkin <trysound@yandex.ru>
5
+
6
+ Permission is hereby granted, free of charge, to any person
7
+ obtaining a copy of this software and associated documentation
8
+ files (the "Software"), to deal in the Software without
9
+ restriction, including without limitation the rights to use,
10
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the
12
+ Software is furnished to do so, subject to the following
13
+ conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25
+ OTHER DEALINGS IN THE SOFTWARE.
26
+
27
+ The Rust selector AST preserves the traversal and serialization behavior of
28
+ postcss-selector-parser (https://github.com/postcss/postcss-selector-parser).
29
+
30
+ Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info)
31
+
32
+ Permission is hereby granted, free of charge, to any person
33
+ obtaining a copy of this software and associated documentation
34
+ files (the "Software"), to deal in the Software without
35
+ restriction, including without limitation the rights to use,
36
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
37
+ copies of the Software, and to permit persons to whom the
38
+ Software is furnished to do so, subject to the following
39
+ conditions:
40
+
41
+ The above copyright notice and this permission notice shall be
42
+ included in all copies or substantial portions of the Software.
43
+
44
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
45
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
46
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
47
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
48
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
49
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
50
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
51
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,8 @@
1
+ {
2
+ "kernel": "core",
3
+ "target": "aarch64-apple-darwin",
4
+ "suffix": "darwin-arm64",
5
+ "version": "5.6.0",
6
+ "sourceDigest": "e50849d479fd106f564a093644ab9486704e5d872344ce8e748cdd83d4c318b7",
7
+ "sha256": "4d597e99bec46a8205828ede9e135297258a66f6b69a283d71546a61b1fc0e61"
8
+ }
package/package.json CHANGED
@@ -1,6 +1,37 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/native-darwin-arm64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "5.6.0",
4
+ "description": "Prebuilt Rust compiler binding for weapp-tailwindcss (darwin-arm64)",
5
+ "license": "MIT",
6
+ "homepage": "https://tw.weapp.dev/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/weapp-tailwindcss/weapp-tailwindcss.git",
10
+ "directory": "packages-native/darwin-arm64"
11
+ },
12
+ "exports": {
13
+ ".": "./weapp-tailwindcss-native.darwin-arm64.node",
14
+ "./package.json": "./package.json",
15
+ "./postcss": "./weapp-tailwindcss-postcss.darwin-arm64.node"
16
+ },
17
+ "main": "weapp-tailwindcss-native.darwin-arm64.node",
18
+ "files": [
19
+ "*.node",
20
+ "THIRD_PARTY_LICENSES.txt",
21
+ "native-metadata.json",
22
+ "postcss-native-metadata.json"
23
+ ],
24
+ "os": [
25
+ "darwin"
26
+ ],
27
+ "cpu": [
28
+ "arm64"
29
+ ],
30
+ "engines": {
31
+ "node": "^20.19.0 || >=22.12.0"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public",
35
+ "registry": "https://registry.npmjs.org"
36
+ }
6
37
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "kernel": "postcss",
3
+ "target": "aarch64-apple-darwin",
4
+ "suffix": "darwin-arm64",
5
+ "version": "3.4.0",
6
+ "sourceDigest": "4474c27cd5d1bc280ca182f852ae03ce5e81789c3dcb980923fbaccf7569d186",
7
+ "sha256": "0749fca81256b53d2c2ecd21e0268b62a4b565f83e9158d0eb17d15217c663ec"
8
+ }