tailwind-styled-v4 1.0.0 → 1.0.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 +467 -189
- package/dist/cli/init.js +208 -0
- package/dist/index.d.mts +63 -34
- package/dist/index.d.ts +63 -34
- package/dist/index.js +3 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -77
package/package.json
CHANGED
|
@@ -1,44 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwind-styled-v4",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Tailwind CSS v4 + styled-components — variant engine, prop engine, zero-runtime compiler",
|
|
5
5
|
"author": "Dictionar32",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"stitches",
|
|
15
|
-
"panda-css",
|
|
16
|
-
"twin.macro",
|
|
17
|
-
"react",
|
|
18
|
-
"next.js",
|
|
19
|
-
"vite",
|
|
20
|
-
"zero-runtime",
|
|
21
|
-
"typescript",
|
|
22
|
-
"shadcn",
|
|
23
|
-
"radix",
|
|
24
|
-
"headless-ui"
|
|
25
|
-
],
|
|
26
|
-
"homepage": "https://github.com/Dictionar32/tailwind-styled-v4.1.2",
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/Dictionar32/tailwind-styled-v4.1.2.git"
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/Dictionar32/tailwind-styled-v4.1.2/issues"
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsup",
|
|
12
|
+
"dev": "tsup --watch",
|
|
13
|
+
"clean": "rm -rf dist"
|
|
33
14
|
},
|
|
34
|
-
"main": "dist/index.js",
|
|
35
|
-
"module": "dist/index.mjs",
|
|
36
|
-
"types": "dist/index.d.ts",
|
|
37
15
|
"exports": {
|
|
38
16
|
".": {
|
|
39
17
|
"types": "./dist/index.d.ts",
|
|
40
18
|
"import": "./dist/index.mjs",
|
|
41
|
-
"require": "./dist/index.js"
|
|
19
|
+
"require": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.mjs"
|
|
42
21
|
},
|
|
43
22
|
"./compiler": {
|
|
44
23
|
"types": "./dist/compiler/index.d.ts",
|
|
@@ -51,6 +30,9 @@
|
|
|
51
30
|
"./turbopack-loader": {
|
|
52
31
|
"require": "./dist/turbopack-loader.js"
|
|
53
32
|
},
|
|
33
|
+
"./cli": {
|
|
34
|
+
"require": "./dist/cli/init.js"
|
|
35
|
+
},
|
|
54
36
|
"./package.json": "./package.json"
|
|
55
37
|
},
|
|
56
38
|
"files": [
|
|
@@ -61,61 +43,25 @@
|
|
|
61
43
|
],
|
|
62
44
|
"sideEffects": false,
|
|
63
45
|
"engines": {
|
|
64
|
-
"node": ">=18
|
|
46
|
+
"node": ">=18"
|
|
65
47
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"build:safelist": "ts-node -P tsconfig.test.json scripts/extract-css.ts",
|
|
70
|
-
"build:all": "npm run build:types && npm run build",
|
|
71
|
-
"analyze": "npm run build && ts-node -P tsconfig.test.json scripts/analyze-bundle.ts",
|
|
72
|
-
"dev": "tsup --watch",
|
|
73
|
-
"prepare": "npm run build",
|
|
74
|
-
"setup": "ts-node -P tsconfig.test.json src/setup/intellisense.ts",
|
|
75
|
-
"test": "npm run test:unit && npm run test:snapshot",
|
|
76
|
-
"test:unit": "ts-node -P tsconfig.test.json tests/unit/propEngine.unit.test.ts && ts-node -P tsconfig.test.json tests/unit/validator.test.ts",
|
|
77
|
-
"test:snapshot": "ts-node -P tsconfig.test.json tests/integration/snapshot.test.ts",
|
|
78
|
-
"test:legacy": "ts-node -P tsconfig.test.json tests/variant.test.ts && ts-node -P tsconfig.test.json tests/propEngine.test.ts && ts-node -P tsconfig.test.json tests/responsive.test.ts && ts-node -P tsconfig.test.json tests/zeroRuntime.test.ts",
|
|
79
|
-
"test:all": "npm run test && npm run test:legacy",
|
|
80
|
-
"typecheck": "tsc --noEmit",
|
|
81
|
-
"lint": "eslint src tests",
|
|
82
|
-
"lint:fix": "eslint src tests --fix",
|
|
83
|
-
"format": "prettier --write src tests scripts starters",
|
|
84
|
-
"format:check": "prettier --check src tests scripts starters",
|
|
85
|
-
"clean": "rm -rf dist bundle-report.json tailwind.safelist.json"
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"clsx": "^2",
|
|
50
|
+
"tailwind-merge": "^3"
|
|
86
51
|
},
|
|
87
52
|
"peerDependencies": {
|
|
88
|
-
"clsx": "^2",
|
|
89
53
|
"react": ">=18",
|
|
90
54
|
"react-dom": ">=18",
|
|
91
|
-
"styled-components": ">=6"
|
|
92
|
-
"tailwind-merge": "^3"
|
|
93
|
-
},
|
|
94
|
-
"peerDependenciesMeta": {
|
|
95
|
-
"clsx": {
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"tailwind-merge": {
|
|
99
|
-
"optional": true
|
|
100
|
-
}
|
|
55
|
+
"styled-components": ">=6"
|
|
101
56
|
},
|
|
102
57
|
"devDependencies": {
|
|
103
|
-
"@
|
|
58
|
+
"@types/node": "^20",
|
|
104
59
|
"@types/react": "^19",
|
|
105
60
|
"@types/react-dom": "^19",
|
|
106
|
-
"@types/styled-components": "^5",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^8",
|
|
108
|
-
"@typescript-eslint/parser": "^8",
|
|
109
|
-
"eslint": "^9",
|
|
110
|
-
"eslint-plugin-react": "^7",
|
|
111
|
-
"eslint-plugin-react-hooks": "^5",
|
|
112
|
-
"prettier": "^3",
|
|
113
|
-
"ts-node": "^10",
|
|
114
61
|
"tsup": "^8",
|
|
115
|
-
"typescript": "^5"
|
|
116
|
-
"typescript-eslint": "^8"
|
|
62
|
+
"typescript": "^5"
|
|
117
63
|
},
|
|
118
|
-
"
|
|
119
|
-
"
|
|
64
|
+
"bin": {
|
|
65
|
+
"tailwind-styled-v4": "./dist/cli/init.js"
|
|
120
66
|
}
|
|
121
67
|
}
|