added gitignore & removed node_modules

This commit is contained in:
2026-01-12 10:57:35 -05:00
parent 3669dbfd51
commit ff88990fc7
4007 changed files with 1447 additions and 790893 deletions

View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2019-PRESENT Anthony Fu<https://github.com/antfu>
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.

View File

@@ -1,78 +0,0 @@
//#region types.d.ts
interface PackageManifest {
name: string;
display: string;
addon?: boolean;
author?: string;
description?: string;
external?: string[];
globals?: Record<string, string>;
manualImport?: boolean;
deprecated?: boolean;
submodules?: boolean;
build?: boolean;
iife?: boolean;
mjs?: boolean;
dts?: boolean;
target?: string;
utils?: boolean;
copy?: string[];
}
interface VueUseFunction {
name: string;
package: string;
importPath?: string;
lastUpdated?: number;
category?: string;
description?: string;
docs?: string;
deprecated?: boolean;
internal?: boolean;
component?: boolean;
directive?: boolean;
external?: string;
alias?: string[];
related?: string[];
}
interface VueUsePackage extends PackageManifest {
dir: string;
docs?: string;
}
interface PackageIndexes {
packages: Record<string, VueUsePackage>;
categories: string[];
functions: VueUseFunction[];
}
interface CommitInfo {
functions: string[];
version?: string;
hash: string;
date: string;
message: string;
refs?: string;
body?: string;
author_name: string;
author_email: string;
}
interface ContributorInfo {
name: string;
count: number;
hash: string;
}
//#endregion
//#region metadata.d.ts
declare const metadata: PackageIndexes;
declare const functions: PackageIndexes["functions"];
declare const packages: PackageIndexes["packages"];
declare const categories: PackageIndexes["categories"];
declare const functionNames: string[];
declare const categoryNames: string[];
declare const coreCategoryNames: string[];
declare const addonCategoryNames: string[];
declare function getFunction(name: string): VueUseFunction | undefined;
//#endregion
//#region utils.d.ts
declare function getCategories(functions: VueUseFunction[]): string[];
declare function uniq<T extends any[]>(a: T): any[];
//#endregion
export { CommitInfo, ContributorInfo, PackageIndexes, PackageManifest, VueUseFunction, VueUsePackage, addonCategoryNames, categories, categoryNames, coreCategoryNames, functionNames, functions, getCategories, getFunction, metadata, packages, uniq };

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,38 +0,0 @@
{
"name": "@vueuse/metadata",
"type": "module",
"version": "14.1.0",
"description": "Metadata for VueUse functions",
"author": "Anthony Fu <https://github.com/antfu>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/vueuse/vueuse/tree/main/packages/metadata#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vueuse/vueuse.git",
"directory": "packages/metadata"
},
"bugs": {
"url": "https://github.com/vueuse/vueuse/issues"
},
"keywords": [
"vue",
"vue-use"
],
"sideEffects": false,
"exports": {
".": "./dist/index.js",
"./*": "./dist/*"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"update": "tsx scripts/update.ts",
"build": "tsdown",
"test:attw": "attw --pack --config-path ../../.attw.json ."
}
}