前端初始化
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 webfansplz
|
||||
|
||||
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.
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
# @vue/devtools-api
|
||||
|
||||
> Plugins API for easier DevTools integrations.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Please follow the documentation at [devtools.vuejs.org](https://devtools.vuejs.org/plugins/api).
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
//#region src/index-node.ts
|
||||
function addCustomCommand() {}
|
||||
function addCustomTab() {}
|
||||
function onDevToolsClientConnected(_fn) {
|
||||
return new Promise(() => {});
|
||||
}
|
||||
function onDevToolsConnected(_fn) {
|
||||
return new Promise(() => {});
|
||||
}
|
||||
function removeCustomCommand() {}
|
||||
function setupDevToolsPlugin(_pluginDescriptor, _setupFn) {}
|
||||
//#endregion
|
||||
exports.addCustomCommand = addCustomCommand;
|
||||
exports.addCustomTab = addCustomTab;
|
||||
exports.onDevToolsClientConnected = onDevToolsClientConnected;
|
||||
exports.onDevToolsConnected = onDevToolsConnected;
|
||||
exports.removeCustomCommand = removeCustomCommand;
|
||||
exports.setupDevToolsPlugin = setupDevToolsPlugin;
|
||||
exports.setupDevtoolsPlugin = setupDevToolsPlugin;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { CustomCommand, CustomTab, PluginDescriptor, PluginSetupFunction } from "@vue/devtools-kit";
|
||||
|
||||
//#region src/index-node.d.ts
|
||||
declare function addCustomCommand(): void;
|
||||
declare function addCustomTab(): void;
|
||||
declare function onDevToolsClientConnected(_fn: () => void): Promise<void>;
|
||||
declare function onDevToolsConnected(_fn: () => void): Promise<void>;
|
||||
declare function removeCustomCommand(): void;
|
||||
declare function setupDevToolsPlugin(_pluginDescriptor: PluginDescriptor, _setupFn: PluginSetupFunction): void;
|
||||
//#endregion
|
||||
export { type CustomCommand, type CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { CustomCommand, CustomTab, PluginDescriptor, PluginSetupFunction } from "@vue/devtools-kit";
|
||||
|
||||
//#region src/index-node.d.ts
|
||||
declare function addCustomCommand(): void;
|
||||
declare function addCustomTab(): void;
|
||||
declare function onDevToolsClientConnected(_fn: () => void): Promise<void>;
|
||||
declare function onDevToolsConnected(_fn: () => void): Promise<void>;
|
||||
declare function removeCustomCommand(): void;
|
||||
declare function setupDevToolsPlugin(_pluginDescriptor: PluginDescriptor, _setupFn: PluginSetupFunction): void;
|
||||
//#endregion
|
||||
export { type CustomCommand, type CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//#region src/index-node.ts
|
||||
function addCustomCommand() {}
|
||||
function addCustomTab() {}
|
||||
function onDevToolsClientConnected(_fn) {
|
||||
return new Promise(() => {});
|
||||
}
|
||||
function onDevToolsConnected(_fn) {
|
||||
return new Promise(() => {});
|
||||
}
|
||||
function removeCustomCommand() {}
|
||||
function setupDevToolsPlugin(_pluginDescriptor, _setupFn) {}
|
||||
//#endregion
|
||||
export { addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
let _vue_devtools_kit = require("@vue/devtools-kit");
|
||||
Object.defineProperty(exports, "addCustomCommand", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.addCustomCommand;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "addCustomTab", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.addCustomTab;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "onDevToolsClientConnected", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.onDevToolsClientConnected;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "onDevToolsConnected", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.onDevToolsConnected;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "removeCustomCommand", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.removeCustomCommand;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "setupDevToolsPlugin", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.setupDevToolsPlugin;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "setupDevtoolsPlugin", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _vue_devtools_kit.setupDevToolsPlugin;
|
||||
}
|
||||
});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { CustomCommand, CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin } from "@vue/devtools-kit";
|
||||
export { type CustomCommand, type CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevtoolsPlugin };
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { CustomCommand, CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin } from "@vue/devtools-kit";
|
||||
export { type CustomCommand, type CustomTab, addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevtoolsPlugin };
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin } from "@vue/devtools-kit";
|
||||
export { addCustomCommand, addCustomTab, onDevToolsClientConnected, onDevToolsConnected, removeCustomCommand, setupDevToolsPlugin, setupDevtoolsPlugin };
|
||||
+1771
File diff suppressed because it is too large
Load Diff
+1781
File diff suppressed because it is too large
Load Diff
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "@vue/devtools-api",
|
||||
"type": "module",
|
||||
"version": "8.2.1",
|
||||
"author": "webfansplz",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"directory": "packages/devtools-api",
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/devtools.git"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index-node.js",
|
||||
"require": "./dist/index-node.cjs"
|
||||
},
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.js",
|
||||
"unpkg": "dist/vue-devtools-api.global.js",
|
||||
"jsdelivr": "dist/vue-devtools-api.global.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@vue/devtools-kit": "^8.2.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown --clean",
|
||||
"prepare:type": "tsdown --dts-only",
|
||||
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user