djlint 1.34.0 → 1.34.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 +9 -9
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
<h1 align="center">
|
|
3
3
|
<br>
|
|
4
|
-
<a href="https://www.djlint.com"><img src="https://raw.githubusercontent.com/
|
|
4
|
+
<a href="https://www.djlint.com"><img src="https://raw.githubusercontent.com/djlint/djLint/master/docs/src/static/img/icon.png" alt="djLint Logo" width="270"></a>
|
|
5
5
|
<br>
|
|
6
6
|
</h1>
|
|
7
7
|
<h3 align="center">🏗️ Maintainers needed, please reach out on discord or email!</h3>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
</a>
|
|
15
15
|
</p>
|
|
16
16
|
<p align="center">
|
|
17
|
-
<a href="https://codecov.io/gh/
|
|
18
|
-
<img src="https://codecov.io/gh/
|
|
17
|
+
<a href="https://codecov.io/gh/djlint/djlint">
|
|
18
|
+
<img src="https://codecov.io/gh/djlint/djlint/branch/master/graph/badge.svg?token=eNTG721BAA" alt="Codecov Status">
|
|
19
19
|
</a>
|
|
20
|
-
<a href="https://www.codacy.com/gh/
|
|
20
|
+
<a href="https://www.codacy.com/gh/djlint/djlint/dashboard?utm_source=github.com&utm_medium=referral&utm_content=djlint/djlint&utm_campaign=Badge_Grade">
|
|
21
21
|
<img src="https://app.codacy.com/project/badge/Grade/dba6338b0e7a4de896b45b382574f369" alt="Codacy Status">
|
|
22
22
|
</a>
|
|
23
23
|
<a href="https://pepy.tech/project/djlint">
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
</p>
|
|
40
40
|
|
|
41
41
|
<p align="center">
|
|
42
|
-
<img src="https://github.com/
|
|
42
|
+
<img src="https://github.com/djlint/djLint/blob/aa9097660d4a2e840450de5456f656c42bc7dd34/docs/src/static/img/demo-min.gif" alt="demo" width="600">
|
|
43
43
|
</p>
|
|
44
44
|
|
|
45
45
|
## 🤔 For What?
|
|
@@ -95,18 +95,18 @@ Add a badge to your ```readme.rst```:
|
|
|
95
95
|
```
|
|
96
96
|
Looks like this:
|
|
97
97
|
|
|
98
|
-
[](https://github.com/
|
|
98
|
+
[](https://github.com/djlint/djlint)
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
## 🛠️ Can I help?
|
|
102
102
|
|
|
103
103
|
Yes!
|
|
104
104
|
|
|
105
|
-
*Would you like to add a rule to the linter?* Take a look at the [linter docs](https://djlint.com/docs/linter/) and [source code](https://github.com/
|
|
105
|
+
*Would you like to add a rule to the linter?* Take a look at the [linter docs](https://djlint.com/docs/linter/) and [source code](https://github.com/djlint/djLint/blob/master/src/djlint/rules.yaml)
|
|
106
106
|
|
|
107
|
-
*Are you a regex pro?* Benchmark and submit a pr with improved regex for the [linter rules](https://github.com/
|
|
107
|
+
*Are you a regex pro?* Benchmark and submit a pr with improved regex for the [linter rules](https://github.com/djlint/djLint/blob/master/src/djlint/rules.yaml)
|
|
108
108
|
|
|
109
|
-
**⚠️ Help Needed! ⚠️** *Good with python?* djLint was an experimental project and is catching on with other devs. Help out with a rewrite of the formatter to improve speed and html style for edge cases. Contribute on the [2.0 branch](https://github.com/
|
|
109
|
+
**⚠️ Help Needed! ⚠️** *Good with python?* djLint was an experimental project and is catching on with other devs. Help out with a rewrite of the formatter to improve speed and html style for edge cases. Contribute on the [2.0 branch](https://github.com/djlint/djLint/tree/block_indent)
|
|
110
110
|
|
|
111
111
|
## 🏃 Other Tools Of Note
|
|
112
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "djlint",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.2",
|
|
4
4
|
"description": "HTML Template Linter and Formatter",
|
|
5
5
|
"directories": {
|
|
6
6
|
"doc": "docs",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/djlint/djLint.git"
|
|
12
12
|
},
|
|
13
13
|
"files": [],
|
|
14
14
|
"keywords": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"format": "prettier --config .prettierrc \"{bin,docs}/**/*.{ts,css,less,scss,js,json,md,yaml,html}\" --write",
|
|
34
|
-
"postinstall": "python3 -m pip install --upgrade djlint==1.34.
|
|
34
|
+
"postinstall": "python3 -m pip install --upgrade djlint==1.34.2",
|
|
35
35
|
"pre-commit": "lint-staged",
|
|
36
36
|
"commit": "git add . && pre-commit run; git add . && npm run pre-commit && cz --no-verify",
|
|
37
37
|
"test": "xo"
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
},
|
|
43
43
|
"license": "GPL-3.0-or-later",
|
|
44
44
|
"bugs": {
|
|
45
|
-
"url": "https://github.com/
|
|
45
|
+
"url": "https://github.com/djlint/djLint/issues"
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://djlint.com",
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@semantic-release/changelog": "6.0.3",
|
|
50
|
-
"@semantic-release/commit-analyzer": "
|
|
50
|
+
"@semantic-release/commit-analyzer": "11.1.0",
|
|
51
51
|
"@semantic-release/exec": "6.0.3",
|
|
52
52
|
"@semantic-release/git": "10.0.1",
|
|
53
|
-
"@semantic-release/github": "9.
|
|
54
|
-
"@semantic-release/npm": "
|
|
55
|
-
"@semantic-release/release-notes-generator": "
|
|
53
|
+
"@semantic-release/github": "9.2.5",
|
|
54
|
+
"@semantic-release/npm": "11.0.2",
|
|
55
|
+
"@semantic-release/release-notes-generator": "12.1.0",
|
|
56
56
|
"cz-conventional-changelog": "3.3.0",
|
|
57
|
-
"lint-staged": "
|
|
57
|
+
"lint-staged": "15.2.0",
|
|
58
58
|
"prettier": "^3.0.0",
|
|
59
|
-
"semantic-release": "
|
|
59
|
+
"semantic-release": "22.0.12"
|
|
60
60
|
},
|
|
61
61
|
"config": {
|
|
62
62
|
"commitizen": {
|