@elyndra/nuxt 1.2.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/build/cjs/head/createElyndraBackgroundStyle.d.ts +11 -0
- package/build/cjs/head/createElyndraBackgroundStyle.js +10 -0
- package/build/cjs/head/createElyndraFavicon.d.ts +14 -0
- package/build/cjs/head/createElyndraFavicon.js +10 -0
- package/build/cjs/head/createElyndraHead.d.ts +30 -0
- package/build/cjs/head/createElyndraHead.js +35 -0
- package/build/cjs/head/createElyndraPageMeta.d.ts +12 -0
- package/build/cjs/head/createElyndraPageMeta.js +11 -0
- package/build/cjs/head/createElyndraSeoMeta.d.ts +24 -0
- package/build/cjs/head/createElyndraSeoMeta.js +24 -0
- package/build/cjs/head/createElyndraViewport.d.ts +9 -0
- package/build/cjs/head/createElyndraViewport.js +8 -0
- package/build/cjs/index.d.ts +6 -0
- package/build/cjs/index.js +9 -0
- package/build/cjs/package.json +1 -0
- package/build/esm/head/createElyndraBackgroundStyle.d.ts +11 -0
- package/build/esm/head/createElyndraBackgroundStyle.js +7 -0
- package/build/esm/head/createElyndraFavicon.d.ts +14 -0
- package/build/esm/head/createElyndraFavicon.js +7 -0
- package/build/esm/head/createElyndraHead.d.ts +30 -0
- package/build/esm/head/createElyndraHead.js +32 -0
- package/build/esm/head/createElyndraPageMeta.d.ts +12 -0
- package/build/esm/head/createElyndraPageMeta.js +8 -0
- package/build/esm/head/createElyndraSeoMeta.d.ts +24 -0
- package/build/esm/head/createElyndraSeoMeta.js +21 -0
- package/build/esm/head/createElyndraViewport.d.ts +9 -0
- package/build/esm/head/createElyndraViewport.js +5 -0
- package/build/esm/index.d.ts +6 -0
- package/build/esm/index.js +6 -0
- package/build/esm/package.json +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface CreateElyndraBackgroundStyleOptions {
|
|
2
|
+
background: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElyndraBackgroundStyleHead {
|
|
5
|
+
style: Array<{
|
|
6
|
+
innerHTML: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
declare const createElyndraBackgroundStyle: (options: CreateElyndraBackgroundStyleOptions) => ElyndraBackgroundStyleHead;
|
|
10
|
+
export { createElyndraBackgroundStyle };
|
|
11
|
+
export type { CreateElyndraBackgroundStyleOptions, ElyndraBackgroundStyleHead };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraBackgroundStyle = void 0;
|
|
4
|
+
const createElyndraBackgroundStyle = (options) => {
|
|
5
|
+
const { background } = options;
|
|
6
|
+
return {
|
|
7
|
+
style: [{ innerHTML: `html,body{background:${background}}` }],
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
exports.createElyndraBackgroundStyle = createElyndraBackgroundStyle;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface CreateElyndraFaviconOptions {
|
|
2
|
+
href?: string;
|
|
3
|
+
type?: string;
|
|
4
|
+
}
|
|
5
|
+
interface ElyndraFaviconHead {
|
|
6
|
+
link: Array<{
|
|
7
|
+
rel: string;
|
|
8
|
+
href: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
declare const createElyndraFavicon: (options?: CreateElyndraFaviconOptions) => ElyndraFaviconHead;
|
|
13
|
+
export { createElyndraFavicon };
|
|
14
|
+
export type { CreateElyndraFaviconOptions, ElyndraFaviconHead };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraFavicon = void 0;
|
|
4
|
+
const createElyndraFavicon = (options = {}) => {
|
|
5
|
+
const { href = '/icon.svg', type = 'image/svg+xml' } = options;
|
|
6
|
+
return {
|
|
7
|
+
link: [{ rel: 'icon', href, type }],
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
exports.createElyndraFavicon = createElyndraFavicon;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface CreateElyndraHeadOptions {
|
|
2
|
+
siteUrl: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imagePath?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
twitterCard?: 'summary' | 'summary_large_image';
|
|
8
|
+
themeColor?: string;
|
|
9
|
+
background?: string;
|
|
10
|
+
}
|
|
11
|
+
interface ElyndraHead {
|
|
12
|
+
title: string;
|
|
13
|
+
meta: Array<{
|
|
14
|
+
name: string;
|
|
15
|
+
content: string;
|
|
16
|
+
} | {
|
|
17
|
+
property: string;
|
|
18
|
+
content: string;
|
|
19
|
+
}>;
|
|
20
|
+
link: Array<{
|
|
21
|
+
rel: string;
|
|
22
|
+
href: string;
|
|
23
|
+
}>;
|
|
24
|
+
style?: Array<{
|
|
25
|
+
innerHTML: string;
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
28
|
+
declare const createElyndraHead: (options: CreateElyndraHeadOptions) => ElyndraHead;
|
|
29
|
+
export { createElyndraHead };
|
|
30
|
+
export type { CreateElyndraHeadOptions, ElyndraHead };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraHead = void 0;
|
|
4
|
+
const createElyndraHead = (options) => {
|
|
5
|
+
const { siteUrl, title, description, imagePath = '/elyndra.jpg', icon = '/icon.svg', twitterCard = 'summary_large_image', themeColor, background, } = options;
|
|
6
|
+
if (siteUrl === '') {
|
|
7
|
+
throw new Error('[elyndra] createElyndraHead: `siteUrl` must not be empty.');
|
|
8
|
+
}
|
|
9
|
+
const meta = [
|
|
10
|
+
{ name: 'description', content: description },
|
|
11
|
+
{ property: 'og:type', content: 'website' },
|
|
12
|
+
{ property: 'og:url', content: siteUrl },
|
|
13
|
+
{ property: 'og:title', content: title },
|
|
14
|
+
{ property: 'og:site_name', content: title },
|
|
15
|
+
{ property: 'og:description', content: description },
|
|
16
|
+
{ property: 'og:image', content: imagePath },
|
|
17
|
+
{ name: 'twitter:card', content: twitterCard },
|
|
18
|
+
{ name: 'twitter:title', content: title },
|
|
19
|
+
{ name: 'twitter:description', content: description },
|
|
20
|
+
{ name: 'twitter:image', content: imagePath },
|
|
21
|
+
];
|
|
22
|
+
if (themeColor !== undefined) {
|
|
23
|
+
meta.push({ name: 'theme-color', content: themeColor });
|
|
24
|
+
}
|
|
25
|
+
const head = {
|
|
26
|
+
title,
|
|
27
|
+
meta,
|
|
28
|
+
link: [{ rel: 'icon', href: icon }],
|
|
29
|
+
};
|
|
30
|
+
if (background !== undefined) {
|
|
31
|
+
head.style = [{ innerHTML: `html,body{background:${background}}` }];
|
|
32
|
+
}
|
|
33
|
+
return head;
|
|
34
|
+
};
|
|
35
|
+
exports.createElyndraHead = createElyndraHead;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface CreateElyndraPageMetaOptions {
|
|
2
|
+
title: string;
|
|
3
|
+
siteTitle: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
interface ElyndraPageMeta {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
declare const createElyndraPageMeta: (options: CreateElyndraPageMetaOptions) => ElyndraPageMeta;
|
|
11
|
+
export { createElyndraPageMeta };
|
|
12
|
+
export type { CreateElyndraPageMetaOptions, ElyndraPageMeta };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraPageMeta = void 0;
|
|
4
|
+
const createElyndraPageMeta = (options) => {
|
|
5
|
+
const { title, siteTitle, description } = options;
|
|
6
|
+
return {
|
|
7
|
+
title: `${title} | ${siteTitle}`,
|
|
8
|
+
description,
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.createElyndraPageMeta = createElyndraPageMeta;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface CreateElyndraSeoMetaOptions {
|
|
2
|
+
siteUrl: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imagePath?: string;
|
|
6
|
+
twitterCard?: 'summary' | 'summary_large_image';
|
|
7
|
+
}
|
|
8
|
+
interface ElyndraSeoMeta {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
ogTitle: string;
|
|
12
|
+
ogDescription: string;
|
|
13
|
+
ogType: 'website';
|
|
14
|
+
ogUrl: string;
|
|
15
|
+
ogSiteName: string;
|
|
16
|
+
ogImage: string;
|
|
17
|
+
twitterCard: 'summary' | 'summary_large_image';
|
|
18
|
+
twitterTitle: string;
|
|
19
|
+
twitterDescription: string;
|
|
20
|
+
twitterImage: string;
|
|
21
|
+
}
|
|
22
|
+
declare const createElyndraSeoMeta: (options: CreateElyndraSeoMetaOptions) => ElyndraSeoMeta;
|
|
23
|
+
export { createElyndraSeoMeta };
|
|
24
|
+
export type { CreateElyndraSeoMetaOptions, ElyndraSeoMeta };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraSeoMeta = void 0;
|
|
4
|
+
const createElyndraSeoMeta = (options) => {
|
|
5
|
+
const { siteUrl, title, description, imagePath = '/elyndra.jpg', twitterCard = 'summary_large_image', } = options;
|
|
6
|
+
if (siteUrl === '') {
|
|
7
|
+
throw new Error('[elyndra] createElyndraSeoMeta: `siteUrl` must not be empty.');
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
title,
|
|
11
|
+
description,
|
|
12
|
+
ogTitle: title,
|
|
13
|
+
ogDescription: description,
|
|
14
|
+
ogType: 'website',
|
|
15
|
+
ogUrl: siteUrl,
|
|
16
|
+
ogSiteName: title,
|
|
17
|
+
ogImage: imagePath,
|
|
18
|
+
twitterCard,
|
|
19
|
+
twitterTitle: title,
|
|
20
|
+
twitterDescription: description,
|
|
21
|
+
twitterImage: imagePath,
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
exports.createElyndraSeoMeta = createElyndraSeoMeta;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface CreateElyndraViewportOptions {
|
|
2
|
+
themeColor: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElyndraViewport {
|
|
5
|
+
themeColor: string;
|
|
6
|
+
}
|
|
7
|
+
declare const createElyndraViewport: (options: CreateElyndraViewportOptions) => ElyndraViewport;
|
|
8
|
+
export { createElyndraViewport };
|
|
9
|
+
export type { CreateElyndraViewportOptions, ElyndraViewport };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElyndraViewport = void 0;
|
|
4
|
+
const createElyndraViewport = (options) => {
|
|
5
|
+
const { themeColor } = options;
|
|
6
|
+
return { themeColor };
|
|
7
|
+
};
|
|
8
|
+
exports.createElyndraViewport = createElyndraViewport;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './head/createElyndraBackgroundStyle.js';
|
|
2
|
+
export * from './head/createElyndraFavicon.js';
|
|
3
|
+
export * from './head/createElyndraHead.js';
|
|
4
|
+
export * from './head/createElyndraPageMeta.js';
|
|
5
|
+
export * from './head/createElyndraSeoMeta.js';
|
|
6
|
+
export * from './head/createElyndraViewport.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./head/createElyndraBackgroundStyle.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./head/createElyndraFavicon.js"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./head/createElyndraHead.js"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./head/createElyndraPageMeta.js"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./head/createElyndraSeoMeta.js"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./head/createElyndraViewport.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface CreateElyndraBackgroundStyleOptions {
|
|
2
|
+
background: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElyndraBackgroundStyleHead {
|
|
5
|
+
style: Array<{
|
|
6
|
+
innerHTML: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
declare const createElyndraBackgroundStyle: (options: CreateElyndraBackgroundStyleOptions) => ElyndraBackgroundStyleHead;
|
|
10
|
+
export { createElyndraBackgroundStyle };
|
|
11
|
+
export type { CreateElyndraBackgroundStyleOptions, ElyndraBackgroundStyleHead };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface CreateElyndraFaviconOptions {
|
|
2
|
+
href?: string;
|
|
3
|
+
type?: string;
|
|
4
|
+
}
|
|
5
|
+
interface ElyndraFaviconHead {
|
|
6
|
+
link: Array<{
|
|
7
|
+
rel: string;
|
|
8
|
+
href: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
declare const createElyndraFavicon: (options?: CreateElyndraFaviconOptions) => ElyndraFaviconHead;
|
|
13
|
+
export { createElyndraFavicon };
|
|
14
|
+
export type { CreateElyndraFaviconOptions, ElyndraFaviconHead };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface CreateElyndraHeadOptions {
|
|
2
|
+
siteUrl: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imagePath?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
twitterCard?: 'summary' | 'summary_large_image';
|
|
8
|
+
themeColor?: string;
|
|
9
|
+
background?: string;
|
|
10
|
+
}
|
|
11
|
+
interface ElyndraHead {
|
|
12
|
+
title: string;
|
|
13
|
+
meta: Array<{
|
|
14
|
+
name: string;
|
|
15
|
+
content: string;
|
|
16
|
+
} | {
|
|
17
|
+
property: string;
|
|
18
|
+
content: string;
|
|
19
|
+
}>;
|
|
20
|
+
link: Array<{
|
|
21
|
+
rel: string;
|
|
22
|
+
href: string;
|
|
23
|
+
}>;
|
|
24
|
+
style?: Array<{
|
|
25
|
+
innerHTML: string;
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
28
|
+
declare const createElyndraHead: (options: CreateElyndraHeadOptions) => ElyndraHead;
|
|
29
|
+
export { createElyndraHead };
|
|
30
|
+
export type { CreateElyndraHeadOptions, ElyndraHead };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const createElyndraHead = (options) => {
|
|
2
|
+
const { siteUrl, title, description, imagePath = '/elyndra.jpg', icon = '/icon.svg', twitterCard = 'summary_large_image', themeColor, background, } = options;
|
|
3
|
+
if (siteUrl === '') {
|
|
4
|
+
throw new Error('[elyndra] createElyndraHead: `siteUrl` must not be empty.');
|
|
5
|
+
}
|
|
6
|
+
const meta = [
|
|
7
|
+
{ name: 'description', content: description },
|
|
8
|
+
{ property: 'og:type', content: 'website' },
|
|
9
|
+
{ property: 'og:url', content: siteUrl },
|
|
10
|
+
{ property: 'og:title', content: title },
|
|
11
|
+
{ property: 'og:site_name', content: title },
|
|
12
|
+
{ property: 'og:description', content: description },
|
|
13
|
+
{ property: 'og:image', content: imagePath },
|
|
14
|
+
{ name: 'twitter:card', content: twitterCard },
|
|
15
|
+
{ name: 'twitter:title', content: title },
|
|
16
|
+
{ name: 'twitter:description', content: description },
|
|
17
|
+
{ name: 'twitter:image', content: imagePath },
|
|
18
|
+
];
|
|
19
|
+
if (themeColor !== undefined) {
|
|
20
|
+
meta.push({ name: 'theme-color', content: themeColor });
|
|
21
|
+
}
|
|
22
|
+
const head = {
|
|
23
|
+
title,
|
|
24
|
+
meta,
|
|
25
|
+
link: [{ rel: 'icon', href: icon }],
|
|
26
|
+
};
|
|
27
|
+
if (background !== undefined) {
|
|
28
|
+
head.style = [{ innerHTML: `html,body{background:${background}}` }];
|
|
29
|
+
}
|
|
30
|
+
return head;
|
|
31
|
+
};
|
|
32
|
+
export { createElyndraHead };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface CreateElyndraPageMetaOptions {
|
|
2
|
+
title: string;
|
|
3
|
+
siteTitle: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
interface ElyndraPageMeta {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
declare const createElyndraPageMeta: (options: CreateElyndraPageMetaOptions) => ElyndraPageMeta;
|
|
11
|
+
export { createElyndraPageMeta };
|
|
12
|
+
export type { CreateElyndraPageMetaOptions, ElyndraPageMeta };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface CreateElyndraSeoMetaOptions {
|
|
2
|
+
siteUrl: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imagePath?: string;
|
|
6
|
+
twitterCard?: 'summary' | 'summary_large_image';
|
|
7
|
+
}
|
|
8
|
+
interface ElyndraSeoMeta {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
ogTitle: string;
|
|
12
|
+
ogDescription: string;
|
|
13
|
+
ogType: 'website';
|
|
14
|
+
ogUrl: string;
|
|
15
|
+
ogSiteName: string;
|
|
16
|
+
ogImage: string;
|
|
17
|
+
twitterCard: 'summary' | 'summary_large_image';
|
|
18
|
+
twitterTitle: string;
|
|
19
|
+
twitterDescription: string;
|
|
20
|
+
twitterImage: string;
|
|
21
|
+
}
|
|
22
|
+
declare const createElyndraSeoMeta: (options: CreateElyndraSeoMetaOptions) => ElyndraSeoMeta;
|
|
23
|
+
export { createElyndraSeoMeta };
|
|
24
|
+
export type { CreateElyndraSeoMetaOptions, ElyndraSeoMeta };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const createElyndraSeoMeta = (options) => {
|
|
2
|
+
const { siteUrl, title, description, imagePath = '/elyndra.jpg', twitterCard = 'summary_large_image', } = options;
|
|
3
|
+
if (siteUrl === '') {
|
|
4
|
+
throw new Error('[elyndra] createElyndraSeoMeta: `siteUrl` must not be empty.');
|
|
5
|
+
}
|
|
6
|
+
return {
|
|
7
|
+
title,
|
|
8
|
+
description,
|
|
9
|
+
ogTitle: title,
|
|
10
|
+
ogDescription: description,
|
|
11
|
+
ogType: 'website',
|
|
12
|
+
ogUrl: siteUrl,
|
|
13
|
+
ogSiteName: title,
|
|
14
|
+
ogImage: imagePath,
|
|
15
|
+
twitterCard,
|
|
16
|
+
twitterTitle: title,
|
|
17
|
+
twitterDescription: description,
|
|
18
|
+
twitterImage: imagePath,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export { createElyndraSeoMeta };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface CreateElyndraViewportOptions {
|
|
2
|
+
themeColor: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElyndraViewport {
|
|
5
|
+
themeColor: string;
|
|
6
|
+
}
|
|
7
|
+
declare const createElyndraViewport: (options: CreateElyndraViewportOptions) => ElyndraViewport;
|
|
8
|
+
export { createElyndraViewport };
|
|
9
|
+
export type { CreateElyndraViewportOptions, ElyndraViewport };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './head/createElyndraBackgroundStyle.js';
|
|
2
|
+
export * from './head/createElyndraFavicon.js';
|
|
3
|
+
export * from './head/createElyndraHead.js';
|
|
4
|
+
export * from './head/createElyndraPageMeta.js';
|
|
5
|
+
export * from './head/createElyndraSeoMeta.js';
|
|
6
|
+
export * from './head/createElyndraViewport.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './head/createElyndraBackgroundStyle.js';
|
|
2
|
+
export * from './head/createElyndraFavicon.js';
|
|
3
|
+
export * from './head/createElyndraHead.js';
|
|
4
|
+
export * from './head/createElyndraPageMeta.js';
|
|
5
|
+
export * from './head/createElyndraSeoMeta.js';
|
|
6
|
+
export * from './head/createElyndraViewport.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elyndra/nuxt",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"sideEffects": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"description": "Elyndra pure helpers for Nuxt",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"elyndra",
|
|
11
|
+
"nuxt",
|
|
12
|
+
"seo",
|
|
13
|
+
"meta",
|
|
14
|
+
"front-end",
|
|
15
|
+
"framework"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://elyndra.dev",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/Gabox301/elyndra.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/Gabox301/elyndra/issues"
|
|
24
|
+
},
|
|
25
|
+
"funding": "https://github.com/sponsors/romelperez",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"files": [
|
|
28
|
+
"build"
|
|
29
|
+
],
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"import": "./build/esm/index.js",
|
|
33
|
+
"require": "./build/cjs/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./build/": {
|
|
36
|
+
"default": "./build/"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"types": "./build/esm/index.d.ts",
|
|
40
|
+
"module": "./build/esm/index.js",
|
|
41
|
+
"main": "./build/cjs/index.js",
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"vue": "3",
|
|
44
|
+
"nuxt": "4"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"tslib": "2.8.1"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "npm run build-esm && npm run build-cjs",
|
|
51
|
+
"build-esm": "node ../../scripts/pkg-build.mjs esm",
|
|
52
|
+
"build-cjs": "node ../../scripts/pkg-build.mjs cjs",
|
|
53
|
+
"dev": "node ../../scripts/pkg-build.mjs esm --watch"
|
|
54
|
+
}
|
|
55
|
+
}
|