prettier-plugin-embed 0.3.0-rc.1 → 0.3.0-rc.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 +0 -14
- package/dist/embedded/register.d.ts +5 -5
- package/dist/index.js +555 -580
- package/package.json +6 -9
package/README.md
CHANGED
|
@@ -52,20 +52,6 @@ By leveraging Prettier's plugin system, this plugin overrides the default [`embe
|
|
|
52
52
|
npm i -D prettier-plugin-embed
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Peer dependecies are automatically installed by default if you're using npm v7 or higher versions. The peer dependencies of this plugin are mainly packages to support parsing and formatting for different languages. If you only plan to use this plugin for a very specific language and don't want to bloat your node modules folder, you can omit the peer dependencies by changing the installation command to either:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
npm i -D --legacy-peer-deps prettier-plugin-embed
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
or:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
npm i -D --omit=peer prettier-plugin-embed
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
For other package managers, refer to their documents on how to achieve the same result.
|
|
68
|
-
|
|
69
55
|
## Usage
|
|
70
56
|
|
|
71
57
|
### Getting Started
|
|
@@ -4,11 +4,11 @@ export declare const embeddedParsers: EmbeddedParsers;
|
|
|
4
4
|
export declare const embeddedEmbedders: EmbeddedEmbedders;
|
|
5
5
|
export declare const embeddedOptions: EmbeddedOptions;
|
|
6
6
|
import * as __glob__0_0 from "./css/index.js";
|
|
7
|
-
import * as __glob__0_1 from "./
|
|
8
|
-
import * as __glob__0_2 from "./
|
|
9
|
-
import * as __glob__0_3 from "./
|
|
10
|
-
import * as __glob__0_4 from "./
|
|
11
|
-
import * as __glob__0_5 from "./
|
|
7
|
+
import * as __glob__0_1 from "./es/index.js";
|
|
8
|
+
import * as __glob__0_2 from "./glsl/index.js";
|
|
9
|
+
import * as __glob__0_3 from "./html/index.js";
|
|
10
|
+
import * as __glob__0_4 from "./markdown/index.js";
|
|
11
|
+
import * as __glob__0_5 from "./noop/index.js";
|
|
12
12
|
import * as __glob__0_6 from "./php/index.js";
|
|
13
13
|
import * as __glob__0_7 from "./ruby/index.js";
|
|
14
14
|
import * as __glob__0_8 from "./sql/index.js";
|