nuxt-content-assets 1.4.1 → 1.4.2

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/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  > Enable locally-located assets in Nuxt Content
9
9
 
10
10
  <p align="center">
11
- <img src="https://raw.githubusercontent.com/davestewart/nuxt-content-assets/main/playground/content/splash.png" alt="Nuxt Content Assets logo">
11
+ <img src="https://raw.githubusercontent.com/davestewart/nuxt-content-assets/main/playground/public/splash.png" alt="Nuxt Content Assets logo">
12
12
  </p>
13
13
 
14
14
  ## Overview
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.4.0"
7
+ "version": "1.4.2"
8
8
  }
package/dist/module.mjs CHANGED
@@ -594,7 +594,7 @@ const module = defineNuxtModule({
594
594
  }
595
595
  }
596
596
  addPlugin(resolve("./runtime/sockets/plugin"));
597
- const socket = isDev ? await setupSocketServer("content-assets") : null;
597
+ const socket = isDev && nuxt.options.content?.watch !== false ? await setupSocketServer("content-assets") : null;
598
598
  const managers = {};
599
599
  for (const [key, source] of Object.entries(sources)) {
600
600
  if (isDebug) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-content-assets",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Enable locally-located assets in Nuxt Content",
5
5
  "repository": "davestewart/nuxt-content-assets",
6
6
  "license": "MIT",
@@ -23,8 +23,8 @@
23
23
  "dev:generate": "nuxi generate playground",
24
24
  "dev:build": "nuxi build playground",
25
25
  "dev:preview": "nuxi preview playground",
26
+ "release": "npm run lint && npm run test && nuxt-module-build build && npm publish",
26
27
  "release:dry": "npm run lint && npm run test && nuxt-module-build build && npm publish --dry-run",
27
- "release": "npm run lint && npm run test && nuxt-module-build build && changelogen --release && npm publish && git push --follow-tags",
28
28
  "lint": "eslint .",
29
29
  "test": "vitest run",
30
30
  "test:watch": "vitest watch"
@@ -60,4 +60,4 @@
60
60
  "engines": {
61
61
  "node": ">=16.0.0"
62
62
  }
63
- }
63
+ }