@serwist/nuxt 9.0.0-preview.0 → 9.0.0-preview.10

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/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.8.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "9.0.0-preview.0"
8
+ "version": "9.0.0-preview.10"
9
9
  }
package/dist/module.mjs CHANGED
@@ -6,7 +6,7 @@ import { createReadStream } from 'node:fs';
6
6
  import fs from 'node:fs/promises';
7
7
  import pathe from 'pathe';
8
8
 
9
- const version = "9.0.0-preview.0";
9
+ const version = "9.0.0-preview.10";
10
10
 
11
11
  function configurePwaOptions(options, nuxt, nitroConfig) {
12
12
  let buildAssetsDir = nuxt.options.app.buildAssetsDir ?? "_nuxt/";
@@ -133,7 +133,7 @@ const module = defineNuxtModule({
133
133
  nuxt.hook("vite:extend", ({ config }) => {
134
134
  const plugin = config.plugins?.find((p) => p && typeof p === "object" && "name" in p && p.name === "@serwist/vite");
135
135
  if (plugin) {
136
- throw new Error("Remove @serwist/vite from your Vite configuration! Do not use it alongside @serwist/nuxt.");
136
+ throw new Error("Remove '@serwist/vite' from your Vite configuration! Do not use it alongside '@serwist/nuxt'.");
137
137
  }
138
138
  });
139
139
  nuxt.hook("vite:extendConfig", async (viteInlineConfig, { isClient }) => {
@@ -142,7 +142,7 @@ const module = defineNuxtModule({
142
142
  }
143
143
  const plugin = viteInlineConfig.plugins.find((p) => p && typeof p === "object" && "name" in p && p.name === "@serwist/vite");
144
144
  if (plugin) {
145
- throw new Error("Remove @serwist/vite from your Vite conoptionsfiguration! Do not use it alongside @serwist/nuxt.");
145
+ throw new Error("Remove '@serwist/vite' from your Vite configuration! Do not use it alongside '@serwist/nuxt'.");
146
146
  }
147
147
  if (isClient) {
148
148
  const configuration = "virtual:serwist-nuxt-configuration";
@@ -170,7 +170,7 @@ const module = defineNuxtModule({
170
170
  viteInlineConfig.plugins.push(plugins);
171
171
  });
172
172
  extendWebpackConfig(() => {
173
- throw new Error("Webpack is not supported: @serwist/nuxt can only be used with Vite!");
173
+ throw new Error("Webpack is not supported: '@serwist/nuxt' can only be used with Vite!");
174
174
  });
175
175
  if (!nuxt.options.dev) {
176
176
  nuxt.hook("nitro:build:public-assets", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/nuxt",
3
- "version": "9.0.0-preview.0",
3
+ "version": "9.0.0-preview.10",
4
4
  "type": "module",
5
5
  "description": "A Nuxt module that integrates Serwist into your application.",
6
6
  "files": [
@@ -53,30 +53,30 @@
53
53
  ]
54
54
  },
55
55
  "dependencies": {
56
- "@nuxt/kit": "3.10.0",
56
+ "@nuxt/kit": "3.10.1",
57
57
  "fast-json-stable-stringify": "2.1.0",
58
58
  "pathe": "1.1.2",
59
59
  "ufo": "1.3.2",
60
- "@serwist/build": "9.0.0-preview.0",
61
- "@serwist/vite": "9.0.0-preview.0",
62
- "@serwist/window": "9.0.0-preview.0"
60
+ "@serwist/build": "9.0.0-preview.10",
61
+ "@serwist/vite": "9.0.0-preview.10",
62
+ "@serwist/window": "9.0.0-preview.10"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@nuxt/module-builder": "0.5.5",
66
- "@nuxt/schema": "3.10.0",
66
+ "@nuxt/schema": "3.10.1",
67
67
  "@nuxt/test-utils": "3.11.0",
68
68
  "@playwright/test": "1.41.2",
69
69
  "@types/node": "20.11.16",
70
70
  "eslint": "8.56.0",
71
- "nuxt": "3.10.0",
71
+ "nuxt": "3.10.1",
72
72
  "publint": "0.2.7",
73
73
  "rimraf": "5.0.5",
74
74
  "serve": "14.2.1",
75
- "typescript": "5.4.0-dev.20240203",
75
+ "typescript": "5.4.0-dev.20240206",
76
76
  "vite": "5.0.12",
77
77
  "vitest": "1.2.2",
78
78
  "vue-tsc": "1.8.27",
79
- "@serwist/constants": "9.0.0-preview.0"
79
+ "@serwist/constants": "9.0.0-preview.10"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "typescript": ">=5.0.0",