@dry-lint/asyncapi 1.0.2 → 1.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 +5 -7
- package/package.json +4 -6
package/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# `@dry-lint/asyncapi`
|
2
2
|
|
3
|
-
[](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml)
|
4
|
-
[](https://dry-lint.github.io/dry-lint/)
|
5
|
-
[](https://github.com/dry-lint/dry-lint/blob/main/LICENSE)
|
3
|
+
[](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml) [](https://dry-lint.github.io/dry-lint/) [](https://github.com/dry-lint/dry-lint/blob/main/LICENSE)
|
6
4
|
|
7
5
|
Part of the [**dry-lint**](https://github.com/dry-lint/dry-lint) monorepo.
|
8
6
|
|
@@ -10,7 +8,7 @@ This plugin extracts operations, components, and message schemas from **AsyncAPI
|
|
10
8
|
|
11
9
|
---
|
12
10
|
|
13
|
-
##
|
11
|
+
## Install
|
14
12
|
|
15
13
|
```bash
|
16
14
|
bun add -D @dry-lint/asyncapi
|
@@ -18,7 +16,7 @@ bun add -D @dry-lint/asyncapi
|
|
18
16
|
|
19
17
|
---
|
20
18
|
|
21
|
-
##
|
19
|
+
## Configure
|
22
20
|
|
23
21
|
Add it to your `.drylintrc.json`:
|
24
22
|
|
@@ -32,13 +30,13 @@ Then run detection with the [CLI](https://www.npmjs.com/package/@dry-lint/cli).
|
|
32
30
|
|
33
31
|
---
|
34
32
|
|
35
|
-
##
|
33
|
+
## More
|
36
34
|
|
37
35
|
- [Monorepo & Other Plugins](https://github.com/dry-lint/dry-lint#-packages)
|
38
36
|
- [Core API Docs](https://github.com/dry-lint/dry-lint#-api-dry-core)
|
39
37
|
|
40
38
|
---
|
41
39
|
|
42
|
-
##
|
40
|
+
## License
|
43
41
|
|
44
42
|
MIT — see [LICENSE](https://github.com/dry-lint/dry-lint/blob/main/LICENSE).
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dry-lint/asyncapi",
|
3
3
|
"description": "Detect duplicate or near-duplicate definitions in AsyncAPI documents.",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.4",
|
5
5
|
"author": "Lodewijk Wensveen",
|
6
6
|
"dependencies": {
|
7
7
|
"@asyncapi/parser": "^3.4.0",
|
8
|
-
"@dry-lint/core": "1.0.
|
8
|
+
"@dry-lint/core": "1.0.4",
|
9
9
|
"yaml": "^2.8.0"
|
10
10
|
},
|
11
11
|
"devDependencies": {
|
@@ -33,15 +33,13 @@
|
|
33
33
|
"publishConfig": {
|
34
34
|
"access": "public"
|
35
35
|
},
|
36
|
-
"repository":
|
37
|
-
"type": "git",
|
38
|
-
"url": "git+https://github.com/dry-lint/dry-lint.git"
|
39
|
-
},
|
36
|
+
"repository": "dry-lint/dry-lint.git",
|
40
37
|
"scripts": {
|
41
38
|
"build": "bun run clean && tsc -b",
|
42
39
|
"check-types": "tsc -b --noEmit",
|
43
40
|
"clean": "bunx rimraf dist/* dist",
|
44
41
|
"lint": "eslint \"src/**/*.ts\"",
|
42
|
+
"size": "pkg-size .",
|
45
43
|
"test": "vitest",
|
46
44
|
"test:ci": "vitest run"
|
47
45
|
},
|