vue-layout-gitcode 1.9.19 → 1.9.20

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.
@@ -1,4 +1,4 @@
1
- import { w as useLayoutConfig } from "./index-asb6th4t.js";
1
+ import { x as useLayoutConfig } from "./index-CNwaKo3C.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;
package/package.json CHANGED
@@ -1,13 +1,74 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.9.19",
4
- "description": "用于 gitcode 站点生产环境使用",
5
- "main": "index.js",
6
- "types": "./index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "站内导航侧边栏"
10
- },
11
- "author": "lal,nevins",
12
- "license": "ISC"
13
- }
3
+ "version": "1.9.20",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ },
16
+ "./style.css": "./dist/style.css"
17
+ },
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "patch": "npm version patch",
21
+ "build": "vite build && node scripts/build.js",
22
+ "build:test": "vite build && node scripts/build.js --mode test",
23
+ "publish": "cd dist && npm publish",
24
+ "build:watch": "vite build --watch",
25
+ "preview": "vite preview",
26
+ "serve": "vite",
27
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
28
+ "i18n-check": "vue-i18n-extract report --vueFiles './src/**/*.?(vue|ts|js)' --languageFiles './src/locales/**/*.json'"
29
+ },
30
+ "devDependencies": {
31
+ "@rushstack/eslint-patch": "^1.2.0",
32
+ "@types/js-cookie": "^3.0.6",
33
+ "@types/node": "^18.17.1",
34
+ "@vitejs/plugin-vue": "^5.1.0",
35
+ "@vue/eslint-config-prettier": "^7.1.0",
36
+ "@vue/eslint-config-typescript": "^11.0.3",
37
+ "autoprefixer": "^10.4.21",
38
+ "axios": "^1.8.4",
39
+ "eslint": "^8.57.0",
40
+ "eslint-config-prettier": "^9.1.0",
41
+ "eslint-plugin-prettier": "^5.1.3",
42
+ "eslint-plugin-vue": "^9.25.0",
43
+ "js-cookie": "^3.0.5",
44
+ "postcss": "^8.5.3",
45
+ "prettier": "^3.2.5",
46
+ "sass": "^1.63.6",
47
+ "stylelint-prettier": "^5.0.0",
48
+ "tailwindcss": "^3.3.3",
49
+ "terser": "^5.4.0",
50
+ "typescript": "^4.9.5",
51
+ "vite": "^5.1.0",
52
+ "vite-plugin-dts": "^2.3.0",
53
+ "vite-plugin-vue-devtools": "^7.3.8",
54
+ "vue-i18n-extract": "^2.0.7"
55
+ },
56
+ "peerDependencies": {
57
+ "@devui-design/icons": "1.3.0",
58
+ "@vueuse/core": "^10.2.1",
59
+ "dayjs": "^1.11.9",
60
+ "devui-theme": "^0.0.7",
61
+ "vue": "^3.3.4",
62
+ "vue-devui-lal": "^0.0.24",
63
+ "vue-router": "^4.3.1",
64
+ "lodash": "^4.17.21",
65
+ "lodash-es": "^4.17.21"
66
+ },
67
+ "dependencies": {
68
+ "crypto-js": "^4.1.1",
69
+ "dompurify": "^3.2.5",
70
+ "libphonenumber-js": "^1.11.11",
71
+ "mitt": "^3.0.1",
72
+ "vue-i18n": "^9.3.0"
73
+ }
74
+ }
package/index.js DELETED
@@ -1,14 +0,0 @@
1
- import { J, K, O, I, S, H, y, Q, N, P, M } from "./index-asb6th4t.js";
2
- export {
3
- J as GitCodeAside,
4
- K as GitCodeHeader,
5
- O as GitCodeLayoutEmitter,
6
- I as Login,
7
- S as SceneValue,
8
- H as ToolsFloat,
9
- y as currentTheme,
10
- Q as default,
11
- N as setLayoutConfig,
12
- P as setTheme,
13
- M as useLogin
14
- };