@witchcraft/layout 0.0.3 → 0.0.5
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/dist/module.json +1 -1
- package/dist/runtime/components/LayoutDecos.d.vue.ts +0 -0
- package/dist/runtime/components/LayoutEdges.d.vue.ts +0 -0
- package/dist/runtime/components/LayoutFrame.d.vue.ts +0 -0
- package/dist/runtime/components/LayoutShapeSquare.d.vue.ts +0 -0
- package/dist/runtime/components/LayoutWindow.d.vue.ts +0 -0
- package/dist/runtime/demo/App.d.vue.ts +0 -0
- package/dist/runtime/demo/DemoControls.d.vue.ts +0 -0
- package/dist/runtime/helpers/convertLayoutWindowToWorkspace.js +1 -1
- package/package.json +151 -152
- package/src/runtime/helpers/convertLayoutWindowToWorkspace.ts +1 -1
package/dist/module.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,153 +1,152 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
2
|
+
"name": "@witchcraft/layout",
|
|
3
|
+
"description": "Headless layout manager.",
|
|
4
|
+
"version": "0.0.5",
|
|
5
|
+
"main": "./dist/runtime/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/runtime/index.d.ts",
|
|
11
|
+
"import": "./dist/runtime/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./components/*": {
|
|
14
|
+
"types": "./dist/runtime/components/*.vue.d.ts",
|
|
15
|
+
"import": "./dist/runtime/components/*.vue"
|
|
16
|
+
},
|
|
17
|
+
"./types": {
|
|
18
|
+
"types": "./dist/runtime/types/index.d.ts",
|
|
19
|
+
"import": "./dist/runtime/types/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": {
|
|
22
|
+
"types": "./dist/runtime/*.d.ts",
|
|
23
|
+
"import": "./dist/runtime/*.js"
|
|
24
|
+
},
|
|
25
|
+
"./nuxt": {
|
|
26
|
+
"types": "./dist/types.d.mts",
|
|
27
|
+
"import": "./dist/module.mjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@alanscodelog/utils": "^6.0.1",
|
|
32
|
+
"@iconify/json": "^2.2.383",
|
|
33
|
+
"es-toolkit": "^1.39.10"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@witchcraft/nuxt-utils": "^0.3.6",
|
|
37
|
+
"@witchcraft/ui": "^0.3.7"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"@witchcraft/ui": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"@witchcraft/nuxt-utils": {
|
|
44
|
+
"optional": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@alanscodelog/commitlint-config": "^3.1.2",
|
|
49
|
+
"@alanscodelog/eslint-config": "^6.3.0",
|
|
50
|
+
"@alanscodelog/semantic-release-config": "^6.0.0",
|
|
51
|
+
"@alanscodelog/tsconfigs": "^6.2.0",
|
|
52
|
+
"@alanscodelog/vite-config": "^0.0.6",
|
|
53
|
+
"@commitlint/cli": "^19.8.1",
|
|
54
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
55
|
+
"@nuxt/kit": "^4.1.2",
|
|
56
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
57
|
+
"@nuxt/schema": "^4.1.2",
|
|
58
|
+
"@nuxt/types": "^2.18.1",
|
|
59
|
+
"@tailwindcss/vite": "^4.1.12",
|
|
60
|
+
"@types/node": "^24.3.3",
|
|
61
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
62
|
+
"@vitest/coverage-c8": "^0.33.0",
|
|
63
|
+
"@witchcraft/nuxt-utils": "^0.3.6",
|
|
64
|
+
"@witchcraft/ui": "^0.3.7",
|
|
65
|
+
"concurrently": "^9.2.1",
|
|
66
|
+
"cross-env": "^10.0.0",
|
|
67
|
+
"fast-glob": "^3.3.3",
|
|
68
|
+
"http-server": "^14.1.1",
|
|
69
|
+
"husky": "^9.1.7",
|
|
70
|
+
"indexit": "2.1.0-beta.3",
|
|
71
|
+
"madge": "^8.0.0",
|
|
72
|
+
"nuxt": "^4.1.2",
|
|
73
|
+
"onchange": "^7.1.0",
|
|
74
|
+
"semantic-release": "^24.2.8",
|
|
75
|
+
"tailwindcss": "^4.1.12",
|
|
76
|
+
"typedoc": "0.28.12",
|
|
77
|
+
"typescript": "^5.8.3",
|
|
78
|
+
"unplugin-icons": "^22.3.0",
|
|
79
|
+
"unplugin-vue-components": "^29.0.0",
|
|
80
|
+
"uuid": "^13.0.0",
|
|
81
|
+
"vite": "^7.1.5",
|
|
82
|
+
"vitest": "^3.2.4",
|
|
83
|
+
"vue": "^3.5.20",
|
|
84
|
+
"vue-tsc": "^2.2.12",
|
|
85
|
+
"zod": "^4.1.8"
|
|
86
|
+
},
|
|
87
|
+
"author": "Alan <alanscodelog@gmail.com>",
|
|
88
|
+
"repository": "https://github.com/witchcraftjs/layout",
|
|
89
|
+
"license": "MIT",
|
|
90
|
+
"files": [
|
|
91
|
+
"src",
|
|
92
|
+
"dist"
|
|
93
|
+
],
|
|
94
|
+
"release": {
|
|
95
|
+
"extends": [
|
|
96
|
+
"@alanscodelog/semantic-release-config"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"commitlint": {
|
|
100
|
+
"extends": [
|
|
101
|
+
"@alanscodelog"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"madge": {
|
|
105
|
+
"detectiveOptions": {
|
|
106
|
+
"ts": {
|
|
107
|
+
"skipTypeImports": true
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"browserslist": "defaults and supports es6-module,maintained node versions",
|
|
112
|
+
"engines": {
|
|
113
|
+
"node": ">=20.0.0"
|
|
114
|
+
},
|
|
115
|
+
"@comments": {
|
|
116
|
+
"scripts": {
|
|
117
|
+
"test:inspect-errors": "For use with my inspect_error utility function from @alanscodelog/utils",
|
|
118
|
+
"prepare": "Needed so that if we pull the package from git it will get built and installed properly.",
|
|
119
|
+
"actions:debug": "For debugging github build action locally with nektos/act. Requires act and docker. Note: Cache will never work locally because of https://github.com/nektos/act/issues/285"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"publishConfig": {
|
|
123
|
+
"access": "public"
|
|
124
|
+
},
|
|
125
|
+
"scripts": {
|
|
126
|
+
"//prepare": "echo Needed so that if we pull the package from git it will get built and installed properly.",
|
|
127
|
+
"build": "nuxt-module-build prepare && nuxt-module-build build && nuxi generate playground",
|
|
128
|
+
"build:only": "nuxt-module-build build",
|
|
129
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
130
|
+
"dev:playground": "nuxi dev playground",
|
|
131
|
+
"//dev:vite": "check everything is working when using vite",
|
|
132
|
+
"dev:vite": "vite --mode development --config vite.dev.config.ts",
|
|
133
|
+
"//dev": "The module needs to be build, not stubbed, for vite's dev to work.",
|
|
134
|
+
"dev": "pnpm dev:vite",
|
|
135
|
+
"lint:eslint": "eslint \"{src,tests,bin}/**/*.{cjs,js,ts}\" \"*.{cjs,js,ts}\" --max-warnings=3 --report-unused-disable-directives",
|
|
136
|
+
"lint:commits": "commitlint --from-last-tag --to HEAD --verbose",
|
|
137
|
+
"lint:imports": "echo disabled madge --circular --extensions ts ./src",
|
|
138
|
+
"lint": "pnpm lint:eslint && pnpm lint:types && pnpm lint:commits && pnpm lint:imports",
|
|
139
|
+
"lint:types": "vue-tsc --noEmit",
|
|
140
|
+
"coverage": "vitest --coverage",
|
|
141
|
+
"coverage:dev": "vitest --watch --coverage",
|
|
142
|
+
"test": "echo no tests yet",
|
|
143
|
+
"test:watch": "vitest --watch",
|
|
144
|
+
"doc": "typedoc",
|
|
145
|
+
"doc:watch": "onchange -i \"src/**/*.ts\" \"typedoc.config.js\" -- pnpm doc",
|
|
146
|
+
"doc:serve": "http-server docs --port=5001",
|
|
147
|
+
"doc:dev": "concurrently \"pnpm doc:watch\" \"pnpm doc:serve\"",
|
|
148
|
+
"doc:check-invalid": "typedoc --listInvalidSymbolLinks",
|
|
149
|
+
"actions:debug": "act -r -v -j release",
|
|
150
|
+
"gen:exports": "indexit update --ignore **/*.d.ts **.vue src/assets/** -o '${path}.js'"
|
|
151
|
+
}
|
|
152
|
+
}
|