tailwindcss-core-plugins-extractor 0.1.2 → 0.2.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.
Files changed (188) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs +37292 -0
  3. package/dist/index.d.cts +36719 -0
  4. package/dist/index.d.ts +36719 -0
  5. package/dist/index.js +37086 -1
  6. package/package.json +19 -67
  7. package/dist/index.es.js +0 -1
  8. package/types/corePlugins/accentColor.d.ts +0 -747
  9. package/types/corePlugins/accessibility.d.ts +0 -24
  10. package/types/corePlugins/alignContent.d.ts +0 -30
  11. package/types/corePlugins/alignItems.d.ts +0 -18
  12. package/types/corePlugins/alignSelf.d.ts +0 -21
  13. package/types/corePlugins/animation.d.ts +0 -56
  14. package/types/corePlugins/appearance.d.ts +0 -9
  15. package/types/corePlugins/aspectRatio.d.ts +0 -12
  16. package/types/corePlugins/backdropBlur.d.ts +0 -39
  17. package/types/corePlugins/backdropBrightness.d.ts +0 -47
  18. package/types/corePlugins/backdropContrast.d.ts +0 -31
  19. package/types/corePlugins/backdropFilter.d.ts +0 -9
  20. package/types/corePlugins/backdropGrayscale.d.ts +0 -11
  21. package/types/corePlugins/backdropHueRotate.d.ts +0 -27
  22. package/types/corePlugins/backdropInvert.d.ts +0 -11
  23. package/types/corePlugins/backdropOpacity.d.ts +0 -87
  24. package/types/corePlugins/backdropSaturate.d.ts +0 -23
  25. package/types/corePlugins/backdropSepia.d.ts +0 -11
  26. package/types/corePlugins/backgroundAttachment.d.ts +0 -12
  27. package/types/corePlugins/backgroundBlendMode.d.ts +0 -51
  28. package/types/corePlugins/backgroundClip.d.ts +0 -15
  29. package/types/corePlugins/backgroundColor.d.ts +0 -988
  30. package/types/corePlugins/backgroundImage.d.ts +0 -30
  31. package/types/corePlugins/backgroundOpacity.d.ts +0 -66
  32. package/types/corePlugins/backgroundOrigin.d.ts +0 -12
  33. package/types/corePlugins/backgroundPosition.d.ts +0 -30
  34. package/types/corePlugins/backgroundRepeat.d.ts +0 -21
  35. package/types/corePlugins/backgroundSize.d.ts +0 -12
  36. package/types/corePlugins/blur.d.ts +0 -39
  37. package/types/corePlugins/borderCollapse.d.ts +0 -9
  38. package/types/corePlugins/borderColor.d.ts +0 -9362
  39. package/types/corePlugins/borderOpacity.d.ts +0 -66
  40. package/types/corePlugins/borderRadius.d.ts +0 -462
  41. package/types/corePlugins/borderSpacing.d.ts +0 -458
  42. package/types/corePlugins/borderStyle.d.ts +0 -21
  43. package/types/corePlugins/borderWidth.d.ts +0 -148
  44. package/types/corePlugins/boxDecorationBreak.d.ts +0 -15
  45. package/types/corePlugins/boxShadow.d.ts +0 -43
  46. package/types/corePlugins/boxShadowColor.d.ts +0 -991
  47. package/types/corePlugins/boxSizing.d.ts +0 -9
  48. package/types/corePlugins/breakAfter.d.ts +0 -27
  49. package/types/corePlugins/breakBefore.d.ts +0 -27
  50. package/types/corePlugins/breakInside.d.ts +0 -15
  51. package/types/corePlugins/brightness.d.ts +0 -47
  52. package/types/corePlugins/captionSide.d.ts +0 -9
  53. package/types/corePlugins/caretColor.d.ts +0 -744
  54. package/types/corePlugins/clear.d.ts +0 -21
  55. package/types/corePlugins/columns.d.ts +0 -81
  56. package/types/corePlugins/contain.d.ts +0 -32
  57. package/types/corePlugins/container.d.ts +0 -2
  58. package/types/corePlugins/content.d.ts +0 -7
  59. package/types/corePlugins/contrast.d.ts +0 -31
  60. package/types/corePlugins/cursor.d.ts +0 -111
  61. package/types/corePlugins/display.d.ts +0 -66
  62. package/types/corePlugins/divideColor.d.ts +0 -988
  63. package/types/corePlugins/divideOpacity.d.ts +0 -66
  64. package/types/corePlugins/divideStyle.d.ts +0 -18
  65. package/types/corePlugins/divideWidth.d.ts +0 -59
  66. package/types/corePlugins/dropShadow.d.ts +0 -31
  67. package/types/corePlugins/fill.d.ts +0 -747
  68. package/types/corePlugins/filter.d.ts +0 -9
  69. package/types/corePlugins/flex.d.ts +0 -15
  70. package/types/corePlugins/flexBasis.d.ts +0 -192
  71. package/types/corePlugins/flexDirection.d.ts +0 -15
  72. package/types/corePlugins/flexGrow.d.ts +0 -15
  73. package/types/corePlugins/flexShrink.d.ts +0 -15
  74. package/types/corePlugins/flexWrap.d.ts +0 -12
  75. package/types/corePlugins/float.d.ts +0 -18
  76. package/types/corePlugins/fontFamily.d.ts +0 -12
  77. package/types/corePlugins/fontSize.d.ts +0 -55
  78. package/types/corePlugins/fontSmoothing.d.ts +0 -11
  79. package/types/corePlugins/fontStyle.d.ts +0 -9
  80. package/types/corePlugins/fontVariantNumeric.d.ts +0 -38
  81. package/types/corePlugins/fontWeight.d.ts +0 -30
  82. package/types/corePlugins/forcedColorAdjust.d.ts +0 -9
  83. package/types/corePlugins/gap.d.ts +0 -318
  84. package/types/corePlugins/gradientColorStops.d.ts +0 -3156
  85. package/types/corePlugins/grayscale.d.ts +0 -11
  86. package/types/corePlugins/gridAutoColumns.d.ts +0 -15
  87. package/types/corePlugins/gridAutoFlow.d.ts +0 -18
  88. package/types/corePlugins/gridAutoRows.d.ts +0 -15
  89. package/types/corePlugins/gridColumn.d.ts +0 -45
  90. package/types/corePlugins/gridColumnEnd.d.ts +0 -45
  91. package/types/corePlugins/gridColumnStart.d.ts +0 -45
  92. package/types/corePlugins/gridRow.d.ts +0 -45
  93. package/types/corePlugins/gridRowEnd.d.ts +0 -45
  94. package/types/corePlugins/gridRowStart.d.ts +0 -45
  95. package/types/corePlugins/gridTemplateColumns.d.ts +0 -45
  96. package/types/corePlugins/gridTemplateRows.d.ts +0 -45
  97. package/types/corePlugins/height.d.ts +0 -180
  98. package/types/corePlugins/hueRotate.d.ts +0 -27
  99. package/types/corePlugins/hyphens.d.ts +0 -12
  100. package/types/corePlugins/inset.d.ts +0 -1250
  101. package/types/corePlugins/invert.d.ts +0 -11
  102. package/types/corePlugins/isolation.d.ts +0 -9
  103. package/types/corePlugins/justifyContent.d.ts +0 -27
  104. package/types/corePlugins/justifyItems.d.ts +0 -15
  105. package/types/corePlugins/justifySelf.d.ts +0 -18
  106. package/types/corePlugins/letterSpacing.d.ts +0 -21
  107. package/types/corePlugins/lineClamp.d.ts +0 -45
  108. package/types/corePlugins/lineHeight.d.ts +0 -45
  109. package/types/corePlugins/listStyleImage.d.ts +0 -6
  110. package/types/corePlugins/listStylePosition.d.ts +0 -9
  111. package/types/corePlugins/listStyleType.d.ts +0 -12
  112. package/types/corePlugins/margin.d.ts +0 -1047
  113. package/types/corePlugins/maxHeight.d.ts +0 -135
  114. package/types/corePlugins/maxWidth.d.ts +0 -174
  115. package/types/corePlugins/minHeight.d.ts +0 -132
  116. package/types/corePlugins/minWidth.d.ts +0 -120
  117. package/types/corePlugins/mixBlendMode.d.ts +0 -57
  118. package/types/corePlugins/objectFit.d.ts +0 -18
  119. package/types/corePlugins/objectPosition.d.ts +0 -30
  120. package/types/corePlugins/opacity.d.ts +0 -66
  121. package/types/corePlugins/order.d.ts +0 -48
  122. package/types/corePlugins/outlineColor.d.ts +0 -744
  123. package/types/corePlugins/outlineOffset.d.ts +0 -18
  124. package/types/corePlugins/outlineStyle.d.ts +0 -19
  125. package/types/corePlugins/outlineWidth.d.ts +0 -18
  126. package/types/corePlugins/overflow.d.ts +0 -48
  127. package/types/corePlugins/overscrollBehavior.d.ts +0 -30
  128. package/types/corePlugins/padding.d.ts +0 -1018
  129. package/types/corePlugins/placeContent.d.ts +0 -27
  130. package/types/corePlugins/placeItems.d.ts +0 -18
  131. package/types/corePlugins/placeSelf.d.ts +0 -18
  132. package/types/corePlugins/placeholderColor.d.ts +0 -988
  133. package/types/corePlugins/placeholderOpacity.d.ts +0 -66
  134. package/types/corePlugins/pointerEvents.d.ts +0 -9
  135. package/types/corePlugins/position.d.ts +0 -18
  136. package/types/corePlugins/preflight.d.ts +0 -2
  137. package/types/corePlugins/resize.d.ts +0 -15
  138. package/types/corePlugins/ringColor.d.ts +0 -988
  139. package/types/corePlugins/ringOffsetColor.d.ts +0 -744
  140. package/types/corePlugins/ringOffsetWidth.d.ts +0 -18
  141. package/types/corePlugins/ringOpacity.d.ts +0 -66
  142. package/types/corePlugins/ringWidth.d.ts +0 -36
  143. package/types/corePlugins/rotate.d.ts +0 -39
  144. package/types/corePlugins/saturate.d.ts +0 -23
  145. package/types/corePlugins/scale.d.ts +0 -133
  146. package/types/corePlugins/scrollBehavior.d.ts +0 -9
  147. package/types/corePlugins/scrollMargin.d.ts +0 -1018
  148. package/types/corePlugins/scrollPadding.d.ts +0 -1018
  149. package/types/corePlugins/scrollSnapAlign.d.ts +0 -15
  150. package/types/corePlugins/scrollSnapStop.d.ts +0 -9
  151. package/types/corePlugins/scrollSnapType.d.ts +0 -21
  152. package/types/corePlugins/sepia.d.ts +0 -11
  153. package/types/corePlugins/size.d.ts +0 -267
  154. package/types/corePlugins/skew.d.ts +0 -51
  155. package/types/corePlugins/space.d.ts +0 -359
  156. package/types/corePlugins/stroke.d.ts +0 -747
  157. package/types/corePlugins/strokeWidth.d.ts +0 -12
  158. package/types/corePlugins/tableLayout.d.ts +0 -9
  159. package/types/corePlugins/textAlign.d.ts +0 -21
  160. package/types/corePlugins/textColor.d.ts +0 -988
  161. package/types/corePlugins/textDecoration.d.ts +0 -15
  162. package/types/corePlugins/textDecorationColor.d.ts +0 -744
  163. package/types/corePlugins/textDecorationStyle.d.ts +0 -18
  164. package/types/corePlugins/textDecorationThickness.d.ts +0 -24
  165. package/types/corePlugins/textIndent.d.ts +0 -108
  166. package/types/corePlugins/textOpacity.d.ts +0 -66
  167. package/types/corePlugins/textOverflow.d.ts +0 -17
  168. package/types/corePlugins/textTransform.d.ts +0 -15
  169. package/types/corePlugins/textUnderlineOffset.d.ts +0 -21
  170. package/types/corePlugins/textWrap.d.ts +0 -15
  171. package/types/corePlugins/touchAction.d.ts +0 -40
  172. package/types/corePlugins/transform.d.ts +0 -15
  173. package/types/corePlugins/transformOrigin.d.ts +0 -30
  174. package/types/corePlugins/transitionDelay.d.ts +0 -30
  175. package/types/corePlugins/transitionDuration.d.ts +0 -30
  176. package/types/corePlugins/transitionProperty.d.ts +0 -36
  177. package/types/corePlugins/transitionTimingFunction.d.ts +0 -15
  178. package/types/corePlugins/translate.d.ts +0 -339
  179. package/types/corePlugins/userSelect.d.ts +0 -15
  180. package/types/corePlugins/verticalAlign.d.ts +0 -27
  181. package/types/corePlugins/visibility.d.ts +0 -12
  182. package/types/corePlugins/whitespace.d.ts +0 -21
  183. package/types/corePlugins/width.d.ts +0 -213
  184. package/types/corePlugins/willChange.d.ts +0 -15
  185. package/types/corePlugins/wordBreak.d.ts +0 -16
  186. package/types/corePlugins/zIndex.d.ts +0 -24
  187. package/types/index.d.ts +0 -181
  188. package/types/theme/screens.d.ts +0 -8
