@witchcraft/ui 0.3.5 → 0.3.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "witchcraftUi",
3
3
  "configKey": "witchcraftUi",
4
- "version": "0.3.5",
4
+ "version": "0.3.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -12,11 +12,6 @@ import { unpluginIconViteOptions } from '../dist/runtime/build/unpluginIconViteO
12
12
  import { themeConvertionOpts } from '../dist/runtime/tailwind/themeConvertionOpts.js';
13
13
  import { theme } from '../dist/runtime/theme.js';
14
14
 
15
- const dependencies = {
16
- "reka-ui": "^2.5.0"};
17
- const pkg = {
18
- dependencies: dependencies};
19
-
20
15
  const knownDirectives = ["vExtractRootEl", "vResizableCols", "vResizeObserver", "vResizableCols"];
21
16
  const { resolve, resolvePath } = createResolver(import.meta.url);
22
17
  const componentsInfo = globFiles([
@@ -51,7 +46,7 @@ const module = defineNuxtModule({
51
46
  // defaults: unpluginIconViteOptions as any
52
47
  // },
53
48
  "reka-ui/nuxt": {
54
- version: pkg.dependencies["reka-ui"]
49
+ version: "^2.5.0"
55
50
  }
56
51
  },
57
52
  async setup(options, nuxt) {
package/package.json CHANGED
@@ -1,195 +1,194 @@
1
1
  {
2
- "name": "@witchcraft/ui",
3
- "version": "0.3.5",
4
- "description": "Vue component library.",
5
- "type": "module",
6
- "main": "./dist/runtime/main.lib.js",
7
- "sideEffects": false,
8
- "exports": {
9
- ".": {
10
- "types": "./types/index.d.ts",
11
- "import": "./dist/runtime/main.lib.js"
12
- },
13
- "./components": {
14
- "types": "./dist/runtime/components/index.d.ts",
15
- "import": "./dist/runtime/components/index.js"
16
- },
17
- "./components/*": {
18
- "types": "./dist/runtime/components/*/*.vue.d.ts",
19
- "import": "./dist/runtime/components/*/*.vue"
20
- },
21
- "./composables": {
22
- "types": "./dist/runtime/composables/index.d.ts",
23
- "import": "./dist/runtime/composables/index.js"
24
- },
25
- "./directives": {
26
- "types": "./dist/runtime/directives/index.d.ts",
27
- "import": "./dist/runtime/directives/index.js"
28
- },
29
- "./helpers": {
30
- "types": "./dist/runtime/helpers/index.d.ts",
31
- "import": "./dist/runtime/helpers/index.js"
32
- },
33
- "./utils.css": "./src/runtime/assets/utils.css",
34
- "./base.css": "./src/runtime/assets/base.css",
35
- "./nuxt": {
36
- "types": "./dist/types.d.mts",
37
- "import": "./dist/module.mjs"
38
- },
39
- "./types": {
40
- "types": "./dist/runtime/types/index.d.ts",
41
- "import": "./dist/runtime/types/index.js"
42
- },
43
- "./*": {
44
- "import": "./dist/runtime/*.js",
45
- "types": "./dist/runtime/*.d.ts"
46
- }
47
- },
48
- "unbuild": {
49
- "failOnWarn": false
50
- },
51
- "scripts": {
52
- "prepare": "husky && pnpm gen:theme && cd playground && pnpm i --ignore-scripts",
53
- "build": "nuxt-module-build prepare && nuxt-module-build build && nuxi generate playground",
54
- "build:only": "nuxt-module-build build",
55
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
56
- "dev": "nuxi dev playground",
57
- "storybook": "BROWSER=none storybook dev -p 6006",
58
- "storybook:clear-cache": "BROWSER=none storybook dev -p 6006 --no-manager-cache",
59
- "storybook:build": "pnpm nuxt prepare && storybook build -o docs/storybook",
60
- "storybook:test": "pnpm storybook:build && pnpm concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm http-server docs/storybook --port 6006 --silent\" \"pnpm wait-on tcp:6006 && pnpm test-storybook\"",
61
- "test": "pnpm storybook:test && pnpm lint:types",
62
- "test:dev": "pnpm concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm storybook\" \"pnpm wait-on tcp:6006 && pnpm test-storybook --watch\"",
63
- "doc": "pnpm test && pnpm storybook:build",
64
- "doc:dev": "pnpm storybook",
65
- "lint:eslint": "eslint \"src/**/*.{js,ts,vue,cjs}\" \"*.{js,ts}\" --max-warnings=5 --report-unused-disable-directives",
66
- "lint:types": "vue-tsc --noEmit --pretty --project tsconfig.types.json",
67
- "lint:commits": "commitlint --from-last-tag --to HEAD --verbose",
68
- "lint:imports": "madge --circular --extensions ts ./src",
69
- "lint": "pnpm lint:eslint && pnpm lint:types && pnpm lint:commits && pnpm lint:imports",
70
- "//actions:debug": "echo 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",
71
- "actions:debug": "act -r -j release",
72
- "gen:exports": "indexit update --ignore **.d.ts **.stories.ts **.vue -o '${path}.js'",
73
- "gen:theme": "echo src/runtime/build/generateTheme.ts"
74
- },
75
- "peerDependencies": {
76
- "tailwindcss": "^4.1.12",
77
- "unplugin-icons": "^22.1.0",
78
- "vue": "^3.2.47"
79
- },
80
- "peerDependenciesMeta": {
81
- "tailwindcss": {
82
- "optional": true
83
- },
84
- "vue": {
85
- "optional": false
86
- }
87
- },
88
- "dependencies": {
89
- "@alanscodelog/utils": "^6.0.1",
90
- "@iconify/json": "^2.2.379",
91
- "@nuxt/kit": "^4.0.3",
92
- "@nuxt/schema": "^4.0.3",
93
- "@nuxt/types": "^2.18.1",
94
- "@tailwindcss/vite": "^4.1.12",
95
- "@witchcraft/nuxt-utils": "^0.2.1",
96
- "colord": "^2.9.3",
97
- "colorjs.io": "0.6.0-alpha.1",
98
- "defu": "^6.1.4",
99
- "fast-glob": "^3.3.3",
100
- "metamorphosis": "^0.6.1",
101
- "reka-ui": "^2.5.0",
102
- "tailwind-merge": "^3.3.1",
103
- "unplugin-icons": "^22.2.0",
104
- "unplugin-vue-components": "^28.8.0",
105
- "vue-component-type-helpers": "^2.2.12"
106
- },
107
- "devDependencies": {
108
- "@alanscodelog/commitlint-config": "^3.1.2",
109
- "@alanscodelog/eslint-config": "^6.3.0",
110
- "@alanscodelog/semantic-release-config": "^5.0.4",
111
- "@alanscodelog/tsconfigs": "^6.2.0",
112
- "@alanscodelog/vite-config": "^0.0.6",
113
- "@chromatic-com/storybook": "^3.2.7",
114
- "@commitlint/cli": "^19.8.1",
115
- "@internationalized/date": "^3.9.0",
116
- "@nuxt/eslint-config": "^1.9.0",
117
- "@nuxt/module-builder": "^1.0.2",
118
- "@nuxtjs/i18n": "^9.5.6",
119
- "@playwright/test": "=1.54.0",
120
- "@rollup/plugin-node-resolve": "^16.0.1",
121
- "@storybook/addon-a11y": "^8.6.14",
122
- "@storybook/addon-actions": "^8.6.14",
123
- "@storybook/addon-essentials": "^8.6.14",
124
- "@storybook/addon-interactions": "^8.6.14",
125
- "@storybook/addon-links": "^8.6.14",
126
- "@storybook/addon-storysource": "^8.6.14",
127
- "@storybook/blocks": "^8.6.14",
128
- "@storybook/manager-api": "^8.6.14",
129
- "@storybook/test": "^8.6.14",
130
- "@storybook/test-runner": "^0.22.1",
131
- "@storybook/vue3": "^8.6.14",
132
- "@storybook/vue3-vite": "^8.6.14",
133
- "@tailwindcss/cli": "^4.1.12",
134
- "@tailwindcss/postcss": "^4.1.12",
135
- "@types/node": "^24.3.0",
136
- "@vitejs/plugin-vue": "^6.0.1",
137
- "@vue/runtime-core": "^3.5.20",
138
- "@vue/runtime-dom": "^3.5.20",
139
- "@vueuse/components": "^13.8.0",
140
- "@vueuse/core": "^13.8.0",
141
- "autoprefixer": "^10.4.21",
142
- "concurrently": "^9.2.1",
143
- "eslint": "^9.34.0",
144
- "http-server": "^14.1.1",
145
- "husky": "^9.1.7",
146
- "indexit": "2.1.0-beta.3",
147
- "madge": "^7.0.0",
148
- "nuxt": "^4.0.3",
149
- "playwright": "=1.54.0",
150
- "playwright-core": "=1.54.0",
151
- "semantic-release": "^24.2.7",
152
- "storybook": "^8.6.14",
153
- "storybook-dark-mode": "^4.0.2",
154
- "tailwindcss": "^4.1.12",
155
- "ts-node": "^10.9.2",
156
- "typescript": "^5.9.2",
157
- "unbuild": "^3.6.1",
158
- "vite": "^7.1.3",
159
- "vite-tsconfig-paths": "^5.1.4",
160
- "vue": "^3.5.20",
161
- "vue-tsc": "3.0.6",
162
- "wait-on": "^8.0.4"
163
- },
164
- "author": "Alan <alanscodelog@gmail.com>",
165
- "repository": "https://github.com/witchcraftjs/ui",
166
- "license": "MIT",
167
- "files": [
168
- "src",
169
- "dist",
170
- "types"
171
- ],
172
- "release": {
173
- "extends": [
174
- "@alanscodelog/semantic-release-config"
175
- ]
176
- },
177
- "commitlint": {
178
- "extends": [
179
- "@alanscodelog"
180
- ]
181
- },
182
- "madge": {
183
- "detectiveOptions": {
184
- "ts": {
185
- "skipTypeImports": true
186
- }
187
- }
188
- },
189
- "engines": {
190
- "node": ">=20.0.0"
191
- },
192
- "publishConfig": {
193
- "access": "public"
194
- }
195
- }
2
+ "name": "@witchcraft/ui",
3
+ "version": "0.3.7",
4
+ "description": "Vue component library.",
5
+ "type": "module",
6
+ "main": "./dist/runtime/main.lib.js",
7
+ "sideEffects": false,
8
+ "exports": {
9
+ ".": {
10
+ "types": "./types/index.d.ts",
11
+ "import": "./dist/runtime/main.lib.js"
12
+ },
13
+ "./components": {
14
+ "types": "./dist/runtime/components/index.d.ts",
15
+ "import": "./dist/runtime/components/index.js"
16
+ },
17
+ "./components/*": {
18
+ "types": "./dist/runtime/components/*/*.vue.d.ts",
19
+ "import": "./dist/runtime/components/*/*.vue"
20
+ },
21
+ "./composables": {
22
+ "types": "./dist/runtime/composables/index.d.ts",
23
+ "import": "./dist/runtime/composables/index.js"
24
+ },
25
+ "./directives": {
26
+ "types": "./dist/runtime/directives/index.d.ts",
27
+ "import": "./dist/runtime/directives/index.js"
28
+ },
29
+ "./helpers": {
30
+ "types": "./dist/runtime/helpers/index.d.ts",
31
+ "import": "./dist/runtime/helpers/index.js"
32
+ },
33
+ "./utils.css": "./src/runtime/assets/utils.css",
34
+ "./base.css": "./src/runtime/assets/base.css",
35
+ "./nuxt": {
36
+ "types": "./dist/types.d.mts",
37
+ "import": "./dist/module.mjs"
38
+ },
39
+ "./types": {
40
+ "types": "./dist/runtime/types/index.d.ts",
41
+ "import": "./dist/runtime/types/index.js"
42
+ },
43
+ "./*": {
44
+ "import": "./dist/runtime/*.js",
45
+ "types": "./dist/runtime/*.d.ts"
46
+ }
47
+ },
48
+ "unbuild": {
49
+ "failOnWarn": false
50
+ },
51
+ "peerDependencies": {
52
+ "tailwindcss": "^4.1.12",
53
+ "unplugin-icons": "^22.2.0",
54
+ "vue": "^3.5.20"
55
+ },
56
+ "peerDependenciesMeta": {
57
+ "tailwindcss": {
58
+ "optional": true
59
+ },
60
+ "vue": {
61
+ "optional": false
62
+ }
63
+ },
64
+ "dependencies": {
65
+ "@alanscodelog/utils": "^6.0.1",
66
+ "@iconify/json": "^2.2.379",
67
+ "@nuxt/kit": "^4.0.3",
68
+ "@nuxt/schema": "^4.0.3",
69
+ "@nuxt/types": "^2.18.1",
70
+ "@tailwindcss/vite": "^4.1.12",
71
+ "@witchcraft/nuxt-utils": "^0.3.6",
72
+ "colord": "^2.9.3",
73
+ "colorjs.io": "0.6.0-alpha.1",
74
+ "defu": "^6.1.4",
75
+ "fast-glob": "^3.3.3",
76
+ "metamorphosis": "^0.6.1",
77
+ "reka-ui": "^2.5.0",
78
+ "tailwind-merge": "^3.3.1",
79
+ "unplugin-icons": "^22.2.0",
80
+ "unplugin-vue-components": "^28.8.0",
81
+ "vue-component-type-helpers": "^2.2.12"
82
+ },
83
+ "devDependencies": {
84
+ "@alanscodelog/commitlint-config": "^3.1.2",
85
+ "@alanscodelog/eslint-config": "^6.3.0",
86
+ "@alanscodelog/semantic-release-config": "^6.0.0",
87
+ "@alanscodelog/tsconfigs": "^6.2.0",
88
+ "@alanscodelog/vite-config": "^0.0.6",
89
+ "@chromatic-com/storybook": "^3.2.7",
90
+ "@commitlint/cli": "^19.8.1",
91
+ "@internationalized/date": "^3.9.0",
92
+ "@nuxt/eslint-config": "^1.9.0",
93
+ "@nuxt/module-builder": "^1.0.2",
94
+ "@nuxtjs/i18n": "^9.5.6",
95
+ "@playwright/test": "=1.54.0",
96
+ "@rollup/plugin-node-resolve": "^16.0.1",
97
+ "@storybook/addon-a11y": "^8.6.14",
98
+ "@storybook/addon-actions": "^8.6.14",
99
+ "@storybook/addon-essentials": "^8.6.14",
100
+ "@storybook/addon-interactions": "^8.6.14",
101
+ "@storybook/addon-links": "^8.6.14",
102
+ "@storybook/addon-storysource": "^8.6.14",
103
+ "@storybook/blocks": "^8.6.14",
104
+ "@storybook/manager-api": "^8.6.14",
105
+ "@storybook/test": "^8.6.14",
106
+ "@storybook/test-runner": "^0.22.1",
107
+ "@storybook/vue3": "^8.6.14",
108
+ "@storybook/vue3-vite": "^8.6.14",
109
+ "@tailwindcss/cli": "^4.1.12",
110
+ "@tailwindcss/postcss": "^4.1.12",
111
+ "@types/node": "^24.3.0",
112
+ "@vitejs/plugin-vue": "^6.0.1",
113
+ "@vue/runtime-core": "^3.5.20",
114
+ "@vue/runtime-dom": "^3.5.20",
115
+ "@vueuse/components": "^13.8.0",
116
+ "@vueuse/core": "^13.8.0",
117
+ "autoprefixer": "^10.4.21",
118
+ "concurrently": "^9.2.1",
119
+ "eslint": "^9.34.0",
120
+ "http-server": "^14.1.1",
121
+ "husky": "^9.1.7",
122
+ "indexit": "2.1.0-beta.3",
123
+ "madge": "^7.0.0",
124
+ "nuxt": "^4.0.3",
125
+ "playwright": "=1.54.0",
126
+ "playwright-core": "=1.54.0",
127
+ "semantic-release": "^24.2.7",
128
+ "storybook": "^8.6.14",
129
+ "storybook-dark-mode": "^4.0.2",
130
+ "tailwindcss": "^4.1.12",
131
+ "ts-node": "^10.9.2",
132
+ "typescript": "^5.9.2",
133
+ "unbuild": "^3.6.1",
134
+ "vite": "^7.1.3",
135
+ "vite-tsconfig-paths": "^5.1.4",
136
+ "vue": "^3.5.20",
137
+ "vue-tsc": "3.0.6",
138
+ "wait-on": "^8.0.4"
139
+ },
140
+ "author": "Alan <alanscodelog@gmail.com>",
141
+ "repository": "https://github.com/witchcraftjs/ui",
142
+ "license": "MIT",
143
+ "files": [
144
+ "src",
145
+ "dist",
146
+ "types"
147
+ ],
148
+ "release": {
149
+ "extends": [
150
+ "@alanscodelog/semantic-release-config"
151
+ ]
152
+ },
153
+ "commitlint": {
154
+ "extends": [
155
+ "@alanscodelog"
156
+ ]
157
+ },
158
+ "madge": {
159
+ "detectiveOptions": {
160
+ "ts": {
161
+ "skipTypeImports": true
162
+ }
163
+ }
164
+ },
165
+ "engines": {
166
+ "node": ">=20.0.0"
167
+ },
168
+ "publishConfig": {
169
+ "access": "public"
170
+ },
171
+ "scripts": {
172
+ "build": "nuxt-module-build prepare && nuxt-module-build build && nuxi generate playground",
173
+ "build:only": "nuxt-module-build build",
174
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
175
+ "dev": "nuxi dev playground",
176
+ "storybook": "BROWSER=none storybook dev -p 6006",
177
+ "storybook:clear-cache": "BROWSER=none storybook dev -p 6006 --no-manager-cache",
178
+ "storybook:build": "pnpm nuxt prepare && storybook build -o docs/storybook",
179
+ "storybook:test": "pnpm storybook:build && pnpm concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm http-server docs/storybook --port 6006 --silent\" \"pnpm wait-on tcp:6006 && pnpm test-storybook\"",
180
+ "test": "pnpm storybook:test && pnpm lint:types",
181
+ "test:dev": "pnpm concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm storybook\" \"pnpm wait-on tcp:6006 && pnpm test-storybook --watch\"",
182
+ "doc": "pnpm test && pnpm storybook:build",
183
+ "doc:dev": "pnpm storybook",
184
+ "lint:eslint": "eslint \"src/**/*.{js,ts,vue,cjs}\" \"*.{js,ts}\" --max-warnings=5 --report-unused-disable-directives",
185
+ "lint:types": "vue-tsc --noEmit --pretty --project tsconfig.types.json",
186
+ "lint:commits": "commitlint --from-last-tag --to HEAD --verbose",
187
+ "lint:imports": "madge --circular --extensions ts ./src",
188
+ "lint": "pnpm lint:eslint && pnpm lint:types && pnpm lint:commits && pnpm lint:imports",
189
+ "//actions:debug": "echo 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",
190
+ "actions:debug": "act -r -j release",
191
+ "gen:exports": "indexit update --ignore **.d.ts **.stories.ts **.vue -o '${path}.js'",
192
+ "gen:theme": "echo src/runtime/build/generateTheme.ts"
193
+ }
194
+ }
package/src/module.ts CHANGED
@@ -103,7 +103,7 @@ export default defineNuxtModule<ModuleOptions>({
103
103
  // defaults: unpluginIconViteOptions as any
104
104
  // },
105
105
  "reka-ui/nuxt": {
106
- version: pkg.dependencies["reka-ui"]
106
+ version: "^2.5.0"
107
107
  }
108
108
  },
109
109
  async setup(options, nuxt) {