Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 02:20:32 +00:00
parent a4605e311a
commit 71de1506ca
28603 changed files with 2179459 additions and 0 deletions

21
node_modules/@0no-co/graphql.web/LICENSE.md generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 0no.co
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.

79
node_modules/@0no-co/graphql.web/README.md generated vendored Normal file
View File

@@ -0,0 +1,79 @@
<div align="center">
<h2>@0no-co/graphql.web</h2>
<strong>The spec-compliant minimum of client-side GraphQL.</strong>
<br />
<br />
<a href="https://github.com/0no-co/graphql.web/actions/workflows/release.yml">
<img alt="CI Status" src="https://github.com/0no-co/graphql.web/actions/workflows/release.yml/badge.svg?branch=main" />
</a>
<a href="https://npmjs.com/package/@0no-co/graphql.web">
<img alt="Bundlesize" src="https://deno.bundlejs.com/?q=@0no-co/graphql.web&badge" />
</a>
<a href="https://urql.dev/discord">
<img alt="Discord" src="https://img.shields.io/discord/1082378892523864074?color=7389D8&label&logo=discord&logoColor=ffffff" />
</a>
<br />
<br />
</div>
`@0no-co/graphql.web` is a utility library, aiming to provide the minimum of
functions that typical GraphQL clients need and would usually import from
`graphql`, e.g. a GraphQL query parser, printer, and visitor.
While its goal isnt to be an exact match to [the GraphQL.js
API](https://graphql.org/graphql-js/graphql/) it aims to remain API- and
type-compatible where possible and necessary. However, its goal is to provide
the smallest implementation for common GraphQL utilities that are still either
spec-compliant or compatible with GraphQL.js implementation.
> **Note:** If youre instead looking for a drop-in replacement for the
> `graphql` package that you can just alias into your web apps, read more about
> the [`graphql-web-lite` project](https://github.com/0no-co/graphql-web-lite),
> which uses this library to shim the `graphql` package.
[`@urql/core`](https://github.com/urql-graphql/urql) depends on this package to
power its GraphQL query parsing and printing. **If youre using `@urql/core@^4`
youre already using this library! ✨**
### Overview
`@0no-co/graphql.web` aims to provide a minimal set of exports to implement
client-side GraphQL utilities, mostly including parsing, printing, and visiting
the GraphQL AST, and the `GraphQLError` class.
Currently, `graphql.web` compresses to under 4kB and doesnt regress on
GraphQL.js performance when parsing, printing, or visiting the AST.
For all primary APIs we aim to hit 100% test coverage and match the output,
types, and API compatibility of GraphQL.js, including — as far as possible
 TypeScript type compatibility of the AST types with the currently stable
version of GraphQL.js.
### API
Currently, only a select few exports are provided — namely, the ones listed here
are used in `@urql/core`, and we expect them to be common in all client-side
GraphQL applications.
| Export | Description | Links |
| --------------------- | ------------------------------------------------------------------ | -------------------------- |
| `parse` | A tiny (but compliant) GraphQL query language parser. | [Source](./src/parser.ts) |
| `print` | A (compliant) GraphQL query language printer. | [Source](./src/printer.ts) |
| `visit` | A recursive reimplementation of GraphQL.js visitor. | [Source](./src/printer.ts) |
| `Kind` | The GraphQL.js `Kind` enum, containing supported `ASTNode` kinds. | [Source](./src/kind.ts) |
| `GraphQLError` | `GraphQLError` stripped of source/location debugging. | [Source](./src/kind.ts) |
| `valueFromASTUntyped` | Coerces AST values into JS values. | [Source](./src/values.ts) |
The stated goals of any reimplementation are:
1. Not to implement any execution or type system parts of the GraphQL
specification.
2. To adhere to GraphQL.js types and APIs as much as possible.
3. Not to implement or expose any rarely used APIs or properties of the
GraphQL.js library.
4. To provide a minimal and maintainable subset of GraphQL.js utilities.
Therefore, while we can foresee implementing APIs that are entirely separate and
unrelated to the GraphQL.js library in the future, for now the stated goals are
designed to allow this library to be used by GraphQL clients, like
[`@urql/core`](https://github.com/urql-graphql/urql).

115
node_modules/@0no-co/graphql.web/package.json generated vendored Normal file
View File

@@ -0,0 +1,115 @@
{
"name": "@0no-co/graphql.web",
"description": "A spec-compliant client-side GraphQL implementation",
"version": "1.2.0",
"author": "0no.co <hi@0no.co>",
"source": "./src/index.ts",
"main": "./dist/graphql.web",
"module": "./dist/graphql.web.mjs",
"types": "./dist/graphql.web.d.ts",
"sideEffects": false,
"files": [
"LICENSE",
"README.md",
"dist/"
],
"exports": {
".": {
"types": "./dist/graphql.web.d.ts",
"import": "./dist/graphql.web.mjs",
"require": "./dist/graphql.web.js",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"peerDependenciesMeta": {
"graphql": {
"optional": true
}
},
"public": true,
"keywords": [
"graphql",
"graphql-js",
"client-side graphql"
],
"repository": "https://github.com/0no-co/graphql.web",
"bugs": {
"url": "https://github.com/0no-co/graphql.web/issues"
},
"license": "MIT",
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"printWidth": 100,
"trailingComma": "es5"
},
"lint-staged": {
"*.{ts,js}": "eslint -c scripts/eslint-preset.js --fix",
"*.json": "prettier --write",
"*.md": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --quiet --relative"
}
},
"eslintConfig": {
"root": true,
"extends": [
"./scripts/eslint-preset.js"
]
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@babel/plugin-transform-block-scoping": "^7.23.4",
"@babel/plugin-transform-typescript": "^7.23.6",
"@changesets/cli": "^2.27.1",
"@changesets/get-github-info": "^0.6.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitest/coverage-v8": "^1.2.2",
"dotenv": "^16.4.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"husky-v4": "^4.3.8",
"jsr": "^0.12.1",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"rollup": "^4.9.6",
"rollup-plugin-cjs-check": "^1.0.3",
"rollup-plugin-dts": "^6.1.0",
"terser": "^5.27.0",
"typescript": "^5.3.3",
"vitest": "^1.2.2",
"graphql15": "npm:graphql@^15.8.0",
"graphql16": "npm:graphql@^16.8.1",
"graphql17": "npm:graphql@^17.0.0-alpha.3"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"test": "vitest test",
"bench": "vitest bench --typecheck.enabled=false",
"check": "tsc",
"lint": "eslint --ext=js,ts .",
"build": "rollup -c scripts/rollup.config.mjs",
"clean": "rimraf dist node_modules/.cache",
"changeset:version": "changeset version && pnpm install --lockfile-only && node ./scripts/jsr.js",
"changeset:publish": "changeset publish && jsr publish"
}
}