package/package.json CHANGED
@@ -1,84 +1,36 @@
1
1
  {
2
2
  "name": "tailwindcss-core-plugins-extractor",
3
- "version": "0.1.2",
3
+ "type": "module",
4
+ "version": "0.2.0",
4
5
  "description": "tailwindcss-core-plugins-extractor",
5
- "main": "dist/index.js",
6
- "module": "dist/index.es.js",
7
- "types": "types/index.d.ts",
6
+ "author": "SonOfMagic <qq1324318532@gmail.com>",
7
+ "license": "MIT",
8
+ "homepage": "https://weapp-tw.icebreaker.top",
8
9
  "repository": {
9
10
  "type": "git",
10
- "url": "git+https://github.com/sonofmagic/tailwindcss-core-plugins-extractor.git"
11
+ "url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git"
11
12
  },
12
- "files": [
13
- "dist",
14
- "types"
15
- ],
16
- "publishConfig": {
17
- "access": "public",
18
- "registry": "https://registry.npmjs.org"
13
+ "bugs": {
14
+ "url": "https://github.com/sonofmagic/weapp-tailwindcss/issues"
19
15
  },
20
16
  "keywords": [
21
17
  "tailwindcss",
22
18
  "core-plugins",
23
19
  "extractor"
24
20
  ],
25
- "author": "SonOfMagic <qq1324318532@gmail.com>",
26
- "license": "MIT",
27
- "bugs": {
28
- "url": "https://github.com/sonofmagic/tailwindcss-core-plugins-extractor/issues"
29
- },
30
- "homepage": "https://github.com/sonofmagic/tailwindcss-core-plugins-extractor#readme",
31
- "devDependencies": {
32
- "@icebreakers/eslint-config-ts": "^1.2.3",
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"
21
+ "main": "dist/index.cjs",
22
+ "module": "dist/index.js",
23
+ "types": "dist/index.d.ts",
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "registry": "https://registry.npmjs.org"
65
30
  },
66
31
  "scripts": {
67
- "dev": "pnpm clean && pnpm dts && cross-env NODE_ENV=development rollup --config rollup.config.ts --configPlugin typescript -w",
68
- "build": "pnpm clean && pnpm dts && cross-env NODE_ENV=production rollup --config rollup.config.ts --configPlugin typescript",
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",
32
+ "extract": "node scripts/main.js",
33
+ "build": "tsup",
82
34
  "sync": "cnpm sync tailwindcss-core-plugins-extractor"
83
35
  }
84
36
  }