From 3a27f627df278f6c9778a55f44cb347665b65204 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:23:16 +0530 Subject: [PATCH] chore(deps)!: update postcss-load-config to v6 (#15235) Co-authored-by: bluwy Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com> --- .npmrc | 1 - docs/guide/migration.md | 4 + eslint.config.js | 1 - packages/vite/LICENSE.md | 21 --- packages/vite/package.json | 16 ++- packages/vite/rollup.config.ts | 130 ++++++++++------- playground/tailwind/package.json | 3 +- playground/tailwind/postcss.config.ts | 8 +- ...{tailwind.config.js => tailwind.config.ts} | 6 +- pnpm-lock.yaml | 134 +++++------------- 10 files changed, 145 insertions(+), 179 deletions(-) rename playground/tailwind/{tailwind.config.js => tailwind.config.ts} (81%) diff --git a/.npmrc b/.npmrc index ff6f1665b13102..3c758b7ba41b57 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,3 @@ -hoist-pattern[]=ts-node # package/vite: postcss-load-config hoist-pattern[]=postcss # package/vite hoist-pattern[]=pug # playground/tailwind: @vue/compiler-sfc shell-emulator=true diff --git a/docs/guide/migration.md b/docs/guide/migration.md index 05c5b5bcf4f72e..a48b9faccb8db4 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -20,6 +20,10 @@ From Vite 6, even when `json.stringify: true` is set, `json.namedExports` is not Vite 6 also introduces a new default value for `json.stringify` which is `'auto'`, which will only stringify large JSON files. To disable this behavior, set `json.stringify: false`. +### postcss-load-config + +[`postcss-load-config`](https://npmjs.com/package/postcss-load-config) has been updated to v6 from v4. [`tsx`](https://www.npmjs.com/package/tsx) or [`jiti`](https://www.npmjs.com/package/jiti) is now required to load TypeScript postcss config files instead of [`ts-node`](https://www.npmjs.com/package/ts-node). Also [`yaml`](https://www.npmjs.com/package/yaml) is now required to load YAML postcss config files. + ### Sass now uses modern API by default In Vite 5, the legacy API was used by default for Sass. Vite 5.4 added support for the modern API. diff --git a/eslint.config.js b/eslint.config.js index d34a24adc7cdd3..69fffe1692cde6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -203,7 +203,6 @@ export default tseslint.config( 'playground/**/*dep*/**', 'playground/resolve/browser-module-field2/index.web.js', 'playground/resolve/browser-field/**', - 'playground/tailwind/**', // blocked by https://github.com/postcss/postcss-load-config/issues/239 ], rules: { 'import-x/no-commonjs': 'error', diff --git a/packages/vite/LICENSE.md b/packages/vite/LICENSE.md index cccba70e5d37d9..247fa945327298 100644 --- a/packages/vite/LICENSE.md +++ b/packages/vite/LICENSE.md @@ -2518,24 +2518,3 @@ Repository: git+https://github.com/websockets/ws.git > COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER > IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN > CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ---------------------------------------- - -## yaml -License: ISC -By: Eemeli Aro -Repository: github:eemeli/yaml - -> Copyright Eemeli Aro -> -> Permission to use, copy, modify, and/or distribute this software for any purpose -> with or without fee is hereby granted, provided that the above copyright notice -> and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -> FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -> OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -> TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -> THIS SOFTWARE. diff --git a/packages/vite/package.json b/packages/vite/package.json index 19cc3928519ab3..0e399e473380a6 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -136,7 +136,7 @@ "picocolors": "^1.1.1", "picomatch": "^4.0.2", "postcss-import": "^16.1.0", - "postcss-load-config": "^4.0.2", + "postcss-load-config": "^6.0.1", "postcss-modules": "^6.0.0", "resolve.exports": "^2.0.2", "rollup-plugin-dts": "^6.1.1", @@ -157,18 +157,24 @@ }, "peerDependencies": { "@types/node": "^18.0.0 || >=20.0.0", + "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", - "terser": "^5.16.0" + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" }, "peerDependenciesMeta": { "@types/node": { "optional": true }, + "jiti": { + "optional": true + }, "sass": { "optional": true }, @@ -189,6 +195,12 @@ }, "terser": { "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true } } } diff --git a/packages/vite/rollup.config.ts b/packages/vite/rollup.config.ts index fd5c406e70644f..e72752a82194f5 100644 --- a/packages/vite/rollup.config.ts +++ b/packages/vite/rollup.config.ts @@ -99,6 +99,10 @@ const nodeConfig = defineConfig({ 'fsevents', 'lightningcss', 'rollup/parseAst', + // postcss-load-config + 'yaml', + 'jiti', + /^tsx(\/|$)/, ...Object.keys(pkg.dependencies), ], plugins: [ @@ -107,35 +111,50 @@ const nodeConfig = defineConfig({ // Shim them with eval() so rollup can skip these calls. shimDepsPlugin({ // chokidar -> fsevents - 'fsevents-handler.js': { - src: `require('fsevents')`, - replacement: `__require('fsevents')`, - }, + 'fsevents-handler.js': [ + { + src: `require('fsevents')`, + replacement: `__require('fsevents')`, + }, + ], // postcss-import -> sugarss - 'process-content.js': { - src: 'require("sugarss")', - replacement: `__require('sugarss')`, - }, - 'lilconfig/src/index.js': { - pattern: /: require;/g, - replacement: `: __require;`, - }, - // postcss-load-config calls require after register ts-node - 'postcss-load-config/src/index.js': { - pattern: /require(?=\((configFile|'ts-node')\))/g, - replacement: `__require`, - }, + 'process-content.js': [ + { + src: 'require("sugarss")', + replacement: `__require('sugarss')`, + }, + ], + 'lilconfig/src/index.js': [ + { + pattern: /: require;/g, + replacement: ': __require;', + }, + ], + 'postcss-load-config/src/req.js': [ + { + src: "const { pathToFileURL } = require('node:url')", + replacement: `const { fileURLToPath, pathToFileURL } = require('node:url')`, + }, + { + src: '__filename', + replacement: 'fileURLToPath(import.meta.url)', + }, + ], // postcss-import uses the `resolve` dep if the `resolve` option is not passed. // However, we always pass the `resolve` option. Remove this import to avoid // bundling the `resolve` dep. - 'postcss-import/index.js': { - src: 'const resolveId = require("./lib/resolve-id")', - replacement: 'const resolveId = (id) => id', - }, - 'postcss-import/lib/parse-styles.js': { - src: 'const resolveId = require("./resolve-id")', - replacement: 'const resolveId = (id) => id', - }, + 'postcss-import/index.js': [ + { + src: 'const resolveId = require("./lib/resolve-id")', + replacement: 'const resolveId = (id) => id', + }, + ], + 'postcss-import/lib/parse-styles.js': [ + { + src: 'const resolveId = require("./resolve-id")', + replacement: 'const resolveId = (id) => id', + }, + ], }), ...createSharedNodePlugins({}), licensePlugin( @@ -199,7 +218,7 @@ interface ShimOptions { pattern?: RegExp } -function shimDepsPlugin(deps: Record): Plugin { +function shimDepsPlugin(deps: Record): Plugin { const transformed: Record = {} return { @@ -207,38 +226,45 @@ function shimDepsPlugin(deps: Record): Plugin { transform(code, id) { for (const file in deps) { if (id.replace(/\\/g, '/').endsWith(file)) { - const { src, replacement, pattern } = deps[file] + for (const { src, replacement, pattern } of deps[file]) { + const magicString = new MagicString(code) - const magicString = new MagicString(code) - if (src) { - const pos = code.indexOf(src) - if (pos < 0) { - this.error( - `Could not find expected src "${src}" in file "${file}"`, - ) - } - transformed[file] = true - magicString.overwrite(pos, pos + src.length, replacement) - console.log(`shimmed: ${file}`) - } - - if (pattern) { - let match - while ((match = pattern.exec(code))) { + if (src) { + const pos = code.indexOf(src) + if (pos < 0) { + this.error( + `Could not find expected src "${src}" in file "${file}"`, + ) + } transformed[file] = true - const start = match.index - const end = start + match[0].length - magicString.overwrite(start, end, replacement) + magicString.overwrite(pos, pos + src.length, replacement) } - if (!transformed[file]) { - this.error( - `Could not find expected pattern "${pattern}" in file "${file}"`, - ) + + if (pattern) { + let match + while ((match = pattern.exec(code))) { + transformed[file] = true + const start = match.index + const end = start + match[0].length + let _replacement = replacement + for (let i = 1; i <= match.length; i++) { + _replacement = _replacement.replace(`$${i}`, match[i] || '') + } + magicString.overwrite(start, end, _replacement) + } + if (!transformed[file]) { + this.error( + `Could not find expected pattern "${pattern}" in file "${file}"`, + ) + } } - console.log(`shimmed: ${file}`) + + code = magicString.toString() } - return magicString.toString() + console.log(`shimmed: ${file}`) + + return code } } }, diff --git a/playground/tailwind/package.json b/playground/tailwind/package.json index bb3f7526497cd9..e66bf393d1d73b 100644 --- a/playground/tailwind/package.json +++ b/playground/tailwind/package.json @@ -2,6 +2,7 @@ "name": "@vitejs/test-tailwind", "private": true, "version": "0.0.0", + "type": "module", "scripts": { "dev": "vite", "build": "vite build", @@ -15,6 +16,6 @@ "vue-router": "^4.4.5" }, "devDependencies": { - "ts-node": "^10.9.2" + "tsx": "^4.11.0" } } diff --git a/playground/tailwind/postcss.config.ts b/playground/tailwind/postcss.config.ts index 065645ac26db0c..34abdccd458241 100644 --- a/playground/tailwind/postcss.config.ts +++ b/playground/tailwind/postcss.config.ts @@ -1,7 +1,11 @@ // postcss.config.ts -module.exports = { +import { fileURLToPath } from 'node:url' + +export default { plugins: { - tailwindcss: { config: __dirname + '/tailwind.config.js' }, + tailwindcss: { + config: fileURLToPath(new URL('./tailwind.config.ts', import.meta.url)), + }, autoprefixer: {}, }, } diff --git a/playground/tailwind/tailwind.config.js b/playground/tailwind/tailwind.config.ts similarity index 81% rename from playground/tailwind/tailwind.config.js rename to playground/tailwind/tailwind.config.ts index e4504c499e78f0..eed5fdfcdd0434 100644 --- a/playground/tailwind/tailwind.config.js +++ b/playground/tailwind/tailwind.config.ts @@ -1,6 +1,6 @@ -/** @type {import('tailwindcss').Config} */ +import type { Config } from 'tailwindcss' -module.exports = { +export default { content: [ // Before editing this section, make sure no paths are matching with `/src/main.js` // Look https://github.com/vitejs/vite/pull/6959 for more details @@ -14,4 +14,4 @@ module.exports = { extend: {}, }, plugins: [], -} +} satisfies Config diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c750eeffe50dd3..7e9b299c2288b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -370,8 +370,8 @@ importers: specifier: ^16.1.0 version: 16.1.0(postcss@8.4.47) postcss-load-config: - specifier: ^4.0.2 - version: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)) + specifier: ^6.0.1 + version: 6.0.1(jiti@1.21.0)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.0) postcss-modules: specifier: ^6.0.0 version: 6.0.0(postcss@8.4.47) @@ -517,7 +517,7 @@ importers: version: 1.80.3 tailwindcss: specifier: ^3.4.14 - version: 3.4.14(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)) + version: 3.4.14 tinyglobby: specifier: ^0.2.10 version: 0.2.10 @@ -1586,7 +1586,7 @@ importers: version: 10.4.20(postcss@8.4.47) tailwindcss: specifier: ^3.4.14 - version: 3.4.14(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)) + version: 3.4.14 vue: specifier: ^3.5.12 version: 3.5.12(typescript@5.6.2) @@ -1594,15 +1594,15 @@ importers: specifier: ^4.4.5 version: 4.4.5(vue@3.5.12(typescript@5.6.2)) devDependencies: - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@20.16.13)(typescript@5.6.2) + tsx: + specifier: ^4.11.0 + version: 4.19.1 playground/tailwind-sourcemap: dependencies: tailwindcss: specifier: ^3.4.14 - version: 3.4.14(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)) + version: 3.4.14 playground/transform-plugin: {} @@ -3251,18 +3251,6 @@ packages: resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==} engines: {node: '>=18'} - '@tsconfig/node10@1.0.8': - resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} - - '@tsconfig/node12@1.0.9': - resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} - - '@tsconfig/node14@1.0.1': - resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} - - '@tsconfig/node16@1.0.2': - resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} - '@type-challenges/utils@0.1.1': resolution: {integrity: sha512-A7ljYfBM+FLw+NDyuYvGBJiCEV9c0lPWEAdzfOAkb3JFqfLl0Iv/WhWMMARHiRKlmmiD1g8gz/507yVvHdQUYA==} @@ -3965,9 +3953,6 @@ packages: engines: {node: '>=10'} deprecated: This package is no longer supported. - arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -4364,9 +4349,6 @@ packages: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} - create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} @@ -4493,10 +4475,6 @@ packages: didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} - diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -5451,9 +5429,6 @@ packages: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} - make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - mark.js@8.11.1: resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==} @@ -5995,6 +5970,24 @@ packages: ts-node: optional: true + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-modules-extract-imports@3.0.0: resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} engines: {node: ^10 || ^12 || >= 14} @@ -6805,20 +6798,6 @@ packages: ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - ts-node@10.9.2: - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - tsconfck@3.1.4: resolution: {integrity: sha512-kdqWFGVJqe+KGYvlSO9NIaWn9jT1Ny4oKVzAJsKii5eoE9snzTJzL4+MMVOMn+fikWGFmKEylcXL710V/kIPJQ==} engines: {node: ^18 || >=20} @@ -6977,9 +6956,6 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} - v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -7163,10 +7139,6 @@ packages: engines: {node: '>= 14'} hasBin: true - yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -8714,14 +8686,6 @@ snapshots: '@sindresorhus/merge-streams@4.0.0': {} - '@tsconfig/node10@1.0.8': {} - - '@tsconfig/node12@1.0.9': {} - - '@tsconfig/node14@1.0.1': {} - - '@tsconfig/node16@1.0.2': {} - '@type-challenges/utils@0.1.1': {} '@types/babel__core@7.20.5': @@ -9460,8 +9424,6 @@ snapshots: delegates: 1.0.0 readable-stream: 3.6.0 - arg@4.1.3: {} - arg@5.0.2: {} argparse@2.0.1: {} @@ -9877,8 +9839,6 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - create-require@1.1.1: {} - cross-spawn@7.0.3: dependencies: path-key: 3.1.1 @@ -9965,8 +9925,6 @@ snapshots: didyoumean@1.2.2: {} - diff@4.0.2: {} - dir-glob@3.0.1: dependencies: path-type: 4.0.0 @@ -11086,8 +11044,6 @@ snapshots: dependencies: semver: 6.3.1 - make-error@1.3.6: {} - mark.js@8.11.1: {} markdown-table@3.0.3: {} @@ -11703,13 +11659,21 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.47 - postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)): + postcss-load-config@4.0.2(postcss@8.4.47): dependencies: lilconfig: 3.1.2 yaml: 2.5.0 optionalDependencies: postcss: 8.4.47 - ts-node: 10.9.2(@types/node@20.16.13)(typescript@5.6.2) + + postcss-load-config@6.0.1(jiti@1.21.0)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.0): + dependencies: + lilconfig: 3.1.2 + optionalDependencies: + jiti: 1.21.0 + postcss: 8.4.47 + tsx: 4.19.1 + yaml: 2.5.0 postcss-modules-extract-imports@3.0.0(postcss@8.4.47): dependencies: @@ -12462,7 +12426,7 @@ snapshots: tabbable@6.2.0: {} - tailwindcss@3.4.14(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)): + tailwindcss@3.4.14: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -12481,7 +12445,7 @@ snapshots: postcss: 8.4.47 postcss-import: 15.1.0(postcss@8.4.47) postcss-js: 4.0.1(postcss@8.4.47) - postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2)) + postcss-load-config: 4.0.2(postcss@8.4.47) postcss-nested: 6.2.0(postcss@8.4.47) postcss-selector-parser: 6.1.1 resolve: 1.22.8 @@ -12564,24 +12528,6 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@types/node@20.16.13)(typescript@5.6.2): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.8 - '@tsconfig/node12': 1.0.9 - '@tsconfig/node14': 1.0.1 - '@tsconfig/node16': 1.0.2 - '@types/node': 20.16.13 - acorn: 8.13.0(patch_hash=alg6ojsgkjjglvaj7cjzzaqhim) - acorn-walk: 8.3.2 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.6.2 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - tsconfck@3.1.4(typescript@5.6.2): optionalDependencies: typescript: 5.6.2 @@ -12758,8 +12704,6 @@ snapshots: utils-merge@1.0.1: {} - v8-compile-cache-lib@3.0.1: {} - validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -12974,8 +12918,6 @@ snapshots: yaml@2.5.0: {} - yn@3.1.1: {} - yocto-queue@0.1.0: {} yoctocolors@2.1.1: {}