This PR cleans up the noisy test output where some `console.warn` messages were leaking into the test output. This also uses the `src/` files instead of the `dist/` files of `@tailwindcss/node` to get rid of a source map related warning in tests. It also means that we don't have to rebuild `@tailwindcss/node` when we make changes. ## Test plan 1. Existing tests pass 2. Output is clean when running tests (`vitest run --reporter=minimal`) Before: <img width="1193" height="1376" alt="image" src="https://github.com/user-attachments/assets/9aceab62-cd99-4391-9734-0ae5c4c3fb48" /> After: <img width="1099" height="294" alt="image" src="https://github.com/user-attachments/assets/3ada4a0a-8a7a-48a7-9fbd-f3d5dd8700a5" />
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "@tailwindcss/node",
|
|
"version": "4.2.4",
|
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tailwindlabs/tailwindcss.git",
|
|
"directory": "packages/@tailwindcss-node"
|
|
},
|
|
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
|
|
"homepage": "https://tailwindcss.com",
|
|
"scripts": {
|
|
"build": "tsup-node",
|
|
"dev": "pnpm run build -- --watch"
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"publishConfig": {
|
|
"provenance": true,
|
|
"access": "public",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./require-cache": {
|
|
"types": "./dist/require-cache.d.ts",
|
|
"default": "./dist/require-cache.js"
|
|
},
|
|
"./esm-cache-loader": {
|
|
"types": "./dist/esm-cache.loader.d.mts",
|
|
"default": "./dist/esm-cache.loader.mjs"
|
|
}
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts",
|
|
"require": "./src/index.cts"
|
|
},
|
|
"./require-cache": {
|
|
"types": "./src/require-cache.ts",
|
|
"import": "./src/require-cache.ts",
|
|
"require": "./src/require-cache.cts"
|
|
},
|
|
"./esm-cache-loader": {
|
|
"types": "./src/esm-cache.loader.mts",
|
|
"default": "./src/esm-cache.loader.mts"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@jridgewell/remapping": "^2.3.5",
|
|
"enhanced-resolve": "^5.21.0",
|
|
"jiti": "^2.6.1",
|
|
"lightningcss": "catalog:",
|
|
"magic-string": "^0.30.21",
|
|
"source-map-js": "^1.2.1",
|
|
"tailwindcss": "workspace:*"
|
|
}
|
|
}
|