@platformos/prettier-plugin-liquid 0.0.2 → 0.0.4
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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<h1 align="center" style="position: relative;" >
|
|
2
2
|
<br>
|
|
3
|
-
<img src="https://github.com/Platform-OS/platformos-tools/blob/
|
|
3
|
+
<img src="https://github.com/Platform-OS/platformos-tools/blob/master/packages/vscode-extension/images/platformos_logo.png?raw=true" alt="platformOS logo" width="200">
|
|
4
4
|
<br>
|
|
5
5
|
platformOS Liquid Prettier Plugin
|
|
6
6
|
</h1>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
<a href="https://www.npmjs.com/package/@platformos/prettier-plugin-liquid"><img src="https://img.shields.io/npm/v/@platformos/prettier-plugin-liquid.svg?sanitize=true" alt="Version"></a>
|
|
10
|
-
<a href="https://github.com/Platform-OS/platformos-tools/blob/
|
|
10
|
+
<a href="https://github.com/Platform-OS/platformos-tools/blob/master/LICENSE.md"><img src="https://img.shields.io/npm/l/@platformos/prettier-plugin-liquid.svg?sanitize=true" alt="License"></a>
|
|
11
11
|
<a href="https://github.com/Platform-OS/platformos-tools/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Platform-OS/platformos-tools/actions/workflows/ci.yml/badge.svg"></a>
|
|
12
12
|
<!--
|
|
13
13
|
<a href="https://npmcharts.com/compare/@platformos/prettier-plugin-liquid?minimal=true"><img src="https://img.shields.io/npm/dm/@platformos/prettier-plugin-liquid.svg?sanitize=true" alt="Downloads"></a>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
[Prettier](https://prettier.io) is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
|
|
24
24
|
|
|
25
|
-

|
|
26
26
|
|
|
27
27
|
## Can this be used in production?
|
|
28
28
|
|
|
@@ -57,10 +57,6 @@ See our [Wiki](https://github.com/Platform-OS/platformos-tools/wiki) pages on th
|
|
|
57
57
|
- [As a pre-commit hook](https://github.com/Platform-OS/platformos-tools/wiki/Use-it-as-a-pre-commit-hook)
|
|
58
58
|
- [With a bundler](https://github.com/Platform-OS/platformos-tools/wiki/Use-it-with-a-bundler)
|
|
59
59
|
|
|
60
|
-
## Playground
|
|
61
|
-
|
|
62
|
-
You can try it out in your browser in the [playground](https://shopify.github.io/prettier-plugin-liquid/).
|
|
63
|
-
|
|
64
60
|
## Configuration
|
|
65
61
|
|
|
66
62
|
Prettier for Liquid supports the following options.
|
|
@@ -730,8 +730,8 @@ export declare function prev(node: AugmentedNode<WithParent>): ({
|
|
|
730
730
|
position: import("@platformos/liquid-html-parser").Position;
|
|
731
731
|
source: string;
|
|
732
732
|
} & WithParent) | ({
|
|
733
|
-
keyword: import("
|
|
734
|
-
value: import("
|
|
733
|
+
keyword: import("../../../../liquid-html-parser/src/stage-1-cst").ConcreteLiquidLiteral["keyword"];
|
|
734
|
+
value: import("../../../../liquid-html-parser/src/stage-1-cst").ConcreteLiquidLiteral["value"];
|
|
735
735
|
type: import("@platformos/liquid-html-parser").NodeTypes.LiquidLiteral;
|
|
736
736
|
position: import("@platformos/liquid-html-parser").Position;
|
|
737
737
|
source: string;
|
|
@@ -1680,8 +1680,8 @@ export declare function next(node: AugmentedNode<WithParent>): ({
|
|
|
1680
1680
|
position: import("@platformos/liquid-html-parser").Position;
|
|
1681
1681
|
source: string;
|
|
1682
1682
|
} & WithParent) | ({
|
|
1683
|
-
keyword: import("
|
|
1684
|
-
value: import("
|
|
1683
|
+
keyword: import("../../../../liquid-html-parser/src/stage-1-cst").ConcreteLiquidLiteral["keyword"];
|
|
1684
|
+
value: import("../../../../liquid-html-parser/src/stage-1-cst").ConcreteLiquidLiteral["value"];
|
|
1685
1685
|
type: import("@platformos/liquid-html-parser").NodeTypes.LiquidLiteral;
|
|
1686
1686
|
position: import("@platformos/liquid-html-parser").Position;
|
|
1687
1687
|
source: string;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformos/prettier-plugin-liquid",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Prettier Liquid/HTML plugin for platformOS",
|
|
5
5
|
"author": "platformOS",
|
|
6
|
-
"homepage": "https://github.com/Platform-OS/platformos-tools/tree/
|
|
6
|
+
"homepage": "https://github.com/Platform-OS/platformos-tools/tree/master/packages/prettier-plugin-liquid#readme",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/Platform-OS/platformos-tools.git",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"tsconfig-paths": "^3.14.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@platformos/liquid-html-parser": "^0.0.
|
|
62
|
+
"@platformos/liquid-html-parser": "^0.0.4",
|
|
63
63
|
"html-styles": "^1.0.0"
|
|
64
64
|
}
|
|
65
65
|
}
|