tailwindcss-injector 1.0.15 → 1.0.17

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # tailwindcss-injector
2
2
 
3
- > 简体中文 | [English](./README.en.md)
3
+ > English | [简体中文](./README.zh-CN.md)
4
4
 
5
- 这个包用于在 PostCSS 流程中动态注入 Tailwind 指令,并追踪 WXML import/include 依赖,让小程序模板能进入 Tailwind content 扫描范围。
5
+ This package injects Tailwind directives during PostCSS processing and tracks WXML import/include dependencies so mini program templates can participate in Tailwind content scanning.
6
6
 
7
- ## 官网
7
+ ## Website
8
8
 
9
- 更多接入方式、配置说明和框架示例见 [weapp-tailwindcss 官方文档](https://tw.icebreaker.top)。
9
+ For setup guides, configuration references, and framework examples, see the [official weapp-tailwindcss documentation](https://tw.weapp.dev).
@@ -0,0 +1,9 @@
1
+ # tailwindcss-injector
2
+
3
+ > [English](./README.md) | 简体中文
4
+
5
+ 这个包用于在 PostCSS 流程中动态注入 Tailwind 指令,并追踪 WXML import/include 依赖,让小程序模板能进入 Tailwind content 扫描范围。
6
+
7
+ ## 官网
8
+
9
+ 更多接入方式、配置说明和框架示例见 [weapp-tailwindcss 官方文档](https://tw.weapp.dev)。
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "tailwindcss-injector",
3
3
  "type": "module",
4
- "version": "1.0.15",
5
- "description": "tsdown build package template",
4
+ "version": "1.0.17",
5
+ "description": "Tailwind CSS generation and source injection helpers for cross-platform builds. 跨端构建的 Tailwind CSS 生成与源码注入工具。",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
8
+ "homepage": "https://tw.weapp.dev",
8
9
  "repository": {
9
10
  "type": "git",
10
11
  "url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git",
@@ -34,13 +35,13 @@
34
35
  "node": "^20.19.0 || >=22.12.0"
35
36
  },
36
37
  "dependencies": {
38
+ "@weapp-tailwindcss/shared": "2.0.3",
37
39
  "fs-extra": "^11.4.0",
38
40
  "htmlparser2": "^12.0.0",
39
- "magic-string": "^1.1.0",
41
+ "magic-string": "^1.2.3",
40
42
  "postcss": "^8.5.26",
41
43
  "tailwindcss": "^4.3.3",
42
- "@weapp-tailwindcss/shared": "2.0.1",
43
- "tailwindcss-config": "2.0.2"
44
+ "tailwindcss-config": "2.0.4"
44
45
  },
45
46
  "scripts": {
46
47
  "dev": "tsdown --watch --sourcemap",
package/README.en.md DELETED
@@ -1,9 +0,0 @@
1
- # tailwindcss-injector
2
-
3
- > English | [简体中文](./README.md)
4
-
5
- This package injects Tailwind directives during PostCSS processing and tracks WXML import/include dependencies so mini program templates can participate in Tailwind content scanning.
6
-
7
- ## Website
8
-
9
- For setup guides, configuration references, and framework examples, see the [official weapp-tailwindcss documentation](https://tw.icebreaker.top).