@wordup-md/nuxt-layer-shadcn-unocss 0.2.22 → 0.2.23

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.
Files changed (2) hide show
  1. package/nuxt.config.ts +23 -21
  2. package/package.json +1 -1
package/nuxt.config.ts CHANGED
@@ -18,34 +18,36 @@ export default defineNuxtConfig({
18
18
  // 'nuxt-og-image',
19
19
  ],
20
20
 
21
- $development: {
22
- modules: [
23
- '../../../unpress/packages/nuxt-module/src/module',
24
- ],
25
- alias: {
26
- '@unpress/mdc-editor': r('../../unpress/packages/mdc-editor/src/module'),
27
- '@unpress/nuxt-module': r('../../unpress/packages/nuxt-module/src/module'),
21
+ $env: {
22
+ production: {
23
+ modules: [
24
+ '@unpress/nuxt-module',
25
+ ],
28
26
  },
29
- vite: {
30
- server: {
31
- fs: {
32
- allow: [
27
+
28
+ unpress: {
29
+ modules: [
30
+ '../../../unpress/packages/nuxt-module/src/module',
31
+ ],
32
+ alias: {
33
+ '@unpress/mdc-editor': r('../../unpress/packages/mdc-editor/src/module'),
34
+ '@unpress/nuxt-module': r('../../unpress/packages/nuxt-module/src/module'),
35
+ },
36
+ vite: {
37
+ server: {
38
+ fs: {
39
+ allow: [
33
40
  // Allow serving files from the project root
34
- currentDir,
35
- // Allow serving files from the monorepo root (parent directories)
36
- resolve(currentDir, '../../..'),
37
- ],
41
+ currentDir,
42
+ // Allow serving files from the monorepo root (parent directories)
43
+ resolve(currentDir, '../../..'),
44
+ ],
45
+ },
38
46
  },
39
47
  },
40
48
  },
41
49
  },
42
50
 
43
- $production: {
44
- modules: [
45
- '@unpress/nuxt-module',
46
- ],
47
- },
48
-
49
51
  components: {
50
52
  dirs: [
51
53
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wordup-md/nuxt-layer-shadcn-unocss",
3
3
  "type": "module",
4
- "version": "0.2.22",
4
+ "version": "0.2.23",
5
5
  "author": "Emmanuel Salomon <emmanuel.salomon@gmail.com>",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {