@myelophone/nuxt 0.20.1 → 0.21.1

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/.yarnrc.yml CHANGED
@@ -5,4 +5,4 @@ enableScripts: true
5
5
 
6
6
  nodeLinker: node-modules
7
7
 
8
- yarnPath: .yarn/releases/yarn-4.18.0.cjs
8
+ yarnPath: .yarn/releases/yarn-4.18.1.cjs
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 📦 Release 0.21.1 (2026-10-13)
2
+ ### 🐛 Bug Fixes
3
+ - update dependencies
4
+
5
+ ## 📦 Release 0.21.0 (2026-10-08)
6
+ ### ✨ Features
7
+ - update to nuxt v4.6.0
8
+
1
9
  ## 📦 Release 0.20.1 (2026-09-23)
2
10
  ### 🐛 Bug Fixes
3
11
  - update dependencies
@@ -42,7 +42,7 @@ const props = defineProps({
42
42
  containerClass: { type: String, default: "" },
43
43
  });
44
44
 
45
- const settingsStore = useSettingsStore();
45
+ const settingsStore = useSettingsStore(useNuxtApp().$pinia);
46
46
  const now = ref(new Date());
47
47
  const isMounted = ref(false);
48
48
  let timer = null;
@@ -9,7 +9,7 @@ const props = defineProps({
9
9
  short: { type: Boolean, default: false },
10
10
  });
11
11
 
