tailwindcss-core-plugins-extractor 0.1.2 → 0.2.1
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 +4 -22
- package/README.zh-CN.md +9 -0
- package/dist/index.cjs +27385 -0
- package/dist/index.d.ts +36899 -0
- package/dist/index.js +27205 -1
- package/package.json +23 -67
- package/dist/index.es.js +0 -1
- package/types/corePlugins/accentColor.d.ts +0 -747
- package/types/corePlugins/accessibility.d.ts +0 -24
- package/types/corePlugins/alignContent.d.ts +0 -30
- package/types/corePlugins/alignItems.d.ts +0 -18
- package/types/corePlugins/alignSelf.d.ts +0 -21
- package/types/corePlugins/animation.d.ts +0 -56
- package/types/corePlugins/appearance.d.ts +0 -9
- package/types/corePlugins/aspectRatio.d.ts +0 -12
- package/types/corePlugins/backdropBlur.d.ts +0 -39
- package/types/corePlugins/backdropBrightness.d.ts +0 -47
- package/types/corePlugins/backdropContrast.d.ts +0 -31
- package/types/corePlugins/backdropFilter.d.ts +0 -9
- package/types/corePlugins/backdropGrayscale.d.ts +0 -11
- package/types/corePlugins/backdropHueRotate.d.ts +0 -27
- package/types/corePlugins/backdropInvert.d.ts +0 -11
- package/types/corePlugins/backdropOpacity.d.ts +0 -87
- package/types/corePlugins/backdropSaturate.d.ts +0 -23
- package/types/corePlugins/backdropSepia.d.ts +0 -11
- package/types/corePlugins/backgroundAttachment.d.ts +0 -12
- package/types/corePlugins/backgroundBlendMode.d.ts +0 -51
- package/types/corePlugins/backgroundClip.d.ts +0 -15
- package/types/corePlugins/backgroundColor.d.ts +0 -988
- package/types/corePlugins/backgroundImage.d.ts +0 -30
- package/types/corePlugins/backgroundOpacity.d.ts +0 -66
- package/types/corePlugins/backgroundOrigin.d.ts +0 -12
- package/types/corePlugins/backgroundPosition.d.ts +0 -30
- package/types/corePlugins/backgroundRepeat.d.ts +0 -21
- package/types/corePlugins/backgroundSize.d.ts +0 -12
- package/types/corePlugins/blur.d.ts +0 -39
- package/types/corePlugins/borderCollapse.d.ts +0 -9
- package/types/corePlugins/borderColor.d.ts +0 -9362
- package/types/corePlugins/borderOpacity.d.ts +0 -66
- package/types/corePlugins/borderRadius.d.ts +0 -462
- package/types/corePlugins/borderSpacing.d.ts +0 -458
- package/types/corePlugins/borderStyle.d.ts +0 -21
- package/types/corePlugins/borderWidth.d.ts +0 -148
- package/types/corePlugins/boxDecorationBreak.d.ts +0 -15
- package/types/corePlugins/boxShadow.d.ts +0 -43
- package/types/corePlugins/boxShadowColor.d.ts +0 -991
- package/types/corePlugins/boxSizing.d.ts +0 -9
- package/types/corePlugins/breakAfter.d.ts +0 -27
- package/types/corePlugins/breakBefore.d.ts +0 -27
- package/types/corePlugins/breakInside.d.ts +0 -15
- package/types/corePlugins/brightness.d.ts +0 -47
- package/types/corePlugins/captionSide.d.ts +0 -9
- package/types/corePlugins/caretColor.d.ts +0 -744
- package/types/corePlugins/clear.d.ts +0 -21
- package/types/corePlugins/columns.d.ts +0 -81
- package/types/corePlugins/contain.d.ts +0 -32
- package/types/corePlugins/container.d.ts +0 -2
- package/types/corePlugins/content.d.ts +0 -7
- package/types/corePlugins/contrast.d.ts +0 -31
- package/types/corePlugins/cursor.d.ts +0 -111
- package/types/corePlugins/display.d.ts +0 -66
- package/types/corePlugins/divideColor.d.ts +0 -988
- package/types/corePlugins/divideOpacity.d.ts +0 -66
- package/types/corePlugins/divideStyle.d.ts +0 -18
- package/types/corePlugins/divideWidth.d.ts +0 -59
- package/types/corePlugins/dropShadow.d.ts +0 -31
- package/types/corePlugins/fill.d.ts +0 -747
- package/types/corePlugins/filter.d.ts +0 -9
- package/types/corePlugins/flex.d.ts +0 -15
- package/types/corePlugins/flexBasis.d.ts +0 -192
- package/types/corePlugins/flexDirection.d.ts +0 -15
- package/types/corePlugins/flexGrow.d.ts +0 -15
- package/types/corePlugins/flexShrink.d.ts +0 -15
- package/types/corePlugins/flexWrap.d.ts +0 -12
- package/types/corePlugins/float.d.ts +0 -18
- package/types/corePlugins/fontFamily.d.ts +0 -12
- package/types/corePlugins/fontSize.d.ts +0 -55
- package/types/corePlugins/fontSmoothing.d.ts +0 -11
- package/types/corePlugins/fontStyle.d.ts +0 -9
- package/types/corePlugins/fontVariantNumeric.d.ts +0 -38
- package/types/corePlugins/fontWeight.d.ts +0 -30
- package/types/corePlugins/forcedColorAdjust.d.ts +0 -9
- package/types/corePlugins/gap.d.ts +0 -318
- package/types/corePlugins/gradientColorStops.d.ts +0 -3156
- package/types/corePlugins/grayscale.d.ts +0 -11
- package/types/corePlugins/gridAutoColumns.d.ts +0 -15
- package/types/corePlugins/gridAutoFlow.d.ts +0 -18
- package/types/corePlugins/gridAutoRows.d.ts +0 -15
- package/types/corePlugins/gridColumn.d.ts +0 -45
- package/types/corePlugins/gridColumnEnd.d.ts +0 -45
- package/types/corePlugins/gridColumnStart.d.ts +0 -45
- package/types/corePlugins/gridRow.d.ts +0 -45
- package/types/corePlugins/gridRowEnd.d.ts +0 -45
- package/types/corePlugins/gridRowStart.d.ts +0 -45
- package/types/corePlugins/gridTemplateColumns.d.ts +0 -45
- package/types/corePlugins/gridTemplateRows.d.ts +0 -45
- package/types/corePlugins/height.d.ts +0 -180
- package/types/corePlugins/hueRotate.d.ts +0 -27
- package/types/corePlugins/hyphens.d.ts +0 -12
- package/types/corePlugins/inset.d.ts +0 -1250
- package/types/corePlugins/invert.d.ts +0 -11
- package/types/corePlugins/isolation.d.ts +0 -9
- package/types/corePlugins/justifyContent.d.ts +0 -27
- package/types/corePlugins/justifyItems.d.ts +0 -15
- package/types/corePlugins/justifySelf.d.ts +0 -18
- package/types/corePlugins/letterSpacing.d.ts +0 -21
- package/types/corePlugins/lineClamp.d.ts +0 -45
- package/types/corePlugins/lineHeight.d.ts +0 -45
- package/types/corePlugins/listStyleImage.d.ts +0 -6
- package/types/corePlugins/listStylePosition.d.ts +0 -9
- package/types/corePlugins/listStyleType.d.ts +0 -12
- package/types/corePlugins/margin.d.ts +0 -1047
- package/types/corePlugins/maxHeight.d.ts +0 -135
- package/types/corePlugins/maxWidth.d.ts +0 -174
- package/types/corePlugins/minHeight.d.ts +0 -132
- package/types/corePlugins/minWidth.d.ts +0 -120
- package/types/corePlugins/mixBlendMode.d.ts +0 -57
- package/types/corePlugins/objectFit.d.ts +0 -18
- package/types/corePlugins/objectPosition.d.ts +0 -30
- package/types/corePlugins/opacity.d.ts +0 -66
- package/types/corePlugins/order.d.ts +0 -48
- package/types/corePlugins/outlineColor.d.ts +0 -744
- package/types/corePlugins/outlineOffset.d.ts +0 -18
- package/types/corePlugins/outlineStyle.d.ts +0 -19
- package/types/corePlugins/outlineWidth.d.ts +0 -18
- package/types/corePlugins/overflow.d.ts +0 -48
- package/types/corePlugins/overscrollBehavior.d.ts +0 -30
- package/types/corePlugins/padding.d.ts +0 -1018
- package/types/corePlugins/placeContent.d.ts +0 -27
- package/types/corePlugins/placeItems.d.ts +0 -18
- package/types/corePlugins/placeSelf.d.ts +0 -18
- package/types/corePlugins/placeholderColor.d.ts +0 -988
- package/types/corePlugins/placeholderOpacity.d.ts +0 -66
- package/types/corePlugins/pointerEvents.d.ts +0 -9
- package/types/corePlugins/position.d.ts +0 -18
- package/types/corePlugins/preflight.d.ts +0 -2
- package/types/corePlugins/resize.d.ts +0 -15
- package/types/corePlugins/ringColor.d.ts +0 -988
- package/types/corePlugins/ringOffsetColor.d.ts +0 -744
- package/types/corePlugins/ringOffsetWidth.d.ts +0 -18
- package/types/corePlugins/ringOpacity.d.ts +0 -66
- package/types/corePlugins/ringWidth.d.ts +0 -36
- package/types/corePlugins/rotate.d.ts +0 -39
- package/types/corePlugins/saturate.d.ts +0 -23
- package/types/corePlugins/scale.d.ts +0 -133
- package/types/corePlugins/scrollBehavior.d.ts +0 -9
- package/types/corePlugins/scrollMargin.d.ts +0 -1018
- package/types/corePlugins/scrollPadding.d.ts +0 -1018
- package/types/corePlugins/scrollSnapAlign.d.ts +0 -15
- package/types/corePlugins/scrollSnapStop.d.ts +0 -9
- package/types/corePlugins/scrollSnapType.d.ts +0 -21
- package/types/corePlugins/sepia.d.ts +0 -11
- package/types/corePlugins/size.d.ts +0 -267
- package/types/corePlugins/skew.d.ts +0 -51
- package/types/corePlugins/space.d.ts +0 -359
- package/types/corePlugins/stroke.d.ts +0 -747
- package/types/corePlugins/strokeWidth.d.ts +0 -12
- package/types/corePlugins/tableLayout.d.ts +0 -9
- package/types/corePlugins/textAlign.d.ts +0 -21
- package/types/corePlugins/textColor.d.ts +0 -988
- package/types/corePlugins/textDecoration.d.ts +0 -15
- package/types/corePlugins/textDecorationColor.d.ts +0 -744
- package/types/corePlugins/textDecorationStyle.d.ts +0 -18
- package/types/corePlugins/textDecorationThickness.d.ts +0 -24
- package/types/corePlugins/textIndent.d.ts +0 -108
- package/types/corePlugins/textOpacity.d.ts +0 -66
- package/types/corePlugins/textOverflow.d.ts +0 -17
- package/types/corePlugins/textTransform.d.ts +0 -15
- package/types/corePlugins/textUnderlineOffset.d.ts +0 -21
- package/types/corePlugins/textWrap.d.ts +0 -15
- package/types/corePlugins/touchAction.d.ts +0 -40
- package/types/corePlugins/transform.d.ts +0 -15
- package/types/corePlugins/transformOrigin.d.ts +0 -30
- package/types/corePlugins/transitionDelay.d.ts +0 -30
- package/types/corePlugins/transitionDuration.d.ts +0 -30
- package/types/corePlugins/transitionProperty.d.ts +0 -36
- package/types/corePlugins/transitionTimingFunction.d.ts +0 -15
- package/types/corePlugins/translate.d.ts +0 -339
- package/types/corePlugins/userSelect.d.ts +0 -15
- package/types/corePlugins/verticalAlign.d.ts +0 -27
- package/types/corePlugins/visibility.d.ts +0 -12
- package/types/corePlugins/whitespace.d.ts +0 -21
- package/types/corePlugins/width.d.ts +0 -213
- package/types/corePlugins/willChange.d.ts +0 -15
- package/types/corePlugins/wordBreak.d.ts +0 -16
- package/types/corePlugins/zIndex.d.ts +0 -24
- package/types/index.d.ts +0 -181
- package/types/theme/screens.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,84 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss-core-plugins-extractor",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.2.1",
|
|
5
|
+
"description": "Tailwind CSS core plugin extractor for cross-platform integrations. 面向跨端集成的 Tailwind CSS 核心插件提取器。",
|
|
6
|
+
"author": "ice breaker <1324318532@qq.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://tw.icebreaker.top",
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/sonofmagic/tailwindcss
|
|
11
|
+
"url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git",
|
|
12
|
+
"directory": "packages/tailwindcss-core-plugins-extractor"
|
|
11
13
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"types"
|
|
15
|
-
],
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public",
|
|
18
|
-
"registry": "https://registry.npmjs.org"
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/sonofmagic/weapp-tailwindcss/issues"
|
|
19
16
|
},
|
|
20
17
|
"keywords": [
|
|
21
18
|
"tailwindcss",
|
|
22
19
|
"core-plugins",
|
|
23
20
|
"extractor"
|
|
24
21
|
],
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
22
|
+
"main": "dist/index.cjs",
|
|
23
|
+
"module": "dist/index.js",
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
29
30
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"@rollup/plugin-alias": "^5.1.0",
|
|
34
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
35
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
36
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
37
|
-
"@rollup/plugin-replace": "^5.0.5",
|
|
38
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
39
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
40
|
-
"@tsconfig/recommended": "^1.0.6",
|
|
41
|
-
"@types/jest": "^29.5.12",
|
|
42
|
-
"@types/lodash": "^4.17.0",
|
|
43
|
-
"@types/lodash-es": "^4.17.12",
|
|
44
|
-
"@types/node": "^20.12.7",
|
|
45
|
-
"cross-env": "^7.0.3",
|
|
46
|
-
"defu": "^6.1.4",
|
|
47
|
-
"del": "^7.1.0",
|
|
48
|
-
"dlv": "^1.1.3",
|
|
49
|
-
"eslint": "8.52.0",
|
|
50
|
-
"jest": "^29.7.0",
|
|
51
|
-
"lodash": "^4.17.21",
|
|
52
|
-
"lodash-es": "^4.17.21",
|
|
53
|
-
"only-allow": "^1.2.1",
|
|
54
|
-
"prettier": "^3.2.5",
|
|
55
|
-
"rollup": "^4.14.2",
|
|
56
|
-
"rollup-plugin-visualizer": "^5.12.0",
|
|
57
|
-
"tailwindcss": "^3.4.3",
|
|
58
|
-
"ts-jest": "^29.1.2",
|
|
59
|
-
"ts-node": "^10.9.2",
|
|
60
|
-
"ts-patch": "^3.1.2",
|
|
61
|
-
"tsconfig-paths": "^4.2.0",
|
|
62
|
-
"tslib": "^2.6.2",
|
|
63
|
-
"typescript": "^5.4.5",
|
|
64
|
-
"typescript-transform-paths": "^3.4.7"
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"registry": "https://registry.npmjs.org"
|
|
65
34
|
},
|
|
66
35
|
"scripts": {
|
|
67
|
-
"
|
|
68
|
-
"build": "
|
|
69
|
-
"build:tsc": "cross-env NODE_ENV=development tsc --build tsconfig.json",
|
|
70
|
-
"dts": "tsc --emitDeclarationOnly -p tsconfig.dts.json",
|
|
71
|
-
"test": "jest",
|
|
72
|
-
"init:rename": "node scripts/init/rename.js",
|
|
73
|
-
"init:bin": "node scripts/init/bin.js",
|
|
74
|
-
"clean": "node scripts/clean.js",
|
|
75
|
-
"format": "pnpm prettier --check \"src/**/*.{ts,js}\" -w",
|
|
76
|
-
"ls:pack": "npm pack --dry-run",
|
|
77
|
-
"preinstall": "npx only-allow pnpm",
|
|
78
|
-
"ci:extract": "node scripts/extract.js",
|
|
79
|
-
"ci:lint": "eslint --fix",
|
|
80
|
-
"ci:check": "node scripts/check.js",
|
|
81
|
-
"ci:theme": "node scripts/theme.js",
|
|
36
|
+
"extract": "node scripts/main.js",
|
|
37
|
+
"build": "tsdown",
|
|
82
38
|
"sync": "cnpm sync tailwindcss-core-plugins-extractor"
|
|
83
39
|
}
|
|
84
40
|
}
|