@serwist/next 9.0.0-preview.11 → 9.0.0-preview.12

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/index.js CHANGED
@@ -143,7 +143,7 @@ const withSerwistInit = (pluginOptions)=>{
143
143
  info("Service worker won't be automatically registered as per the config, please call the following code in componentDidMount or useEffect:");
144
144
  info(" window.serwist.register()");
145
145
  if (!tsConfigJson?.compilerOptions?.types?.includes("@serwist/next/typings")) {
146
- info("You may also want to add @serwist/next/typings to compilerOptions.types in your tsconfig.json/jsconfig.json.");
146
+ info("You may also want to add '@serwist/next/typings' to compilerOptions.types in your tsconfig.json/jsconfig.json.");
147
147
  }
148
148
  }
149
149
  const { swSrc: userSwSrc, swDest: userSwDest, additionalPrecacheEntries, exclude, manifestTransforms = [], ...otherBuildOptions } = buildOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/next",
3
- "version": "9.0.0-preview.11",
3
+ "version": "9.0.0-preview.12",
4
4
  "type": "module",
5
5
  "description": "A module that integrates Serwist into your Next.js application.",
6
6
  "files": [
@@ -57,13 +57,13 @@
57
57
  "dependencies": {
58
58
  "chalk": "5.3.0",
59
59
  "glob": "10.3.10",
60
- "@serwist/build": "9.0.0-preview.11",
61
- "@serwist/core": "9.0.0-preview.11",
62
- "@serwist/expiration": "9.0.0-preview.11",
63
- "@serwist/range-requests": "9.0.0-preview.11",
64
- "@serwist/strategies": "9.0.0-preview.11",
65
- "@serwist/webpack-plugin": "9.0.0-preview.11",
66
- "@serwist/window": "9.0.0-preview.11"
60
+ "@serwist/build": "9.0.0-preview.12",
61
+ "@serwist/core": "9.0.0-preview.12",
62
+ "@serwist/expiration": "9.0.0-preview.12",
63
+ "@serwist/range-requests": "9.0.0-preview.12",
64
+ "@serwist/strategies": "9.0.0-preview.12",
65
+ "@serwist/webpack-plugin": "9.0.0-preview.12",
66
+ "@serwist/window": "9.0.0-preview.12"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "20.11.16",
@@ -74,14 +74,14 @@
74
74
  "type-fest": "4.10.2",
75
75
  "typescript": "5.4.0-dev.20240206",
76
76
  "webpack": "5.90.1",
77
- "@serwist/constants": "9.0.0-preview.11",
78
- "@serwist/sw": "9.0.0-preview.11",
79
- "@serwist/utils": "9.0.0-preview.11"
77
+ "@serwist/constants": "9.0.0-preview.12",
78
+ "@serwist/sw": "9.0.0-preview.12",
79
+ "@serwist/utils": "9.0.0-preview.12"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "next": ">=14.0.0",
83
83
  "typescript": ">=5.0.0",
84
- "@serwist/sw": "9.0.0-preview.11"
84
+ "@serwist/sw": "9.0.0-preview.12"
85
85
  },
86
86
  "peerDependenciesMeta": {
87
87
  "@serwist/sw": {
package/src/index.ts CHANGED
@@ -95,7 +95,7 @@ const withSerwistInit = (pluginOptions: NextInjectManifestOptions): ((nextConfig
95
95
  logger.info(" window.serwist.register()");
96
96
 
97
97
  if (!tsConfigJson?.compilerOptions?.types?.includes("@serwist/next/typings")) {
98
- logger.info("You may also want to add @serwist/next/typings to compilerOptions.types in your tsconfig.json/jsconfig.json.");
98
+ logger.info("You may also want to add '@serwist/next/typings' to compilerOptions.types in your tsconfig.json/jsconfig.json.");
99
99
  }
100
100
  }
101
101