@prettier/html-tags 2.0.0 → 2.1.0
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/index.d.ts +4 -4
- package/package.json +1 -24
- package/readme.md +3 -3
package/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
List of HTML tags.
|
|
3
3
|
|
|
4
4
|
@example
|
|
5
|
-
```
|
|
5
|
+
```js
|
|
6
6
|
import {htmlTags} from '@prettier/html-tags'
|
|
7
7
|
|
|
8
8
|
console.log(htmlTags)
|
|
9
|
-
//=> ['a', 'abbr', 'acronym',
|
|
9
|
+
//=> ['a', 'abbr', 'acronym', ... 147 more items]
|
|
10
10
|
```
|
|
11
11
|
*/
|
|
12
12
|
export const htmlTags: readonly [
|
|
@@ -166,11 +166,11 @@ export const htmlTags: readonly [
|
|
|
166
166
|
List of HTML void tags.
|
|
167
167
|
|
|
168
168
|
@example
|
|
169
|
-
```
|
|
169
|
+
```js
|
|
170
170
|
import {htmlVoidTags} from '@prettier/html-tags'
|
|
171
171
|
|
|
172
172
|
console.log(htmlVoidTags)
|
|
173
|
-
//=> ['area', 'base', 'basefont',
|
|
173
|
+
//=> ['area', 'base', 'basefont', ... 17 more items]
|
|
174
174
|
```
|
|
175
175
|
*/
|
|
176
176
|
export const htmlVoidTags: readonly [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prettier/html-tags",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "List of HTML tags.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "prettier/html-tags",
|
|
@@ -20,14 +20,6 @@
|
|
|
20
20
|
"./html-void-tags": "./html-void-tags.json"
|
|
21
21
|
},
|
|
22
22
|
"sideEffects": false,
|
|
23
|
-
"scripts": {
|
|
24
|
-
"fix": "prettier . --write",
|
|
25
|
-
"lint": "prettier . --check",
|
|
26
|
-
"build": "node scripts/build.js",
|
|
27
|
-
"test": "node --test test.js",
|
|
28
|
-
"test-coverage": "c8 yarn test",
|
|
29
|
-
"release": "release-it"
|
|
30
|
-
},
|
|
31
23
|
"files": [
|
|
32
24
|
"index.js",
|
|
33
25
|
"index.json",
|
|
@@ -44,23 +36,8 @@
|
|
|
44
36
|
"whatwg",
|
|
45
37
|
"w3c"
|
|
46
38
|
],
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"c8": "^10.1.3",
|
|
49
|
-
"cheerio": "1.1.2",
|
|
50
|
-
"eslint": "^9.38.0",
|
|
51
|
-
"eslint-plugin-unicorn": "^62.0.0",
|
|
52
|
-
"outdent": "0.8.0",
|
|
53
|
-
"prettier": "3.6.2",
|
|
54
|
-
"release-it": "^19.0.5"
|
|
55
|
-
},
|
|
56
39
|
"publishConfig": {
|
|
57
40
|
"access": "public",
|
|
58
41
|
"registry": "https://registry.npmjs.org/"
|
|
59
|
-
},
|
|
60
|
-
"c8": {
|
|
61
|
-
"reporter": [
|
|
62
|
-
"lcov",
|
|
63
|
-
"text"
|
|
64
|
-
]
|
|
65
42
|
}
|
|
66
43
|
}
|
package/readme.md
CHANGED
|
@@ -23,14 +23,14 @@ yarn add @prettier/html-tags
|
|
|
23
23
|
|
|
24
24
|
<!-- Usage start -->
|
|
25
25
|
|
|
26
|
-
```
|
|
26
|
+
```js
|
|
27
27
|
import {htmlTags, htmlVoidTags} from '@prettier/html-tags'
|
|
28
28
|
|
|
29
29
|
console.log(htmlTags)
|
|
30
|
-
//=> ['a', 'abbr', 'acronym',
|
|
30
|
+
//=> ['a', 'abbr', 'acronym', ... 147 more items]
|
|
31
31
|
|
|
32
32
|
console.log(htmlVoidTags)
|
|
33
|
-
//=> ['area', 'base', 'basefont',
|
|
33
|
+
//=> ['area', 'base', 'basefont', ... 17 more items]
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
<!-- Usage end -->
|