@hywax/cms 1.3.0 → 1.4.0
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
package/dist/module.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { snakeCase, kebabCase } from 'scule';
|
|
|
6
6
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
7
7
|
|
|
8
8
|
const name = "@hywax/cms";
|
|
9
|
-
const version = "1.
|
|
9
|
+
const version = "1.4.0";
|
|
10
10
|
|
|
11
11
|
function createContext(options, nuxt) {
|
|
12
12
|
const { resolve } = createResolver(import.meta.url);
|
|
@@ -448,9 +448,10 @@ export {}
|
|
|
448
448
|
write: true,
|
|
449
449
|
getContents: () => {
|
|
450
450
|
const config = {
|
|
451
|
-
name: options.name
|
|
452
|
-
|
|
453
|
-
|
|
451
|
+
name: options.name
|
|
452
|
+
// Переменные есть в runtimeConfig
|
|
453
|
+
// uploraUrl: options.uploraUrl,
|
|
454
|
+
// fluxorUrl: options.fluxorUrl,
|
|
454
455
|
};
|
|
455
456
|
return `const cmsConfig = ${JSON.stringify(config, null, 2)} as const
|
|
456
457
|
|