Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 01:51:36 +00:00
parent a4605e311a
commit 58905d02c2
28599 changed files with 2179074 additions and 0 deletions

21
node_modules/prettier-plugin-tailwindcss/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) Tailwind Labs Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR 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.

49
node_modules/prettier-plugin-tailwindcss/README.md generated vendored Normal file
View File

@@ -0,0 +1,49 @@
<img src="https://raw.githubusercontent.com/tailwindlabs/prettier-plugin-tailwindcss/main/.github/banner.jpg" alt="prettier-plugin-tailwindcss" />
A [Prettier](https://prettier.io/) plugin for Tailwind CSS v3.0+ that automatically sorts classes based on [our recommended class order](https://tailwindcss.com/blog/automatic-class-sorting-with-prettier#how-classes-are-sorted).
## Installation
To get started, just install `prettier-plugin-tailwindcss` as a dev-dependency:
```sh
npm install -D prettier prettier-plugin-tailwindcss
```
This plugin follows Prettiers autoloading convention, so as long as youve got Prettier set up in your project, itll start working automatically as soon as its installed.
_Note that plugin autoloading is not supported when using certain package managers, such as pnpm or Yarn PnP. In this case you may need to add the plugin to your Prettier config explicitly:_
```js
// prettier.config.js
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
}
```
## Resolving your Tailwind configuration
To ensure that the class sorting is taking into consideration any of your project's Tailwind customizations, it needs access to your [Tailwind configuration file](https://tailwindcss.com/docs/configuration) (`tailwind.config.js`).
By default the plugin will look for this file in the same directory as your Prettier configuration file. However, if your Tailwind configuration is somewhere else, you can specify this using the `tailwindConfig` option in your Prettier configuration.
Note that paths are resolved relative to the Prettier configuration file.
```js
// prettier.config.js
module.exports = {
tailwindConfig: './styles/tailwind.config.js',
}
```
If a local configuration file cannot be found the plugin will fallback to the default Tailwind configuration.
## Compatibility with other Prettier plugins
To make this plugin work we had to use private Prettier APIs that can only be used by a single plugin at once. This means this plugin is incompatible with other Prettier plugins that are using the same APIs.
The most popular example we know of is [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte), which can't be installed at the same time as the Tailwind CSS plugin.
To work around this, we've bundled `prettier-plugin-svelte` directly into `prettier-plugin-tailwindcss`, so if you'd like to use this plugin with Svelte, just uninstall `prettier-plugin-svelte` and everything should work as expected.
If you discover any other incompatibilities, please share them in [this issue](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/issues/31) and hopefully we can figure out a way to make it work.

52
node_modules/prettier-plugin-tailwindcss/package.json generated vendored Normal file
View File

@@ -0,0 +1,52 @@
{
"name": "prettier-plugin-tailwindcss",
"version": "0.1.13",
"description": "A Prettier plugin for sorting Tailwind CSS classes.",
"main": "dist/index.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/tailwindlabs/prettier-plugin-tailwindcss"
},
"bugs": {
"url": "https://github.com/tailwindlabs/prettier-plugin-tailwindcss/issues"
},
"scripts": {
"_pre": "rimraf dist && cpy node_modules/tailwindcss/lib/css dist/css",
"_esbuild": "node build.js",
"prebuild": "npm run _pre",
"build": "npm run _esbuild -- --minify",
"predev": "npm run _pre",
"dev": "npm run _esbuild -- --watch",
"test": "jest",
"prepublishOnly": "npm run build && npm test && node scripts/copy-licenses.js",
"format": "prettier \"src/**/*.js\" \"scripts/**/*.js\" \"tests/test.js\" --write --print-width 100 --single-quote --no-semi --plugin-search-dir ./tests"
},
"devDependencies": {
"@tailwindcss/line-clamp": "^0.3.0",
"cpy-cli": "^3.1.1",
"esbuild": "^0.14.11",
"escalade": "^3.1.1",
"import-fresh": "^3.3.0",
"import-from": "^4.0.0",
"jest": "^27.4.7",
"jsesc": "^2.5.2",
"license-checker": "^25.0.1",
"line-column": "^1.0.2",
"object-hash": "^2.2.0",
"prettier": "^2.5.1",
"prettier-plugin-svelte": "^2.7.0",
"recast": "^0.20.5",
"rimraf": "^3.0.2",
"svelte": "^3.46.4",
"tailwindcss": "^3.0.23"
},
"peerDependencies": {
"prettier": ">=2.2.0"
},
"engines": {
"node": ">=12.17.0"
}
}