@wordup-md/nuxt-layer-shadcn-unocss 0.2.28 → 0.2.29

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.
@@ -32,6 +32,9 @@ export default defineAppConfig({
32
32
  dark: '/logo-dark.svg',
33
33
  },
34
34
  border: true,
35
+ languageSwitcher: {
36
+ enable: true,
37
+ },
35
38
  darkModeToggle: true,
36
39
  nav: [{
37
40
  title: 'Docs',
@@ -44,6 +44,18 @@ export default defineNuxtConfig({
44
44
 
45
45
  i18n: {
46
46
  defaultLocale: 'en',
47
+ locales: [
48
+ {
49
+ code: 'en',
50
+ name: 'English',
51
+ language: 'en-US',
52
+ },
53
+ {
54
+ code: 'fr',
55
+ name: 'Français',
56
+ language: 'fr-FR',
57
+ },
58
+ ],
47
59
  },
48
60
 
49
61
  unocss: {
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.28",
4
+ "version": "0.2.29",
5
5
  "author": "Emmanuel Salomon <emmanuel.salomon@gmail.com>",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {
@@ -16,20 +16,6 @@
16
16
  "wordup-md"
17
17
  ],
18
18
  "license": "MIT",
19
- "scripts": {
20
- "dev": "nuxt dev .playground",
21
- "dev:unpress": "UNPRESS=true nuxt dev .playground",
22
- "dev:root": "nuxt dev",
23
- "prepare": "npx nuxt prepare .playground",
24
- "build": "npx nuxt build .playground",
25
- "generate": "npx nuxt generate .playground",
26
- "preview": "npx nuxt preview .playground",
27
- "lint": "eslint .",
28
- "build:json-doc": "tsx scripts/buildContentDoc-cli.ts",
29
- "bump": "pnpm build:json-doc && git add public/content-doc.json && bumpp --skip-install --commit --push --tag",
30
- "release": "pnpm bump && npm publish",
31
- "clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && find . -name '.nuxt' -type d -prune -exec rm -rf '{}' + && find . -name '.output' -type d -prune -exec rm -rf '{}' + && find . -name 'dist' -prune -exec rm -rf '{}' +"
32
- },
33
19
  "devDependencies": {
34
20
  "@nuxt/eslint": "latest",
35
21
  "@nuxt/kit": "^3.17.2",
@@ -69,9 +55,17 @@
69
55
  "tailwind-merge": "^3.2.0"
70
56
  },
71
57
  "packageManager": "pnpm@10.4.1",
72
- "pnpm": {
73
- "onlyBuiltDependencies": [
74
- "sharp"
75
- ]
58
+ "scripts": {
59
+ "dev": "nuxt dev .playground",
60
+ "dev:unpress": "UNPRESS=true nuxt dev .playground",
61
+ "dev:root": "nuxt dev",
62
+ "build": "npx nuxt build .playground",
63
+ "generate": "npx nuxt generate .playground",
64
+ "preview": "npx nuxt preview .playground",
65
+ "lint": "eslint .",
66
+ "build:json-doc": "tsx scripts/buildContentDoc-cli.ts",
67
+ "bump": "pnpm build:json-doc && git add public/content-doc.json && bumpp --skip-install --commit --push --tag",
68
+ "release": "pnpm bump && npm publish",
69
+ "clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && find . -name '.nuxt' -type d -prune -exec rm -rf '{}' + && find . -name '.output' -type d -prune -exec rm -rf '{}' + && find . -name 'dist' -prune -exec rm -rf '{}' +"
76
70
  }
77
- }
71
+ }