@dry-lint/mongoose 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.
Files changed (2) hide show
  1. package/README.md +5 -7
  2. package/package.json +4 -6
package/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # `@dry-lint/mongoose`
2
2
 
3
- [![CI](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml/badge.svg)](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml)
4
- [![Docs](https://img.shields.io/badge/docs-%E2%9C%93-blue)](https://dry-lint.github.io/dry-lint/)
5
- [![License](https://img.shields.io/npm/l/@dry-lint/cli)](https://github.com/dry-lint/dry-lint/blob/main/LICENSE)
3
+ [![CI](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml/badge.svg)](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml) [![Docs](https://img.shields.io/badge/docs-%E2%9C%93-blue)](https://dry-lint.github.io/dry-lint/) [![License](https://img.shields.io/npm/l/@dry-lint/cli)](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 @@ Extracts schema definitions, models, and field structures from **Mongoose schema
10
8
 
11
9
  ---
12
10
 
13
- ## 📦 Install
11
+ ## Install
14
12
 
15
13
  ```bash
16
14
  bun add -D @dry-lint/mongoose
@@ -18,7 +16,7 @@ bun add -D @dry-lint/mongoose
18
16
 
19
17
  ---
20
18
 
21
- ## ⚙️ Configure
19
+ ## Configure
22
20
 
23
21
  Add it to your `.drylintrc.json`:
24
22
 
@@ -32,13 +30,13 @@ Run detection with the [CLI](https://www.npmjs.com/package/@dry-lint/cli). This
32
30
 
33
31
  ---
34
32
 
35
- ## 📚 More
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
- ## 📄 License
40
+ ## License
43
41
 
44
42
  MIT — see [LICENSE](https://github.com/dry-lint/dry-lint/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dry-lint/mongoose",
3
3
  "description": "Detect duplicate or near-duplicate definitions in Mongoose schema files.",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "author": "Lodewijk Wensveen",
6
6
  "dependencies": {
7
- "@dry-lint/core": "1.0.2",
7
+ "@dry-lint/core": "1.0.4",
8
8
  "ts-morph": "^26.0.0"
9
9
  },
10
10
  "devDependencies": {
@@ -32,15 +32,13 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "repository": {
36
- "type": "git",
37
- "url": "git+https://github.com/dry-lint/dry-lint.git"
38
- },
35
+ "repository": "dry-lint/dry-lint.git",
39
36
  "scripts": {
40
37
  "build": "bun run clean && tsc -b",
41
38
  "check-types": "tsc -b --noEmit",
42
39
  "clean": "bunx rimraf dist/* dist",
43
40
  "lint": "eslint \"src/**/*.ts\"",
41
+ "size": "pkg-size .",
44
42
  "test": "vitest",
45
43
  "test:ci": "vitest run"
46
44
  },