@jojomatik/nuxt-bundle 2.0.0-beta.29 → 2.0.0-beta.30
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/nuxt.config.ts +6 -0
- package/package.json +3 -3
package/nuxt.config.ts
CHANGED
|
@@ -25,6 +25,8 @@ const isDevServer =
|
|
|
25
25
|
process.argv.some((arg) => arg.endsWith("nuxi")) &&
|
|
26
26
|
process.argv.includes("dev");
|
|
27
27
|
|
|
28
|
+
const isStorybook = process.argv.some((arg) => arg.includes("storybook"));
|
|
29
|
+
|
|
28
30
|
export default defineNuxtConfig({
|
|
29
31
|
app: {
|
|
30
32
|
pageTransition: { name: "page", mode: "out-in" },
|
|
@@ -101,6 +103,10 @@ export default defineNuxtConfig({
|
|
|
101
103
|
storybook: {
|
|
102
104
|
enabled: !isDevServer,
|
|
103
105
|
},
|
|
106
|
+
// Storybook's Nuxt preset disables experimental.appManifest, which nuxt-skew-protection requires.
|
|
107
|
+
skewProtection: {
|
|
108
|
+
enabled: !isStorybook,
|
|
109
|
+
},
|
|
104
110
|
hooks: {
|
|
105
111
|
"nitro:build:before": () => {
|
|
106
112
|
const fontsDir = "public/assets/fonts/";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jojomatik/nuxt-bundle",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"packageManager": "yarn@1.22.22",
|
|
6
6
|
"description": "A bundle of commonly used nuxt dependencies and configuration.",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@nuxt/eslint": "1.17.0",
|
|
42
42
|
"@nuxt/image": "2.2.0",
|
|
43
43
|
"@nuxtjs/i18n": "10.6.0",
|
|
44
|
-
"@nuxtjs/seo": "
|
|
44
|
+
"@nuxtjs/seo": "6.0.1",
|
|
45
45
|
"@nuxtjs/storybook": "10.0.3",
|
|
46
46
|
"@semantic-release/exec": "7.1.0",
|
|
47
47
|
"@semantic-release/git": "11.0.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"eslint": "^9.39.2 || ^10.0.0",
|
|
81
|
-
"nuxt": "^4.
|
|
81
|
+
"nuxt": "^4.6.1",
|
|
82
82
|
"vite": "^7.3.0 || ^8.0.0",
|
|
83
83
|
"vue": "^3.5.26"
|
|
84
84
|
},
|