@robot-admin/layout 3.2.0 → 3.2.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/package.json CHANGED
@@ -1,128 +1,129 @@
1
- {
2
- "name": "@robot-admin/layout",
3
- "version": "3.2.0",
4
- "description": "Composable Vue layout and settings system for Robot Admin",
5
- "type": "module",
6
- "keywords": [
7
- "vue",
8
- "layout",
9
- "settings",
10
- "pinia",
11
- "admin"
12
- ],
13
- "author": "ChenYu <ycyplus@gmail.com>",
14
- "license": "MIT",
15
- "engines": {
16
- "node": ">=18.18.0"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/ChenyCHENYU/robot-admin-packages.git",
21
- "directory": "packages/layout"
22
- },
23
- "main": "./dist/index.cjs",
24
- "module": "./dist/index.js",
25
- "types": "./dist/index.d.ts",
26
- "style": "./dist/index.css",
27
- "sideEffects": [
28
- "**/*.css",
29
- "**/*.scss"
30
- ],
31
- "exports": {
32
- ".": {
33
- "import": {
34
- "types": "./dist/index.d.ts",
35
- "default": "./dist/index.js"
36
- },
37
- "require": {
38
- "types": "./dist/index.d.cts",
39
- "default": "./dist/index.cjs"
40
- }
41
- },
42
- "./core": {
43
- "import": {
44
- "types": "./dist/core/index.d.ts",
45
- "default": "./dist/core/index.js"
46
- },
47
- "require": {
48
- "types": "./dist/core/index.d.cts",
49
- "default": "./dist/core/index.cjs"
50
- }
51
- },
52
- "./vue": {
53
- "import": {
54
- "types": "./dist/vue/index.d.ts",
55
- "default": "./dist/vue/index.js"
56
- },
57
- "require": {
58
- "types": "./dist/vue/index.d.cts",
59
- "default": "./dist/vue/index.cjs"
60
- }
61
- },
62
- "./naive": {
63
- "import": {
64
- "types": "./dist/naive/index.d.ts",
65
- "default": "./dist/naive/index.js"
66
- },
67
- "require": {
68
- "types": "./dist/naive/index.d.cts",
69
- "default": "./dist/naive/index.cjs"
70
- }
71
- },
72
- "./style": "./dist/index.css",
73
- "./css": "./dist/index.css",
74
- "./naive/style": "./dist/index.css",
75
- "./style.scss": "./src/styles/settings.scss",
76
- "./layouts.scss": "./src/styles/layouts.scss"
77
- },
78
- "files": [
79
- "dist",
80
- "src/styles",
81
- "README.md",
82
- "CHANGELOG.md",
83
- "LICENSE"
84
- ],
85
- "publishConfig": {
86
- "access": "public",
87
- "registry": "https://registry.npmjs.org/"
88
- },
89
- "scripts": {
90
- "dev": "vite build --watch",
1
+ {
2
+ "name": "@robot-admin/layout",
3
+ "version": "3.2.2",
4
+ "description": "Composable Vue layout and settings system for Robot Admin",
5
+ "type": "module",
6
+ "keywords": [
7
+ "vue",
8
+ "layout",
9
+ "settings",
10
+ "pinia",
11
+ "admin"
12
+ ],
13
+ "author": "ChenYu <ycyplus@gmail.com>",
14
+ "license": "MIT",
15
+ "engines": {
16
+ "node": ">=18.18.0"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/ChenyCHENYU/robot-admin-packages.git",
21
+ "directory": "packages/layout"
22
+ },
23
+ "main": "./dist/index.cjs",
24
+ "module": "./dist/index.js",
25
+ "types": "./dist/index.d.ts",
26
+ "style": "./dist/index.css",
27
+ "sideEffects": [
28
+ "**/*.css",
29
+ "**/*.scss"
30
+ ],
31
+ "exports": {
32
+ ".": {
33
+ "import": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ }
41
+ },
42
+ "./core": {
43
+ "import": {
44
+ "types": "./dist/core/index.d.ts",
45
+ "default": "./dist/core/index.js"
46
+ },
47
+ "require": {
48
+ "types": "./dist/core/index.d.cts",
49
+ "default": "./dist/core/index.cjs"
50
+ }
51
+ },
52
+ "./vue": {
53
+ "import": {
54
+ "types": "./dist/vue/index.d.ts",
55
+ "default": "./dist/vue/index.js"
56
+ },
57
+ "require": {
58
+ "types": "./dist/vue/index.d.cts",
59
+ "default": "./dist/vue/index.cjs"
60
+ }
61
+ },
62
+ "./naive": {
63
+ "import": {
64
+ "types": "./dist/naive/index.d.ts",
65
+ "default": "./dist/naive/index.js"
66
+ },
67
+ "require": {
68
+ "types": "./dist/naive/index.d.cts",
69
+ "default": "./dist/naive/index.cjs"
70
+ }
71
+ },
72
+ "./style": "./dist/index.css",
73
+ "./css": "./dist/index.css",
74
+ "./naive/style": "./dist/index.css",
75
+ "./style.scss": "./src/styles/settings.scss",
76
+ "./layouts.scss": "./src/styles/layouts.scss"
77
+ },
78
+ "files": [
79
+ "dist",
80
+ "src/styles",
81
+ "README.md",
82
+ "CHANGELOG.md",
83
+ "LICENSE",
84
+ "docs"
85
+ ],
86
+ "publishConfig": {
87
+ "access": "public",
88
+ "registry": "https://registry.npmjs.org/"
89
+ },
90
+ "scripts": {
91
+ "dev": "vite build --watch",
91
92
  "build": "vue-tsc --noEmit && vite build && tsup --config tsup.core.config.ts && tsup --config tsup.vue.config.ts && node scripts/finalize-build.mjs",
92
- "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
93
- "test": "vitest run tests",
94
- "type-check": "vue-tsc --noEmit",
95
- "check:package": "node ./node_modules/publint/src/cli.js && node ./scripts/verify-package.mjs",
96
- "verify": "bun run type-check && bun run test && bun run build && bun run check:package",
97
- "prepublishOnly": "bun run verify"
98
- },
99
- "peerDependencies": {
100
- "vue": "^3.4.0",
101
- "vue-router": "^4.0.0",
102
- "pinia": "^2.0.0 || ^3.0.0",
103
- "naive-ui": "^2.38.0"
104
- },
105
- "peerDependenciesMeta": {
106
- "naive-ui": {
107
- "optional": true
108
- }
109
- },
110
- "devDependencies": {
111
- "@types/node": "^22.13.9",
112
- "@vue/test-utils": "^2.4.6",
113
- "@vitejs/plugin-vue": "^6.0.5",
114
- "@vue/server-renderer": "^3.5.13",
115
- "happy-dom": "^20.12.2",
116
- "naive-ui": "^2.41.0",
117
- "pinia": "^3.0.1",
118
- "publint": "0.3.24",
119
- "sass": "^1.83.4",
120
- "typescript": "~5.8.0",
121
- "tsup": "^8.3.5",
122
- "vite": "^8.0.1",
123
- "vite-plugin-dts": "^4.5.4",
124
- "vue": "^3.5.13",
125
- "vue-router": "^4.5.0",
126
- "vue-tsc": "^3.2.6"
127
- }
128
- }
93
+ "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
94
+ "test": "vitest run tests",
95
+ "type-check": "vue-tsc --noEmit",
96
+ "check:package": "node ./node_modules/publint/src/cli.js --pack npm && node ./scripts/verify-package.mjs",
97
+ "verify": "bun run type-check && bun run test && bun run build && bun run check:package",
98
+ "prepublishOnly": "bun run verify"
99
+ },
100
+ "peerDependencies": {
101
+ "vue": "^3.4.0",
102
+ "vue-router": "^4.0.0",
103
+ "pinia": "^2.0.0 || ^3.0.0",
104
+ "naive-ui": "^2.38.0"
105
+ },
106
+ "peerDependenciesMeta": {
107
+ "naive-ui": {
108
+ "optional": true
109
+ }
110
+ },
111
+ "devDependencies": {
112
+ "@types/node": "^22.13.9",
113
+ "@vue/test-utils": "^2.4.6",
114
+ "@vitejs/plugin-vue": "^6.0.5",
115
+ "@vue/server-renderer": "^3.5.13",
116
+ "happy-dom": "^20.12.2",
117
+ "naive-ui": "^2.41.0",
118
+ "pinia": "^3.0.1",
119
+ "publint": "0.3.24",
120
+ "sass": "^1.83.4",
121
+ "typescript": "~5.8.0",
122
+ "tsup": "^8.3.5",
123
+ "vite": "^8.0.1",
124
+ "vite-plugin-dts": "^4.5.4",
125
+ "vue": "^3.5.13",
126
+ "vue-router": "^4.5.0",
127
+ "vue-tsc": "^3.2.6"
128
+ }
129
+ }