nuxt-content-assets 1.4.0 → 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 +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +2 -2
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/
|
|
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
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.
|
|
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"
|