@myelophone/nuxt 0.21.1 → 0.22.0
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/CHANGELOG.md +4 -0
- package/nuxt.config.ts +27 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
package/nuxt.config.ts
CHANGED
|
@@ -33,7 +33,7 @@ const pkg = JSON.parse(
|
|
|
33
33
|
|
|
34
34
|
const version = pkg.version;
|
|
35
35
|
|
|
36
|
-
const dateActuality = '2026-10-
|
|
36
|
+
const dateActuality = '2026-10-17';
|
|
37
37
|
const banner = `/* © 2025 Aliaksandr Ivanou (https://aleksivanov.me/). All rights reserved. @MyelophOne/Nuxt v${version}. This app bundle licenses: /_nuxt/licenses.md */\n`;
|
|
38
38
|
const defaultSeo = {
|
|
39
39
|
title: 'Our Nuxt WebSite | by MyelophOne/Nuxt',
|
|
@@ -44,6 +44,26 @@ const defaultSeo = {
|
|
|
44
44
|
const isSSG = process.env.NUXT_STATIC === 'true';
|
|
45
45
|
const isPlayground = process.env.NUXT_PLAYGROUND === 'true';
|
|
46
46
|
|
|
47
|
+
const getSiteUrl = (dev: boolean): string | undefined => {
|
|
48
|
+
if (dev) {
|
|
49
|
+
const host = process.env.NUXT_HOST || 'localhost';
|
|
50
|
+
const port = process.env.NUXT_PORT || '3000';
|
|
51
|
+
|
|
52
|
+
return `http://${host}:${port}`;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const url =
|
|
56
|
+
process.env.NUXT_SITE_URL ||
|
|
57
|
+
process.env.VERCEL_PROJECT_PRODUCTION_URL ||
|
|
58
|
+
process.env.VERCEL_URL ||
|
|
59
|
+
process.env.CF_PAGES_URL ||
|
|
60
|
+
process.env.URL;
|
|
61
|
+
|
|
62
|
+
if (!url) return undefined;
|
|
63
|
+
|
|
64
|
+
return new URL(/^https?:\/\//.test(url) ? url : `https://${url}`).origin;
|
|
65
|
+
};
|
|
66
|
+
|
|
47
67
|
const moreModules: string[] = [];
|
|
48
68
|
const { resolve } = createResolver(import.meta.url);
|
|
49
69
|
const serverScanDirs = [
|
|
@@ -618,4 +638,10 @@ export default defineNuxtConfig({
|
|
|
618
638
|
nuxtVersion: '',
|
|
619
639
|
},
|
|
620
640
|
},
|
|
641
|
+
site: {
|
|
642
|
+
url: getSiteUrl(process.env.NODE_ENV !== 'production'),
|
|
643
|
+
},
|
|
644
|
+
linkChecker: {
|
|
645
|
+
runOnBuild: false,
|
|
646
|
+
},
|
|
621
647
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myelophone/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Aliaksandr Ivanou <aleksivanov.me@gmail.com> (https://github.com/aleksivanou)",
|
|
6
6
|
"maintainers": [
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@nuxt/scripts": "^1.3.12",
|
|
46
46
|
"@nuxt/types": "^2.18.1",
|
|
47
47
|
"@nuxtjs/fontaine": "^0.5.0",
|
|
48
|
-
"@nuxtjs/robots": "^
|
|
48
|
+
"@nuxtjs/robots": "^7.0.2",
|
|
49
49
|
"@pinia/colada": "^1.4.8",
|
|
50
50
|
"@pinia/colada-nuxt": "^1.2.0",
|
|
51
|
-
"@pinia/nuxt": "^1.0.
|
|
52
|
-
"@playwright/test": "^1.64.
|
|
51
|
+
"@pinia/nuxt": "^1.0.3",
|
|
52
|
+
"@playwright/test": "^1.64.1",
|
|
53
53
|
"@semantic-release/changelog": "^7.0.0",
|
|
54
54
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
55
55
|
"@semantic-release/git": "^11.0.1",
|
|
@@ -58,32 +58,32 @@
|
|
|
58
58
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
59
59
|
"@tailwindcss/vite": "^4.3.3",
|
|
60
60
|
"@types/node": "^26.6.5",
|
|
61
|
-
"@unhead/vue": "^3.4.
|
|
61
|
+
"@unhead/vue": "^3.4.3",
|
|
62
62
|
"@vue/devtools-api": "^8.2.1",
|
|
63
63
|
"@vueuse/core": "^15.0.0",
|
|
64
64
|
"commitlint": "^21.2.3",
|
|
65
65
|
"conventional-changelog-conventionalcommits": "^10.4.1",
|
|
66
|
-
"markdown-it": "^15.0.
|
|
66
|
+
"markdown-it": "^15.0.3",
|
|
67
67
|
"nuxt": "^4.6.1",
|
|
68
68
|
"nuxt-api-party": "^4.0.1",
|
|
69
|
-
"nuxt-link-checker": "^
|
|
70
|
-
"nuxt-og-image": "^
|
|
69
|
+
"nuxt-link-checker": "^6.0.1",
|
|
70
|
+
"nuxt-og-image": "^7.0.7",
|
|
71
71
|
"nuxt-payload-analyzer": "^0.1.4",
|
|
72
72
|
"nuxt-security": "^2.6.0",
|
|
73
|
-
"nuxt-seo-utils": "^
|
|
73
|
+
"nuxt-seo-utils": "^9.0.1",
|
|
74
74
|
"nuxt-vitalizer": "^3.0.0",
|
|
75
|
-
"pinia": "^4.0
|
|
76
|
-
"postcss": "^8.5.
|
|
75
|
+
"pinia": "^4.1.0",
|
|
76
|
+
"postcss": "^8.5.30",
|
|
77
77
|
"postcss-no-important": "^11.0.0",
|
|
78
78
|
"purgecss": "^8.0.0",
|
|
79
|
-
"rolldown": "^1.2.
|
|
79
|
+
"rolldown": "^1.2.14",
|
|
80
80
|
"semantic-release": "^25.0.9",
|
|
81
81
|
"tailwindcss": "^4.3.3",
|
|
82
82
|
"typescript": "^7.0.2",
|
|
83
|
-
"unstorage": "^1.17.
|
|
83
|
+
"unstorage": "^1.17.6",
|
|
84
84
|
"valibot": "^1.5.0",
|
|
85
85
|
"vite": "^8.3.4",
|
|
86
|
-
"vue": "^3.5.
|
|
86
|
+
"vue": "^3.5.44",
|
|
87
87
|
"vue-easy-lightbox": "^1.19.0",
|
|
88
88
|
"vue-sonner": "^2.0.9",
|
|
89
89
|
"vue-tsc": "^3.3.13",
|