prettier-plugin-embed 0.4.5 → 0.4.6

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.
@@ -11,10 +11,10 @@ import * as __glob__0_4 from "./html/index.js";
11
11
  import * as __glob__0_5 from "./ini/index.js";
12
12
  import * as __glob__0_6 from "./json/index.js";
13
13
  import * as __glob__0_7 from "./latex/index.js";
14
- import * as __glob__0_8 from "./markdown/index.js";
15
- import * as __glob__0_9 from "./noop/index.js";
16
- import * as __glob__0_10 from "./php/index.js";
17
- import * as __glob__0_11 from "./properties/index.js";
14
+ import * as __glob__0_8 from "./noop/index.js";
15
+ import * as __glob__0_9 from "./php/index.js";
16
+ import * as __glob__0_10 from "./properties/index.js";
17
+ import * as __glob__0_11 from "./markdown/index.js";
18
18
  import * as __glob__0_12 from "./ruby/index.js";
19
19
  import * as __glob__0_13 from "./sh/index.js";
20
20
  import * as __glob__0_14 from "./sql/index.js";
@@ -28,7 +28,7 @@ export declare const options: {
28
28
  readonly default: [{
29
29
  readonly value: ["ruby"];
30
30
  }];
31
- readonly description: "Specify embedded Ruby language identifiers. This requires \"@prettier/plugin-ruby\".";
31
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";
32
32
  };
33
33
  readonly embeddedRubyParser: {
34
34
  category: string;
@@ -1,5 +1,5 @@
1
1
  import type { ShParserOptions } from "prettier-plugin-sh";
2
- import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";
2
+ import { type AutocompleteStringList, type StringListToInterfaceKey, type UnionToIntersection } from "../utils.js";
3
3
  /**
4
4
  * References:
5
5
  *
@@ -9,7 +9,7 @@ declare const DEFAULT_IDENTIFIERS: readonly ["sh"];
9
9
  type Identifiers = AutocompleteStringList<typeof DEFAULT_IDENTIFIERS>;
10
10
  type DefaultIdentifiersHolder = StringListToInterfaceKey<typeof DEFAULT_IDENTIFIERS>;
11
11
  declare const EMBEDDED_LANGUAGE_IDENTIFIERS: "embeddedShIdentifiers";
12
- export interface PrettierPluginDepsOptions extends Partial<ShParserOptions> {
12
+ export interface PrettierPluginDepsOptions extends Partial<UnionToIntersection<ShParserOptions>> {
13
13
  }
14
14
  export declare const options: {
15
15
  readonly embeddedShIdentifiers: {
@@ -19,7 +19,7 @@ export declare const options: {
19
19
  readonly default: [{
20
20
  readonly value: ["sh"];
21
21
  }];
22
- readonly description: "Specify embedded Shell language identifiers.";
22
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";
23
23
  };
24
24
  };
25
25
  type Options = typeof options;
@@ -28,7 +28,7 @@ export declare const options: {
28
28
  readonly default: [{
29
29
  readonly value: ["sql"];
30
30
  }];
31
- readonly description: "Specify embedded SQL language identifiers. This requires \"prettier-plugin-sql\" or \"prettier-plugin-sql-cst\".";
31
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";
32
32
  };
33
33
  readonly embeddedSqlPlugin: {
34
34
  category: string;
@@ -1,5 +1,5 @@
1
1
  import type { PrettierTaploOptions } from "prettier-plugin-toml";
2
- import { type AutocompleteStringList, type StringListToInterfaceKey } from "../utils.js";
2
+ import { type AutocompleteStringList, type StringListToInterfaceKey, type UnionToIntersection } from "../utils.js";
3
3
  /**
4
4
  * References:
5
5
  *
@@ -9,7 +9,7 @@ declare const DEFAULT_IDENTIFIERS: readonly ["toml"];
9
9
  type Identifiers = AutocompleteStringList<typeof DEFAULT_IDENTIFIERS>;
10
10
  type DefaultIdentifiersHolder = StringListToInterfaceKey<typeof DEFAULT_IDENTIFIERS>;
11
11
  declare const EMBEDDED_LANGUAGE_IDENTIFIERS: "embeddedTomlIdentifiers";
12
- export interface PrettierPluginDepsOptions extends PrettierTaploOptions {
12
+ export interface PrettierPluginDepsOptions extends UnionToIntersection<PrettierTaploOptions> {
13
13
  }
14
14
  export declare const options: {
15
15
  readonly embeddedTomlIdentifiers: {
@@ -19,7 +19,7 @@ export declare const options: {
19
19
  readonly default: [{
20
20
  readonly value: ["toml"];
21
21
  }];
22
- readonly description: "Specify embedded TOML language identifiers. This requires \"prettier-plugin-toml\".";
22
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";
23
23
  };
24
24
  };
25
25
  type Options = typeof options;
@@ -22,7 +22,7 @@ export declare const options: {
22
22
  readonly default: [{
23
23
  readonly value: ["ts", "tsx", "cts", "mts", "typescript"];
24
24
  }];
25
- readonly description: "Specify embedded TS language parsers.";
25
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded TypeScript language.";
26
26
  };
27
27
  readonly embeddedTsParser: {
28
28
  category: string;
@@ -23,7 +23,7 @@ export declare const options: {
23
23
  readonly default: [{
24
24
  readonly value: ["xml", "opml", "rss", "svg"];
25
25
  }];
26
- readonly description: "Specify embedded XML language identifiers. This requires \"@prettier/plugin-xml\".";
26
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";
27
27
  };
28
28
  /**
29
29
  * @internal
@@ -35,7 +35,7 @@ export declare const options: {
35
35
  readonly default: [{
36
36
  readonly value: [];
37
37
  }];
38
- readonly description: "This option is read only and used as a workaround to support xml fragments";
38
+ readonly description: "This option is read only and is used internally as a workaround to support xml fragments";
39
39
  };
40
40
  };
41
41
  type Options = typeof options;
@@ -18,7 +18,7 @@ export declare const options: {
18
18
  readonly default: [{
19
19
  readonly value: ["yaml", "yml"];
20
20
  }];
21
- readonly description: "Specify embedded YAML language identifiers.";
21
+ readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded YAML language.";
22
22
  };
23
23
  };
24
24
  type Options = typeof options;