auto-vue-basic 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # Npm-Basic
@@ -0,0 +1,11 @@
1
+ const n = {
2
+ install: (e, i) => {
3
+ if (!i.requestBaseUrl)
4
+ throw new Error("requestBaseUrl is required");
5
+ Reflect.ownKeys(e._context.provides).some((r) => String(r) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.");
6
+ },
7
+ version: "__VERSION__"
8
+ };
9
+ export {
10
+ n as default
11
+ };
@@ -0,0 +1 @@
1
+ (function(i,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(i=typeof globalThis<"u"?globalThis:i||self,i.AutoVueBasic=e())})(this,function(){"use strict";return{install:(e,n)=>{if(!n.requestBaseUrl)throw new Error("requestBaseUrl is required");Reflect.ownKeys(e._context.provides).some(o=>String(o)==="Symbol(pinia)")||console.warn("Pinia is not provided. Please install and provide Pinia in your app.")},version:"__VERSION__"}});
@@ -0,0 +1,2 @@
1
+ declare const protoApi: any;
2
+ export default protoApi;
File without changes
@@ -0,0 +1,6 @@
1
+ import { App } from 'vue';
2
+ declare const installer: {
3
+ install: (app: App, options: any) => void;
4
+ version: string;
5
+ };
6
+ export default installer;
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export const __VERSION__ = "0.0.1'
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "auto-vue-basic",
3
+ "version": "0.0.2",
4
+ "type": "module",
5
+ "main": "./dist/auto-vue-basic.umd.js",
6
+ "module": "./dist/auto-vue-basic.es.js",
7
+ "types": "./dist/types/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "dev": "vite --port 9000",
13
+ "dev:5173": "vite --port 5173",
14
+ "build:pub": "npm run build && npm run publish:latest && npm run update:auto",
15
+ "build": "rm -rf dist && vite build --config vite.config.ts && echo 'export const __VERSION__ = \"'$(npm pkg get version | tr -d '\"')\"'\" > dist/version.js",
16
+ "publish:latest": "npm version patch --no-git-tag-version && npm publish",
17
+ "update:auto": "npm uni auto-vue-manual && npm i auto-vue-manual -D --save-dev && npm list auto-vue-manual"
18
+ },
19
+ "dependencies": {
20
+ "@element-plus/icons-vue": "^2.3.1",
21
+ "axios": "^1.7.9",
22
+ "element-plus": "^2.9.3",
23
+ "mitt": "^3.0.1",
24
+ "vue": "^3.5.13",
25
+ "auto-vue-manual": "^0.1.5"
26
+ },
27
+ "devDependencies": {
28
+ "@types/node": "^22.10.2",
29
+ "@vitejs/plugin-vue": "^5.2.1",
30
+ "@vitejs/plugin-vue-jsx": "^4.1.1",
31
+ "@vitest/browser": "^3.2.3",
32
+ "@vitest/coverage-v8": "^3.2.3",
33
+ "@vue/babel-plugin-jsx": "^1.2.5",
34
+ "@vue/runtime-core": "^3.5.13",
35
+ "@vue/runtime-dom": "^3.5.13",
36
+ "@vue/tsconfig": "^0.7.0",
37
+ "playwright": "^1.53.0",
38
+ "sass": "^1.77.6",
39
+ "sass-loader": "^16.0.4",
40
+ "typescript": "~5.6.2",
41
+ "vite": "^6.0.5",
42
+ "vite-plugin-dts": "^4.5.3",
43
+ "vitest": "^3.2.3",
44
+ "vue-tsc": "^2.2.0",
45
+ "vue-router": "^4.5.0",
46
+ "pinia": "^2.3.0",
47
+ "pinia-plugin-persistedstate": "^3.2.3"
48
+ },
49
+ "peerDependencies": {
50
+ "auto-vue-manual": "^0.1.5",
51
+ "@element-plus/icons-vue": "^2.3.1",
52
+ "element-plus": "^2.9.3",
53
+ "sass": "^1.77.6",
54
+ "sass-loader": "^16.0.4",
55
+ "vue": "^3.5.13"
56
+ }
57
+ }