@frigear-nu/email-templates 0.1.0 → 0.1.1

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
@@ -2,4 +2,4 @@
2
2
 
3
3
  Vue email templates for `@frigear-nu/notify`, rendered with [nuxt-email-renderer](https://nuxtemail.com): a typed `sendEmailTemplate(name, props, message)` for the host, and module emails (auth, users, subscriptions) rendered from templates the host can override by file name.
4
4
 
5
- See the [documentation](../../apps/docs/content/4.modules/20.email-templates.md) for usage.
5
+ See the [documentation](../../apps/docs/content/3.modules/6.communication/2.email-templates/index.md) for usage.
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@frigear-nu/email-templates",
3
3
  "configKey": "emailTemplates",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "builder": {
6
- "@nuxt/module-builder": "1.0.3",
6
+ "@nuxt/module-builder": "1.0.4",
7
7
  "unbuild": "unknown"
8
8
  }
9
9
  }
package/dist/module.mjs CHANGED
@@ -61,7 +61,7 @@ const module$1 = defineNuxtModule({
61
61
  "@frigear-nu/module-kit": { version: ">=0.0.1" },
62
62
  "@frigear-nu/notify": { version: ">=0.1.0" },
63
63
  // Keeps Shiki (`ECodeBlock`) out of the server bundle unless the host turns it back on.
64
- "nuxt-email-renderer": { version: ">=2.11.0", defaults: { codeHighlighting: false } }
64
+ "nuxt-email-renderer": { version: ">=3.0.0", defaults: { codeHighlighting: false } }
65
65
  },
66
66
  async setup(options, nuxt) {
67
67
  registerModule("@frigear-nu/email-templates", nuxt);
@@ -3,10 +3,12 @@ type __VLS_Props = {
3
3
  /** `danger` for security actions. */
4
4
  color?: 'primary' | 'danger';
5
5
  };
6
- declare var __VLS_8: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_8) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
9
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
12
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
14
  declare const _default: typeof __VLS_export;
@@ -3,10 +3,12 @@ type __VLS_Props = {
3
3
  /** `danger` for security actions. */
4
4
  color?: 'primary' | 'danger';
5
5
  };
6
- declare var __VLS_8: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_8) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
9
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
12
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
14
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,9 @@
1
- declare var __VLS_12: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_12) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
4
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
5
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
9
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,9 @@
1
- declare var __VLS_12: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_12) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
4
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
5
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
9
  declare const _default: typeof __VLS_export;
@@ -2,10 +2,12 @@ type __VLS_Props = {
2
2
  /** `danger` for security alerts. */
3
3
  tone?: 'default' | 'danger';
4
4
  };
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
13
  declare const _default: typeof __VLS_export;
@@ -2,10 +2,12 @@ type __VLS_Props = {
2
2
  /** `danger` for security alerts. */
3
3
  tone?: 'default' | 'danger';
4
4
  };
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
13
  declare const _default: typeof __VLS_export;
@@ -3,12 +3,14 @@ type __VLS_Props = {
3
3
  preview?: string;
4
4
  lang?: string;
5
5
  };
6
- declare var __VLS_30: {}, __VLS_32: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_30) => any;
9
- } & {
10
- footer?: (props: typeof __VLS_32) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ } & {
10
+ footer?: (props: {}) => any;
11
+ };
11
12
  };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
14
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
16
  declare const _default: typeof __VLS_export;
@@ -3,12 +3,14 @@ type __VLS_Props = {
3
3
  preview?: string;
4
4
  lang?: string;
5
5
  };
6
- declare var __VLS_30: {}, __VLS_32: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_30) => any;
9
- } & {
10
- footer?: (props: typeof __VLS_32) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ } & {
10
+ footer?: (props: {}) => any;
11
+ };
11
12
  };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
14
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
16
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,12 @@
1
1
  type __VLS_Props = {
2
2
  href: string;
3
3
  };
4
- declare var __VLS_8: {};
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_8) => any;
4
+ declare const __VLS_template: () => {
5
+ __VLS_Slots: {
6
+ default?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
12
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,12 @@
1
1
  type __VLS_Props = {
2
2
  href: string;
3
3
  };
4
- declare var __VLS_8: {};
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_8) => any;
4
+ declare const __VLS_template: () => {
5
+ __VLS_Slots: {
6
+ default?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
12
  declare const _default: typeof __VLS_export;
@@ -2,10 +2,12 @@ type __VLS_Props = {
2
2
  /** `muted` for secondary text, `small` for fine print. */
3
3
  variant?: 'default' | 'muted' | 'small';
4
4
  };
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
13
  declare const _default: typeof __VLS_export;
@@ -2,10 +2,12 @@ type __VLS_Props = {
2
2
  /** `muted` for secondary text, `small` for fine print. */
3
3
  variant?: 'default' | 'muted' | 'small';
4
4
  };
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
13
  declare const _default: typeof __VLS_export;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@frigear-nu/email-templates",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Vue email templates for @frigear-nu/notify, rendered with nuxt-email-renderer: typed sendEmailTemplate for hosts, module-owned templates hosts can override.",
5
- "homepage": "https://docs.frigear.dev/modules/email-templates",
5
+ "homepage": "https://docs.frigear.dev/modules/communication/email-templates",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/frigear-nu/frigear-nu.git",
8
+ "url": "git+https://github.com/Frigear-nu/frigear-nu.git",
9
9
  "directory": "packages/email-templates"
10
10
  },
11
11
  "license": "MIT",
@@ -33,28 +33,28 @@
33
33
  "playground"
34
34
  ],
35
35
  "dependencies": {
36
- "@frigear-nu/module-kit": "1.2.0",
37
- "@frigear-nu/notify": "0.2.0",
38
- "@nuxt/kit": "^4.6.1",
36
+ "@frigear-nu/module-kit": "^1.3.7",
37
+ "@frigear-nu/notify": "^0.2.6",
38
+ "@nuxt/kit": "^4.6.4",
39
39
  "defu": "^6.1.7",
40
- "nuxt-email-renderer": "^2.11.2"
40
+ "nuxt-email-renderer": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@nuxt/devtools": "^3.4.2",
43
+ "@nuxt/devtools": "^4.2.0",
44
44
  "@nuxt/eslint-config": "^1.17.0",
45
- "@nuxt/module-builder": "^1.0.3",
46
- "@nuxt/schema": "^4.6.1",
47
- "@nuxt/test-utils": "^4.3.2",
48
- "@types/node": "^26.6.5",
45
+ "@nuxt/module-builder": "^1.0.4",
46
+ "@nuxt/schema": "^4.6.4",
47
+ "@nuxt/test-utils": "^4.4.0",
48
+ "@types/node": "^26.6.6",
49
49
  "changelogen": "^0.6.2",
50
- "eslint": "^10.12.0",
51
- "nuxt": "^4.6.1",
50
+ "eslint": "^10.15.0",
51
+ "nuxt": "^4.6.4",
52
52
  "typescript": "^6.0.3",
53
- "vitest": "^5.0.2",
54
- "vue-tsc": "^3.3.11"
53
+ "vitest": "^5.1.0",
54
+ "vue-tsc": "^3.3.14"
55
55
  },
56
56
  "scripts": {
57
- "postinstall": "nuxt-module-build build --stub && nuxt prepare",
57
+ "dev:stub": "nuxt-module-build build --stub && nuxt prepare",
58
58
  "build": "nuxt-module-build build",
59
59
  "dev": "npm run dev:prepare && nuxt dev playground",
60
60
  "dev:build": "nuxt build playground",