12
- const settingsStore = useSettingsStore();
12
+ const settingsStore = useSettingsStore(useNuxtApp().$pinia);
13
13
  const currentLocale = computed(
14
14
  () =>
15
15
  props.locale ||
@@ -43,7 +43,7 @@ const rawDomain = props.domain || config.tally?.domain || "tally.so";
43
43
  const baseUrl = `https://${rawDomain}`;
44
44
  const scriptSrc = `${baseUrl}/widgets/embed.js`;
45
45
 
46
- const settingsStore = useSettingsStore();
46
+ const settingsStore = useSettingsStore(useNuxtApp().$pinia);
47
47
  const currentTheme = computed(() => settingsStore.theme || "light");
48
48
 
49
49
  const getPayload = (isFullscreenOverride = false) => {
@@ -5,7 +5,7 @@ import {
5
5
  } from '~/types/cookie';
6
6
 
7
7
  export const useCookieControl = () => {
8
- const store = useSettingsStore();
8
+ const store = useSettingsStore(useNuxtApp().$pinia);
9
9
  const { cookiePreferences, isCookieBannerVisible } = storeToRefs(store);
10
10
 
11
11
  const config = useMyelophoneConfig();
@@ -1,5 +1,3 @@
1
- import { version } from 'nuxt/package.json';
2
-
3
1
  export function useNuxtVersion() {
4
- return version || 'v4.x';
2
+ return useRuntimeConfig().public.nuxtVersion;
5
3
  }
@@ -8,7 +8,7 @@ import {
8
8
  defineNuxtModule,
9
9
  } from '@nuxt/kit';
10
10
 
11
- import { getBlogPostUrls } from '../default-blog/posts';
11
+ import { getBlogPostUrls } from '../default-blog/posts.ts';
12
12
 
13
13
  export default defineNuxtModule({
14
14
  meta: {
@@ -8,7 +8,7 @@ export default defineNuxtModule({
8
8
  nuxt.hook('nitro:build:public-assets', () => {
9
9
  if (!process.env.NUXT_STATIC) return;
10
10
 
11
- const src = join(__dirname, '.htaccess');
11
+ const src = join(import.meta.dirname, '.htaccess');
12
12
  if (!existsSync(src)) return;
13
13
 
14
14
  const destDir = join(nuxt.options.rootDir, '.output/public');
@@ -1,4 +1,4 @@
1
1
  export default defineNuxtPlugin(() => {
2
- const version = import.meta.env.PACKAGE_VERSION || '4.x';
2
+ const version = useNuxtVersion();
3
3
  return { provide: { nuxtVersion: version } };
4
4
  });
package/biome.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "assist": {
4
4
  "actions": {
5
5
  "source": {
package/nuxt.config.ts CHANGED
@@ -1,26 +1,31 @@
1
1
  import { readFileSync } from 'node:fs';
2
2
  import path from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
- import multi18n from './app/modules/multi18n/module';
5
- import myelophoneConfig from './app/modules/myelophone-config/module';
4
+ import multi18n from './app/modules/multi18n/module.ts';
5
+ import myelophoneConfig from './app/modules/myelophone-config/module.ts';
6
6
  import i18nTreeShaker from './app/modules/i18n-shaker.mjs';
7
- import nuxtHtaccess from './app/modules/htaccess';
8
- import fullscreenPreloader from './app/modules/fullscreen-preloader/module';
9
- import defaultBlog from './app/modules/default-blog';
10
- import defaultSitemap from './app/modules/default-sitemap';
7
+ import nuxtHtaccess from './app/modules/htaccess/index.ts';
8
+ import fullscreenPreloader from './app/modules/fullscreen-preloader/module.ts';
9
+ import defaultBlog from './app/modules/default-blog/index.ts';
10
+ import defaultSitemap from './app/modules/default-sitemap/index.ts';
11
11
 
12
- import { cleanEmptyCssPlugin } from './vite/plugins/clean-css';
12
+ import { cleanEmptyCssPlugin } from './vite/plugins/clean-css.ts';
13
13
  import {
14
14
  blogContentPlugin,
15
15
  defaultBlogContentDirectories,
16
- } from './vite/plugins/blog-content';
17
- import postcssViewportFallback from './vite/plugins/postcss-viewport-fallback';
16
+ } from './vite/plugins/blog-content.ts';
17
+ import postcssViewportFallback from './vite/plugins/postcss-viewport-fallback.ts';
18
18
  import noImportant from 'postcss-no-important';
19
- import postcssAddViewportUnits from './vite/plugins/postcss-add-viewportunits';
19
+ import postcssAddViewportUnits from './vite/plugins/postcss-add-viewportunits.ts';
20
20
 
21
21
  import tailwindcss from '@tailwindcss/vite';
22
22
 
23
- import { createResolver, useNuxt, extendViteConfig } from '@nuxt/kit';
23
+ import {
24
+ createResolver,
25
+ useNuxt,
26
+ extendViteConfig,
27
+ getNuxtVersion,
28
+ } from '@nuxt/kit';
24
29
 
25
30
  const pkg = JSON.parse(
26
31
  readFileSync(new URL('./package.json', import.meta.url), 'utf8'),
@@ -28,7 +33,7 @@ const pkg = JSON.parse(
28
33
 
29
34
  const version = pkg.version;
30
35
 
31
- const dateActuality = '2026-09-23';
36
+ const dateActuality = '2026-10-14';
32
37
  const banner = `/* © 2025 Aliaksandr Ivanou (https://aleksivanov.me/). All rights reserved. @MyelophOne/Nuxt v${version}. This app bundle licenses: /_nuxt/licenses.md */\n`;
33
38
  const defaultSeo = {
34
39
  title: 'Our Nuxt WebSite | by MyelophOne/Nuxt',
@@ -148,7 +153,13 @@ export default defineNuxtConfig({
148
153
  preset: isSSG ? 'static' : process.env.NITRO_PRESET || 'node-cluster',
149
154
  compressPublicAssets: true,
150
155
  externals: {
151
- inline: ['h3', '@vue/shared'],
156
+ inline: [
157
+ 'h3',
158
+ '@vue/shared',
159
+ 'pinia',
160
+ 'nuxt/internal',
161
+ /[\\/]nuxt[\\/]dist[\\/]runtime[\\/]server[\\/]/,
162
+ ],
152
163
  },
153
164
  experimental: {
154
165
  tasks: true,
@@ -162,7 +173,7 @@ export default defineNuxtConfig({
162
173
  failOnError: false,
163
174
  crawlLinks: true,
164
175
  ignore: [
165
- (path: string) => path.match(/\.(js|css|map|json)$/),
176
+ (path: string) => /\.(js|css|map|json)$/.test(path),
166
177
  ],
167
178
  }
168
179
  : undefined,
@@ -183,6 +194,22 @@ export default defineNuxtConfig({
183
194
  'console.error',
184
195
  'console.debug',
185
196
  'console.trace',
197
+ 'console.table',
198
+ 'console.dir',
199
+ 'console.dirxml',
200
+ 'console.assert',
201
+ 'console.count',
202
+ 'console.countReset',
203
+ 'console.group',
204
+ 'console.groupCollapsed',
205
+ 'console.groupEnd',
206
+ 'console.time',
207
+ 'console.timeEnd',
208
+ 'console.timeLog',
209
+ 'console.timeStamp',
210
+ 'console.profile',
211
+ 'console.profileEnd',
212
+ 'console.clear',
186
213
  ],
187
214
  },
188
215
  },
@@ -191,6 +218,26 @@ export default defineNuxtConfig({
191
218
  devSourcemap: true,
192
219
  },
193
220
  plugins: [
221
+ {
222
+ name: 'server-output-comments',
223
+ apply: 'build',
224
+ configEnvironment(name) {
225
+ if (name !== 'ssr') return;
226
+ return {
227
+ build: {
228
+ rolldownOptions: {
229
+ output: {
230
+ comments: {
231
+ legal: true,
232
+ jsdoc: true,
233
+ annotation: false,
234
+ },
235
+ },
236
+ },
237
+ },
238
+ };
239
+ },
240
+ },
194
241
  tailwindcss(),
195
242
  blogContentPlugin(
196
243
  defaultBlogContentDirectories(
@@ -491,6 +538,8 @@ export default defineNuxtConfig({
491
538
  },
492
539
  'modules:done'() {
493
540
  const nuxt = useNuxt();
541
+ nuxt.options.runtimeConfig.public.nuxtVersion =
542
+ getNuxtVersion(nuxt);
494
543
  const bundleTranslations =
495
544
  nuxt.options.myelophone?.bundleTranslations ?? true;
496
545
 
@@ -505,6 +554,7 @@ export default defineNuxtConfig({
505
554
  output.codeSplitting = {
506
555
  groups: [
507
556
  {
557
+ debugName: 'myelophone-shared-chunks',
508
558
  name(id: string): string | null {
509
559
  if (id.includes('vue-sonner')) {
510
560
  return 'sonner';
@@ -565,6 +615,7 @@ export default defineNuxtConfig({
565
615
  runtimeConfig: {
566
616
  public: {
567
617
  version,
618
+ nuxtVersion: '',
568
619
  },
569
620
  },
570
621
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myelophone/nuxt",
3
- "version": "0.20.1",
3
+ "version": "0.21.1",
4
4
  "type": "module",
5
5
  "author": "Aliaksandr Ivanou <aleksivanov.me@gmail.com> (https://github.com/aleksivanou)",
6
6
  "maintainers": [
@@ -36,20 +36,20 @@
36
36
  "lock-update": "yarn dedupe --strategy highest"
37
37
  },
38
38
  "devDependencies": {
39
- "@biomejs/biome": "^2.5.14",
39
+ "@biomejs/biome": "^2.5.15",
40
40
  "@commitlint/cli": "^21.2.3",
41
41
  "@commitlint/config-conventional": "^21.2.3",
42
- "@nuxt/fonts": "^0.14.0",
42
+ "@nuxt/fonts": "^1.0.1",
43
43
  "@nuxt/image": "^2.1.0",
44
- "@nuxt/schema": "^4.5.2",
45
- "@nuxt/scripts": "^1.3.9",
44
+ "@nuxt/schema": "^4.6.1",
45
+ "@nuxt/scripts": "^1.3.12",
46
46
  "@nuxt/types": "^2.18.1",
47
47
  "@nuxtjs/fontaine": "^0.5.0",
48
- "@nuxtjs/robots": "^6.2.3",
49
- "@pinia/colada": "^1.4.5",
48
+ "@nuxtjs/robots": "^6.2.4",
49
+ "@pinia/colada": "^1.4.8",
50
50
  "@pinia/colada-nuxt": "^1.2.0",
51
51
  "@pinia/nuxt": "^1.0.2",
52
- "@playwright/test": "^1.63.0",
52
+ "@playwright/test": "^1.64.0",
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",
@@ -57,39 +57,39 @@
57
57
  "@semantic-release/npm": "^13.2.0",
58
58
  "@semantic-release/release-notes-generator": "^14.1.1",
59
59
  "@tailwindcss/vite": "^4.3.3",
60
- "@types/node": "^26.6.2",
61
- "@unhead/vue": "^3.4.1",
60
+ "@types/node": "^26.6.5",
61
+ "@unhead/vue": "^3.4.2",
62
62
  "@vue/devtools-api": "^8.2.1",
63
63
  "@vueuse/core": "^15.0.0",
64
64
  "commitlint": "^21.2.3",
65
- "conventional-changelog-conventionalcommits": "^10.4.0",
65
+ "conventional-changelog-conventionalcommits": "^10.4.1",
66
66
  "markdown-it": "^15.0.2",
67
- "nuxt": "^4.5.2",
67
+ "nuxt": "^4.6.1",
68
68
  "nuxt-api-party": "^4.0.1",
69
69
  "nuxt-link-checker": "^5.3.0",
70
- "nuxt-og-image": "^6.8.0",
70
+ "nuxt-og-image": "^6.10.3",
71
71
  "nuxt-payload-analyzer": "^0.1.4",
72
72
  "nuxt-security": "^2.6.0",
73
- "nuxt-seo-utils": "^8.5.1",
73
+ "nuxt-seo-utils": "^8.6.1",
74
74
  "nuxt-vitalizer": "^3.0.0",
75
75
  "pinia": "^4.0.3",
76
- "postcss": "^8.5.28",
76
+ "postcss": "^8.5.29",
77
77
  "postcss-no-important": "^11.0.0",
78
78
  "purgecss": "^8.0.0",
79
- "rolldown": "^1.2.9",
79
+ "rolldown": "^1.2.13",
80
80
  "semantic-release": "^25.0.9",
81
81
  "tailwindcss": "^4.3.3",
82
82
  "typescript": "^7.0.2",
83
83
  "unstorage": "^1.17.5",
84
84
  "valibot": "^1.5.0",
85
- "vite": "^8.3.0",
85
+ "vite": "^8.3.4",
86
86
  "vue": "^3.5.43",
87
87
  "vue-easy-lightbox": "^1.19.0",
88
88
  "vue-sonner": "^2.0.9",
89
- "vue-tsc": "^3.3.11",
89
+ "vue-tsc": "^3.3.13",
90
90
  "yaml": "^2.9.1"
91
91
  },
92
- "packageManager": "yarn@4.18.0",
92
+ "packageManager": "yarn@4.18.1",
93
93
  "repository": {
94
94
  "type": "git",
95
95
  "url": "git+https://github.com/MyelophOne/nuxt.git"