tailwind-styled-v4 5.0.27 → 5.0.28
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 +21 -21
- package/README.md +575 -575
- package/dist/analyzer.js.map +1 -1
- package/dist/analyzer.mjs.map +1 -1
- package/dist/animate.js.map +1 -1
- package/dist/animate.mjs.map +1 -1
- package/dist/atomic.js.map +1 -1
- package/dist/atomic.mjs.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/compiler.js +2 -1
- package/dist/compiler.js.map +1 -1
- package/dist/compiler.mjs +2 -1
- package/dist/compiler.mjs.map +1 -1
- package/dist/dashboard.d.mts +69 -69
- package/dist/dashboard.d.ts +69 -69
- package/dist/dashboard.js.map +1 -1
- package/dist/dashboard.mjs.map +1 -1
- package/dist/devtools.js.map +1 -1
- package/dist/devtools.mjs.map +1 -1
- package/dist/engine.js +2 -1
- package/dist/engine.js.map +1 -1
- package/dist/engine.mjs +2 -1
- package/dist/engine.mjs.map +1 -1
- package/dist/index.browser.mjs +16 -16
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +27 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -24
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +2 -1
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +2 -1
- package/dist/next.mjs.map +1 -1
- package/dist/plugin-api.js.map +1 -1
- package/dist/plugin-api.mjs.map +1 -1
- package/dist/plugin-registry.js.map +1 -1
- package/dist/plugin-registry.mjs.map +1 -1
- package/dist/plugin.js.map +1 -1
- package/dist/plugin.mjs.map +1 -1
- package/dist/preset.js.map +1 -1
- package/dist/preset.mjs.map +1 -1
- package/dist/rspack.js.map +1 -1
- package/dist/rspack.mjs.map +1 -1
- package/dist/runtime-css.js.map +1 -1
- package/dist/runtime-css.mjs.map +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/runtime.mjs.map +1 -1
- package/dist/scanner.js.map +1 -1
- package/dist/scanner.mjs.map +1 -1
- package/dist/shared.js +2 -1
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs +2 -1
- package/dist/shared.mjs.map +1 -1
- package/dist/storybook-addon.js.map +1 -1
- package/dist/storybook-addon.mjs.map +1 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/syntax.js.map +1 -1
- package/dist/syntax.mjs.map +1 -1
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs.map +1 -1
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs.map +1 -1
- package/dist/turbopackLoader.js +2 -1
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/turbopackLoader.mjs +2 -1
- package/dist/turbopackLoader.mjs.map +1 -1
- package/dist/tw.js +0 -0
- package/dist/tw.js.map +1 -1
- package/dist/tw.mjs +0 -0
- package/dist/tw.mjs.map +1 -1
- package/dist/vite.js +2 -1
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +2 -1
- package/dist/vite.mjs.map +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/dist/webpackLoader.js +2 -1
- package/dist/webpackLoader.js.map +1 -1
- package/dist/webpackLoader.mjs +2 -1
- package/dist/webpackLoader.mjs.map +1 -1
- package/native/tailwind-styled-native.node +0 -0
- package/package.json +296 -289
- package/native/tailwind-styled-native.win32-x64-msvc.node +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,289 +1,296 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tailwind-styled-v4",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"packageManager": "npm@11.11.1",
|
|
5
|
-
"engines": {
|
|
6
|
-
"node": ">=20"
|
|
7
|
-
},
|
|
8
|
-
"description": "PRO Engine: styled-components + Tailwind CSS v4, zero-runtime compile, variant system, responsive props, plugin ecosystem",
|
|
9
|
-
"author": "Dictionar32",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"bin": {
|
|
12
|
-
"tw": "dist/tw.js"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"tailwind",
|
|
16
|
-
"tailwindcss",
|
|
17
|
-
"styled-components",
|
|
18
|
-
"css-in-js",
|
|
19
|
-
"variants",
|
|
20
|
-
"cva",
|
|
21
|
-
"stitches",
|
|
22
|
-
"panda-css",
|
|
23
|
-
"twin.macro",
|
|
24
|
-
"react",
|
|
25
|
-
"next.js",
|
|
26
|
-
"vite",
|
|
27
|
-
"zero-runtime",
|
|
28
|
-
"typescript",
|
|
29
|
-
"shadcn",
|
|
30
|
-
"radix",
|
|
31
|
-
"headless-ui"
|
|
32
|
-
],
|
|
33
|
-
"homepage": "https://github.com/Dictionar32/css-in-rust",
|
|
34
|
-
"repository": {
|
|
35
|
-
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/Dictionar32/css-in-rust.git"
|
|
37
|
-
},
|
|
38
|
-
"workspaces": [
|
|
39
|
-
"packages/domain/*",
|
|
40
|
-
"packages/infrastructure/*",
|
|
41
|
-
"packages/presentation/*"
|
|
42
|
-
],
|
|
43
|
-
"bugs": {
|
|
44
|
-
"url": "https://github.com/Dictionar32/css-in-rust/issues"
|
|
45
|
-
},
|
|
46
|
-
"readme": "README.md",
|
|
47
|
-
"main": "dist/index.js",
|
|
48
|
-
"module": "dist/index.mjs",
|
|
49
|
-
"types": "dist/index.d.ts",
|
|
50
|
-
"files": [
|
|
51
|
-
"dist",
|
|
52
|
-
"native/tailwind-styled-native*.node",
|
|
53
|
-
"README.md",
|
|
54
|
-
"CHANGELOG.md",
|
|
55
|
-
"LICENSE"
|
|
56
|
-
],
|
|
57
|
-
"exports": {
|
|
58
|
-
".": {
|
|
59
|
-
"types": "./dist/index.d.ts",
|
|
60
|
-
"browser": "./dist/index.browser.mjs",
|
|
61
|
-
"import": "./dist/index.mjs",
|
|
62
|
-
"require": "./dist/index.js"
|
|
63
|
-
},
|
|
64
|
-
"./compiler": {
|
|
65
|
-
"types": "./dist/compiler.d.ts",
|
|
66
|
-
"import": "./dist/compiler.mjs",
|
|
67
|
-
"require": "./dist/compiler.js"
|
|
68
|
-
},
|
|
69
|
-
"./animate": {
|
|
70
|
-
"types": "./dist/animate.d.ts",
|
|
71
|
-
"import": "./dist/animate.mjs",
|
|
72
|
-
"require": "./dist/animate.js"
|
|
73
|
-
},
|
|
74
|
-
"./scanner": {
|
|
75
|
-
"types": "./dist/scanner.d.ts",
|
|
76
|
-
"import": "./dist/scanner.mjs",
|
|
77
|
-
"require": "./dist/scanner.js"
|
|
78
|
-
},
|
|
79
|
-
"./engine": {
|
|
80
|
-
"types": "./dist/engine.d.ts",
|
|
81
|
-
"import": "./dist/engine.mjs",
|
|
82
|
-
"require": "./dist/engine.js"
|
|
83
|
-
},
|
|
84
|
-
"./theme": {
|
|
85
|
-
"types": "./dist/theme.d.ts",
|
|
86
|
-
"import": "./dist/theme.mjs",
|
|
87
|
-
"require": "./dist/theme.js"
|
|
88
|
-
},
|
|
89
|
-
"./preset": {
|
|
90
|
-
"types": "./dist/preset.d.ts",
|
|
91
|
-
"import": "./dist/preset.mjs",
|
|
92
|
-
"require": "./dist/preset.js"
|
|
93
|
-
},
|
|
94
|
-
"./cli": {
|
|
95
|
-
"types": "./dist/cli.d.ts",
|
|
96
|
-
"import": "./dist/cli.mjs",
|
|
97
|
-
"require": "./dist/cli.js"
|
|
98
|
-
},
|
|
99
|
-
"./analyzer": {
|
|
100
|
-
"types": "./dist/analyzer.d.ts",
|
|
101
|
-
"import": "./dist/analyzer.mjs",
|
|
102
|
-
"require": "./dist/analyzer.js"
|
|
103
|
-
},
|
|
104
|
-
"./shared": {
|
|
105
|
-
"types": "./dist/shared.d.ts",
|
|
106
|
-
"import": "./dist/shared.mjs",
|
|
107
|
-
"require": "./dist/shared.js"
|
|
108
|
-
},
|
|
109
|
-
"./runtime": {
|
|
110
|
-
"types": "./dist/runtime.d.ts",
|
|
111
|
-
"import": "./dist/runtime.mjs",
|
|
112
|
-
"require": "./dist/runtime.js"
|
|
113
|
-
},
|
|
114
|
-
"./runtime-css": {
|
|
115
|
-
"types": "./dist/runtime-css.d.ts",
|
|
116
|
-
"browser": "./dist/runtime-css.mjs",
|
|
117
|
-
"import": "./dist/runtime-css.mjs",
|
|
118
|
-
"require": "./dist/runtime-css.js"
|
|
119
|
-
},
|
|
120
|
-
"./plugin": {
|
|
121
|
-
"types": "./dist/plugin.d.ts",
|
|
122
|
-
"import": "./dist/plugin.mjs",
|
|
123
|
-
"require": "./dist/plugin.js"
|
|
124
|
-
},
|
|
125
|
-
"./plugin-api": {
|
|
126
|
-
"types": "./dist/plugin-api.d.ts",
|
|
127
|
-
"import": "./dist/plugin-api.mjs",
|
|
128
|
-
"require": "./dist/plugin-api.js"
|
|
129
|
-
},
|
|
130
|
-
"./plugin-registry": {
|
|
131
|
-
"types": "./dist/plugin-registry.d.ts",
|
|
132
|
-
"import": "./dist/plugin-registry.mjs",
|
|
133
|
-
"require": "./dist/plugin-registry.js"
|
|
134
|
-
},
|
|
135
|
-
"./next": {
|
|
136
|
-
"types": "./dist/next.d.ts",
|
|
137
|
-
"import": "./dist/next.mjs",
|
|
138
|
-
"require": "./dist/next.js"
|
|
139
|
-
},
|
|
140
|
-
"./vite": {
|
|
141
|
-
"types": "./dist/vite.d.ts",
|
|
142
|
-
"import": "./dist/vite.mjs",
|
|
143
|
-
"require": "./dist/vite.js"
|
|
144
|
-
},
|
|
145
|
-
"./rspack": {
|
|
146
|
-
"types": "./dist/rspack.d.ts",
|
|
147
|
-
"import": "./dist/rspack.mjs",
|
|
148
|
-
"require": "./dist/rspack.js"
|
|
149
|
-
},
|
|
150
|
-
"./vue": {
|
|
151
|
-
"types": "./dist/vue.d.ts",
|
|
152
|
-
"import": "./dist/vue.mjs",
|
|
153
|
-
"require": "./dist/vue.js"
|
|
154
|
-
},
|
|
155
|
-
"./svelte": {
|
|
156
|
-
"types": "./dist/svelte.d.ts",
|
|
157
|
-
"import": "./dist/svelte.mjs",
|
|
158
|
-
"require": "./dist/svelte.js"
|
|
159
|
-
},
|
|
160
|
-
"./syntax": {
|
|
161
|
-
"types": "./dist/syntax.d.ts",
|
|
162
|
-
"import": "./dist/syntax.mjs",
|
|
163
|
-
"require": "./dist/syntax.js"
|
|
164
|
-
},
|
|
165
|
-
"./testing": {
|
|
166
|
-
"types": "./dist/testing.d.ts",
|
|
167
|
-
"import": "./dist/testing.mjs",
|
|
168
|
-
"require": "./dist/testing.js"
|
|
169
|
-
},
|
|
170
|
-
"./storybook-addon": {
|
|
171
|
-
"types": "./dist/storybook-addon.d.ts",
|
|
172
|
-
"import": "./dist/storybook-addon.mjs",
|
|
173
|
-
"require": "./dist/storybook-addon.js"
|
|
174
|
-
},
|
|
175
|
-
"./devtools": {
|
|
176
|
-
"types": "./dist/devtools.d.ts",
|
|
177
|
-
"import": "./dist/devtools.mjs",
|
|
178
|
-
"require": "./dist/devtools.js"
|
|
179
|
-
},
|
|
180
|
-
"./atomic": {
|
|
181
|
-
"types": "./dist/atomic.d.ts",
|
|
182
|
-
"import": "./dist/atomic.mjs",
|
|
183
|
-
"require": "./dist/atomic.js"
|
|
184
|
-
},
|
|
185
|
-
"./dashboard": {
|
|
186
|
-
"types": "./dist/dashboard.d.ts",
|
|
187
|
-
"import": "./dist/dashboard.mjs",
|
|
188
|
-
"require": "./dist/dashboard.js"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"scripts": {
|
|
192
|
-
"build": "npm run build:rust && npm run build:packages && rm -rf dist && tsup --config tsup.config.ts && tsup --config tsup.dts.config.ts && npm run example:build",
|
|
193
|
-
"build:packages": "turbo run build --continue",
|
|
194
|
-
"build:rust": "cd native && napi build --release",
|
|
195
|
-
"build:dev": "npm run build:packages && rm -rf dist && tsup --config tsup.config.ts --sourcemap --watch",
|
|
196
|
-
"build:release": "npm run build:rust && npm run build:packages && rm -rf dist && tsup --config tsup.config.ts --no-sourcemap && tsup --config tsup.dts.config.ts && npm run example:build",
|
|
197
|
-
"verify:builds": "npm run build && cd examples/next-js-app && npm install --ignore-scripts && npx tsc --noEmit || echo \"[verify:builds] example typecheck done\"",
|
|
198
|
-
"clean": "rm -rf dist && turbo run clean --continue",
|
|
199
|
-
"dev": "tsup --config tsup.config.ts --watch",
|
|
200
|
-
"test": "npx tsc --noEmit -p examples/next-js-app/tsconfig.json",
|
|
201
|
-
"check": "turbo run check --continue && npm run check:types && npm run check:boundaries && npm run check:umbrella && npm run check:file-deps",
|
|
202
|
-
"check:types": "tsc --noEmit",
|
|
203
|
-
"check:boundaries": "depcruise --config dependency-cruiser.cjs packages",
|
|
204
|
-
"check:umbrella": "tsx scripts/check-umbrella-exports.ts",
|
|
205
|
-
"graph:file-deps": "tsx scripts/graph/monorepo-file-deps.ts",
|
|
206
|
-
"check:file-deps": "tsx scripts/graph/monorepo-file-deps.ts --check",
|
|
207
|
-
"validate:deps": "tsx scripts/validate/dependency-matrix-check.ts",
|
|
208
|
-
"lint": "biome check --write .",
|
|
209
|
-
"pack:check": "tsx scripts/check-pack-artifacts.ts",
|
|
210
|
-
"version:sync": "tsx scripts/version-sync.ts",
|
|
211
|
-
"schemas:generate": "tsx scripts/generate-json-schemas.ts",
|
|
212
|
-
"schemas:check": "tsx scripts/generate-json-schemas.ts --check",
|
|
213
|
-
"build:fast": "npm run build:packages && rm -rf dist && tsup --config tsup.config.ts && tsup --config tsup.dts.config.ts",
|
|
214
|
-
"validate": "tsx scripts/validate/final-report.ts",
|
|
215
|
-
"validate:json": "tsx scripts/validate/final-report.ts --json",
|
|
216
|
-
"health:summary": "npx tsx scripts/validate/health-summary.ts",
|
|
217
|
-
"scan:save": "npx tw scan --save",
|
|
218
|
-
"generate:schemas": "cargo run --bin export-schemas --manifest-path native/Cargo.toml 2>/dev/null && npx tsx scripts/generate-json-schemas.ts || npx tsx scripts/generate-json-schemas.ts",
|
|
219
|
-
"test:smoke": "node --test tests/smoke/*.test.mjs",
|
|
220
|
-
"test:smoke:pipeline": "node --test tests/smoke/pipeline.test.mjs",
|
|
221
|
-
"test:smoke:adapters": "node --test tests/smoke/adapters.test.mjs",
|
|
222
|
-
"test:smoke:imports": "node --test tests/smoke/root-imports.test.mjs",
|
|
223
|
-
"test:coverage": "c8 --reporter=text --reporter=html --reporter=lcov --all node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs packages/domain/*/src/*.test.mjs 2>/dev/null || true",
|
|
224
|
-
"test:coverage:check": "c8 check-coverage --lines 60 --branches 55 --functions 60",
|
|
225
|
-
"test:ci": "node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs tests/smoke/*.test.mjs 2>&1 | tee .ci-test-output.txt",
|
|
226
|
-
"test:all": "node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs packages/domain/*/__tests__/*.test.mjs packages/infrastructure/*/__tests__/*.test.mjs packages/presentation/*/__tests__/*.test.mjs tests/smoke/*.test.mjs",
|
|
227
|
-
"lint:fix": "npx biome check --write packages/domain/ packages/infrastructure/ packages/presentation/ --no-errors-on-unmatched",
|
|
228
|
-
"typecheck": "tsc --noEmit -p tsconfig.dev.json",
|
|
229
|
-
"check:binary-size": "node scripts/check-binary-size.mjs",
|
|
230
|
-
"check:binary-size:strict": "node scripts/check-binary-size.mjs --max-mb=15",
|
|
231
|
-
"validate:canary": "node scripts/validate-canary.mjs",
|
|
232
|
-
"validate:canary:ci": "node scripts/validate-canary.mjs shared compiler engine scanner core",
|
|
233
|
-
"generate:schemas:check": "npx tsx scripts/generate-json-schemas.ts && git diff --exit-code packages/domain/shared/src/generated/ || (echo \"Generated schemas differ — run npm run generate:schemas and commit\" && exit 1)",
|
|
234
|
-
"test:smoke:fallback": "TWS_NO_NATIVE=1 TWS_NO_RUST=1 node --test tests/smoke/*.test.mjs",
|
|
235
|
-
"validate:drift": "node scripts/validate/rust-ts-drift.mjs",
|
|
236
|
-
"validate:drift:check": "node scripts/validate/rust-ts-drift.mjs --check",
|
|
237
|
-
"validate:drift:json": "node scripts/validate/rust-ts-drift.mjs --json",
|
|
238
|
-
"test:fallback": "node scripts/test-fallback.mjs",
|
|
239
|
-
"example:build": "cd examples/next-js-app && npm install --ignore-scripts && npx next build --turbopack",
|
|
240
|
-
"example:dev": "cd examples/next-js-app && npm install --ignore-scripts && npx next dev",
|
|
241
|
-
"example:typecheck": "cd examples/next-js-app && npx tsc --noEmit",
|
|
242
|
-
"wave4:schema-drift": "npx tsx scripts/generate-json-schemas.ts --check 2>/dev/null || echo 'Schema drift check: schemas may need regeneration'",
|
|
243
|
-
"bench": "node benchmarks/hotpath.bench.mjs",
|
|
244
|
-
"bench:watch": "node --watch benchmarks/hotpath.bench.mjs",
|
|
245
|
-
"bench:full": "node benchmarks/hotpath.bench.mjs && node benchmarks/run.js",
|
|
246
|
-
"bench:native": "tsx benchmarks/native-parser-bench.ts"
|
|
247
|
-
},
|
|
248
|
-
"peerDependencies": {
|
|
249
|
-
"react": ">=18",
|
|
250
|
-
"react-dom": ">=18"
|
|
251
|
-
},
|
|
252
|
-
"peerDependenciesMeta": {
|
|
253
|
-
"react": {
|
|
254
|
-
"optional": true
|
|
255
|
-
},
|
|
256
|
-
"react-dom": {
|
|
257
|
-
"optional": true
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"devDependencies": {
|
|
261
|
-
"@biomejs/biome": "^2.4.10",
|
|
262
|
-
"@napi-rs/cli": "^3.6.2",
|
|
263
|
-
"@types/jest": "^30.0.0",
|
|
264
|
-
"@types/node": "^20.19.39",
|
|
265
|
-
"@types/react": "^19",
|
|
266
|
-
"dependency-cruiser": "^17.3.10",
|
|
267
|
-
"next": "^16.2.2",
|
|
268
|
-
"tsup": "^8.5.0",
|
|
269
|
-
"tsx": "^4.21.0",
|
|
270
|
-
"turbo": "^2.9.3",
|
|
271
|
-
"typescript": "^6.0.2",
|
|
272
|
-
"vite": "^8.0.8",
|
|
273
|
-
"vue": "^3.5.30"
|
|
274
|
-
},
|
|
275
|
-
"optionalDependencies": {
|
|
276
|
-
"@tailwind-styled/native-darwin-arm64": "5.0.6-canary.0.0",
|
|
277
|
-
"@tailwind-styled/native-darwin-x64": "5.0.6-canary.0.0",
|
|
278
|
-
"@tailwind-styled/native-linux-arm64-gnu": "5.0.6-canary.0.0",
|
|
279
|
-
"@tailwind-styled/native-linux-x64-gnu": "5.0.6-canary.0.0",
|
|
280
|
-
"@tailwind-styled/native-win32-x64-msvc": "5.0.6-canary.0.0",
|
|
281
|
-
"oxc-minify": "^0.120.0",
|
|
282
|
-
"oxc-parser": "^0.120.0",
|
|
283
|
-
"oxc-transform": "^0.120.0"
|
|
284
|
-
},
|
|
285
|
-
"dependencies": {
|
|
286
|
-
"@clack/prompts": "^1.1.0",
|
|
287
|
-
"ts-pattern": "^5.9.0"
|
|
288
|
-
}
|
|
289
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "tailwind-styled-v4",
|
|
3
|
+
"version": "5.0.28",
|
|
4
|
+
"packageManager": "npm@11.11.1",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=20"
|
|
7
|
+
},
|
|
8
|
+
"description": "PRO Engine: styled-components + Tailwind CSS v4, zero-runtime compile, variant system, responsive props, plugin ecosystem",
|
|
9
|
+
"author": "Dictionar32",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"bin": {
|
|
12
|
+
"tw": "dist/tw.js"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tailwind",
|
|
16
|
+
"tailwindcss",
|
|
17
|
+
"styled-components",
|
|
18
|
+
"css-in-js",
|
|
19
|
+
"variants",
|
|
20
|
+
"cva",
|
|
21
|
+
"stitches",
|
|
22
|
+
"panda-css",
|
|
23
|
+
"twin.macro",
|
|
24
|
+
"react",
|
|
25
|
+
"next.js",
|
|
26
|
+
"vite",
|
|
27
|
+
"zero-runtime",
|
|
28
|
+
"typescript",
|
|
29
|
+
"shadcn",
|
|
30
|
+
"radix",
|
|
31
|
+
"headless-ui"
|
|
32
|
+
],
|
|
33
|
+
"homepage": "https://github.com/Dictionar32/css-in-rust",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Dictionar32/css-in-rust.git"
|
|
37
|
+
},
|
|
38
|
+
"workspaces": [
|
|
39
|
+
"packages/domain/*",
|
|
40
|
+
"packages/infrastructure/*",
|
|
41
|
+
"packages/presentation/*"
|
|
42
|
+
],
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Dictionar32/css-in-rust/issues"
|
|
45
|
+
},
|
|
46
|
+
"readme": "README.md",
|
|
47
|
+
"main": "dist/index.js",
|
|
48
|
+
"module": "dist/index.mjs",
|
|
49
|
+
"types": "dist/index.d.ts",
|
|
50
|
+
"files": [
|
|
51
|
+
"dist",
|
|
52
|
+
"native/tailwind-styled-native*.node",
|
|
53
|
+
"README.md",
|
|
54
|
+
"CHANGELOG.md",
|
|
55
|
+
"LICENSE"
|
|
56
|
+
],
|
|
57
|
+
"exports": {
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./dist/index.d.ts",
|
|
60
|
+
"browser": "./dist/index.browser.mjs",
|
|
61
|
+
"import": "./dist/index.mjs",
|
|
62
|
+
"require": "./dist/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./compiler": {
|
|
65
|
+
"types": "./dist/compiler.d.ts",
|
|
66
|
+
"import": "./dist/compiler.mjs",
|
|
67
|
+
"require": "./dist/compiler.js"
|
|
68
|
+
},
|
|
69
|
+
"./animate": {
|
|
70
|
+
"types": "./dist/animate.d.ts",
|
|
71
|
+
"import": "./dist/animate.mjs",
|
|
72
|
+
"require": "./dist/animate.js"
|
|
73
|
+
},
|
|
74
|
+
"./scanner": {
|
|
75
|
+
"types": "./dist/scanner.d.ts",
|
|
76
|
+
"import": "./dist/scanner.mjs",
|
|
77
|
+
"require": "./dist/scanner.js"
|
|
78
|
+
},
|
|
79
|
+
"./engine": {
|
|
80
|
+
"types": "./dist/engine.d.ts",
|
|
81
|
+
"import": "./dist/engine.mjs",
|
|
82
|
+
"require": "./dist/engine.js"
|
|
83
|
+
},
|
|
84
|
+
"./theme": {
|
|
85
|
+
"types": "./dist/theme.d.ts",
|
|
86
|
+
"import": "./dist/theme.mjs",
|
|
87
|
+
"require": "./dist/theme.js"
|
|
88
|
+
},
|
|
89
|
+
"./preset": {
|
|
90
|
+
"types": "./dist/preset.d.ts",
|
|
91
|
+
"import": "./dist/preset.mjs",
|
|
92
|
+
"require": "./dist/preset.js"
|
|
93
|
+
},
|
|
94
|
+
"./cli": {
|
|
95
|
+
"types": "./dist/cli.d.ts",
|
|
96
|
+
"import": "./dist/cli.mjs",
|
|
97
|
+
"require": "./dist/cli.js"
|
|
98
|
+
},
|
|
99
|
+
"./analyzer": {
|
|
100
|
+
"types": "./dist/analyzer.d.ts",
|
|
101
|
+
"import": "./dist/analyzer.mjs",
|
|
102
|
+
"require": "./dist/analyzer.js"
|
|
103
|
+
},
|
|
104
|
+
"./shared": {
|
|
105
|
+
"types": "./dist/shared.d.ts",
|
|
106
|
+
"import": "./dist/shared.mjs",
|
|
107
|
+
"require": "./dist/shared.js"
|
|
108
|
+
},
|
|
109
|
+
"./runtime": {
|
|
110
|
+
"types": "./dist/runtime.d.ts",
|
|
111
|
+
"import": "./dist/runtime.mjs",
|
|
112
|
+
"require": "./dist/runtime.js"
|
|
113
|
+
},
|
|
114
|
+
"./runtime-css": {
|
|
115
|
+
"types": "./dist/runtime-css.d.ts",
|
|
116
|
+
"browser": "./dist/runtime-css.mjs",
|
|
117
|
+
"import": "./dist/runtime-css.mjs",
|
|
118
|
+
"require": "./dist/runtime-css.js"
|
|
119
|
+
},
|
|
120
|
+
"./plugin": {
|
|
121
|
+
"types": "./dist/plugin.d.ts",
|
|
122
|
+
"import": "./dist/plugin.mjs",
|
|
123
|
+
"require": "./dist/plugin.js"
|
|
124
|
+
},
|
|
125
|
+
"./plugin-api": {
|
|
126
|
+
"types": "./dist/plugin-api.d.ts",
|
|
127
|
+
"import": "./dist/plugin-api.mjs",
|
|
128
|
+
"require": "./dist/plugin-api.js"
|
|
129
|
+
},
|
|
130
|
+
"./plugin-registry": {
|
|
131
|
+
"types": "./dist/plugin-registry.d.ts",
|
|
132
|
+
"import": "./dist/plugin-registry.mjs",
|
|
133
|
+
"require": "./dist/plugin-registry.js"
|
|
134
|
+
},
|
|
135
|
+
"./next": {
|
|
136
|
+
"types": "./dist/next.d.ts",
|
|
137
|
+
"import": "./dist/next.mjs",
|
|
138
|
+
"require": "./dist/next.js"
|
|
139
|
+
},
|
|
140
|
+
"./vite": {
|
|
141
|
+
"types": "./dist/vite.d.ts",
|
|
142
|
+
"import": "./dist/vite.mjs",
|
|
143
|
+
"require": "./dist/vite.js"
|
|
144
|
+
},
|
|
145
|
+
"./rspack": {
|
|
146
|
+
"types": "./dist/rspack.d.ts",
|
|
147
|
+
"import": "./dist/rspack.mjs",
|
|
148
|
+
"require": "./dist/rspack.js"
|
|
149
|
+
},
|
|
150
|
+
"./vue": {
|
|
151
|
+
"types": "./dist/vue.d.ts",
|
|
152
|
+
"import": "./dist/vue.mjs",
|
|
153
|
+
"require": "./dist/vue.js"
|
|
154
|
+
},
|
|
155
|
+
"./svelte": {
|
|
156
|
+
"types": "./dist/svelte.d.ts",
|
|
157
|
+
"import": "./dist/svelte.mjs",
|
|
158
|
+
"require": "./dist/svelte.js"
|
|
159
|
+
},
|
|
160
|
+
"./syntax": {
|
|
161
|
+
"types": "./dist/syntax.d.ts",
|
|
162
|
+
"import": "./dist/syntax.mjs",
|
|
163
|
+
"require": "./dist/syntax.js"
|
|
164
|
+
},
|
|
165
|
+
"./testing": {
|
|
166
|
+
"types": "./dist/testing.d.ts",
|
|
167
|
+
"import": "./dist/testing.mjs",
|
|
168
|
+
"require": "./dist/testing.js"
|
|
169
|
+
},
|
|
170
|
+
"./storybook-addon": {
|
|
171
|
+
"types": "./dist/storybook-addon.d.ts",
|
|
172
|
+
"import": "./dist/storybook-addon.mjs",
|
|
173
|
+
"require": "./dist/storybook-addon.js"
|
|
174
|
+
},
|
|
175
|
+
"./devtools": {
|
|
176
|
+
"types": "./dist/devtools.d.ts",
|
|
177
|
+
"import": "./dist/devtools.mjs",
|
|
178
|
+
"require": "./dist/devtools.js"
|
|
179
|
+
},
|
|
180
|
+
"./atomic": {
|
|
181
|
+
"types": "./dist/atomic.d.ts",
|
|
182
|
+
"import": "./dist/atomic.mjs",
|
|
183
|
+
"require": "./dist/atomic.js"
|
|
184
|
+
},
|
|
185
|
+
"./dashboard": {
|
|
186
|
+
"types": "./dist/dashboard.d.ts",
|
|
187
|
+
"import": "./dist/dashboard.mjs",
|
|
188
|
+
"require": "./dist/dashboard.js"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"scripts": {
|
|
192
|
+
"build": "npm run build:rust && npm run build:packages && rm -rf dist && tsup --config tsup.config.ts && tsup --config tsup.dts.config.ts && npm run example:build",
|
|
193
|
+
"build:packages": "turbo run build --continue",
|
|
194
|
+
"build:rust": "cd native && napi build --release",
|
|
195
|
+
"build:dev": "npm run build:packages && rm -rf dist && tsup --config tsup.config.ts --sourcemap --watch",
|
|
196
|
+
"build:release": "npm run build:rust && npm run build:packages && rm -rf dist && tsup --config tsup.config.ts --no-sourcemap && tsup --config tsup.dts.config.ts && npm run example:build",
|
|
197
|
+
"verify:builds": "npm run build && cd examples/next-js-app && npm install --ignore-scripts && npx tsc --noEmit || echo \"[verify:builds] example typecheck done\"",
|
|
198
|
+
"clean": "rm -rf dist && turbo run clean --continue",
|
|
199
|
+
"dev": "tsup --config tsup.config.ts --watch",
|
|
200
|
+
"test": "npx tsc --noEmit -p examples/next-js-app/tsconfig.json",
|
|
201
|
+
"check": "turbo run check --continue && npm run check:types && npm run check:boundaries && npm run check:umbrella && npm run check:file-deps",
|
|
202
|
+
"check:types": "tsc --noEmit",
|
|
203
|
+
"check:boundaries": "depcruise --config dependency-cruiser.cjs packages",
|
|
204
|
+
"check:umbrella": "tsx scripts/check-umbrella-exports.ts",
|
|
205
|
+
"graph:file-deps": "tsx scripts/graph/monorepo-file-deps.ts",
|
|
206
|
+
"check:file-deps": "tsx scripts/graph/monorepo-file-deps.ts --check",
|
|
207
|
+
"validate:deps": "tsx scripts/validate/dependency-matrix-check.ts",
|
|
208
|
+
"lint": "biome check --write .",
|
|
209
|
+
"pack:check": "tsx scripts/check-pack-artifacts.ts",
|
|
210
|
+
"version:sync": "tsx scripts/version-sync.ts",
|
|
211
|
+
"schemas:generate": "tsx scripts/generate-json-schemas.ts",
|
|
212
|
+
"schemas:check": "tsx scripts/generate-json-schemas.ts --check",
|
|
213
|
+
"build:fast": "npm run build:packages && rm -rf dist && tsup --config tsup.config.ts && tsup --config tsup.dts.config.ts",
|
|
214
|
+
"validate": "tsx scripts/validate/final-report.ts",
|
|
215
|
+
"validate:json": "tsx scripts/validate/final-report.ts --json",
|
|
216
|
+
"health:summary": "npx tsx scripts/validate/health-summary.ts",
|
|
217
|
+
"scan:save": "npx tw scan --save",
|
|
218
|
+
"generate:schemas": "cargo run --bin export-schemas --manifest-path native/Cargo.toml 2>/dev/null && npx tsx scripts/generate-json-schemas.ts || npx tsx scripts/generate-json-schemas.ts",
|
|
219
|
+
"test:smoke": "node --test tests/smoke/*.test.mjs",
|
|
220
|
+
"test:smoke:pipeline": "node --test tests/smoke/pipeline.test.mjs",
|
|
221
|
+
"test:smoke:adapters": "node --test tests/smoke/adapters.test.mjs",
|
|
222
|
+
"test:smoke:imports": "node --test tests/smoke/root-imports.test.mjs",
|
|
223
|
+
"test:coverage": "c8 --reporter=text --reporter=html --reporter=lcov --all node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs packages/domain/*/src/*.test.mjs 2>/dev/null || true",
|
|
224
|
+
"test:coverage:check": "c8 check-coverage --lines 60 --branches 55 --functions 60",
|
|
225
|
+
"test:ci": "node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs tests/smoke/*.test.mjs 2>&1 | tee .ci-test-output.txt",
|
|
226
|
+
"test:all": "node --test packages/domain/*/tests/*.test.mjs packages/infrastructure/*/tests/*.test.mjs packages/presentation/*/tests/*.test.mjs packages/domain/*/__tests__/*.test.mjs packages/infrastructure/*/__tests__/*.test.mjs packages/presentation/*/__tests__/*.test.mjs tests/smoke/*.test.mjs",
|
|
227
|
+
"lint:fix": "npx biome check --write packages/domain/ packages/infrastructure/ packages/presentation/ --no-errors-on-unmatched",
|
|
228
|
+
"typecheck": "tsc --noEmit -p tsconfig.dev.json",
|
|
229
|
+
"check:binary-size": "node scripts/check-binary-size.mjs",
|
|
230
|
+
"check:binary-size:strict": "node scripts/check-binary-size.mjs --max-mb=15",
|
|
231
|
+
"validate:canary": "node scripts/validate-canary.mjs",
|
|
232
|
+
"validate:canary:ci": "node scripts/validate-canary.mjs shared compiler engine scanner core",
|
|
233
|
+
"generate:schemas:check": "npx tsx scripts/generate-json-schemas.ts && git diff --exit-code packages/domain/shared/src/generated/ || (echo \"Generated schemas differ — run npm run generate:schemas and commit\" && exit 1)",
|
|
234
|
+
"test:smoke:fallback": "TWS_NO_NATIVE=1 TWS_NO_RUST=1 node --test tests/smoke/*.test.mjs",
|
|
235
|
+
"validate:drift": "node scripts/validate/rust-ts-drift.mjs",
|
|
236
|
+
"validate:drift:check": "node scripts/validate/rust-ts-drift.mjs --check",
|
|
237
|
+
"validate:drift:json": "node scripts/validate/rust-ts-drift.mjs --json",
|
|
238
|
+
"test:fallback": "node scripts/test-fallback.mjs",
|
|
239
|
+
"example:build": "cd examples/next-js-app && npm install --ignore-scripts && npx next build --turbopack",
|
|
240
|
+
"example:dev": "cd examples/next-js-app && npm install --ignore-scripts && npx next dev",
|
|
241
|
+
"example:typecheck": "cd examples/next-js-app && npx tsc --noEmit",
|
|
242
|
+
"wave4:schema-drift": "npx tsx scripts/generate-json-schemas.ts --check 2>/dev/null || echo 'Schema drift check: schemas may need regeneration'",
|
|
243
|
+
"bench": "node benchmarks/hotpath.bench.mjs",
|
|
244
|
+
"bench:watch": "node --watch benchmarks/hotpath.bench.mjs",
|
|
245
|
+
"bench:full": "node benchmarks/hotpath.bench.mjs && node benchmarks/run.js",
|
|
246
|
+
"bench:native": "tsx benchmarks/native-parser-bench.ts"
|
|
247
|
+
},
|
|
248
|
+
"peerDependencies": {
|
|
249
|
+
"react": ">=18",
|
|
250
|
+
"react-dom": ">=18"
|
|
251
|
+
},
|
|
252
|
+
"peerDependenciesMeta": {
|
|
253
|
+
"react": {
|
|
254
|
+
"optional": true
|
|
255
|
+
},
|
|
256
|
+
"react-dom": {
|
|
257
|
+
"optional": true
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"devDependencies": {
|
|
261
|
+
"@biomejs/biome": "^2.4.10",
|
|
262
|
+
"@napi-rs/cli": "^3.6.2",
|
|
263
|
+
"@types/jest": "^30.0.0",
|
|
264
|
+
"@types/node": "^20.19.39",
|
|
265
|
+
"@types/react": "^19",
|
|
266
|
+
"dependency-cruiser": "^17.3.10",
|
|
267
|
+
"next": "^16.2.2",
|
|
268
|
+
"tsup": "^8.5.0",
|
|
269
|
+
"tsx": "^4.21.0",
|
|
270
|
+
"turbo": "^2.9.3",
|
|
271
|
+
"typescript": "^6.0.2",
|
|
272
|
+
"vite": "^8.0.8",
|
|
273
|
+
"vue": "^3.5.30"
|
|
274
|
+
},
|
|
275
|
+
"optionalDependencies": {
|
|
276
|
+
"@tailwind-styled/native-darwin-arm64": "5.0.6-canary.0.0",
|
|
277
|
+
"@tailwind-styled/native-darwin-x64": "5.0.6-canary.0.0",
|
|
278
|
+
"@tailwind-styled/native-linux-arm64-gnu": "5.0.6-canary.0.0",
|
|
279
|
+
"@tailwind-styled/native-linux-x64-gnu": "5.0.6-canary.0.0",
|
|
280
|
+
"@tailwind-styled/native-win32-x64-msvc": "5.0.6-canary.0.0",
|
|
281
|
+
"oxc-minify": "^0.120.0",
|
|
282
|
+
"oxc-parser": "^0.120.0",
|
|
283
|
+
"oxc-transform": "^0.120.0"
|
|
284
|
+
},
|
|
285
|
+
"dependencies": {
|
|
286
|
+
"@clack/prompts": "^1.1.0",
|
|
287
|
+
"ts-pattern": "^5.9.0"
|
|
288
|
+
},
|
|
289
|
+
"allowScripts": {
|
|
290
|
+
"electron@35.7.5": true,
|
|
291
|
+
"electron-winstaller@5.4.0": true,
|
|
292
|
+
"esbuild@0.27.7": true,
|
|
293
|
+
"esbuild@0.28.1": true,
|
|
294
|
+
"sharp@0.34.5": true
|
|
295
|
+
}
|
|
296
|
+
}
|
|
Binary file
|